TWI615005B - Testing system and testing method for network performance - Google Patents

Testing system and testing method for network performance Download PDF

Info

Publication number
TWI615005B
TWI615005B TW105119831A TW105119831A TWI615005B TW I615005 B TWI615005 B TW I615005B TW 105119831 A TW105119831 A TW 105119831A TW 105119831 A TW105119831 A TW 105119831A TW I615005 B TWI615005 B TW I615005B
Authority
TW
Taiwan
Prior art keywords
detection
task
sub
execution
tasks
Prior art date
Application number
TW105119831A
Other languages
Chinese (zh)
Other versions
TW201801496A (en
Inventor
張智光
呂維曦
楊智鈞
Original Assignee
財團法人電信技術中心
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 by 財團法人電信技術中心 filed Critical 財團法人電信技術中心
Priority to TW105119831A priority Critical patent/TWI615005B/en
Priority to CN201610764557.1A priority patent/CN107547294A/en
Publication of TW201801496A publication Critical patent/TW201801496A/en
Application granted granted Critical
Publication of TWI615005B publication Critical patent/TWI615005B/en

Links

Abstract

網路效能的測試系統與測試方法。測試系統包括至少一偵測執行裝置與維運裝置。所述偵測執行裝置連接至網路,用以對網路執行相關於網路測試的偵測任務。維運裝置連接網路,針對所述偵測執行裝置提供偵測腳本,並且傳輸偵測腳本到所述偵測執行裝置。所述偵測執行裝置依據所接收的偵測腳本執行偵測任務,並且回傳偵測結果至維運裝置。當複數個偵測執行裝置存在,並且偵測任務為部分的偵測執行裝置協同地執行的協同偵測任務時,維運裝置協調所述部分的偵測執行裝置以執行協同偵測任務。Test system and test method for network performance. The test system includes at least one detection execution device and maintenance device. The detection execution device is connected to the network for performing a network-related detection task on the network. The maintenance device connects to the network, provides a detection script for the detection execution device, and transmits a detection script to the detection execution device. The detection execution device performs a detection task according to the received detection script, and returns the detection result to the maintenance device. When a plurality of detection execution devices exist and the detection task is a cooperative detection task that is performed by a part of the detection execution devices, the maintenance device coordinates the part of the detection execution devices to perform the cooperative detection task.

Description

網路效能的測試系統與測試方法Network performance test system and test method

本發明是有關於一種測試系統與測試方法,特別是有關於一種可測試行動網路與固定通信網路的網路效能的測試系統與測試方法。 The present invention relates to a test system and test method, and more particularly to a test system and test method for testing the network performance of a mobile network and a fixed communication network.

隨著網路應用的蓬勃發展,不論是行動網路或是固網,皆已深入大部分民眾的日常生活之中。更詳細來說,許多應用軟體,例如是社交軟體、影音應用、通訊軟體與線上遊戲等等,皆須仰賴網路進行資訊交換,因而穩定的網路可以提供好的使用者體驗。 With the rapid development of Internet applications, both mobile networks and fixed networks have penetrated into the daily lives of most people. In more detail, many applications, such as social software, audio and video applications, communication software and online games, rely on the Internet for information exchange, so a stable network can provide a good user experience.

然而,深入到客戶端的終端裝置的網路服務,是由複雜的結構所構成。前述結構例如是包括直接連結終端裝置的末端網路、核心網路結構甚至是跨網的介接服務。當客戶利用網路服務存取遠端的應用服務時,需要經由不同的軟硬體設備,提供各自具特定目的性的協定與服務。另一方面,網路狀態也會隨各項因素產生變化。因此,當客戶遭遇網路使用上的問題時,若無法快 速地在客戶端進行適切的問題診斷,是較難發現並排除問題的根源。 However, the network service of the terminal device that goes deep into the client is composed of a complicated structure. The foregoing structure is, for example, an interface network including a terminal network directly connected to a terminal device, a core network structure, or even an inter-network. When customers use network services to access remote application services, they need to provide their own specific agreements and services through different software and hardware devices. On the other hand, the state of the network will also change with various factors. Therefore, if the customer encounters problems with the use of the network, if it is not fast It is difficult to find and eliminate the root cause of the problem by quickly making appropriate problem diagnosis on the client side.

據此,如何提出一種網路效能的測試系統與測試方法,可彈性且動態地對網路進行效能測試,並且有效、迅速地發現與排除網路使用上的問題,仍是本領域技術人員努力的目標之一。 Accordingly, how to propose a test system and test method for network performance, which can flexibly and dynamically test the performance of the network, and effectively and quickly find and eliminate problems in network use, is still an effort by those skilled in the art. One of the goals.

本發明提供一種網路效能的測試系統與測試方法,能夠彈性且動態地指派與執行偵測任務來對網路進行效能測試,藉以有效、迅速地發現網路使用上的問題。 The invention provides a test system and a test method for network performance, which can flexibly and dynamically assign and perform detection tasks to perform performance tests on the network, so as to effectively and quickly discover problems in network use.

本發明的實施例提供一種網路效能的測試系統。測試系統包括至少一偵測執行裝置與維運裝置。所述偵測執行裝置,連接至網路,用以對該網路執行相關於網路測試的偵測任務。維運裝置連接網路,針對所述偵測執行裝置提供偵測腳本,並且傳輸偵測腳本到所述偵測執行裝置。所述偵測執行裝置依據所接收的偵測腳本執行偵測任務,並且回傳偵測結果至維運裝置。當複數個偵測執行裝置存在,並且偵測任務為部分的偵測執行裝置協同地執行的協同偵測任務時,維運裝置協調所述部分的偵測執行裝置以執行協同偵測任務。 Embodiments of the present invention provide a test system for network performance. The test system includes at least one detection execution device and maintenance device. The detection execution device is connected to the network for performing a detection task related to the network test on the network. The maintenance device connects to the network, provides a detection script for the detection execution device, and transmits a detection script to the detection execution device. The detection execution device performs a detection task according to the received detection script, and returns the detection result to the maintenance device. When a plurality of detection execution devices exist and the detection task is a cooperative detection task that is performed by a part of the detection execution devices, the maintenance device coordinates the part of the detection execution devices to perform the cooperative detection task.

本發明的實施例提供一種網路效能的測試方法,適用測試系統以對網路進行測試。測試方法包括下列步驟。由維運裝置針對至少一偵測執行裝置提供偵測腳本。由維運裝置傳輸偵測腳 本到所述偵測執行裝置。由所述偵測執行裝置依據所接收的偵測腳本對網路執行相關於網路測試的偵測任務。由所述偵測執行裝置回傳偵測結果至維運裝置。當複數個偵測執行裝置存在,並且偵測任務為部分的偵測執行裝置協同地執行的協同偵測任務時,則執行偵測任務的步驟更包括由維運裝置協調所述部分的偵測執行裝置。 Embodiments of the present invention provide a method for testing network performance, which is applicable to a test system to test a network. The test method includes the following steps. A detection script is provided by the maintenance device for at least one detection execution device. Transmission detection transmission by the maintenance device This is to the detection execution device. The detecting execution device performs a detection task related to the network test on the network according to the received detection script. The detection execution device returns the detection result to the maintenance device. When a plurality of detection execution devices exist and the detection task is a cooperative detection task that is performed by a part of the detection execution devices, the step of performing the detection task further includes coordinating the detection by the maintenance device. Execution device.

基於上述,本發明實施例所提供的測試系統與測試方法,由維運裝置針對各個偵測執行裝置提供偵測腳本,並且由所述偵測執行裝置依據所接收的偵測腳本對連接的網路執行相關於網路測試的偵測任務。藉此,偵測腳本可以動態地被指派,並且各個偵測執行裝置可針對不同的情境與狀況執行對應的偵測任務,達到有效且迅速的網路效能測試。此外,對於需要多個偵測執行裝置一同執行的協同偵測任務,由維運裝置協調參與的所述偵測執行裝置,藉以達到較佳的測試效率與測試結果。 Based on the above, in the test system and the test method provided by the embodiment of the present invention, the maintenance device provides a detection script for each detection execution device, and the detection execution device connects the connected network according to the received detection script. The road performs detection tasks related to network testing. Thereby, the detection script can be dynamically assigned, and each detection execution device can perform corresponding detection tasks for different situations and conditions, thereby achieving an effective and rapid network performance test. In addition, for the collaborative detection task that needs to be executed by multiple detection execution devices, the detection execution device coordinated by the maintenance device can achieve better test efficiency and test results.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10‧‧‧測試系統 10‧‧‧Test system

100‧‧‧維運裝置 100‧‧‧

120‧‧‧第一通訊介面 120‧‧‧First Communication Interface

140‧‧‧第一儲存單元 140‧‧‧First storage unit

160‧‧‧第一處理單元 160‧‧‧First Processing Unit

182‧‧‧腳本設定模組 182‧‧‧Script setting module

184‧‧‧支援模組 184‧‧‧Support Module

186‧‧‧協調模組 186‧‧‧Coordination module

200、200-1、200-2‧‧‧偵測執行裝置 200, 200-1, 200-2‧‧‧ detection and execution device

220‧‧‧第二通訊介面 220‧‧‧Second communication interface

240‧‧‧第二儲存單元 240‧‧‧Second storage unit

260‧‧‧第二處理單元 260‧‧‧Second processing unit

282‧‧‧通訊模組 282‧‧‧Communication module

284‧‧‧控制與命令模組 284‧‧‧Control and Command Module

286‧‧‧排程模組 286‧‧‧ scheduling module

288‧‧‧協同模組 288‧‧‧Collaborative Module

TL‧‧‧任務序列 TL‧‧‧ task sequence

T‧‧‧偵測任務 T‧‧‧Detection mission

S410、S420、S430、S440‧‧‧測試方法的步驟 S410, S420, S430, S440‧‧‧ steps of the test method

S431、S432、S433、S434、S435‧‧‧進行協同偵測任務的步驟 S431, S432, S433, S434, S435‧‧‧ steps for collaborative detection tasks

圖1是依據本發明一實施例所繪示之網路測試的系統架構示意圖。 FIG. 1 is a schematic diagram of a system architecture of a network test according to an embodiment of the invention.

圖2是依據本發明一實施例所繪示之維運裝置的方塊示意圖。 2 is a block diagram of a maintenance device according to an embodiment of the invention.

圖3是依據本發明一實施例所繪示之偵測執行裝置的方塊示意圖。 FIG. 3 is a block diagram of a detection execution apparatus according to an embodiment of the invention.

圖4是依據本發明一實施例所繪示之測試方法的流程圖。 4 is a flow chart of a test method according to an embodiment of the invention.

圖5是依據本發明一實施例所繪示之偵測執行裝置的模組運作示意圖。 FIG. 5 is a schematic diagram of the operation of the module of the detecting and executing device according to an embodiment of the invention.

圖6是依據本發明一實施例所繪示之進行協同偵測任務的流程圖。 FIG. 6 is a flow chart of performing a cooperative detection task according to an embodiment of the invention.

圖1是依據本發明一實施例所繪示之網路測試的系統架構示意圖。參照圖1,於本發明實施例所提供之網路測試的架構,包含維運面(Operation)與偵測執行面(Detecting Execution)。以網路測試的軟體架構來說,維運面負責維持網路測試的運作以及提供測試支援,而偵測執行面則包括多個偵測實體(Agent)以分別執行維運面指派的偵測任務(Task)。 FIG. 1 is a schematic diagram of a system architecture of a network test according to an embodiment of the invention. Referring to FIG. 1, the architecture of the network test provided by the embodiment of the present invention includes an operation surface and a detection execution surface (Detecting Execution). In the software architecture of the network test, the maintenance plane is responsible for maintaining the operation of the network test and providing test support, and the detection execution surface includes multiple detection entities (Agents) to perform the detection of the maintenance plane assignment respectively. Task (Task).

於本發明一實施例中,維運面實作於維運裝置100,而維運裝置100例如是工作站(Workstation)、伺服器(Server)等電子運算裝置,但不以此為限。相對而言,偵測執行面中的偵測實體分別實作於偵測執行裝置200,而偵測執行裝置200例如是平板電腦(Tablet)、個人電腦(Personal Computer)、智慧型手機(Smartphone)、筆記型電腦(Laptop)、行動裝置(Mobile Device)、個人數位助理裝置(Personal Digital Assistant)等電子運算裝置,但不以此為限。如 圖1所示,於本實施例中,維運裝置100以及偵測執行裝置200皆連接至網路並構成測試系統10。於本實施例中,測試系統10適用的網路包括行動網路與固定通信網路,而使用者可以利用維運裝置100以及偵測執行裝置200進行網路測試。 In an embodiment of the present invention, the maintenance surface is implemented in the maintenance device 100, and the maintenance device 100 is, for example, an electronic computing device such as a workstation or a server, but is not limited thereto. In contrast, the detecting entities in the detecting execution surface are respectively implemented in the detecting and executing device 200, and the detecting and executing device 200 is, for example, a tablet, a personal computer, or a smart phone. , but not limited to, electronic computing devices such as laptops, mobile devices, and personal digital assistants. Such as As shown in FIG. 1, in the present embodiment, the maintenance device 100 and the detection execution device 200 are both connected to a network and constitute a test system 10. In this embodiment, the network applicable to the test system 10 includes a mobile network and a fixed communication network, and the user can perform the network test by using the maintenance device 100 and the detection execution device 200.

圖2是依據本發明一實施例所繪示之維運裝置的方塊示意圖。參照圖2,於本實施例中,維運裝置100包括第一通訊介面120、第一儲存單元140以及第一處理單元160,並且第一處理單元160耦接第一通訊介面120與第一儲存單元140。 2 is a block diagram of a maintenance device according to an embodiment of the invention. Referring to FIG. 2, in the embodiment, the maintenance device 100 includes a first communication interface 120, a first storage unit 140, and a first processing unit 160, and the first processing unit 160 is coupled to the first communication interface 120 and the first storage unit. Unit 140.

於本發明的一實施例中,第一通訊介面120例如是支援WiFi標準、第三代合作夥伴計劃(Third Generation Partnership Project,3GPP)所提出之行動網路技術(例如,寬頻分碼多工系統(Wideband Code Division Multiplex Access,WCDMA)、長期演進(Long Term Evolution,LTE)等)或其他無線通訊技術,以及支援乙太網路(Ethernet)、光纖(optical fiber)或其他有線通訊技術的通訊介面。於本實施例中,第一通訊介面120連結至網路,而維運裝置100藉由第一通訊介面120與至少一個偵測執行裝置200進行通訊。 In an embodiment of the present invention, the first communication interface 120 is, for example, a mobile network technology (for example, a broadband code division multiplexing system) supported by the WiFi standard and the Third Generation Partnership Project (3GPP). (Wideband Code Division Multiplex Access, WCDMA), Long Term Evolution (LTE), or other wireless communication technologies, and communication interfaces supporting Ethernet, optical fiber, or other wired communication technologies. . In this embodiment, the first communication interface 120 is coupled to the network, and the maintenance device 100 communicates with the at least one detection execution device 200 via the first communication interface 120.

於本發明的一實施例中,第一儲存單元140例如是任何型態的固定或可移動隨機存取記憶體(random access memory;RAM)、唯讀記憶體(read-only memory;ROM)、快閃記憶體(flash memory)、硬碟(hard Disk drive;HDD)、固態硬碟(solid state drive;SSD)或類似元件或上述元件的組合。於本實施例中,第 一儲存單元140儲存多個第一模組,前述第一模組的型態與功能待稍後實施例說明。 In an embodiment of the invention, the first storage unit 140 is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), A flash memory, a hard disk drive (HDD), a solid state drive (SSD) or the like or a combination of the above elements. In this embodiment, the first A storage unit 140 stores a plurality of first modules, and the types and functions of the first modules are described in the following embodiments.

於本發明的一實施例中,第一處理單元160例如是微控制器(micro-controller)、嵌入式控制器(embedded controller)、中央處理器(central processing unit,CPU)、場效可程式邏輯閘陣列(Field programmable gate array,FPGA)、特殊應用積體電路(Application-specific integrated circuit,ASIC)或類似元件或類似元件的組合,但不限於此。第一處理單元160執行由第一儲存單元140所存取的第一模組以執行網路測試,其中第一模組包括腳本設定模組182、支援模組184與協調模組186,而其流程與細節待稍後實施例說明。 In an embodiment of the invention, the first processing unit 160 is, for example, a micro-controller, an embedded controller, a central processing unit (CPU), and a field effect programmable logic. A combination of a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC) or the like or the like, but is not limited thereto. The first processing unit 160 executes the first module accessed by the first storage unit 140 to perform network testing. The first module includes a script setting module 182, a support module 184, and a coordination module 186. The process and details are described later in the examples.

圖3是依據本發明一實施例所繪示之偵測執行裝置的方塊示意圖。參照圖3,於本實施例中,每一個偵測執行裝置200包括第二通訊介面220、第二儲存單元240以及第二處理單元260。第二處理單元260耦接第二通訊介面220與第二儲存單元240。 FIG. 3 is a block diagram of a detection execution apparatus according to an embodiment of the invention. Referring to FIG. 3 , in the embodiment, each detection execution device 200 includes a second communication interface 220 , a second storage unit 240 , and a second processing unit 260 . The second processing unit 260 is coupled to the second communication interface 220 and the second storage unit 240.

於本實施例中,第二通訊介面220、第二儲存單元240以及第二處理單元260的應用範例可分別參考第一通訊介面120、第一儲存單元140以及第一處理單元160,故不在此贅述。不同的是,於本實施例中,第二儲存單元240儲存多個第二模組。第二處理單元260存取並且執行前述的第二模組以執行網路測試,其中第二模組包括通訊模組282、控制與命令模組284、排程 模組286與協同模組288,而其流程與細節待稍後實施例說明。 In this embodiment, the application examples of the second communication interface 220, the second storage unit 240, and the second processing unit 260 can refer to the first communication interface 120, the first storage unit 140, and the first processing unit 160, respectively. Narration. The difference is that, in this embodiment, the second storage unit 240 stores a plurality of second modules. The second processing unit 260 accesses and executes the foregoing second module to perform network testing, wherein the second module includes a communication module 282, a control and command module 284, and scheduling The module 286 and the coordination module 288, the flow and details of which will be described later.

於本發明的一實施例中,維運裝置100與偵測執行裝置200還可分別包括顯示裝置、輸入介面等元件以執行顯示、輸入操作等功能,但不限於此。 In an embodiment of the present invention, the maintenance device 100 and the detection execution device 200 may further include components such as a display device and an input interface to perform functions such as display and input operations, but are not limited thereto.

值得注意的是,前述實施例的維運裝置100以及偵測執行裝置200分別實現維運面與偵測執行面的各項功能與行為而得以構成用於網路測試的完整系統架構,但可分別實現維運面與偵測執行面的電子運算裝置並不限於此。 It should be noted that the maintenance device 100 and the detection and execution device 200 of the foregoing embodiments respectively implement various functions and behaviors of the maintenance surface and the detection execution surface to form a complete system architecture for network testing, but The electronic arithmetic device that realizes the maintenance surface and the detection execution surface, respectively, is not limited thereto.

以下將搭配前述測試系統10、維運裝置100以及偵測執行裝置200的詳細結構,說明本發明實施例所提供的網路測試的流程與細節。圖4是依據本發明一實施例所繪示之測試方法的流程圖。圖4所繪示的測試方法適用於如圖1、圖2與圖3所示的測試系統10,但本發明不限於此。 The flow and details of the network test provided by the embodiment of the present invention will be described below in conjunction with the detailed structure of the foregoing test system 10, the maintenance device 100, and the detection execution device 200. 4 is a flow chart of a test method according to an embodiment of the invention. The test method illustrated in FIG. 4 is applicable to the test system 10 as shown in FIGS. 1, 2, and 3, but the present invention is not limited thereto.

參照圖4,於本實施例中,對於網路進行測試時,由維運裝置100針對至少一個偵測執行裝置200提供偵測腳本(步驟S410),並且傳輸偵測腳本到所述偵測執行裝置200(步驟S420)。於本發明的一實施例中,維運裝置100例如是基於例行性或即時性的網路測試需求,針對各個偵測執行裝置200提供並傳輸偵測腳本,而偵測執行裝置200則依據所接收的偵測腳本對網路執行相關於網路測試的偵測任務(步驟S430),並且回傳偵測結果至維運裝置100(步驟S440)。 Referring to FIG. 4, in the embodiment, when testing the network, the maintenance device 100 provides a detection script for the at least one detection execution device 200 (step S410), and transmits the detection script to the detection execution. The device 200 (step S420). In an embodiment of the present invention, the maintenance device 100 provides a detection script for each detection execution device 200 based on routine or immediate network test requirements, and the detection execution device 200 is based on The received detection script performs a detection task related to the network test on the network (step S430), and returns the detection result to the maintenance device 100 (step S440).

維運裝置100的腳本設定模組182用於管理已註冊到腳 本設定模組182的偵測執行裝置200。具體而言,腳本設定模組182可對偵測執行裝置200下達運行命令或提供對應的偵測腳本。於本發明的一實施例中,偵測腳本例如是使用者基於各個偵測執行裝置200應進行的網路測試項目而透過輸入介面或者是連入維運裝置100所設定,但本發明不限於此。於本發明另一實施例中,偵測腳本例如是維運裝置100基於各個偵測執行裝置200的型態以及應進行的網路測試項目所設定。於本發明又一實施例中,維運裝置100或使用者更基於網路上的異常狀態而設定偵測腳本。 The script setting module 182 of the maintenance device 100 is used to manage the registered to the foot The detection execution device 200 of the setting module 182. Specifically, the script setting module 182 can issue a running command to the detecting execution device 200 or provide a corresponding detecting script. In an embodiment of the present invention, the detection script is set by the user through the input interface or the connection to the maintenance device 100 based on the network test item that each detection execution device 200 should perform, but the present invention is not limited thereto. this. In another embodiment of the present invention, the detection script is set, for example, by the maintenance device 100 based on the type of each detection execution device 200 and the network test item to be performed. In still another embodiment of the present invention, the maintenance device 100 or the user sets the detection script based on the abnormal state on the network.

偵測執行裝置200的通訊模組282提供接收運行命令與測試腳本的通訊通道,而維運裝置100與偵測執行裝置200分別透過第一通訊介面120與第二通訊介面220進行實質的通訊。在本發明的實施例中,維運裝置100是周期性或即時性地提供偵測腳本至偵測執行裝置200。 The communication module 282 of the detection and execution device 200 provides a communication channel for receiving the operation command and the test script, and the maintenance device 100 and the detection and execution device 200 communicate with the second communication interface 220 through the first communication interface 120. In an embodiment of the present invention, the maintenance device 100 periodically or immediately provides a detection script to the detection execution device 200.

具體而言,於本實施例中,當維運裝置100與偵測執行裝置200處於週期性執行模式下,偵測執行裝置200週期性地註冊於腳本設定模組182並取得偵測腳本以執行偵測任務。另一方面,當維運裝置100與偵測執行裝置200處於立即性執行模式下,腳本設定模組182利用特定的通訊通道傳輸偵測腳本至偵測執行裝置200,並要求偵測執行裝置200依據偵測腳本執行偵測任務以回傳偵測結果。換言之,在立即性執行模式中,腳本設定模組182可對應網路上的異常狀況,即時地下達偵測腳本至偵測執行裝置 200來執行偵測任務,然後依據偵測結果掌握異常狀況的原因以及影響。 Specifically, in the embodiment, when the maintenance device 100 and the detection execution device 200 are in the periodic execution mode, the detection execution device 200 is periodically registered in the script setting module 182 and acquires the detection script to execute. Detect tasks. On the other hand, when the maintenance device 100 and the detection execution device 200 are in the immediate execution mode, the script setting module 182 transmits the detection script to the detection execution device 200 by using a specific communication channel, and requests the detection execution device 200 to be detected. Perform a detection task based on the detection script to return the detection result. In other words, in the immediate execution mode, the script setting module 182 can respond to the abnormal condition on the network, and immediately detect the script to the detecting execution device. 200 to perform the detection task, and then grasp the cause and influence of the abnormal condition according to the detection result.

圖5是依據本發明一實施例所繪示之偵測執行裝置的模組運作示意圖。參照圖5,於本發明的一實施例中,當偵測執行裝置200取得偵測腳本後,控制與命令模組284由通訊模組282接收偵測腳本,然後將偵測腳本交付於排程模組286以便將偵測腳本轉換為實質的偵測任務。在本實施例中,控制與命令模組284控制偵測執行裝置200的運作。詳細而言,控制與命令模組284還可由通訊模組282接收腳本設定模組182下達的運行命令,並且依據運行命令操作偵測執行裝置200。運行命令包括啟動、停止、暫停、繼續、回報、強制執行等,用於控制偵測任務的執行。換言之,作為偵測執行面的偵測實體,偵測執行裝置200在執行偵測任務上受到執行面的維運裝置100控制。 FIG. 5 is a schematic diagram of the operation of the module of the detecting and executing device according to an embodiment of the invention. Referring to FIG. 5, in an embodiment of the present invention, after the detection execution device 200 obtains the detection script, the control and command module 284 receives the detection script from the communication module 282, and then delivers the detection script to the scheduling. Module 286 converts the detection script into a substantial detection task. In the present embodiment, the control and command module 284 controls the operation of the detection executing device 200. In detail, the control and command module 284 can also receive the running command issued by the script setting module 182 by the communication module 282, and operate the detecting and executing device 200 according to the running command. Running commands include start, stop, pause, resume, reward, enforcement, etc., to control the execution of the detection task. In other words, as the detecting entity detecting the execution surface, the detecting and executing device 200 is controlled by the carrying device 100 of the executing surface when performing the detecting task.

於本實施例中,排程模組286由控制與命令模組284接收偵測腳本後,轉換偵測腳本為偵測任務,並且將偵測任務置入任務序列TL中。偵測腳本由腳本語言(Seript Language)編寫,而排程模組286具有反編譯器(Decompiler)以拆解偵測腳本並轉換為偵測任務T與排程邏輯。置入任務序列TL的偵測任務T由第二處理單元260逐一地執行。 In this embodiment, after the scheduling module 286 receives the detection script from the control and command module 284, the conversion detection script is a detection task, and the detection task is placed in the task sequence TL. The detection script is written by a script language (Seript Language), and the scheduling module 286 has a decompiler to disassemble the detection script and convert it into a detection task T and scheduling logic. The detection task T placed in the task sequence TL is executed by the second processing unit 260 one by one.

於本發明的一實施例中,排程模組286還負責管控偵測任務T的執行,並且允許插斷正在執行的偵測任務T。具體而言,當排程模組286拆解偵測腳本後,判斷偵測腳本內的偵測任務T 具有最高優先度時,排程模組286可插斷第二處理單元260正在執行的先前偵測任務,並且暫存先前偵測任務。於具有最高優先度的偵測任務T被第二處理單元260執行後,排程模組286才恢復先前偵測任務的執行狀態。 In an embodiment of the invention, the scheduling module 286 is also responsible for controlling the execution of the detection task T and allowing the detection task T being executed to be interrupted. Specifically, after the scheduling module 286 disassembles the detection script, it determines the detection task T in the detection script. With the highest priority, the scheduling module 286 can interpolate the previous detection tasks being performed by the second processing unit 260 and temporarily store the previously detected tasks. After the detection task T having the highest priority is executed by the second processing unit 260, the scheduling module 286 resumes the execution state of the previously detected task.

偵測任務用以指示偵測執行裝置200的具體偵測行為。偵測任務例如是包括網路頻寬測試、封包延遲測試、封包遺失測試、網站響應速度測試等測試項目,但不以此為限。另一方面,針對不同的測試項目,偵測任務還可指定以特定方式或程序進行測試。在本發明的一實施例中,偵測任務為單一偵測任務或者為多個子偵測任務的組合。一般而言,若偵測任務為單一偵測任務,則第二處理單元260執行偵測任務後,透過通訊模組282回傳偵測結果,並且暫存偵測結果於第二儲存單元240。 The detection task is used to indicate the specific detection behavior of the detection execution device 200. The detection task includes, for example, a network bandwidth test, a packet delay test, a packet loss test, a website response speed test, and the like, but is not limited thereto. On the other hand, for different test items, the detection task can also be specified to test in a specific way or program. In an embodiment of the invention, the detection task is a single detection task or a combination of multiple sub-detection tasks. In general, if the detection task is a single detection task, the second processing unit 260 performs the detection task, returns the detection result through the communication module 282, and temporarily stores the detection result in the second storage unit 240.

值得注意的是,於本發明的一實施例中,通訊模組282更於維運裝置100與偵測執行裝置200之間建立回傳偵測結果的通訊通道,而偵測執行裝置200透過前述通訊通道回傳偵測結果。暫存於第二儲存單元240的偵測結果,可以用於執行後續偵測任務的參考。另一方面,當回傳偵測結果的通訊通道不存在或斷開時,偵測結果還可暫時保留於第二儲存單元240並等待回傳至維運裝置100的時機。 It is to be noted that, in an embodiment of the present invention, the communication module 282 further establishes a communication channel for transmitting a detection result between the maintenance device 100 and the detection execution device 200, and the detection execution device 200 transmits the foregoing The communication channel returns the detection result. The detection result temporarily stored in the second storage unit 240 can be used to perform a reference for the subsequent detection task. On the other hand, when the communication channel that returns the detection result does not exist or is disconnected, the detection result may be temporarily retained in the second storage unit 240 and wait for the timing of returning to the maintenance device 100.

然而,當偵測任務為多個子偵測任務的組合時,第二處理單元260需要執行多個子偵測任務來取得偵測結果。子偵測任務的組合例如是循序性的多個子偵測任務(Sequential Tasks)或平 行性的多個子偵測任務(Parallel Tasks)。具體而言,循序性的多個子偵測任務間具有邏輯性與前後相依性,用以提供具備時序性的偵測結果。相對而言,平行性的多個子偵測任務為同時並行的多個偵測行為,用以提供平行偵測的偵測結果。 However, when the detection task is a combination of multiple sub-detection tasks, the second processing unit 260 needs to perform a plurality of sub-detection tasks to obtain the detection result. The combination of sub-detection tasks is, for example, sequential multiple Sequential Tasks or flat Multiple sub-detection tasks (Parallel Tasks). Specifically, the sequential multiple sub-detection tasks have logic and context dependencies to provide timing detection results. In contrast, multiple sub-detection tasks of parallelism are multiple parallel detection actions to provide parallel detection detection results.

於本實施例中,若子偵測任務的組合為循序性的子偵測任務,則第二處理單元260依序地執行子偵測任務,並且依序地儲存子偵測任務的偵測結果於第二儲存單元240。相對而言,若子偵測任務的組合為平行性的子偵測任務,則第二處理單元260同時地執行子偵測任務,並且儲存子偵測任務的偵測結果於第二儲存單元240。另一方面,子偵測任務的偵測結果也會回傳至維運裝置100。 In this embodiment, if the combination of the sub-detection tasks is a sequential sub-detection task, the second processing unit 260 sequentially performs the sub-detection tasks, and sequentially stores the detection results of the sub-detection tasks. The second storage unit 240. In contrast, if the combination of the sub-detection tasks is a parallel sub-detection task, the second processing unit 260 simultaneously performs the sub-detection task, and stores the detection result of the sub-detection task in the second storage unit 240. On the other hand, the detection result of the sub-detection task is also transmitted back to the maintenance device 100.

對於循序性的多個子偵測任務而言,由於子偵測任務間的安排可具有邏輯性與前後相依性,故對於任意一個子偵測任務而言,腳本設定模組182或使用者可設定該子偵測任務的前置條件,並且第二處理單元260基於所述前置條件滿足與否來決定是否執行該子偵測任務。舉例而言,第二處理單元260首先對一個待測網站的網址(Uniform Resource Locator,URL)執行PING指令以偵測前述待測網站的是否運作。然而,若前述待測網站沒有回應,則觸發後續路由(Routing)偵測的偵測任務。此時,第二處理單元260例如是對待測網站的網址執行TRACEROUTE指令以確認至待測網站的路徑狀態。值得注意的是,前述例子僅是描述了一種循序性的子偵測任務組合,但本發明不以此為限。 For sequential multiple sub-detection tasks, since the arrangement between the sub-detection tasks can be logical and context-dependent, the script setting module 182 or the user can set any sub-detection task. The sub-detection pre-condition of the task, and the second processing unit 260 determines whether to perform the sub-detection task based on whether the pre-condition is satisfied or not. For example, the second processing unit 260 first executes a PING command on a website (Uniform Resource Locator, URL) of the website to be tested to detect whether the website to be tested operates. However, if the website to be tested does not respond, the detection task of the subsequent route detection is triggered. At this time, the second processing unit 260 executes a TRACEROUTE instruction, for example, a web address of the website to be tested to confirm the path status to the website to be tested. It should be noted that the foregoing example only describes a sequential sub-detection task combination, but the invention is not limited thereto.

換言之,於本實施例中,在執行循序性的多個子偵測任務時,第二處理單元260更依據前述子偵測任務中已經被執行的多個先前子偵測任務的偵測結果,決定是否觸發先前子偵測任務中的後續子偵測任務。 In other words, in the embodiment, when performing a plurality of sequential sub-detection tasks, the second processing unit 260 further determines, according to the detection results of the plurality of previous sub-detection tasks that have been executed in the sub-detection task. Whether to trigger subsequent sub-detection tasks in the previous sub-detection task.

另一方面,在本發明的一實施例中,維運裝置100的支援模組184對應偵測執行裝置200所執行的偵測任務,提供對應的支援服務。詳細而言,部分的偵測任務僅需偵測執行裝置200單獨執行即可,但仍有另一部分的偵測任務需要偵測執行裝置200搭配其他測試服務來一同執行。此時,維運裝置100的支援模組184會協助提供對應的測試服務來幫助偵測執行裝置200執行偵測任務。 On the other hand, in an embodiment of the present invention, the support module 184 of the maintenance device 100 provides a corresponding support service corresponding to the detection task performed by the execution device 200. In detail, part of the detection task only needs to detect that the execution device 200 is executed separately, but there is still another part of the detection task that needs to be detected by the execution device 200 in conjunction with other testing services. At this time, the support module 184 of the maintenance device 100 assists in providing the corresponding test service to help detect the execution device 200 to perform the detection task.

舉例而言,在進行域名系統(Domain Name System,DNS)伺服器解析時,偵測執行裝置200僅需向網路上的域名系統伺服器發送解析要求,即可量測前述域名系統伺服器的解析效能,進而完成偵測任務。相對而言,利用用戶數據報協議(User Datagram Protocol,UDP)測試網路的可用頻寬時,需要搭配一個UDP反射服務來反射由偵測執行裝置200送出的UDP封包列。此時,維運裝置100的支援模組184即用於提供前述的UDP反射服務。 For example, when performing a domain name system (DNS) server resolution, the detection execution device 200 only needs to send a resolution request to the domain name system server on the network, and then the resolution of the domain name system server can be measured. Performance, and thus complete the detection task. In contrast, when the available bandwidth of the network is tested by the User Datagram Protocol (UDP), a UDP reflection service is required to reflect the UDP packet sequence sent by the detection executing device 200. At this time, the support module 184 of the maintenance device 100 is used to provide the aforementioned UDP reflection service.

於本發明一實施例中,維運裝置100接收偵測結果後,將偵測結果儲存於第一儲存單元140。此外,維運裝置100還可進一步分析所收集的偵測結果來判斷網路品質。 In an embodiment of the present invention, after receiving the detection result, the maintenance device 100 stores the detection result in the first storage unit 140. In addition, the maintenance device 100 can further analyze the collected detection results to determine the network quality.

在本發明實施例所提供的測試系統10中,維運面還可以 協調偵測執行面中的多個偵測實體協同地進行偵測任務。換言之,當有複數個偵測執行裝置200存在時,若偵測任務為部分的偵測執行裝置200協同地執行的協同偵測任務時,維運裝置100協調前述部分的偵測執行裝置200以執行前述協同偵測任務。需要注意的是,執行協同偵測任務的偵測執行裝置的數量並不受限,而可以隨協同偵測任務的任務內容而對應變化。 In the test system 10 provided by the embodiment of the present invention, the maintenance surface can also Coordinating the detection of multiple detection entities in the execution surface to perform the detection task collaboratively. In other words, when there are multiple detection execution devices 200, if the detection task is a cooperative detection task that is performed by the detection execution device 200 in part, the maintenance device 100 coordinates the detection execution device 200 of the foregoing portion. Perform the aforementioned collaborative detection task. It should be noted that the number of detection execution devices that perform the cooperative detection task is not limited, and may change correspondingly according to the task content of the cooperative detection task.

圖6是依據本發明一實施例所繪示之進行協同偵測任務的流程圖。參照圖2、圖3以及圖6,於本實施例中,維運裝置100的協調模組186用於協調偵測執行裝置200-1與200-2進行協同偵測任務,但本發明不限於此。首先,當偵測執行裝置200-1欲執行的偵測任務為協同偵測任務時,偵測執行裝置200-1的協同模組288透過通訊模組282向協調模組186註冊(步驟S431),然後依據協調模組186的指示執行協同偵測任務。 FIG. 6 is a flow chart of performing a cooperative detection task according to an embodiment of the invention. Referring to FIG. 2, FIG. 3 and FIG. 6, in this embodiment, the coordination module 186 of the maintenance device 100 is used to coordinate the detection execution devices 200-1 and 200-2 for cooperative detection tasks, but the present invention is not limited thereto. this. First, when the detection task to be executed by the execution device 200-1 is a cooperative detection task, the cooperation module 288 of the detection execution device 200-1 registers with the coordination module 186 via the communication module 282 (step S431). Then, the collaborative detection task is executed according to the instruction of the coordination module 186.

於本實施例中,協調模組186依據協同偵測任務的需求,將協同偵測任務的任務內容分享至參與的偵測執行裝置200-1與200-2(步驟S432)。於本發明的一實施例中,在任務內容的指定時間,偵測執行裝置200-1與200-2分別進入等待測試的狀態,並且分別透過通訊模組282向協調模組186建立連線。接著,協調模組186發送啟動訊號至偵測執行裝置200-1與200-2以啟動協同偵測任務(步驟S433)。 In this embodiment, the coordination module 186 shares the task content of the collaborative detection task to the participating detection execution devices 200-1 and 200-2 according to the requirements of the collaborative detection task (step S432). In an embodiment of the present invention, at a specified time of the task content, the detecting and executing devices 200-1 and 200-2 respectively enter a state of waiting for testing, and respectively establish a connection to the coordination module 186 through the communication module 282. Then, the coordination module 186 sends an activation signal to the detection executing devices 200-1 and 200-2 to start the cooperative detection task (step S433).

偵測執行裝置200-1與200-2的協同模組288分別依據協調模組186的任務運行協定進行協同偵測任務。基於協同偵測任 務的任務內容,偵測執行裝置200-1與200-2還可藉由通訊模組282相互建立連線以完成協同偵測任務。完成協同偵測任務後,偵測執行裝置200-1與200-2的協同模組288分別透過通訊模組282所建立的通訊通道回傳偵測結果至協調模組186(步驟S434)。另一方面,前述的偵測結果也個別地儲存於偵測執行裝置200-1與200-2的第二儲存單元240。最後,協調模組186彙整來自偵測執行裝置200-1與200-2的偵測結果(步驟S435)。彙整後的偵測結果例如是儲存於第一儲存單元140以供後續分析使用。 The cooperation module 288 of the detection executing devices 200-1 and 200-2 respectively perform the cooperative detection task according to the task operation agreement of the coordination module 186. Based on collaborative detection For the task content, the detecting and executing devices 200-1 and 200-2 can also establish a connection with each other through the communication module 282 to complete the collaborative detection task. After the cooperative detection task is completed, the cooperation module 288 of the detection executing devices 200-1 and 200-2 respectively transmits the detection result to the coordination module 186 through the communication channel established by the communication module 282 (step S434). On the other hand, the foregoing detection results are also separately stored in the second storage unit 240 of the detection executing devices 200-1 and 200-2. Finally, the coordination module 186 summarizes the detection results from the detection executing devices 200-1 and 200-2 (step S435). The detected result after the aggregation is stored, for example, in the first storage unit 140 for subsequent analysis.

以下將以一個實際測試的例子說明執行協同偵測任務的流程。舉例而言,當偵測執行裝置200-1基於指派的偵測任務而向偵測執行裝置200-2發起電話通訊品質測試時,偵測執行裝置200-1首先向維運裝置100的協調模組186進行註冊。維運裝置100的協調模組186基於偵測任務的偵測內容,向偵測執行裝置200-2分享任務內容並詢問是否允許測試請求,然後將請求結果回覆至偵測執行裝置200-1。若請求被允許,則偵測執行裝置200-1與200-2的協同模組288基於協調模組186的啟動訊號開始進入電話通訊品質測試,然後分別回傳測試結果至維運裝置100的協調模組186。 The process of performing a collaborative detection task will be described below with an actual test example. For example, when the detection executing device 200-1 initiates a telephone communication quality test to the detection executing device 200-2 based on the assigned detection task, the detection executing device 200-1 firstly coordinates with the maintenance device 100. Group 186 is registered. The coordination module 186 of the maintenance device 100 shares the task content with the detection execution device 200-2 based on the detection content of the detection task and asks whether the test request is permitted, and then returns the request result to the detection execution device 200-1. If the request is allowed, the cooperation module 288 of the detection executing devices 200-1 and 200-2 starts to enter the telephone communication quality test based on the activation signal of the coordination module 186, and then returns the test result to the coordination of the maintenance device 100 respectively. Module 186.

綜上所述,本發明實施例所提供的測試系統與測試方法,由維運裝置針對各個偵測執行裝置提供偵測腳本,並且由所述偵測執行裝置依據所接收的偵測腳本對連接的網路執行相關於網路測試的偵測任務。藉此,偵測腳本可以動態地被指派,並且 各個偵測執行裝置可針對不同的情境與狀況執行對應的偵測任務,達到有效且迅速的網路效能測試。此外,對於需要多個偵測執行裝置一同執行的協同偵測任務,由維運裝置協調參與的所述偵測執行裝置,藉以達到較佳的測試效率與測試結果。 In summary, in the test system and the test method provided by the embodiment of the present invention, the maintenance device provides a detection script for each detection execution device, and the detection execution device connects according to the received detection script pair. The network performs detection tasks related to network testing. Thereby, the detection script can be dynamically assigned, and Each detection execution device can perform corresponding detection tasks for different situations and conditions to achieve an effective and rapid network performance test. In addition, for the collaborative detection task that needs to be executed by multiple detection execution devices, the detection execution device coordinated by the maintenance device can achieve better test efficiency and test results.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

100:維運裝置 200:偵測執行裝置 S410、S420、S430、S440:測試方法的步驟100: Maintenance device 200: Detection execution device S410, S420, S430, S440: steps of the test method

Claims (16)

一種網路效能的測試系統,包括:至少一偵測執行裝置,連接至網路,用以對該網路執行相關於網路測試的偵測任務;以及維運裝置,連接該網路,針對該至少一偵測執行裝置提供偵測腳本,並且傳輸該偵測腳本到該至少一偵測執行裝置,該至少一偵測執行裝置依據所接收的該偵測腳本執行該偵測任務,並且回傳偵測結果至該維運裝置,其中當複數個偵測執行裝置存在,並且該偵測任務為部分的該些偵測執行裝置協同地執行的協同偵測任務時,該維運裝置協調該部分的該些偵測執行裝置以執行該協同偵測任務。 A network performance test system includes: at least one detection execution device connected to a network for performing a network test related detection task on the network; and a maintenance device connected to the network The at least one detection execution device provides a detection script, and transmits the detection script to the at least one detection execution device, and the at least one detection execution device performs the detection task according to the received detection script, and returns Transmitting the detection result to the maintenance device, wherein when the plurality of detection execution devices exist, and the detection task is a cooperative detection task that is performed by the detection execution devices in part, the maintenance device coordinates the Some of the detection execution devices perform the collaborative detection task. 如申請專利範圍第1項所述的測試系統,其中該維運裝置包括:第一通訊介面,連結至該網路,藉以與該至少一偵測執行裝置進行通訊;第一儲存單元,用以儲存該偵測結果並儲存多個第一模組;以及第一處理單元,耦接該第一通訊介面與該第一儲存單元,由該第一處理單元所執行的該些第一模組包括:腳本設定模組,管理已註冊的該至少一偵測執行裝置的運行,並且提供該偵測腳本到已註冊的該至少一偵測執行裝置; 支援模組,對應該至少一偵測執行裝置所執行的該偵測任務,提供對應的支援服務;以及協調模組,於該部分的該些偵測執行裝置執行該協同偵測任務時,該協調模組將該協同偵測任務的任務內容分享至該部分的該些偵測執行裝置,發送啟動訊號至該部分的該些偵測執行裝置以啟動該協同偵測任務,並且彙整該部分的該些偵測執行裝置所回傳的該些偵測結果。 The test system of claim 1, wherein the maintenance device comprises: a first communication interface coupled to the network for communicating with the at least one detection executing device; and a first storage unit for Storing the detection result and storing a plurality of first modules; and the first processing unit is coupled to the first communication interface and the first storage unit, and the first modules executed by the first processing unit include a script setting module, configured to manage the registered operation of the at least one detecting execution device, and provide the detecting script to the registered at least one detecting execution device; The support module provides corresponding support services for at least one detection task performed by the execution device; and a coordination module, when the detection execution devices of the portion perform the collaborative detection task, The coordination module shares the task content of the collaborative detection task to the detection execution devices of the part, sends the activation signal to the detection execution devices of the part to start the collaborative detection task, and integrates the part of the The detection detects the detection results returned by the execution device. 如申請專利範圍第2項所述的測試系統,其中於週期性執行模式下,該至少一偵測執行裝置週期性地註冊於該腳本設定模組並取得該偵測腳本以執行該偵測任務,於立即性執行模式下,該腳本設定模組傳輸該偵測腳本至該至少一偵測執行裝置,並要求該至少一偵測執行裝置依據該偵測腳本執行該偵測任務以回傳該偵測結果。 The test system of claim 2, wherein in the periodic execution mode, the at least one detection execution device is periodically registered in the script setting module and obtains the detection script to perform the detection task. In the immediate execution mode, the script setting module transmits the detection script to the at least one detection execution device, and requests the at least one detection execution device to perform the detection task according to the detection script to return the detection Detect results. 如申請專利範圍第2項所述的測試系統,其中每一該偵測執行裝置包括:第二通訊介面,連結至該網路;第二儲存單元,用以儲存該偵測結果並儲存多個第二模組;以及第二處理單元,耦接該第二通訊介面與該第二儲存單元,由該第二處理單元所執行的該些第二模組包括:通訊模組,提供至該維運裝置的多個通訊通道以分別接收該偵測腳本、運行命令與回傳該偵測結果; 控制與命令模組,控制該偵測執行裝置的運作,該控制與命令模組由該通訊模組接收該偵測腳本與該運行命令;排程模組,由該控制與命令模組接收該偵測腳本後,該排程模組轉換該偵測腳本為該偵測任務,並且將該偵測任務置入任務序列中;以及協同模組,當欲執行的該偵測任務為該協同偵測任務時,該協同模組透過該通訊模組向該協調模組註冊,依據該協調模組的指示執行該協同偵測任務,並且回傳該偵測結果至該協調模組,其中該第二處理單元執行該偵測任務後,透過該通訊模組回傳該偵測結果,並且暫存該偵測結果於該第二儲存單元。 The test system of claim 2, wherein each of the detection execution devices comprises: a second communication interface coupled to the network; and a second storage unit configured to store the detection result and store the plurality of And the second processing unit is coupled to the second communication interface and the second storage unit, and the second modules executed by the second processing unit include: a communication module, which is provided to the dimension The plurality of communication channels of the transport device respectively receive the detection script, run the command, and return the detection result; a control and command module for controlling operation of the detection execution device, the control and command module receiving the detection script and the operation command by the communication module; and a scheduling module, wherein the control and command module receives the After detecting the script, the scheduling module converts the detection script into the detection task, and puts the detection task into the task sequence; and the cooperation module, when the detection task to be executed is the collaborative detection During the measurement task, the collaboration module registers with the coordination module through the communication module, performs the cooperative detection task according to the instruction of the coordination module, and returns the detection result to the coordination module, where the After the detection unit performs the detection task, the detection result is returned by the communication module, and the detection result is temporarily stored in the second storage unit. 如申請專利範圍第4項所述的測試系統,其中當該排程模組判斷該偵測任務具有最高優先度時,該排程模組插斷該第二處理單元正在執行的先前偵測任務並且暫存該先前偵測任務,並且於該偵測任務被執行後,該排程模組恢復該先前偵測任務的執行狀態。 The test system of claim 4, wherein when the scheduling module determines that the detection task has the highest priority, the scheduling module interrupts a previous detection task being performed by the second processing unit. And temporarily storing the previous detection task, and after the detection task is executed, the scheduling module resumes the execution state of the previously detected task. 如申請專利範圍第4項所述的測試系統,其中該偵測任務為多個子偵測任務的組合時,若該些子偵測任務為循序性的該些子偵測任務,則該第二處理單元依序地執行該些子偵測任務,並且依序地儲存該些子偵測任務的該些偵測結果於該第二儲存單元,若該些子偵測任務為平行性的該些子偵測任務,則該第二處 理單元同時地執行該些子偵測任務,並且儲存該些子偵測任務的該些偵測結果於該第二儲存單元。 The test system of claim 4, wherein the detecting task is a combination of a plurality of sub-detecting tasks, and if the sub-detecting tasks are sequential sub-detecting tasks, the second The processing unit sequentially executes the sub-detection tasks, and sequentially stores the detection results of the sub-detection tasks in the second storage unit, if the sub-detection tasks are parallel Sub-detection task, the second place The processing unit performs the sub-detection tasks simultaneously, and stores the detection results of the sub-detection tasks in the second storage unit. 如申請專利範圍第6項所述的測試系統,其中該第二處理單元在執行循序性的該些子偵測任務時,該第二處理單元更依據該些子偵測任務中已經被執行的多個先前子偵測任務的該些偵測結果,決定是否觸發該些先前子偵測任務中的後續子偵測任務。 The test system of claim 6, wherein the second processing unit is further configured to perform the sub-detection tasks according to the sub-detection tasks. The detection results of the plurality of previous sub-detection tasks determine whether to trigger subsequent sub-detection tasks in the previous sub-detection tasks. 如申請專利範圍第1項所述的測試系統,其中該網路包括行動網路、固定通信網路。 The test system of claim 1, wherein the network comprises a mobile network and a fixed communication network. 一種網路效能的測試方法,適用測試系統以對網路進行測試,該測試方法包括:由維運裝置針對至少一偵測執行裝置提供偵測腳本;由該維運裝置傳輸該偵測腳本到該至少一偵測執行裝置;由該至少一偵測執行裝置依據所接收的該偵測腳本對該網路執行相關於網路測試的偵測任務;以及由該至少一偵測執行裝置回傳偵測結果至該維運裝置,其中當複數個偵測執行裝置存在,並且該偵測任務為部分的該些偵測執行裝置協同地執行的協同偵測任務時,則執行該偵測任務的步驟更包括:由該維運裝置協調該部分的該些偵測執行裝置。 A test method for network performance is applicable to a test system for testing a network. The test method includes: providing, by the maintenance device, a detection script for at least one detection execution device; and transmitting, by the maintenance device, the detection script to Detecting, by the at least one detecting execution device, the detecting task related to the network test performed on the network according to the received detecting script; and returning by the at least one detecting executing device Detecting the result to the maintenance device, wherein when the plurality of detection execution devices exist, and the detection task is a cooperative detection task that is performed by the detection execution devices in part, the detection task is executed The step further includes: coordinating the detection execution devices of the portion by the maintenance device. 如申請專利範圍第9項所述的測試方法,其中由該維運裝置協調該部分的該些偵測執行裝置的步驟,包括:將該協同偵測任務的任務內容分享至該部分的該些偵測執行 裝置;發送啟動訊號至該部分的該些偵測執行裝置以啟動該協同偵測任務;以及彙整該部分的該些偵測執行裝置所回傳的該些偵測結果。 The test method of claim 9, wherein the step of coordinating the detecting execution devices of the portion by the maintenance device comprises: sharing the task content of the collaborative detection task to the portions of the portion Detection execution And sending the activation signal to the detection execution devices of the part to activate the cooperative detection task; and collecting the detection results returned by the detection execution devices of the part. 如申請專利範圍第9項所述的測試方法,其中於週期性執行模式下,由該至少一偵測執行裝置週期性地註冊於該維運裝置以取得該偵測腳本,於立即性執行模式下,由該維運裝置傳輸該偵測腳本至該至少一偵測執行裝置,並要求該至少一偵測執行裝置依據該偵測腳本執行該偵測任務以回傳該偵測結果。 The test method of claim 9, wherein in the periodic execution mode, the at least one detection execution device is periodically registered in the maintenance device to obtain the detection script in an immediate execution mode. And transmitting, by the maintenance device, the detection script to the at least one detection execution device, and requesting the at least one detection execution device to perform the detection task according to the detection script to return the detection result. 如申請專利範圍第9項所述的測試方法,其中由該至少一偵測執行裝置對該網路執行該偵測任務的步驟,包括:轉換該偵測腳本為該偵測任務;將該偵測任務置入任務序列中;執行該偵測任務;以及暫存該偵測結果於該至少一偵測執行裝置,其中當欲執行的該偵測任務為該協同偵測任務時,執行該偵測任務的步驟,更包括:向該維運裝置註冊;以及依據該維運裝置的指示執行該協同偵測任務。 The test method of claim 9, wherein the step of performing the detecting task on the network by the at least one detecting execution device comprises: converting the detecting script to the detecting task; The test task is placed in the task sequence; the detection task is executed; and the detection result is temporarily stored in the at least one detection execution device, wherein the detection is performed when the detection task to be executed is the collaborative detection task The step of testing the task further includes: registering with the maintenance device; and performing the collaborative detection task according to the instruction of the maintenance device. 如申請專利範圍第12項所述的測試方法,其中當該偵測任務具有最高優先度時,由該至少一偵測執行裝置插斷正在執 行的先前偵測任務並且暫存該先前偵測任務,並且於該偵測任務被執行後,恢復該先前偵測任務的執行狀態。 The test method of claim 12, wherein when the detection task has the highest priority, the at least one detection execution device is interrupted The previous detection task of the row and the temporary detection task are temporarily stored, and after the detection task is executed, the execution state of the previously detected task is restored. 如申請專利範圍第12項所述的測試方法,其中該偵測任務為多個子偵測任務的組合時,若該些子偵測任務為循序性的該些子偵測任務,則依序地執行該些子偵測任務,並且依序地儲存該些子偵測任務的該些偵測結果於該至少一偵測執行裝置,若該些子偵測任務為平行性的該些子偵測任務,則同時地執行該些子偵測任務,並且儲存該些子偵測任務的該些偵測結果於該至少一偵測執行裝置。 The test method of claim 12, wherein when the detection task is a combination of multiple sub-detection tasks, if the sub-detection tasks are sequential sub-detection tasks, sequentially Performing the sub-detection tasks, and sequentially storing the detection results of the sub-detection tasks on the at least one detection execution device, if the sub-detection tasks are parallel to the sub-detections The task performs the sub-detection tasks simultaneously, and stores the detection results of the sub-detection tasks on the at least one detection executing device. 如申請專利範圍第14項所述的測試方法,其中在執行循序性的該些子偵測任務時,更依據該些子偵測任務中已經被執行的多個先前子偵測任務的該些偵測結果,決定是否觸發該些先前子偵測任務中的後續子偵測任務。 The test method of claim 14, wherein when performing the sequential sub-detection tasks, the plurality of previous sub-detection tasks that have been executed in the sub-detection tasks are further determined. The detection result determines whether to trigger subsequent sub-detection tasks in the previous sub-detection tasks. 如申請專利範圍第9項所述的測試方法,其中該網路包括行動網路、固定通信網路。 The test method of claim 9, wherein the network comprises a mobile network and a fixed communication network.
TW105119831A 2016-06-24 2016-06-24 Testing system and testing method for network performance TWI615005B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW105119831A TWI615005B (en) 2016-06-24 2016-06-24 Testing system and testing method for network performance
CN201610764557.1A CN107547294A (en) 2016-06-24 2016-08-30 Network efficiency testing system and testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105119831A TWI615005B (en) 2016-06-24 2016-06-24 Testing system and testing method for network performance

Publications (2)

Publication Number Publication Date
TW201801496A TW201801496A (en) 2018-01-01
TWI615005B true TWI615005B (en) 2018-02-11

Family

ID=60966765

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105119831A TWI615005B (en) 2016-06-24 2016-06-24 Testing system and testing method for network performance

Country Status (2)

Country Link
CN (1) CN107547294A (en)
TW (1) TWI615005B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150341249A1 (en) * 2014-05-21 2015-11-26 Canon Kabushiki Kaisha Management apparatus for managing network device and method for controlling the same
TWI510918B (en) * 2014-02-20 2015-12-01 Wistron Corp Method and system for quick testing and detectiing mobile devices
US20160100028A1 (en) * 2013-05-21 2016-04-07 Koninklijke Philips N.V. A network system, a lighting system, and a method of caching information from a resource-constrained device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156673B (en) * 2011-04-20 2013-09-18 北京航空航天大学 Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof
CN103024794A (en) * 2011-09-26 2013-04-03 中兴通讯股份有限公司 Method and system for detecting communication service quality
CN103019172B (en) * 2012-11-06 2017-10-13 西华大学 Ad-hoc wireless pyroelectric monitor system
CN104978263B (en) * 2014-04-09 2019-01-29 腾讯科技(深圳)有限公司 A kind of mobile terminal applied program testing method and system
CN105468513B (en) * 2014-09-11 2021-03-12 腾讯科技(深圳)有限公司 Test method, device and system based on mobile terminal
CN104331255B (en) * 2014-11-17 2018-04-17 中国科学院声学研究所 A kind of stream data read method based on embedded file system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160100028A1 (en) * 2013-05-21 2016-04-07 Koninklijke Philips N.V. A network system, a lighting system, and a method of caching information from a resource-constrained device
TWI510918B (en) * 2014-02-20 2015-12-01 Wistron Corp Method and system for quick testing and detectiing mobile devices
US20150341249A1 (en) * 2014-05-21 2015-11-26 Canon Kabushiki Kaisha Management apparatus for managing network device and method for controlling the same

Also Published As

Publication number Publication date
CN107547294A (en) 2018-01-05
TW201801496A (en) 2018-01-01

Similar Documents

Publication Publication Date Title
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
US10459754B2 (en) Method, apparatus, and system for discovering application topology relationship
US20210132974A1 (en) System for peering container clusters running on different container orchestration systems
US20120311128A1 (en) Performance testing in a cloud environment
WO2017084274A1 (en) Method and apparatus for selecting retrieval server
US10461990B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
CN107613037B (en) Domain name redirection method and system
US20140280959A1 (en) Application server instance selection based on protocol latency information
US20170168881A1 (en) Process chain discovery across communication channels
US11354152B2 (en) Self-evolving microservices
US9160653B2 (en) Dynamic redirection of network traffic within a system under test
US20090106260A1 (en) Method and System for Transferring Files
EP3609134A1 (en) Bgp anycast cluster service quality detection method and detection apparatus
Li et al. Analyzing open-source serverless platforms: Characteristics and performance
US8930935B2 (en) Composite service refactoring
CN108733545B (en) Pressure testing method and device
Brogi et al. Measuring the fog, gently
US9819933B2 (en) Automated testing of media devices
US10608889B2 (en) High-level interface to analytics engine
Chang et al. A service-oriented mobile cloud middleware framework for provisioning mobile sensing as a service
TWI615005B (en) Testing system and testing method for network performance
US20080162687A1 (en) Data acquisition system and method
US8909770B2 (en) Performance estimator for network devices
US20210176205A1 (en) Global load balancing achieved by using distributed dns reflection
CN111147445B (en) Packet capturing method, device, system and storage medium