532005 A7 ---- B7 五、發明說明(1 ) 發明背景: 本發明係一種社區網路系統之測試裝置及其方法,尤指一種於各社區之乙 太網路交換器與局端設備間,增設一迴路測試裝置,俾局端之網路管理系統可利 用該纖測試裝置,對該社區網路系統進行多層次迴試之裝置及其方法。 先前技術: 近年來,由於網際網路(Internet)之蓬勃發展,尤其是World Wide Web (簡 稱WWW),除了提供傳統之電子郵件傳輸服務外,還提供語音、圖片及動態影 像等各式各樣之多媒體服務,令社會大眾能輕易透過此一管道,獲得豐富且多樣 之資訊服務,因此,在家上網已成爲許多人曰常活動中之一部份,網路業者也基 於此一潮流趨勢,設計出各式各樣之高速網路設備,如·· Cable數據機(Modem) 或ADSL(Asymmetrie Digital Subscriber line)數據機等,以提昇網路之傳輸速 率,更有網路業者,爲增加之網路使用功能,設計出各式各樣之網路周邊設備’ 如:網路式電話設備式(Voice Over IP Device,簡稱VoIP)等’提供使用者網 路線信服務,以大幅縮減使用者在長途及國際通信費用上之支出。 經濟部智慧財產局員工消費合作社印製 按,在現今所使用之各式網^構中,被廣泛應用於各社區中之網路架構, 乃一種電話線路(UTP)之網路架構,在該種網路系統之連線^構中,參閱第1圖 所示,用戶端之乙太網路卡30裝設有一 ADSL通訊介面(圖中未示)及一路由控 制電路(圖中未示),俾該乙太網路卡30可利該路由控制電路,透過既有之無遮蔽 雙絞線(Unshielded Twisted Pair簡稱UTP)之電話纖31,與局端34 (或網路系 統通訊業者)在社區內所架設之一乙太網路交換器(Switch)32相連線,該網路交換 器32再利用光纖33與局端34之乙太網路設備連線,該乙太網路設備再透過光 纖33與網際網路35相連線,將乙太網路卡30之封包訊息傳送至網際網路35, 或接收由網際網路35傳來之封包訊息。在該種網路架構中,局端34在社區內所 本紙張尺度適用中國國家標準(CNS)A4規格(21〇 X 297 ^釐) 532005 A7 B7 五、發明說明( 經濟部智慧財產局員工消費合作社印製 架設之該網路交腿32,係用以將該纖33之高速纖纖,經由既有之離 線路31,分配至社區內一定數量之用戶端’以提昇各用戶端之網路傳輸速率。 在該種光纖到府(Fiber To The Home,簡稱FTTH)或乙太網路到府 (Ethernet To The Home,簡稱ETTH)之應用架構中,由於在各社區內戶斤架設 之網路交換器32,與局端34均有一相當之距離,無法就近隨時進行維護管理, 而利用網路進行線上維護管理,又受限於一般網路管理系統均採用SNMP(Simple Network Management Protocol)之簡易型網路管理協定,並無法由局端34對各 該網路交換器32進行即時之線上維護管理,當有故障發生時,一般均係利用迴 路測試(loopback test)方式、,偵測到底是哪一部份發生故障,在該項測試中, 復參閱第1圖所示,主要係由局端34之網路管理系統發出一個或數個Ping命令, 當社區內所架設之網路交換器32接受到Ping命令時,隨即一一回覆該等Ping 命令,而網路管理系統則根據是否在某一特定時間內收到Ping命令之回覆,決 定該網路交換器32是否發生故障。然而,事實上,每當故障發生時,網路管理 系統僅能藉由發出Ping命令,以檢視網路交換器是否正常回覆,確定線路是否 有問題,至於,發生問題之位置,到底是線路不通,還是網路交換器之軟體未啓 動,則不得而知。此外,由於網路管理系統在發出Ping命令後,若欲獲得正常 回覆,除了硬體必需沒有問題外,相關軟體亦需能正常運作,否則,便無法獲得 正常回覆,更遑論準確地判斷出發生問題之位置。因此,傳統上,必需仰賴維修 人員至各該網路交換器;^設地點,進行維護管理,不僅造成管理上之諸多問題, 並大幅增加了維護管理之成本,且對網路傳輸服務之品質,造成諸多負面之影響。 發明綱要: 有鑒於前述網路架構中之諸多缺失及問題,發明人乃硏究出一種社區網路 系統之多層次迴路測試裝置及其方法,期藉於各該社區之乙太網路交換器與局端 本紙張尺度適财國國家標準(CNS)A4規格(210 X 297 ϋ)" 請 先 閱’ 讀 背 面· 意 事 ΪP裝 頁 訂 線 532005 A7 B7 五 、發明說明(3 經濟部智慧財產局員工消費合作社印製 設備間,增設一迴路測試裝置,俾局端之網路管理系統可利用該迴路測試裝置, 對該社區網路系統進行三層之迴路測試,以輕易得知由局端至該迴路測試裝置間 是否發生故障,並迅速檢知該乙太網路交換器之連接狀況及該迴路測試裝置是否 正常,完全無需維修人員至各該網路交換器之架設地點,進行維護管理,故可大 幅降讎護管理成本,有效提昇網路傳輸之服務品質。 今,爲能更淸楚地表達本發明之技術手段及運作過程,茲配合附圖舉一較 佳實施例,說明如下: 附圖說明= 第1圖所示乃傳統電話線路之網路架構中各裝置之連線示意圖; 第2圖所示乃本發明之社區網路系統中各裝置之連線示意圖; 第3圖所示乃本發明之迴洛測試裝置之電路架構示意圖; 第4圖所示乃本發明在進行第一層之迴路測試時,網路管理系統所發出一 之特殊BPDU封包之格式示意圖; 第5圖所示乃本發明在進行第一層之迴路測試時,迴路測試裝置所回覆之 封包格式示意圖; 第ό圖所示乃本發明在進行第二層之迴路測試時,網路管理系統所發出一 之特殊BPDU封包之格式示意圖; 第7圖所示乃本發明之一最佳實施例中,局端之網路管理系統利用迴路測 試裝置對該社區網路系統進行通測試之流程示意圖。 圖號說明: 用戶端 ...............40 電話| 乙太網路交換器 ...............42 光纖 41 43 請 先· 閱 讀 背 ® * 意 事 fI»裝 頁 訂 線 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 532005 A7 B7 五 發明說明(4; 局端 ....... 試裝置 ....... ........44 ........46 網際網路 ........ 乙太網路控制電路•…· 461 封包收發控制電路……· ........462 輸出入捧 ........ 經濟部智慧財產局員工消費合作社印製 詳細說明: 本發明主要係針對前述最被廣泛應用於各社區之電話線路(UTP)之網路架構 中,無法由局端對各該網路交換器進行即時線上維護管理之問題,發明出一種社 區網路系統之多層次迴路測試方法,俾透過本發明,可令該種傳統網路架構具備 可由局端對各該網路交換器進行即時線上維護管理之機制。 按,在傳統之電話線路(UTP)之網路架構中,參閱第2圖所示,其用戶端40 係利用既有之電話線路41與社區內所架設之一乙太網路交換器(Switch)42相連 線,該網路交換器42再利用光纖43依序與局端44及網際網路45相連線,以將 用戶端40之封包訊息傳送至網際網路45,或接收由網際網路45傳來之封包訊 息。本發明係在各該社區之乙太網路交換器42與局端44設備間,增設一迴洛測 試裝置46,參閱第3圖所示,該迴路測試裝置46係由一乙太網路控制電路461、 一封包收發控制電路462及至少二輸出入埠463、464所組成/其中該封包收發 控制電路 462 可爲由一般 FPGA(Field Programmable Gate Array)或 ASIC 完成 之一'積體電路,主要係用以負責迴路測試(loopback test)、產生及回覆封包 (packet),該封包收發控制電路462並與該乙太網路控制電路461相連接,該 乙太網騰制驅461之一端讎過一輸出入埠463連接到社區之乙太網路交換 器42,其另端則透過另一輸出入淳464連接到局端44設備,以提供令該等輸出 入埠463、464正常運作,及在全雙工或半雙工模式(fuii/half duplex mode)下 進行不同中介轉換及緩衝(buffer)所需之控制。 在本發明中,當局端44利用本發明之迴路測試裝置46,對該社區網路系統 本紙張尺度適用中國國家標準(CNS)A4規格(21〇 X 297公1 )' ---- (請先閱讀背面之注意事項再本頁) 訂: 線' 532005 A7 _________ B7 五、發明說明(g) 進行迴路測試時,其迴路測試共有三層,其中第一層之迴路測試,係用以確認由 局端44之網路管理系統至該謹測試裝置間,及至社區之乙太網路交換器42間, 硬體部分是否發生故障,其作法係由網路管理系統發出一個或多個特殊之 BPDU(Bridge Protocol Data Units)封包,其完整格式如第4圖所示,當該迴路測 試裝置46內之乙太網路控制電路461收到該一個或多個特殊之BPDU封包時, 會將其傳送到該封包收發控制電路462,該封包收發控制電路462即將該BPDU 封包之來源位址(Source Address )更改成一特定之來源位址,再透過該乙太網 路控制電路461傳送回局端44之網路管理系統。由於,本發明係在該回覆封包 中,放入與該乙太網路交換器42相連接之輸出入埠463之所有狀態,該等狀態 包括該輸出入埠463之運作速度(Speed)、全雙工或半雙工模式(Duplex)及連 接狀況(link status),局端44之網路管理系統在接收到該回覆封包後,不但可 據以判斷出線路是否有故障(如:在一特定時間內,沒有收到回覆封包,即表示 線路故障),尙可了解該輸出入埠463是否正常連接到社區之乙太網路交換器42, 回覆封包之詳細格式如第5麻。 經濟部智慧財產局員工消費合作社印製 本發明之第二層通測試,係用來聽妯該進測試裝置46至社區之乙太 網路交換器42間是否發生故障,其作法係由網路管理系統發出一個或多個特殊 之BPDU封包,其完整格式如第ό圖所示,當該迴路測試裝_ 46內之乙太網路 控制電路461接收到用以啓動迴路測讓式(loopback test mode)之特殊BPDU 封包後’該封包收發控制電路462就會控制該乙太網路控制電路461,令連接至 社區之乙太網路交換器42之輸出入埠463進入迴路測試模式,使得所有由局端 44之網路管理系統傳送到該輸出入瑋463之封包,都會被原封不動地被傳送回 局端44之網路管理系統,以完成迴路測試,當迴路測試完成後,局端44之網路 管理系統將會發出另一個(或多個)結束迴路測試模式之特殊BPDU封包,當 該迴路測試裝置46內之乙太網路控制電路461接收到該結束迴路測試模式之特 本紙張尺度顧t關家鮮(CNS)A4 ^(21〇χΤ97^|") 532005 A7 B7 五、發明說明(β) 殊BPDU封包後,該迴路測試裝置46內之封包收發控制電路462就會控制乙太 網路控制電路461,令連接到社區之乙太網路交換器42之輸出入埠463回復到 正常模式。 本發明之第三層迴路測試,貝!J係利用一般習用之Phg命令,來確認由局端 44之網路管理系統至社區之乙太網路交換器42間,是否在硬體及軟體上發生故 障,其測試動作如前述,乃一般之習用技藝,故不再贅述。 在本發明之一最佳實施例中,局端44之網路管理系統係利用該迴路測試裝 置46,依下列步驟,參閱第7圖所示,對該社區網路系統進行前述之三層迴路 測試: (1〇)首先,進行第一層之迴路測試,由網路管理系統發出一個或多個特殊之 BPDU(Bridge Protocol Data Units)封包,,並判斷是否在一特定時間內,接 收到由該迴路測試裝置46傳回之回覆封包,若是,且該回覆封包中所放入 之訊息,顯示該輸出入埠463確係正常地連接到社區之乙太網路交換器42, 艮P表示第一層之迴路測試成功,此時,繼續進行步驟(13);否則,繼續進行 下列步驟: , 經濟部智慧財產局員工消費合作社印製 (11) 若由所接收到之回覆封包,判斷出該輸出入瑋463並未正常地連接到社區之 乙太網路交換器42,即繼續進行步驟(12);否則,若在一特定時間內,未 接收到由該迴路測試裝置46傳回之回覆封包,即表示由局端44之網路管 理系統到該迴路測試裝置46間發生中斷; (12) 進行第二層之迴路測試,由局端44之網路管理系統發出一個或多個特殊之 BPDU封包,並判斷所有由局端44之網路管理系統傳送到該輸出入埠463 之封包,是否均被原封不動地傳送回局端44之網路管理系統,若是,即表 示由該迴路測試裝置46至社區之乙太網路交換器42間發生中斷,或社區 之乙太網路交換器42之硬體發生問題,否則,若非所有由局端44之網路 本紙張尺度適用中國國家標準(CNS)A4規格咖x 297公I) 532005 A7 B7 五 、發明說明Of 管理系統傳送到該輸出入埠463之封包,均被傳送回局端44之網路管理系 統,即表示該迴路測試裝置46之內部生問題; (13)進行第三層之通測試,由局端44之網路管理系統發出一個或數個Ping 命令,並判斷是否在某一特定時間內,接收到社區之網路交換器42逐一回 覆之訊息’若是,即表示社區網路系統正常,否則,即表示社區之乙太網 路交換器(Switch〇42之軟體動〇 據上所述可知,本發明不僅可令局端44之網路管理系統輕易得知由局端至 該迴路測試裝置間是否發生故障,亦可迅速檢知社區之乙太網路交換器(騎啪 42之連接狀況是否正常’及該鶴測試裝置是否正常,故無需維修人員至各該 網路父臟之架設地點’逐一進行撿測,大幅降低了維護管理之成本,有她昇 了網路纖之服務品質。 按,以上臓,觀本翻最佳之具體實施例,惟本翻之構造特麵不 侷限於此,任何熟悉該項技藝者在本發明領域內,可輕易思及之變化或修飾,皆 胃蓋在以下本發明之專利範圍內。* ^張尺度顧規格(21〇 297公釐532005 A7 ---- B7 V. Description of the invention (1) Background of the invention: The present invention is a test device and method for a community network system, especially between an Ethernet switch and a central office device in each community. An additional loop test device is added, and the network management system of the central office can use the fiber test device to perform a multi-level back test of the community network system and its method. Prior technology: In recent years, due to the vigorous development of the Internet, especially the World Wide Web (WWW), in addition to providing traditional email transmission services, it also provides a variety of voice, pictures, and dynamic images. The multimedia service enables the general public to easily obtain rich and diverse information services through this channel. Therefore, surfing the Internet at home has become a part of many people's daily activities. Internet companies have also designed based on this trend. Provide all kinds of high-speed network equipment, such as Cable modem (Modem) or ADSL (Asymmetrie Digital Subscriber line) modem, etc., in order to improve the transmission rate of the network, more network operators, in order to increase the network It uses various functions to design a variety of network peripherals, such as: Voice over IP Device (VoIP), etc., to provide users with network line letter services to greatly reduce users ’long-distance calls. And international communications costs. Printed by the Consumers' Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs, it is widely used in various communities in the various network architectures used today. It is a telephone network (UTP) network architecture. In the connection structure of this network system, referring to FIG. 1, the Ethernet card 30 of the client is equipped with an ADSL communication interface (not shown) and a routing control circuit (not shown) The Ethernet control card 30 can benefit the routing control circuit, through the existing unshielded twisted pair (UTP) telephone fiber 31, and the central office 34 (or the network operator). An Ethernet switch (Switch) 32 is connected in the community, and the network switch 32 uses the optical fiber 33 to connect with the Ethernet equipment of the central office 34, and the Ethernet equipment is The optical fiber 33 is connected to the Internet 35 to transmit the packet information of the Ethernet card 30 to the Internet 35, or to receive the packet information transmitted from the Internet 35. In this kind of network architecture, the paper size of the bureau 34 in the community applies the Chinese National Standard (CNS) A4 specification (21 × 297 ^^) 532005 A7 B7 V. Description of the invention (Employee Consumption of the Intellectual Property Bureau of the Ministry of Economic Affairs) The network cross leg 32 printed by the cooperative is used to allocate the high-speed fiber of the fiber 33 to a certain number of clients in the community through the existing off-line 31 to enhance the network transmission of each client. In this kind of application structure of Fiber To The Home (FTTH) or Ethernet To The Home (ETTH), due to the network exchanges set up by households in various communities The device 32 has a considerable distance from the central office 34 and cannot be maintained and managed at any time. However, the use of the network for online maintenance management is limited by the simple type of simple network management protocol (SNMP) used by general network management systems. The network management protocol does not allow real-time online maintenance and management of each network switch 32 by the central office 34. When a fault occurs, it is generally performed using the loopback test method. Measure which part is faulty. In this test, refer to Figure 1 again. It is mainly issued by the network management system of the office 34. One or more Ping commands are issued. When the network is set up in the community, When the circuit switch 32 receives the Ping commands, it immediately responds to the Ping commands one by one, and the network management system determines whether the network switch 32 is faulty based on whether it receives a response to the Ping command within a specific time. However, in fact, whenever a fault occurs, the network management system can only issue a Ping command to check whether the network switch is responding normally and determine whether there is a problem with the line. As for the location of the problem, it is the line It ’s unavailable, or the software of the network switch is not activated, it is unknown. In addition, if the network management system wants to get a normal response after issuing a Ping command, in addition to the hardware, there must be no problems. Operation, otherwise, you will not be able to get a normal response, let alone accurately determine the location of the problem. Therefore, traditionally, it is necessary to rely on maintenance personnel to go to the network The establishment of a place for maintenance and management not only causes many problems in management, but also significantly increases the cost of maintenance and management, and causes many negative effects on the quality of network transmission services. Outline of the Invention: In view of the aforementioned network Many inadequacies and problems in the road architecture, the inventor has developed a multi-level loop test device and method for a community network system, with the hope that the Ethernet switch and local paper size of each community in the community are suitable. Financial Country National Standard (CNS) A4 Specification (210 X 297 ϋ) " Please read 'Read the back · IssueΪP Binding 5353 A7 B7 V. Description of the invention (3 Printed by the Consumer Cooperative of Intellectual Property Bureau, Ministry of Economic Affairs A loop test device is added between the equipment, and the network management system of the central office can use the loop test device to perform a three-layer loop test on the community network system to easily know from the central office to the loop test device. Whether a fault occurs, and quickly check the connection status of the Ethernet switch and whether the loop test device is normal, no maintenance personnel are required to go to each network. Erection site of the exchanger, maintenance and management, it can drop large pieces feud care management costs, effectively improve service quality of network transmission. Now, in order to express the technical means and operation process of the present invention more clearly, a preferred embodiment is described with reference to the accompanying drawings, which are described as follows: Brief description of the drawings = Figure 1 shows the traditional telephone line network architecture. The connection diagram of each device; Fig. 2 shows the connection diagram of each device in the community network system of the present invention; Fig. 3 shows the circuit architecture diagram of the Huiluo test device of the present invention; Shown is a schematic diagram of the format of a special BPDU packet sent by the network management system during the first-layer loop test of the present invention. Figure 5 shows the loop-test device of the present invention when the first-layer loop test is performed. Schematic diagram of the returned packet format; Figure 6 shows the format of a special BPDU packet sent by the network management system during the second-layer loop test of the invention; Figure 7 shows one of the inventions In a preferred embodiment, the network management system of the central office uses a loop test device to conduct a general test of the community network system. Explanation of drawing number: Client ............ 40 Phone | Ethernet Switch ............... 42 Fiber 41 43 Please First · Reading Back ® * Issue fI »Binding and binding This paper size is applicable to the Chinese National Standard (CNS) A4 (210 X 297 mm) 532005 A7 B7 Five Invention Instructions (4; Bureau ... Trial installation ............. 44 ........ 46 Internet ........ Ethernet control circuit • ... · 461 packets Sending and receiving control circuit ...... · ............ 462 Input / output ........ Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economy Detailed description: The present invention is mainly directed to the aforementioned most widely used In the network architecture of the telephone line (UTP) of each community, the central office cannot perform real-time online maintenance and management of each network switch. A multi-level loop test method for the community network system was invented. The invention enables the traditional network architecture to have a mechanism for real-time online maintenance and management of each network switch by the central office. According to the network architecture of the traditional telephone line (UTP), see FIG. 2 Show, its client 40 is an existing telephone line 41 connected to an Ethernet switch (Switch) 42 installed in the community. The network switch 42 uses the optical fiber 43 to sequentially connect to the central office 44 and the Internet. 45 is connected to transmit the packet information of the client 40 to the Internet 45, or to receive the packet information transmitted from the Internet 45. The present invention relates to the Ethernet switch 42 and the office in each community. A loop test device 46 is added between the end 44 devices. Refer to FIG. 3, the loop test device 46 is composed of an Ethernet control circuit 461, a packet transmission and reception control circuit 462, and at least two input / output ports 463, Composed of 464 / wherein the packet transmission and reception control circuit 462 can be one of the integrated circuits completed by general FPGA (Field Programmable Gate Array) or ASIC, which is mainly used for loopback test, generation and response of packets ), The packet transmission and reception control circuit 462 is connected to the Ethernet control circuit 461, and one end of the Ethernet teng drive 461 is connected to the community Ethernet switch 42 through an input / output port 463, The other end is through another input and output Chun 464 Connected to the central office 44 equipment to provide the normal operation of these I / O ports 463, 464, and different intermediary conversions and buffers in full duplex or half duplex mode (fuii / half duplex mode) In the present invention, the authority 44 uses the loop test device 46 of the present invention to apply the Chinese National Standard (CNS) A4 specification (21 × X 297 male 1) to the paper size of the community network system. --- -(Please read the precautions on the back first, then this page) Order: Line '532005 A7 _________ B7 V. Description of the Invention (g) When conducting the loop test, the loop test has three layers, of which the first layer of the loop test is used In order to confirm whether the hardware part has failed from the network management system of the central office 44 to the testing device, and to the community's Ethernet switch 42, the method is to issue one or more from the network management system. Special BPDU (Bridge Protocol Data Units) packets, the complete format of which is shown in Figure 4, when the Ethernet control circuit 461 in the loop test device 46 receives the one or more special BPDU packets, it will Send it to the envelope Transceiving control circuit 462. The packet transmitting and receiving control circuit 462 changes the source address of the BPDU packet to a specific source address, and then sends it back to the network management of the central office 44 through the Ethernet control circuit 461. system. Because the present invention puts all states of the input / output port 463 connected to the Ethernet switch 42 in the reply packet, these states include the operating speed (Speed), full speed of the input / output port 463, Duplex or half-duplex mode and link status. After receiving the reply packet, the network management system of central office 44 can not only determine whether the line is faulty (such as: If no reply packet is received within a period of time, it indicates that the line is faulty. You can know whether the input / output port 463 is normally connected to the community's Ethernet switch 42. The detailed format of the reply packet is as shown in Figure 5. The Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs printed the second-layer communication test of the present invention, which is used to listen to whether there is a failure between the test device 46 and the Ethernet switch 42 in the community. The management system sends out one or more special BPDU packets, the complete format of which is shown in Fig. 6, when the Ethernet control circuit 461 in the loop test equipment _ 46 receives the loopback test (loopback test) mode) after a special BPDU packet ', the packet transmission and reception control circuit 462 controls the Ethernet control circuit 461, so that the input / output port 463 of the Ethernet switch 42 connected to the community enters the loop test mode, so that all The packets sent by the network management system of the local office 44 to the input / output Wei 463 will be sent back to the network management system of the local office 44 intact to complete the loop test. When the loop test is completed, the local office 44 The network management system will send another (or more) special BPDU packet to end the loop test mode. When the Ethernet control circuit 461 in the loop test device 46 receives the end loop Special paper size of test mode: Gu Jiaxuan (CNS) A4 ^ (21〇χΤ97 ^ | ") 532005 A7 B7 V. Description of the invention (β) After the BPDU is packetized, the packet in the loop test device 46 is sent and received The control circuit 462 controls the Ethernet control circuit 461 to return the input / output port 463 of the Ethernet switch 42 connected to the community to the normal mode. In the third-layer loop test of the present invention, J! J uses the commonly used Phg command to confirm whether the network management system from the central office 44 to the community's Ethernet switch 42 is on hardware or software. In the event of a failure, the test action is as described above, which is a general practice technique, so it will not be repeated here. In a preferred embodiment of the present invention, the network management system of the central office 44 uses the loop test device 46 to perform the aforementioned three-layer loop on the community network system according to the following steps and referring to FIG. 7. Test: (1〇) First, perform the first layer of loop test. The network management system sends out one or more special BPDU (Bridge Protocol Data Units) packets, and determines whether a packet is received within a specific time. The reply packet returned by the loop test device 46, if it is, and the message put in the reply packet shows that the input / output port 463 is indeed connected to the Ethernet switch 42 of the community normally. The loop test of the first layer is successful, at this time, continue to step (13); otherwise, continue to the following steps:, printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs (11) If the reply packet received, determine the I / O 463 is not normally connected to the community Ethernet switch 42, that is, step (12) is continued; otherwise, if within a certain time, no reply is returned from the loop test device 46 Packet , It means that there is an interruption between the network management system of the central office 44 and the loop test device 46; (12) Perform the second-level loop test, and the network management system of the central office 44 issues one or more special BPDUs. Packet, and determine whether all the packets transmitted by the network management system of the central office 44 to the input / output port 463 are transmitted back to the network management system of the local office 44 intact. If yes, it means that the loop test device There is an interruption between 46 and the community's Ethernet switch 42, or there is a problem with the hardware of the community's Ethernet switch 42. Otherwise, if not all of the network from the local office 44 this paper standard applies Chinese national standards ( CNS) A4 specifications x 297 males I) 532005 A7 B7 V. Description of the invention The packets sent by the management system to the input / output port 463 are all sent back to the network management system of the office 44, which means the loop test device 46 Internal problems; (13) Carry out the third-level communication test, and the network management system of the central office 44 issues one or more Ping commands, and determines whether the network exchange in the community is received within a specific time. Device 42 one by one If the message “Reply” indicates that the community network system is normal, otherwise, it means that the community Ethernet switch (Software of Switch 〇42). According to the above description, the present invention can not only make the network of Bureau 44 The road management system can easily know whether there is a fault between the central office and the loop test device, and can quickly check the community Ethernet switch (is the connection status of Qap 42 'and the crane test device normal? Therefore, there is no need for maintenance personnel to go to each of the network father's dirty installation sites to carry out inspections one by one, which greatly reduces the cost of maintenance and management, and she has improved the quality of network fiber services. Specific embodiments, but the structural features of this translation are not limited to this. Anyone skilled in the art can easily consider changes or modifications within the scope of the patents of the present invention. * ^ Zhang Gu specifications (21〇 297 mm