I37S683 九、發明說明: 【發明所屬之技術領域】 一本發明係有關於服務品質之測試方法,特別係有關於 一種利用磁碟作業系統指令自動傳輸檔案並測試網路設備 之服務品質(QOS)之方法。 【先如技術】 科技的發達日新月異,從二元電腦時代快速演化至今 •的網路時代,其中所指網路已非電腦與電腦間的連接而是 冋口口貝的多兀產品間相互連接,如個人數位助理(person^ igital assistant; PDA)、網路電話(Voice over IP; νοιρ)、 視轉換器、數位電視、儲存產品、無線網路元件等,多 =產品的開發已產生各種不同架構及提供更多新穎功能給 這些裝置’隨著功㉟越強大,使用產品的人數與資料量也 相對大幅度的增加,因此,如何達到優良的通訊與傳輸品 質是一值得研究的主題。 •&目前網路設備商為確保網路設備的穩定性,均會對 設備進行大量封包傳輸測試並且不間斷連續施行Μ 時 以上’以驗證設備的耐力及穩定度,也就是測試服務品質 (QOS),覺察和測量出的網絡性能。通常測試網路服務的 品質包括流量、速度、優先權利等,係利用網路組合元件 或技術來達成特定應用服務需求的保證能力。提供穩定可 預測的貧料傳送服務,如達成應用服務所需的保證頻寬、 最小延遲時間等。 現仃服務品質的測試方法與步驟係先以大量傳輸佔用 1378683 頻2、,在運行所需的服務確保其擁有的頻寬的優先權, nnkcp t#^m^(FlleTransferProt〇c〇i, ftp)^^ 包產生器,輸:定二:傳賴包:封 脾楚y 茶得迗軟體,點對點傳送軟 購不-Γ = *硬體封包產生器較為昂貴’雖功能強大但採 =!=濟效應,檔案傳輸協定之檀案傳送軟體及點對點 以Γ,人,㈣㈣有大量傳輸資料才能持續測試24小時 何有效及簡單的達到測試目的並減少人力配置環 土兄的時間極為重要。 里衣 就上述普遍指出之觀察沣罢, 質測試技術上仍有許多缺失、,°諸_目前的服務品 力資源。 渚如呵成本之測試器材與人 【發明内容】 :解決前述之問題’本發明主要係揭露一種服 =S)測試之方法,特別係指利用磁碟作業系統,例如目 二 Γ作業系統(MS_D0S)指令協助檔案 之服務品質測試,有效及簡單的達到測試目的盘 用檔案空間並減少人力配置環境的時間。通常 磁碟作業系統指令係存放於一指令集令。 述之 本發明係揭露一種利用磁碟作章系 A 案並測試網路設備之服務品質法了該G傳輸檔 驟:執行:檔案傳輸協定指令,透過一網 ::少1端裝置;上傳一檔案至一網路裝置,該 置並轉傳送該檔案至至少一遠端裝置;更改該遠端裝:上 1378683 】置上更改相戶端,檔案名稱相異;及下載該遠端 服務品質。^之槽案至該用戶端’測試該網路設備之 -種利用磁碟作業系統指令自動傳 設傷之服務品質之系統,包含.一用 田案並測试網路 程式及-檔案;至少 ’係儲存有一測試 網路裝置,且有_山"、,/、係具有一 IP位址;一 該網路裝置二端::單fi:網路存取橋接器單元, 用戶端;該用戶端係以二;:=裝置,另-端耦合至該 置連續傳送該檔案至該至H端並透過該網路裝 備之服務品質。 、 以測4該網路設 本發明係包含—或多個傳輸端⑴ 個接收端(receivers),由一或多個傳輸端傳=一或多 至一或多個接收端,當資料由 里貝枓封包 成後’傳輸端與接收端各會存放—二=到-接收端完 此時,為了測試下载之服務品質 端::案資料’ 大小且相同檔名 #輸知已存在-相同 時須由程式人員確定是=蓋^:體^行對話窗,此 因此’藉由微軟磁碟作業系統指令自^輸中斷。 案之檔名’為執行下載之服務品 2更改接收端檔 更改槽名後之樓案資料,達到測試資收端下载該 品質目的’傳輸完成後,傳輸端會存 專。下载之服務 檔名之相同資料,接收端亦存放一 大小相同但不同 不僅浪費錯存空間,且於再次執行服務品資二 i匕資=存在於接收端及傳輪端,造成軟體須執行料 二:時須由程式人員確定 二: 中斷亦浪費人力資源。 ^傅輸 接收係:::::r統指令控制傳輸端與 介处△ * 达所揭露自動更改檔名之功能, =Γ已完成傳輸測試之非必要資料刪除,使其能達 目二傳輸的魏與解決_所f佔用㈣空間及人力的 力所::成:犯ί到上述之功能與目的亦能節省設備與人 ^斤=士本。由於本發明方法新穎,能夠供產 用’且確實有增進功效。 【貫施方式】 本發月將配合其較佳實施例與隨附之圖示詳述於下, 2解者為本發明中所有之較佳實施例僅為例示之用 較佳實施例外,本發明亦可廣泛地應用在其他 ::中。且本發明並不受限於任何實施例,應以隨附之 申㈣專利範圍及其同等領域而定。 t社ΐ穿本專利說明書中,「—較佳實施例」意指描述關於 =貫施狀—特殊特徵、結構或-特性,在本發明中, f圭㈣例數目,至少為-個。因此,本說明書中出現 牲址車乂佳實關中」’不必完全參照同—實施例。再者,其 &特徵、結構或特性可使用任何適當方法混合於較佳實 施例中。 第圖根據本發明較佳實施例,用以說明本發明之利I37S683 Nine, invention description: [Technical field of invention] A invention relates to a test method for service quality, in particular to a method for automatically transmitting files and testing network service quality (QOS) by using a disk operating system command. The method. [Before technology] The development of science and technology is changing with each passing day. From the era of the dual-computer era to the rapid evolution of the Internet era, the network refers to the connection between computers and computers, but the interconnection of multiple products. Such as personal digital assistant (PDA), VoIP (Voice over IP; νοιρ), video converter, digital TV, storage products, wireless network components, etc., more = product development has produced a variety of Architecture and providing more novel features to these devices' The more powerful the work, the greater the number of people using the product and the amount of data. Therefore, how to achieve excellent communication and transmission quality is a subject worthy of study. • & Currently, in order to ensure the stability of network equipment, network equipment vendors will perform a large number of packet transmission tests on the equipment and continuously perform the above tests to verify the endurance and stability of the equipment, that is, the quality of the test service ( QOS), perceived and measured network performance. The quality of a commonly tested network service, including traffic, speed, priority rights, etc., is the ability to use network composition components or technologies to achieve the specific application service requirements. Provide stable and predictable poor material delivery services, such as guaranteed bandwidth, minimum delay time, etc. required to achieve application services. The current test methods and steps for service quality are first used in a large number of transmissions to occupy 1378683 frequency 2. The service required to run ensures the priority of the bandwidth, nnkcp t#^m^(FlleTransferProt〇c〇i, ftp ^^ Package generator, lose: fixed two: pass the package: seal spleen Chu y tea get 迗 software, point-to-point transmission soft purchase is not - Γ = * hardware package generator is more expensive 'although powerful but mining =!= The effect of the economy, the transmission of the file transfer agreement, and the peer-to-peer software, people, (4) (4) have a large amount of data transmission to continue testing for 24 hours, which is effective and simple to achieve the purpose of testing and reduce the time required for manpower allocation. Li Yi As far as the above-mentioned observations are generally pointed out, there are still many shortcomings in the quality testing technology, and the current service quality resources. For example, the cost of the test equipment and people [invention]: to solve the aforementioned problems 'The present invention mainly discloses a method of service = S) test, in particular, the use of a disk operating system, such as the target operating system (MS_D0S The instruction assists the service quality test of the file, effectively and simply achieves the file space for the test purpose and reduces the time for the human configuration environment. Usually the disk drive system commands are stored in an instruction set. The present invention discloses a method for utilizing a disk-based chapter A and testing a service quality of a network device. The G transmission file is executed: a file transfer protocol instruction, through a network:: a less-end device; uploading a The file is transferred to a network device, and the file is transferred to at least one remote device; the remote device is installed: 1378683] the change of the account is set, the file name is different; and the remote service quality is downloaded. ^ The slot to the client's test of the network device - a system that uses the disk operating system command to automatically transmit the service quality of the injury, including a use case and test network program and file; at least; 'The system stores a test network device, and has _山", /, has an IP address; a network device two-end:: single fi: network access bridge unit, user; The client is equipped with two::= devices, and the other end is coupled to the device to continuously transmit the file to the H-end and the quality of service provided through the network. The network of the invention comprises: - or a plurality of transmitting ends (1) receivers, one or more transmitting ends transmitting one or more to one or more receiving ends, when the data is provided by After the Bessie packet is formed, the transmission end and the receiving end will store each other - two = to - the receiving end is finished at this time, in order to test the downloaded service quality end:: the case data 'size and the same file name #delivery already exists - the same must It is determined by the programmer that it is = cover ^: body ^ line dialog window, which is therefore interrupted by the Microsoft disk operating system command. The file name of the case is to perform the downloaded service item. 2 Change the receiving end file. Change the building data after the slot name to achieve the purpose of downloading the quality of the test receiving end. After the transmission is completed, the transmission end will store the special information. Download the same information of the service file name, the receiving end also stores the same size but different not only wastes the wrong space, and re-executes the service product 2 匕 = = exists at the receiving end and the transmitting end, causing the software to be executed Two: The time must be determined by the programmer: 2 Interruption also wastes human resources. ^Fuyin receiving system:::::r command command to control the transmission end and the interface △ * to reveal the function of automatically changing the file name, = Γ has completed the transmission test, the non-essential data is deleted, so that it can reach the second transmission Wei and the solution _ the occupation of the space and manpower:: into: the 5,000 to the above functions and purposes can also save equipment and people ^ jin = shiben. Since the method of the present invention is novel, it can be used for production' and does enhance efficacy. The present invention will be described in detail with reference to the preferred embodiments and the accompanying drawings. The preferred embodiments of the present invention are merely illustrative of the preferred embodiments. The invention can also be widely applied to other::. And the present invention is not limited to any embodiment, and should be determined by the scope of the attached patent (four) and its equivalent fields. In the present specification, the term "preferred embodiment" means to describe a specific feature, a structure, or a characteristic. In the present invention, the number of the four (four) cases is at least one. Therefore, in the present specification, there is a need to fully refer to the same embodiment. Furthermore, the & features, structures or characteristics may be combined in the preferred embodiment using any suitable method. The drawings are used to illustrate the advantages of the present invention in accordance with a preferred embodiment of the present invention.
8 1378683 名稱A並將其更改為檔案名稱b(步驟i5 接著執行下載之服務品質測試。由遠端裝置下載浐 B’達到測試資料上傳與下載之服務品f目的(步驟16〇^、 荦ΒΓ個案^傳輸完成後’其用戶端會同時存在檔案A與槽 案兩個相同大小但名稱不同的槽案,不僅浪費儲存空 ,端欠執行服務品質測試時會因其資料已存在於用 #自Μ /之網路裝置’造成軟^難行對話窗。此時, 刪除指令’將遠端裝置之槽案Β刪除(步驟 η :白也一併將用戶端之檔案6刪除(步驟180),使 ^匕達到自動傳輸的功能與解決測試所需^ 人力的目的。 細彔工間及 並判:後:Ζ裝置結束與遠端裝置之連線(步驟鮮 束程丨::疋否為程式迴圈之終點(步驟195),若是,則結 於上述,僅提供本發明之一較 輸方式可為任-種傳輸方式,例如用毛明之傳 P—之傳輸方式。對熟悉此領域技蔽者=不 脫離本發明之精神與範圍内所作之修 應包含在下述之申請專利範圍内。”、以的配置,均 參照第二圖,根據本發明之較佳 W㈣ess-LAN環狀檔案傳輸協定係 圖,用以說明-環狀網路檔案 :…先200之架構 試網路設備之服務品質之架構1疋動傳輸檔案並測 (DOS command)協助進产回1用磁碟作業系統指令 检案傳輸,並測試網路設備之服 務品質之服務品質。 如第二圖所示,測試系統包含用戶端單元212、214, 無線’路用戶端單U1G、待測之網路設備裏、無線網路 用戶端單元210、遠端裝置202、208。8 1378683 Name A and change it to file name b (Step i5 then perform the service quality test of the download. Download 浐B' from the remote device to achieve the purpose of uploading and downloading the test data f (Step 16〇^, 荦ΒΓ After the case ^ transfer is completed, the client will have two slots of the same size but different names in the file A and the slot. Not only will the storage space be wasted, but the data will already exist when the service quality test is performed. Μ / The network device 'causes a soft ^ difficult dialog window. At this time, the delete command ' deletes the remote device's slot file (step η: white also deletes the user's file 6 (step 180), The function of automatic transmission and the purpose of solving the test are required. The details of the workmanship and the judgment: After: the connection between the device and the remote device (step fresh beam:: 疋 no program The end point of the loop (step 195), and if so, is described above, and only one of the transmission modes of the present invention can be used for any type of transmission, for example, transmission mode using Maoming's transmission P-. Without deviating from the spirit and scope of the present invention The modifications made therein are included in the scope of the following patent application.", the configuration is referred to the second figure, according to the preferred W (four) ess-LAN ring file transfer protocol diagram of the present invention, to illustrate - ring network Road file: ... first 200 architecture test network equipment service quality architecture 1 传输 transmission file and test (DOS command) to assist in the production of 1 disk drive system command record transmission, and test network equipment services Quality of Service Quality As shown in the second figure, the test system includes client units 212, 214, wireless 'road subscriber single U1G, network equipment to be tested, wireless network client unit 210, and remote device 202. 208.
…概括而言,此Wireless_LAN環狀擋案傳輸協定自動測 试糸統200之架構’係由用戶端單元212、214或無線網路 用戶端單元210透過網路裝置寫與遠端裝置搬、2〇8進行 傳送檔案的動作。網路裝置寫於遠端裝置2〇2、2_用 戶端單元212、214間相互傳輸資料’以達到測試其網路設 備之服務品質之目的。其系統架構2〇〇間之各元件相關細 部之運作,容下述。 首先,用戶端單元212,耦合至一待測之網路設備 2〇6,藉由此待測之網路設備2〇6,耦合至一遠端裝置 202 208,與之溝通。同理亦可藉由另一用戶端單元 無線網路用戶端單元21〇溝通。用戶端單元212、214耦合 φ至4待測之網路設備2〇6,並藉由此網路設備,與其有 線之遠编裝置2〇2、208通訊。一無線網路用戶端單元21〇 亦可藉由無線之方式耦合至待測之網路設備200,並透過 其網路設備206,與遠端裝置208、202通訊。於較佳實施 例,待測之網路設備2〇6可包括無線網路存取橋接器 (AP )、路由益(r〇uter)交換器或網路電話(νοιρ) 等裝置。 爰第一圖之方法流程圖,用戶端單元2 12、214或無線 網路用戶端單元21〇可經由網路裝置2〇6發出請求,並以檔...in general, the architecture of the Wireless_LAN ring file transmission protocol automatic test system 200 is written by the client unit 212, 214 or the wireless network client unit 210 through the network device and the remote device is moved, 2 〇8 performs the action of transferring files. The network device writes on the remote device 2〇2, 2_user units 212, 214 to transmit data to each other for the purpose of testing the quality of service of its network device. The operation of each component related to the system architecture 2 is as follows. First, the client unit 212 is coupled to a network device 2〇6 to be tested, and is coupled to a remote device 202 208 via the network device 2〇6 to be tested. Similarly, the wireless network client unit 21 can communicate with another client unit. The client units 212, 214 couple φ to 4 network devices 2 〇 6 to be tested, and by means of the network devices, communicate with their wired remote devices 2 〇 2, 208. A wireless network client unit 21 can also be wirelessly coupled to the network device 200 to be tested and communicated with the remote devices 208, 202 via its network device 206. In a preferred embodiment, the network device 2〇6 to be tested may include a wireless network access bridge (AP), a router (r〇uter) switch, or a network telephone (νοιρ). In the method flow diagram of the first figure, the client unit 2 12, 214 or the wireless network client unit 21 can issue a request via the network device 2〇6, and
11 137868311 1378683
案傳輸協定(Fn> Protocol)上傳檔案A至上述任—遠端裝置 2^02。/ 208。檔案A由用戶端單元212、214或無線網路用戶 端早7^210透過網路設備206上傳到上述任一遠端裝置2〇2 或2〇8,檔案a傳輸完成後,用戶端單元212、214或無線 ,祠路用戶端單元21〇與欲接收檔案A之遠端裝置、208 各會存放有相同大小之檔案A,隨後微軟磁碟作業系統指 令自動執行,更改遠端裝置内之檔案名稱,將A改為檔案 名稱B。緊接著’執行下載之服務品質測試。由上述遠端 裝置202、208,透過待測之網路設備2〇6下載檔案6,檔 案^傳輸完成後’用戶端單元212、214會同時儲有構案田a 與,案B ’遠端裝置2〇2、通亦同,隨後微軟磁碟作業系 統指令自動執行,將遠端裝置2〇2、2〇8上之檔fB刪除, 同時,也將用戶端單元上之檔案B刪除。最後,結束與上 述欲接收檔案之遠端裝置連線,並示是否為程式迴圈 終點,若是,則結束程式。 上述之待測之網路設備206可透過無線傳輸協定連接 …、線、.路帛彳端單元21G,亦可以透過有線之方式連接到 用戶端早兀212、214,上述所指之用戶端單元212、214稱 為有線用戶端單元。亦可代換為無線用戶端單元21〇。 上述之用戶端單元212、214向遠端裝置202、208發出 上傳(upload)或下載(downi〇ad)請求時,經由網際網路連 接到待,之網路設備206,再連接到遠端裝置2〇2、2〇8。 於較佳實施财,其㈣之料裝置206若為IP交換機單 几,其工作於第三層網路層的通信協定(如Ip),並藉由解 12 1378683 析第三層表頭(Header)將封包傳至目的地,有別於傳統的 路由器以軟體的方式來執行路由運算與傳送。巧交換機是 以硬體的方式(通常由專屬ASIC構成)來加速路由運算與封 包傳送率並結合Layer 2的彈性設定,因此,其效能通常 可達每秒數百萬封包的傳送率,並具備數十個至上百個以 上的尚速乙太網路(Fast Ethernet)連接埠,或數個至數十 個超尚速乙太網路(Gigabit Ethernet)連接埠之容量。 對熟悉此領域技藝者,本發明雖以較佳實例闡明如 上,然其並非用以限定本發明之精神。在不脫離本發明之 精神與範圍内所作之修改與類似的配置,均應包含^下述 之申請專利範圍内,此範圍應覆蓋所有類似修改 構’且應做最寬廣的詮釋。 /'Min 舉例而言,本發明提及之各種傳輸端與接收 磁碟作業系統指令雖以較佳實例闡明如上,惟部分服= 質測試系統可能有其他的選擇名稱。例如,上述之: ::稱為一「遠端裝置」’再者,各種相同功能的指令_ 匕:以相互代ΐ:上述之與其較佳實施例所揭露其他變化 /、u改,並不違背本發明之範圍與精神。 【圖式簡單說明】 π』又兀王阱枣發明及其優點,以上已來 明且配合附圖,其中相同數字表示相同元件, 第-圖根據本發明之較佳實施例,係本發明之寿 碟作業系統指令自動傳輸槽案並測試網路設備 之方法流程圖’用以說明利用磁碟作業系統指令" 13 1378683 自動測試服務品質。 第二圖根據本發明之較佳實施例,係本發明原理的架 ,圖°兑明一環狀檔案傳輸協定(FTP)自動傳輸檔案並測 試網路設備之服務品質(QOS)的典型架構。 【主要元件符號說明】 100 195 利用磁碟作業系統指令自動傳輸檔案並 測試網路設備之服務品質測試方法流程The file transfer protocol (Fn> Protocol) uploads the file A to the above-mentioned remote-to-remote device 2^02. / 208. The file A is uploaded by the client unit 212, 214 or the wireless network client to the remote device 2〇2 or 2〇8 through the network device 206, and after the file a transmission is completed, the client unit 212 is completed. 214 or wireless, the network client unit 21 and the remote device to receive the file A, 208 each will store the same size file A, and then the Microsoft disk operating system command is automatically executed to change the file in the remote device. Name, change A to file name B. Immediately following the implementation of the download service quality test. The remote device 202, 208 downloads the file 6 through the network device 2〇6 to be tested. After the file transfer is completed, the client units 212 and 214 simultaneously store the configuration field A and the case B 'distal The device 2〇2, the same as the same, then the Microsoft disk operating system command is automatically executed, the file fB on the remote device 2〇2, 2〇8 is deleted, and the file B on the client unit is also deleted. Finally, the connection with the remote device to receive the file is ended, and it indicates whether it is the program loop end point, and if so, the program ends. The above-mentioned network device 206 to be tested can be connected to the ..., the line, the port end unit 21G through a wireless transmission protocol, or can be connected to the user terminal 212, 214 by wire, the above-mentioned user terminal unit 212, 214 is called a wired client unit. It can also be replaced by a wireless client unit 21〇. When the client unit 212, 214 sends an upload or download request to the remote device 202, 208, it connects to the network device 206 to be connected via the Internet, and then connects to the remote device. 2〇2, 2〇8. For better implementation, if the device device 206 of the (4) device is a single IP switch, it works in the communication protocol of the third layer network layer (such as Ip), and analyzes the third layer header by the solution 12 1378683 (Header) The packet is transmitted to the destination, which is different from the traditional router to perform routing operations and transmission in a software manner. Qiao switches are hardware-based (usually composed of proprietary ASICs) to speed up routing operations and packet transfer rates combined with Layer 2's flexible settings, so the performance is typically up to millions of packets per second. Dozens to hundreds of Fast Ethernet ports, or a few to dozens of Gigabit Ethernet ports. The present invention has been described by way of example only, and is not intended to limit the scope of the invention. Modifications and similar configurations made without departing from the spirit and scope of the invention are intended to be included within the scope of the appended claims. /'Min For example, the various transmission and receive disk operating system instructions referred to in the present invention are illustrated by preferred examples as above, but some of the quality testing systems may have other alternative names. For example, the above: :: is called a "remote device" 'again, the instructions of the same function _ 匕: intertwined with each other: the other changes disclosed in the above preferred embodiments, / u change, not It is contrary to the scope and spirit of the invention. BRIEF DESCRIPTION OF THE DRAWINGS [0009] The invention has been described with reference to the accompanying drawings in which like reference numerals The Scratch Disk Operating System command automatically transfers the slot and tests the network device's method flow chart 'to illustrate the use of the disk operating system command " 13 1378683 automatic test service quality. The second diagram is a typical architecture of the quality of service (QOS) of a network device in accordance with a preferred embodiment of the present invention, which is a framework of the present invention. [Main component symbol description] 100 195 Automatically transfer files using the disk drive system command and test the service quality test method flow of the network device
202 ' 208 206 210 212 、 214 遠端裝置 網路裴置 無線用戶端單元 用戶端單元202 ' 208 206 210 212 , 214 remote unit network device wireless client unit client unit