200840274 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種xDSL實體層性能測試之自動控制系 統,特別是指一種利用現有的xDSL實體層性能測試設備, 再加上程式設計及遠端遙控之功能,使得整個xDSL實體層 性能測試系統可達到設定自動化並富設定靈活度等優點之 xDSL實體層性能測試之自動控制系統。 【先前技術】 現今 xDSL 之技術(包含 ADSL、ADSL2、ADSL2 +、VDSL、 VDSL2等)已經在全球寬頻應用上掀起一大熱潮,尤其是在 歐、亞等地區,儼然已成為寬頻網路接取的主流趨勢。各 xDSL設備廠商在研發設備過程中需進行一系列的設備性能 測試’而測試項目分為實體層(Physical Layer)和上層(Higher Layer)之性能測試兩部分,由於XDSL設備的實體層電路決 I- 定了該設備的傳輸性能,故目前xDSL設備廠商花了很大心 力與時間在實體層性能測試上。 在現今的xDSL實體層性能測試架構上,如圖一所示之 虛線圖框中,主要係將待測xDSL局端設備及待測xdsL遠 端(用戶端)設備連接至現有的雜訊產生器11、迴路模擬器 12、待測xDSL局端設備13、待測XDSL·遠端設備14及封包 測試器1 5等測試儀器,接著使用迴路模擬器12的控制軟體 (置放在雜訊產生器中)透過一般目的之匯流排(Generai 200840274200840274 IX. Description of the invention: [Technical field of the invention] The present invention relates to an automatic control system for performance testing of an xDSL physical layer, in particular to an existing xDSL physical layer performance test device, plus programming and remote The function of remote control enables the entire xDSL physical layer performance test system to achieve the automatic control system of xDSL physical layer performance test with the advantages of setting automation and rich setting flexibility. [Prior Art] Today's xDSL technology (including ADSL, ADSL2, ADSL2+, VDSL, VDSL2, etc.) has already set off a boom in global broadband applications, especially in Europe and Asia, and has become a broadband network access. The mainstream trend. Each xDSL equipment manufacturer needs to perform a series of equipment performance tests during the R&D equipment process. The test items are divided into two parts: the physical layer (Physical Layer) and the upper layer (Higher Layer) performance test, due to the physical layer circuit of the XDSL device. - The transmission performance of the device is determined, so the xDSL device manufacturers have spent a lot of effort and time on the physical layer performance test. In the current xDSL physical layer performance test architecture, the dotted line frame shown in Figure 1 mainly connects the xDSL central office device to be tested and the xdsL remote (user end) device to be tested to the existing noise generator. 11. The loop simulator 12, the xDSL central office device 13 to be tested, the XDSL remote device 14 to be tested, and the packet tester 15 and the like, and then use the control software of the loop simulator 12 (placed in the noise generator) Medium) through the general purpose of the bus (Generai 200840274
Purpose lnterface Bus GpiB)或RS-232介面設定迴路模擬器 12的狀態,再利用雜訊產生器丨丨的控制軟體設定雜訊訊號 輸出給迴路模擬器12,以模擬實際鋪設的迴路環境中隱含各 種雜訊的情況,最後利用封包測試器15送出一非同步傳輸 r ^式或網路封包,並分析接收的封包資料,以得知待測xDsl 局端設備13及待測xDSL遠端(用戶端)設備14之傳輸性能。 由於迴路模擬器12及雜訊產生器U各自使用不同控制軟 (體,所以必須切換其各自控制軟體以做設定;此外,其原先 之控制軟體無法提供測試項目的建立,所以一旦測試項目眾 多且大1設備待測時,若利用此架構及方法進行人力逐一設 足及測試,將浪費寶貴人力與測試時間,甚至會有設定錯誤 的風險,再者,各家採購設備之xDSL電路服務業者根據盆 :求而修訂測試步驟及並進行更多不_試項目時,勢必將 花費更多人力與時間。 C, 由此可見,上述習用方式仍有諸多 設計者,而亟待加以改良。 缺失,實非一良善之 田本案發明人鑑於上述習用方式所衍生的各項缺點,乃亟 思加以改良創新,並經多年苦 劃…士 孤“曰潛心研究後,終於成功 研毛元成本件XDSL實體層性 月匕貝“式之自動控制系統。 【發明内容】 本發明之目的即在於提供一種 m 你利用xDSL實體層性能 200840274 測試儀器,加上程式設計之功能,使得整個伽£實體層性 能測試系統只需使用單-控制軟體,即可進行所有測試儀器 的設定,再透過程式的設計,便可依照測試者之需求靈活地 建立測試項目’更可使得設定達到自動化、—致化之目的, 且於操作上亦更㈣迅速達叙XDSL實體層性㈣試之自 動控制系統。The lnterface Bus GpiB) or the RS-232 interface sets the state of the loop simulator 12, and then uses the control software of the noise generator 设定 to set the noise signal output to the loop simulator 12 to simulate the implied loop environment actually laid. In the case of various noises, the packet tester 15 is finally used to send an asynchronous transmission r^ or network packet, and the received packet data is analyzed to know the xDsl central office device 13 to be tested and the xDSL remote terminal to be tested (user) The transmission performance of the device 14. Since the loop simulator 12 and the noise generator U each use different control softwares, it is necessary to switch their respective control softwares for setting; in addition, the original control software cannot provide the establishment of test items, so once the test items are numerous and When the large 1 equipment is to be tested, if this structure and method are used to set up and test the manpower one by one, the valuable manpower and test time will be wasted, and even the risk of setting errors will occur. Moreover, the xDSL circuit service providers of various procurement equipments are based on Pots: When it comes to revising the test steps and doing more non-test projects, it will inevitably cost more manpower and time. C, It can be seen that there are still many designers in the above-mentioned methods of practice, which need to be improved. In the case of the inventor of the present case, in view of the shortcomings derived from the above-mentioned conventional methods, it is the improvement and innovation of the thinking, and after many years of hard work... After the study, the company finally succeeded in researching the XDSL physical layer of Maoyuan cost parts. The invention relates to an automatic control system of the present type. [Invention] The object of the present invention is to provide an m. Performance 200840274 Test instrument, plus the function of programming, makes the whole gamma physical layer performance test system only need to use single-control software to set all test instruments, and then through the design of the program, according to the tester's The need to flexibly establish test projects' can make the settings reach the goal of automation, and the operation is also more (4) quickly reach the XDSL entity layer (four) test automatic control system.
本發明之次-目的係在於提供—種係利用xdsl實體層 性能測試儀器,加上遠端遙控功能,可以透過遠端電滕控制 整個系統’此外,亦可透過網路及—般目的匯流排之介面將 各xDSL實體層性能測試系統進行連接,達到集中化控制管The second purpose of the present invention is to provide a system for testing the performance of the xdsl physical layer, and the remote control function can be used to control the entire system through remote control. In addition, the network can be connected through the network and the general purpose bus. The interface connects each xDSL physical layer performance test system to achieve centralized control
理的功能,並擴充為更大的自動控制系統,將可節省魔大的 人力成本之xDSL實體層性能測試之自動控制系統。 可達成上述發明目的之xDSL實體層性能測試之自動控 制系統’其主要係利用程式中設計網路Tcp/ip及—般目的 匯流排之控制程式’以分別控制雜訊產生器及迴路模擬器, 即可將先前技術所需的雜 W雜訊產生器與迴路模擬器之各自控 制軟體,合併為單一控制 fJ軟體’利用此控制軟體,可同時控 制:模擬器與雜訊產生器,不需要切換其各自控制軟體以 此外透過此軟體程式的修改,可依照需求建立所 有的實體層性能測試項 — 貝目並自動化設定,不需人工逐一設定 每一個測試項目的測試儀 , 1我參數。本發明之控制軟體可置於 200840274 亦可置放於遠端控制電 之介面遠端控制整個系 先前技術的雜訊產生器中執行工力能 腦中,透過網路與一般目的匯流排 統,此功能亦可透過網路盥一船 ^ 舨目的匯流排之介面將各 xDSL實體層性能測試系統進杆拿 几延仃逑接,達到集中化控制管理 的功能,並擴充為更大的自動控制系統。 【實施方式】 請參閱圖二所示,本發明所提供之xDSL實體層性能測 f °式之自動控制系統架構圖,主要包括有:雜訊產生器i丨、迴 路模擬器12、待測xDSL局端設備13、待測〇儿遠端設備 14及封包測试為1 5等測試儀器及控制電腦丨6 ;其中,於進 行實體層性旎測试時,主要係將待測xDSL局端設備13及待 /貝J xDSL运端设備14連接至現有的xDSL雜訊產生器丨j、 xDSL迴路模擬器12及封包測試器15等測試儀器,最後利 用封包測试态 15 送出 ATM(Asynchronous Transmission Mode) / 、 或網路封包,並分析接收的封包資料,以得知待測xDSL局 端設備13及待測xDSL遠端(用戶端)設備14之傳輸性能。 在執行运、控制時’是將本發明之控制軟體置放於控制電腦 16中’透過網路與GPIB介面遠端控制整個系統。 本發明之控制軟體是利用Microsoft Visual C + +語言作為 程式設計工具,並設計GPIB及網路TCP/IP介面之控制程 式’以將先前技術所需的迴路模擬器12與雜訊產生器11之 200840274 個別控制軟體功能合併為單一控制軟體。其架構如圖三所 示,包含:迴路模擬器之GPIB初始化功能方塊601、迴路 模擬器之參數值建立功能方塊602、迴路模擬器之參數值寫 入功能方塊603、迴路模擬器之錯誤判斷功能方塊604、雜 訊產生器之TCP/IP連線功能方塊6〇5、雜訊產生器之參數值 建立功能方塊606、雜訊產生器之參數值寫入功能方塊607 及雜訊產生器之錯誤判斷功能方塊608。迴路模擬器之GPIB 初始化功能方塊601主要使用GPIB指令透過GPIB介面與 迴路模擬器進行連線並完成初始化動作;迴路模擬器之參數 值建立功能方塊602主要建立迴路模擬器12所有欲設定的 參數值;迴路模擬器之參數值寫入功能方塊603主要使用 GPIB指令透過GPIB介面對迴路模擬器2進行參數值寫入的 動作,迴路模擬器之錯誤判斷功能方塊604則透過GPIB指 7對迴路模擬器2詢問是否發生錯誤。雜訊產生器之TCP/IP 連線功能方塊605主要使用Winsock (Windows Socket)指令 透過網路介面與雜訊產生器丨丨進行Tcp/ip連線;雜訊產生 器之參數值建立功能方塊606主要建立雜訊產生器u所有 欲設定的參數值;雜訊產生器之參數值寫入功能方塊6〇7主 要使用Winsock指令透過網路介面對雜訊產生器丨丨進行參 數值寫入的動作;雜訊產生器之錯誤判斷功能方塊608則透 過Wlnsock指令由雜訊產生器11的TCP/IP回覆得知是否發 200840274 生錯誤。 圖四為此控制軟體之程式流程圖。迴路模擬器12與雜訊 產生器11參數值建立之功能塊,可設計成參數值固定型式, 亦可設計成數值選擇型式供使用者選擇。此外,迴路產生器 12之參數值寫入動作需配合迴路模擬器12本身提供的 介面控制指令對其進行控制,雜訊產生器u之參數值寫入 動作則而配。雜5孔產生器Π本身提供的網路丁 Cp/Ip介面 控制指令對其進行控制。此控制軟體可置放於雜訊產生器Η 中,同時控制雜訊產生器u與迴路模擬器12,不需切換控 制軟體亦不需更改任何先前技術的硬體架構;此外,透過此 體転式的修改,可依照測試者需求建立所有的實體層性能 測試項目並進行自動化設定,不需逐-設定雜訊產生器11 >、k路模擬益12的參數。此控制軟體亦可置於另一部遠端 的控制電腦16中’並透過控制電腦16的網路與GPIB介面 與雜訊產生器11及迴路模擬器12連接,可遠端控制整個系 統。 乃一 κ施例為透過網路及GPIB介面將各xDSL 曰f生此測5式系統進行連接,以擴充為更大的自動控制系 、、先明參閱圖五所示。圖五為xDSL實體層性能測試之自動 控制系統之應用架構圖,利用實體層性能測試之自動 控制系統,僅需單一控制電腦Μ及單一控制軟體,透過控 200840274 制電腦16的網路與GPIB介面,再加上一網路集線器或交換 器1 7,即可將各xDSL實體層性能測試系統進行連接,達到 集中化控制管理的功能,並擴充為更大的自動控制系統。 本發明所提供之xDSL實體層性能測試之自動控制系 統’與其他習用技術相互比較時,更具有·下列之優點: 1 ·本發明係在於提供一種利用單一控制軟體,即可同時 控制雜訊產生器及迴路模擬器,不需要切換其各自控制軟體 以做設定。 2·本發明係在於提供一種可提供軟體的靈活性,測試者 則可依照需求透過軟體程式的修改,建立所有的實體層性能 測試項目並完成自動化設定,不需逐項使用人工設定,以達 到簡易設定之目的。 3·本發明係在於提供一種可大幅降低人事成本,更可確 保測試之正確性。 4·本發明係在於提供一種可大幅減少測試時間,更可確 保測喊之迅速性,俾而提高工作之效率。 •本發明係在於提供一種利用該控制軟體可置於雜訊產 生器中、f 、 ° ’以上功能,亦可置於遠端控制電腦中進行遠端控 制而達到以上功能。 6·本發明係在於提供一種可透過網路及GPIB介面將各 實體層性能測試系統進行連接,達到集中化控制管理 200840274 的功能,並擴充為更大的自動控制系統。 上列詳細說明係針對本發明之—可行實施例之具體說 明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離 本發明技藝精神所為之等效實祐式微 寻忒貫施或變更,均應包含於本案之 專利範圍中。 綜上所述’本h但在技術思想上確屬創新,並能較習 用物品增進上述多項功效’應已充分符合新穎性及進步性之 法定發明專利要件’妥依法提出中請,懇冑貴局核准本件 發明專利申請案,以勵發明,至感德便。 【圖式簡單說明】 請參閱以下有關本發明一較佳實施例之詳細說明及其附 圖’將可進-步瞭解本發明之技術内容及其目的功效;有關 該實施例之附圖為: 圖一為習用xDSL實體層性能測試之架構圖; 圖二為本發明xDSL實體層性能測試之自動控制系統架 構圖; 圖二為該DSL實體層性能測試之自動控制系統之脅控制 軟體内部架構圖; 圖四為該xDSL實體層性能測試之自動控制系統之牙控 制軟體程式流程圖;以及 圖五為該xDSL實體層性能測試之自動控制系統另一實 施應用架構圖。 、 12 200840274 【主要元件符號說明】 11雜訊產生器 12迴路模擬器 13待測xDSL局端設備 14待測xDSL遠端設備 15封包測試器 16控制電腦 f' 17網路集線器或交換器 601迴路模擬器之GPIB初始化功能方塊 602迴路模擬器之參數值建立功能方塊 603迴路模擬器之參數值寫入功能方塊 604迴路模擬器之錯誤判斷功能方塊 605雜訊產生器之TCP/IP連線功能方塊The function and expansion of the larger automatic control system will save the magical human cost of the xDSL physical layer performance test automatic control system. The automatic control system for the xDSL physical layer performance test that achieves the above object of the invention 'is mainly used to design a network Tcp/ip and a general purpose bus control program to control the noise generator and the loop simulator respectively. The control software of the hybrid W noise generator and the loop simulator required by the prior art can be combined into a single control fJ software. With this control software, the simulator and the noise generator can be simultaneously controlled without switching. In addition to the modification of the software program, all the physical layer performance test items can be established according to the requirements - Becky and automatic setting, no need to manually set the tester of each test item one by one, 1 my parameters. The control software of the present invention can be placed in the remote control panel of the remote control unit in 200840274, and can be controlled in the power generator of the prior art noise generator, through the network and the general purpose bus. This function can also be used to connect the xDSL physical layer performance test system to the hub for a centralized control and expand to a larger automatic control. system. [Embodiment] Please refer to FIG. 2, the architecture of the automatic control system of the f° type of the performance of the xDSL physical layer provided by the present invention mainly includes: a noise generator i丨, a loop simulator 12, and an xDSL to be tested. The central office equipment 13, the remote equipment 14 to be tested, and the test packet for the test are 15 and the like, and the control computer 丨6; wherein, when performing the physical layer test, the main system is the xDSL central office equipment to be tested. 13 and the standby/bay J xDSL terminal device 14 is connected to the existing xDSL noise generator 丨j, xDSL loop simulator 12 and the packet tester 15 and the like, and finally sends the ATM (Asynchronous Transmission) by using the packet test state 15 Mode, / or network packet, and analyze the received packet data to know the transmission performance of the xDSL central office device 13 and the xDSL remote (client) device 14 to be tested. When the operation and control are performed, the control software of the present invention is placed in the control computer 16 to remotely control the entire system through the network and the GPIB interface. The control software of the present invention utilizes Microsoft Visual C++ language as a programming tool, and designs a control program of GPIB and network TCP/IP interface to use the loop simulator 12 and the noise generator 11 required by the prior art. 200840274 Individual control software functions are combined into a single control software. Its architecture is shown in Figure 3. It includes: GPIB initialization function block 601 of loop simulator, parameter value establishment function block 602 of loop simulator, parameter value writing function block 603 of loop simulator, error judgment function of loop simulator Block 604, TCP/IP connection function block 6〇5 of the noise generator, parameter value creation function block 606 of the noise generator, parameter value writing function block 607 of the noise generator, and error of the noise generator Decision function block 608. The GPIB initialization function block 601 of the loop simulator mainly uses the GPIB command to connect with the loop simulator through the GPIB interface and complete the initialization action; the parameter value creation function block 602 of the loop simulator mainly establishes all the parameter values to be set by the loop simulator 12. The parameter value writing function block 603 of the loop simulator mainly uses the GPIB command to perform the parameter value writing operation through the GPIB interface facing the loop simulator 2, and the error simulator function block 604 of the loop simulator passes the GPIB finger 7-pair loop simulator. 2 Ask if an error has occurred. The TCP/IP connection function block 605 of the noise generator mainly uses the Winsock (Windows Socket) command to perform Tcp/ip connection through the network interface and the noise generator; the parameter value establishment function block 606 of the noise generator Mainly establish the noise generator u all the parameter values to be set; the parameter value of the noise generator is written to the function block 6〇7, mainly using the Winsock command to perform the parameter value writing operation to the noise generator through the network interface. The error determination function block 608 of the noise generator is notified by the TCP/IP of the noise generator 11 through the Wlnsock command whether or not the 200840274 error is generated. Figure 4 shows the program flow chart for this control software. The function block established by the loop simulator 12 and the noise generator 11 parameter value can be designed as a parameter value fixed type, or can be designed as a numerical selection type for the user to select. In addition, the parameter value writing operation of the loop generator 12 is controlled by the interface control command provided by the loop simulator 12 itself, and the parameter value writing action of the noise generator u is matched. The hybrid 5-hole generator Π itself provides a network Cp/Ip interface control command to control it. The control software can be placed in the noise generator , while controlling the noise generator u and the loop simulator 12, without switching the control software and without changing any prior art hardware architecture; Modification of the formula, all physical layer performance test items can be established according to the tester's requirements and automatically set. It is not necessary to set the parameters of the noise generator 11 > The control software can also be placed in another remote control computer 16 and connected to the noise generator 11 and the loop simulator 12 via the network of the control computer 16 and the GPIB interface to remotely control the entire system. The κ application is to connect each xDSL system through the network and GPIB interface to expand to a larger automatic control system. See Figure 5 for details. Figure 5 is the application architecture diagram of the automatic control system for the performance test of the xDSL physical layer. The automatic control system using the physical layer performance test requires only a single control computer and a single control software. The network and GPIB interface of the computer 16 is controlled by the 200840274 system. Together with a network hub or switch 17, you can connect the xDSL physical layer performance test systems to achieve centralized control management and expand to a larger automation system. The automatic control system for the performance testing of the xDSL physical layer provided by the present invention has the following advantages when compared with other conventional technologies: 1. The present invention provides a method for controlling noise generation simultaneously by using a single control software. And loop simulators do not need to switch their respective control software for setup. 2. The invention provides a flexibility for providing software, and the tester can establish all the physical layer performance test items and complete the automatic setting through the modification of the software program according to requirements, without manual setting by using items. The purpose of simple setting. 3. The present invention is to provide a method which can greatly reduce the personnel cost and ensure the correctness of the test. 4. The present invention is to provide a method for greatly reducing test time, and more quickly ensuring the speed of the test, thereby improving the efficiency of the work. The present invention provides a function in which the control software can be placed in a noise generator, f, ° or more, or can be placed in a remote control computer for remote control to achieve the above functions. 6. The present invention provides a function of connecting the physical layer performance test systems through the network and the GPIB interface to achieve centralized control management 200840274, and expanding into a larger automatic control system. The detailed description above is a detailed description of the possible embodiments of the present invention, but is not intended to limit the scope of the invention, and the equivalent of the invention is not deviated from the spirit of the invention. Changes should be included in the scope of the patent in this case. In summary, 'this h is technically innovative, and can improve the above-mentioned multiple functions compared with the customary items' should have fully complied with the novelty and progressiveness of the statutory invention patents. The bureau approved the application for the invention patent, in order to invent the invention, to the sense of virtue. BRIEF DESCRIPTION OF THE DRAWINGS The following is a detailed description of a preferred embodiment of the invention and the accompanying drawings in which: FIG. Figure 1 is the architecture diagram of the custom xDSL physical layer performance test; Figure 2 is the architecture diagram of the automatic control system for the performance test of the xDSL physical layer of the present invention; Figure 2 is the internal architecture diagram of the threat control software of the automatic control system of the DSL physical layer performance test. Figure 4 is a flow chart of the dental control software program of the automatic control system of the xDSL physical layer performance test; and Figure 5 is another implementation application architecture diagram of the automatic control system of the xDSL physical layer performance test. , 12 200840274 [Main component symbol description] 11 noise generator 12 loop simulator 13 to be tested xDSL central office equipment 14 to be tested xDSL remote device 15 packet tester 16 control computer f' 17 network hub or switch 601 circuit Simulator GPIB initialization function block 602 loop simulator parameter value creation function block 603 loop simulator parameter value write function block 604 loop simulator error judgment function block 605 noise generator TCP/IP connection function block
I 606雜訊產生器之參數值建立功能方塊 ί》 607雜訊產生器之參數值寫入功能方塊 608雜訊產生器之錯誤判斷功能方塊 13I 606 noise generator parameter value creation function block ί 607 noise generator parameter value write function block 608 noise generator error judgment function block 13