TWI856808B - Optical tunnel network system and fault diagnosis method for the same - Google Patents

Optical tunnel network system and fault diagnosis method for the same Download PDF

Info

Publication number
TWI856808B
TWI856808B TW112133815A TW112133815A TWI856808B TW I856808 B TWI856808 B TW I856808B TW 112133815 A TW112133815 A TW 112133815A TW 112133815 A TW112133815 A TW 112133815A TW I856808 B TWI856808 B TW I856808B
Authority
TW
Taiwan
Prior art keywords
optical
channels
channel
components
faulty
Prior art date
Application number
TW112133815A
Other languages
Chinese (zh)
Other versions
TW202512680A (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 TW112133815A priority Critical patent/TWI856808B/en
Application granted granted Critical
Publication of TWI856808B publication Critical patent/TWI856808B/en
Publication of TW202512680A publication Critical patent/TW202512680A/en

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

A fault diagnosis method applied for an optical-tunnel network system (OPTUNS) having multiple optical-switches and multiple fibers connecting the multiple optical-switches is disclosed and includes following steps: inspecting whether a faulty tunnel exists from multiple tunnels of the OPTUNS, wherein each tunnel respectively passes through multiple components; when the faulty tunnel is inspected, querying all components passed by all tunnels within a certain range with the faulty tunnel; respectively computing a faulty count for each component being queried, wherein the faulty count indicates the quantity of the tunnel passing through the component; and, outputting one or more of the components having a non-zero faulty count.

Description

光通道網路系統及其錯誤偵測方法 Optical channel network system and error detection method thereof

本發明涉及光通道網路系統,尤其涉及光通道網路系統的錯誤偵測方法,以及使用此錯誤偵測方法的光通道網路系統。 The present invention relates to an optical channel network system, and more particularly to an error detection method for an optical channel network system, and an optical channel network system using the error detection method.

光通道網路系統(Optical-Tunnel-Network System,OPTUNS)是由多台光交換機所組成的,這些光交換機包括位於第一階層(Tier 1)的第一類光交換機(例如OADS)及位於第二階層(Tier 2)的第二類光交換機(例如OSIS)。這些光交換機彼此通過光纖相互連接,並且每台光交換機內部皆包含了眾多的光元件。 Optical-Tunnel-Network System (OPTUNS) is composed of multiple optical switches, including the first-class optical switches (such as OADS) at the first tier (Tier 1) and the second-class optical switches (such as OSIS) at the second tier (Tier 2). These optical switches are connected to each other through optical fibers, and each optical switch contains many optical components.

所述OPTUNS中的任何一條光纖或是任一台光交換機中的任一個光元件故障時,都會導致相關的通道(tunnel)無法正常運作,進而產生故障通道(Faulty Tunnel)。意即,通道產生異常而無法正確地傳遞資料。 When any optical fiber in the OPTUNS or any optical component in any optical switch fails, the related channel (tunnel) will not operate normally, thus generating a faulty tunnel. In other words, the channel becomes abnormal and cannot transmit data correctly.

然而,與一般的電子元件不同,OPTUNS目前藉由軟體演算法的偵測方式,來檢測光元件是否損壞。由軟體演算法偵錯的好處在於不用額外增加硬體元件,來降低系統的設計成本。但是當OPTUNS出光故障通道時,系統將 無法迅速且確準地判斷發生故障的光纖或是光元件的範圍或實際位置,而會造成系統維護上極大的不便。 However, unlike general electronic components, OPTUNS currently uses software algorithm detection to detect whether optical components are damaged. The advantage of software algorithm debugging is that no additional hardware components are required to reduce the system design cost. However, when OPTUNS outputs an optical fault channel, the system will not be able to quickly and accurately determine the range or actual location of the faulty optical fiber or optical component, which will cause great inconvenience in system maintenance.

本發明的主要目的,在於提供一種光通道網路系統及其錯誤偵測方法,可以在光通道出現異常時縮小故障零件的可能範圍,或直接找出故障零件。 The main purpose of the present invention is to provide an optical channel network system and an error detection method thereof, which can narrow down the possible range of faulty parts or directly find the faulty parts when an optical channel abnormality occurs.

為了達成上述的目的,本發明的錯誤偵測方法係應用於一光通道網路系統,該光通道網路系統包括複數光交換機及連接該複數光交換機的複數光纖,並且該錯誤偵測方法包括下列步驟:a)檢測該光通道網路系統的複數通道(tunnel)是否包含會造成資料遺失的一故障通道,其中各該通道分別經過複數構成零件;b)於檢測到一或多條該故障通道時,查詢該一或多條故障通道的一定範圍中的所有該通道所經過的該複數構成零件;c)分別計算查詢所得的各該構成零件的一故障計數,其中該故障計數代表各該構成零件分別被該一或多條故障通道經過的數量;及d)該步驟c)後,輸出該故障計數非零的一或多個該構成零件。 In order to achieve the above-mentioned purpose, the error detection method of the present invention is applied to an optical channel network system, the optical channel network system includes a plurality of optical switches and a plurality of optical fibers connected to the plurality of optical switches, and the error detection method includes the following steps: a) detecting whether a plurality of channels (tunnels) of the optical channel network system include a fault channel that causes data loss, wherein each of the channels passes through a plurality of components; ; b) when one or more faulty channels are detected, query the multiple components that all the channels within a certain range of the one or more faulty channels pass through; c) calculate a fault count of each component obtained from the query, wherein the fault count represents the number of components that are passed through by the one or more faulty channels; and d) after step c), output the one or more components whose fault count is non-zero.

為了達成上述目的,本發明的光通道網路系統包括:至少二光交換機,分別具有複數光元件;複數光纖,連接該至少二光交換機;複數通道,分別經過複數構成零件,用以於該至少二台光交換機傳遞資料;一記憶體,記錄每一通道及各該通道所經過的該等構成零件;及 一中央處理單元,被配置來於檢測到該複數通道包含會造成資料遺失的一或多條故障通道時,參考該記憶體來獲得一定範圍中的所有該通道所經過的該複數構成零件,並計算各該構成零件分別被該一或多條故障通道經過的一故障計數,再輸出該故障計算非零的一或多個該構成零件。 In order to achieve the above-mentioned purpose, the optical channel network system of the present invention includes: at least two optical switches, each having a plurality of optical elements; a plurality of optical fibers connecting the at least two optical switches; a plurality of channels, each passing through a plurality of components, for transmitting data between the at least two optical switches; a memory, recording each channel and the components each channel passes through; and a central processing unit, configured to refer to the memory to obtain the plurality of components passed through by all the channels within a certain range when detecting that the plurality of channels include one or more faulty channels that will cause data loss, and calculate a fault count of each component passed through by the one or more faulty channels, and then output the one or more components whose fault counts are non-zero.

相較於相關技術,本發明可以達到的技術效果是在不需要使用額外硬體元件的情況下偵測故障通道,並且對故障的零件進行定位,藉此大幅縮減系統維護所需的時間與成本。 Compared with related technologies, the technical effect achieved by the present invention is to detect faulty channels and locate faulty parts without using additional hardware components, thereby greatly reducing the time and cost required for system maintenance.

11:第一階層 11: First level

12:第二階層 12: Second level

2:第一類光交換機 2: Type I optical switch

201:順向傳輸通道 201: Forward transmission channel

202:逆向傳輸通道 202: Reverse transmission channel

21:順向第一類光交換機 21: Forward type 1 optical switch

22:逆向第一類光交換機 22: Reverse Type I optical switch

23:波長選擇開關 23: Wavelength selection switch

24:光纖 24: Optical fiber

3:第二類光交換機 3: Type II optical switch

31:波長選擇開關陣列 31: Wavelength selection switch array

32:光纖 32: Optical fiber

4:控制器 4: Controller

41:軟體部分 41: Software part

410:故障診斷演算法 410: Fault diagnosis algorithm

4100:列表 4100: List

42:硬體部分 42: Hardware part

421:中央處理單元 421: Central Processing Unit

422:記憶體 422:Memory

61、71:第一光通道 61, 71: First optical channel

62、72:第二光通道 62, 72: Second optical channel

63、73:第三光通道 63, 73: The third light channel

8:構成零件 8: Constituent parts

9:故障零件 9: Faulty parts

S51~S55、S81~S89:偵測步驟 S51~S55, S81~S89: Detection steps

圖1為光通道網路系統的系統架構圖。 Figure 1 is a system architecture diagram of the optical channel network system.

圖2為本發明的第一類光交換機的方塊圖的具體實施範例。 Figure 2 is a specific implementation example of a block diagram of the first type of optical switch of the present invention.

圖3為本發明的第二類光交換機的方塊圖的具體實施範例。 Figure 3 is a specific implementation example of a block diagram of the second type of optical switch of the present invention.

圖4A為本發明的光通道網路系統的方塊圖的第一具體實施範例。 FIG4A is a first specific implementation example of a block diagram of the optical channel network system of the present invention.

圖4B為本發明的光通道網路系統的方塊圖的第二具體實施範例。 FIG4B is a second specific implementation example of a block diagram of the optical channel network system of the present invention.

圖5為本發明的錯誤偵測方法的流程圖的第一實施範例。 FIG5 is a first implementation example of a flow chart of the error detection method of the present invention.

圖6為本發明的通道示意圖的第一實施範例。 Figure 6 is a first embodiment of the channel schematic diagram of the present invention.

圖7為本發明的通道示意圖的第二實施範例。 Figure 7 is a second embodiment of the channel schematic diagram of the present invention.

圖8為本發明的錯誤偵測方法的流程圖的第一實施範例。 FIG8 is a first implementation example of a flowchart of the error detection method of the present invention.

圖9為本發明的通道示意圖的第三實施範例。 Figure 9 is a third embodiment of the channel schematic diagram of the present invention.

茲就本發明之一較佳實施例,配合圖式,詳細說明如後。 A preferred embodiment of the present invention is described in detail below with reference to the drawings.

本發明揭露了一種具有錯誤偵測功能的光通道網路系統(Optical-Tunnel-Network System,OPTUNS),可以藉由軟體方式偵測無法正確傳遞資料的故障通道(Faulty Tunnel),並且縮小故障零件的可能範圍,或是直接定位出故障零件於光通道網路系統中的位置。 The present invention discloses an optical-tunnel-network system (OPTUNS) with error detection function, which can detect faulty tunnels that cannot correctly transmit data by software, and narrow down the possible range of faulty parts, or directly locate the position of the faulty parts in the optical-tunnel network system.

請參閱圖1,為光通道網路系統的系統架構圖。如圖1所示,光通道網路系統可區分為第一階層(Tier1)11與第二階層(Tier2)12,其中第一階層11由第一類光交換機2所組成,第二階層12由第二類光交換機3所組成。於一實施例中,第一類光交換機2可以OADS來實現,第二類光交換機3可以OSIS來實現,但不以此為限。 Please refer to Figure 1, which is a system architecture diagram of the optical channel network system. As shown in Figure 1, the optical channel network system can be divided into a first tier (Tier 1) 11 and a second tier (Tier 2) 12, wherein the first tier 11 is composed of a first type of optical switch 2, and the second tier 12 is composed of a second type of optical switch 3. In one embodiment, the first type of optical switch 2 can be implemented by OADS, and the second type of optical switch 3 can be implemented by OSIS, but it is not limited thereto.

於圖1的實施例中,第一階層11由五台第一類光交換機2組成一個POD,並且第一階層11可以包含多個POD。如圖1所示,一台第一類光交換機2可於殼體內包含邏輯上完全分開的兩台光交換機,因此,五台第一類光交換機2實際上可以組成互不干擾的兩個POD(圖1中以實線圓圈及虛線圓圈表示分開的兩個POD)。 In the embodiment of FIG. 1 , the first layer 11 is composed of five first-class optical switches 2 forming a POD, and the first layer 11 may include multiple PODs. As shown in FIG. 1 , a first-class optical switch 2 may include two logically completely separated optical switches in a housing, so the five first-class optical switches 2 may actually form two PODs that do not interfere with each other (the two separated PODs are represented by solid and dotted circles in FIG. 1 ).

如圖1所示,同一個POD中的各個第一類光交換機2分別通過光纖彼此連接。各個第二類光交換機3也通過光纖彼此連接以形成一個mesh網路。各個POD的第一類光交換機2分別通過光纖連接相同的第二類光交換機3,藉此,光通道網路系統可由第二階層12的第二類光交換機3來串連起第一階層11的多個POD的第一類光交換機2。 As shown in Figure 1, each first-class optical switch 2 in the same POD is connected to each other through optical fibers. Each second-class optical switch 3 is also connected to each other through optical fibers to form a mesh network. The first-class optical switch 2 of each POD is connected to the same second-class optical switch 3 through optical fibers. In this way, the optical channel network system can connect the first-class optical switches 2 of multiple PODs in the first layer 11 in series by the second-class optical switch 3 of the second layer 12.

本發明中,每一台光交換機(包括第一類光交換機2與第二類光交換機3)內部都具有複數光元件,並且光通道網路系統經過設定,以藉由複數光元件以及複數光纖來構成用來傳遞資料的多條光通道(Optical-Tunnel)。本發明的 技術特徵在於,當其中一條通道因故障而造成資料遺失時,可以光通道網路系統可以藉由軟體方式偵測出故障零件的可能範圍,或是直接定位出故障零件的位置。 In the present invention, each optical switch (including the first type optical switch 2 and the second type optical switch 3) has a plurality of optical elements inside, and the optical channel network system is configured to form a plurality of optical channels (Optical-Tunnel) for transmitting data by using a plurality of optical elements and a plurality of optical fibers. The technical feature of the present invention is that when one of the channels fails and causes data loss, the optical channel network system can detect the possible range of the faulty component by software, or directly locate the position of the faulty component.

續請參閱圖2及圖3,其中圖2為本發明的第一類光交換機的方塊圖的具體實施範例,圖3為本發明的第二類光交換機的方塊圖的具體實施範例。 Please refer to Figures 2 and 3, wherein Figure 2 is a specific implementation example of the block diagram of the first type of optical switch of the present invention, and Figure 3 is a specific implementation example of the block diagram of the second type of optical switch of the present invention.

如圖2所示,每一台第一類光交換機2的殼體內部分別包含了邏輯分開的順向第一類光交換機21與逆向第一類光交換機22,並且順向第一類光交換機21與逆向第一類光交換機22分別具有多個光元件,包括波長選擇開關(Wavelength Selective Switch,WSS)23、多工器(MUX)、解多工器(DEMUX)、摻鉺光纖放大器(Erbium-Doped Fiber Amplifier,EDFA)等,但不加以限定。這些光元件通過一或多條光纖24來連接至其他光交換機的光元件,以形成一或多條的通道。 As shown in FIG2 , the housing of each first-class optical switch 2 includes a logically separated forward first-class optical switch 21 and a reverse first-class optical switch 22, and the forward first-class optical switch 21 and the reverse first-class optical switch 22 each have a plurality of optical components, including a wavelength selective switch (WSS) 23, a multiplexer (MUX), a demultiplexer (DEMUX), an erbium-doped fiber amplifier (EDFA), etc., but not limited thereto. These optical components are connected to the optical components of other optical switches through one or more optical fibers 24 to form one or more channels.

於一實施例中,順向第一類光交換機21通過光纖24連接同一個POD中相鄰的順向第一類光交換機21,藉此在這個POD中構成一或多條順向傳輸通道201。相似地,逆向第一類光交換機22通過光纖24連接同一個POD中相鄰的逆向第一類光交換機22,藉此在這個POD中構成一或多條逆向傳輸通道202。 In one embodiment, the forward first type optical switch 21 is connected to the adjacent forward first type optical switch 21 in the same POD through the optical fiber 24, thereby forming one or more forward transmission channels 201 in the POD. Similarly, the reverse first type optical switch 22 is connected to the adjacent reverse first type optical switch 22 in the same POD through the optical fiber 24, thereby forming one or more reverse transmission channels 202 in the POD.

所述波長選擇開關23連接光纖24,用以控制光的經過與阻斷。值得一提的是,多工器、解多工器、摻鉺光纖放大器等光元件為光交換機中的被動光元件,其故障機率極低。於一實施例中,為了提高偵測效率,即使偵測到故障通道,系統也不需要對多工器、解多工器、摻鉺光纖放大器或其他被動光元件進行檢測。 The wavelength selection switch 23 is connected to the optical fiber 24 to control the passage and blocking of light. It is worth mentioning that optical components such as multiplexers, demultiplexers, and erbium-doped optical fiber amplifiers are passive optical components in optical switches, and their failure probability is extremely low. In one embodiment, in order to improve the detection efficiency, even if a faulty channel is detected, the system does not need to detect the multiplexer, demultiplexer, erbium-doped optical fiber amplifier or other passive optical components.

於圖2的實施例中,W1~W6分別為與光纖24連接的多個波長選擇開關23,並且於第一類光交換機2內部,這些波長選擇開關23可以以陣列(array)的方式來實現。意即,多個波長選擇開關23共同存在於單一顆波長選擇開關陣列中。 In the embodiment of FIG. 2 , W1 to W6 are respectively a plurality of wavelength selection switches 23 connected to the optical fiber 24, and inside the first type optical switch 2, these wavelength selection switches 23 can be implemented in an array. That is, a plurality of wavelength selection switches 23 exist together in a single wavelength selection switch array.

如圖3所示,每一台第二類光交換機3內部至少包含了兩顆波長選擇開關陣列31,其中第一波長選擇開關陣列至少包括七個波長選擇開關A1~A7,第二波長選擇開關陣列至少包括七個波長選擇開關B1~B7。與第一類光交換機2相似,各第二類光交換機3通過一或多條光纖32彼此連接以形成mesh網路,並且通過一或多條光纖32連接第一階層11的第一類光交換機2以串接第一階層11的多個POD。 As shown in FIG3 , each second-class optical switch 3 contains at least two wavelength selection switch arrays 31, wherein the first wavelength selection switch array includes at least seven wavelength selection switches A1 to A7, and the second wavelength selection switch array includes at least seven wavelength selection switches B1 to B7. Similar to the first-class optical switch 2, each second-class optical switch 3 is connected to each other through one or more optical fibers 32 to form a mesh network, and is connected to the first-class optical switch 2 of the first layer 11 through one or more optical fibers 32 to connect multiple PODs of the first layer 11 in series.

當光通道網路系統中有任何一條光通道無法正確傳遞資料而形成故障通道時,本發明可通過軟體方式偵測是哪一個光元件或是哪一條光纖故障而導致正常通道轉變為故障通道。 When any optical channel in the optical channel network system fails to transmit data correctly and forms a faulty channel, the present invention can detect through software which optical element or optical fiber is faulty, causing the normal channel to become a faulty channel.

續請參閱圖4A及圖4B,分別為本發明的光通道網路系統的方塊圖的第一具體實施範例及第二具體實施範例。如圖4A及圖4B所示,本發明的光通道網路系統包括兩個種類的多台光交換機(包括第一類光交換機2及/或第二類光交換機3)以及控制器4。於一實施例中,控制器4為軟體定義網路(Software-Defined Networking,SDN)控制器。 Please refer to Figures 4A and 4B, which are respectively the first specific implementation example and the second specific implementation example of the block diagram of the optical channel network system of the present invention. As shown in Figures 4A and 4B, the optical channel network system of the present invention includes two types of multiple optical switches (including the first type of optical switch 2 and/or the second type of optical switch 3) and a controller 4. In one embodiment, the controller 4 is a software-defined network (SDN) controller.

光通道網路系統還包括複數光纖,用以連接複數光交換機(包括連接相同種類的兩台光交換機以及連接不同種類的兩台光交換機)。更具體地,各個光交換機分別具有複數光元件(例如上述的WSS、MUX、DEMUX等),複數光纖係基於使用者的設定來連接各個光交換機中的光元件,以於光通道網路系統 中建構複數通道。換句話說,光通道網路系統中的每一條通道分別經過複數構成零件8(包括複數光纖之一及複數光元件之一),藉此於至少二光交換機2、3傳遞資料。 The optical channel network system also includes a plurality of optical fibers for connecting a plurality of optical switches (including connecting two optical switches of the same type and connecting two optical switches of different types). More specifically, each optical switch has a plurality of optical elements (such as the above-mentioned WSS, MUX, DEMUX, etc.), and the plurality of optical fibers are connected to the optical elements in each optical switch based on the user's settings to construct a plurality of channels in the optical channel network system. In other words, each channel in the optical channel network system passes through a plurality of components 8 (including one of the plurality of optical fibers and one of the plurality of optical elements) to transmit data in at least two optical switches 2 and 3.

如圖4A所示,控制器4可概略分成軟體部分41及硬體部分42。硬體部分42的重要元件至少包括中央處理單元421及記憶體422,其中中央處理單元421通過有線方式或無線方式連接記憶體422、第一類光交換機2及第二類光交換機3。中央處理單元421被配置來執行本發明的故障診斷演算法410。記憶體422被配置來暫存所述故障診斷演算法410,並且儲存中央處理單元421的運算過程中的資料和最後結果。 As shown in FIG. 4A , the controller 4 can be roughly divided into a software part 41 and a hardware part 42. The important components of the hardware part 42 include at least a central processing unit 421 and a memory 422, wherein the central processing unit 421 is connected to the memory 422, the first type optical switch 2 and the second type optical switch 3 by wired or wireless means. The central processing unit 421 is configured to execute the fault diagnosis algorithm 410 of the present invention. The memory 422 is configured to temporarily store the fault diagnosis algorithm 410 and store the data and final results in the operation process of the central processing unit 421.

控制器4的軟體部分41至少包括所述故障診斷演算法410。本發明中,中央處理單元421會持續不斷地至記憶體422內執行故障診斷演算法410,以蒐集、監控並判斷光通道網路系統內的所有光通道的變化。一旦透過運算而比對出有故障通道產生時,中央處理單元421會對記憶體422建立並儲存的列表4100內的各個構成零件8的故障計數進行更新。於運算過程中,中央處理單元421也會將故障計數不為零,但有其它正常通道通過的構成零件8的故障計數歸零,藉此將故障診斷演算法410中的誤判狀況排除。 The software part 41 of the controller 4 includes at least the fault diagnosis algorithm 410. In the present invention, the central processing unit 421 will continuously execute the fault diagnosis algorithm 410 in the memory 422 to collect, monitor and judge the changes of all optical channels in the optical channel network system. Once a fault channel is detected through calculation, the central processing unit 421 will update the fault count of each component 8 in the list 4100 established and stored in the memory 422. During the calculation process, the central processing unit 421 will also reset the fault count of the component 8 whose fault count is not zero but has other normal channels passing through to zero, thereby eliminating the misjudgment condition in the fault diagnosis algorithm 410.

最後,如圖4A及圖4B所示,中央處理單元421再從更新後的列表4100得到故障計數最高的構成零件8,當作是確定的故障零件9。值得一提的是,若有兩個以上的構成零件8的故障計數同高,則中央處理單元421可當作此次運算結果為不確定(uncertain)狀況。意即,代表本次的運算比對無法成功檢測出具體的故障零件9,因此中央處理單元421會接著再由下次的循環繼續去檢測出來。 Finally, as shown in FIG. 4A and FIG. 4B , the central processing unit 421 obtains the component 8 with the highest fault count from the updated list 4100 and regards it as the confirmed faulty component 9. It is worth mentioning that if there are two or more components 8 with the same high fault count, the central processing unit 421 can regard the result of this operation as uncertain. In other words, it means that the current operation comparison cannot successfully detect the specific faulty component 9, so the central processing unit 421 will continue to detect it in the next cycle.

本發明中,記憶體422記錄了光通道網路系統中的每一條通道,以及各通道所經過的構成零件8。於一實施例中,記憶體422儲存有預先建立的拓樸架構(圖未標示),拓樸架構中記錄了光通道網路系統中的所有構成零件8(包括光纖及光元件)的位置及連接關係。當中央處理單元421於執行故障診斷演算法410時偵測到任一條通道為故障通道時,可以查詢拓樸架構以得知故障通道經過了哪些構成零件8,藉此縮小故障零件9的可能範圍,或是直接定位出故障零件9的身份及位置。 In the present invention, the memory 422 records each channel in the optical channel network system and the components 8 that each channel passes through. In one embodiment, the memory 422 stores a pre-established topology structure (not shown in the figure), and the topology structure records the positions and connection relationships of all components 8 (including optical fibers and optical components) in the optical channel network system. When the central processing unit 421 detects that any channel is a faulty channel when executing the fault diagnosis algorithm 410, it can query the topology structure to know which components 8 the faulty channel passes through, thereby narrowing down the possible range of the faulty component 9, or directly locating the identity and position of the faulty component 9.

本發明中,中央處理單元421透過執行故障診斷演算法410可以檢測光通道網路系統的複數條通道中是否包含了會造成資料遺失的一或多條故障通道。 In the present invention, the central processing unit 421 can detect whether the multiple channels of the optical channel network system include one or more faulty channels that will cause data loss by executing the fault diagnosis algorithm 410.

本發明的技術特徵在於,當中央處理單元421藉由故障診斷演算法410偵測到一或多條故障通道時,可參考記憶體422的內容來獲得一定範圍中的所有通道所經過的所有構成零件8,並且分別計算各個構成零件8的故障計數。於一實施例中,中央處理單元421將故障計數非零的一或多個構成零件8更新於所述列表4100中,以作為可能的故障零件9的候選列表。本發明中,所述故障計數代表每一個構成零件8被一或多條故障通道經過的數量,例如若第一WSS的故障計數為2,代表第一WSS被兩條故障通道經過;若第二光纖的故障計數為1,代表第二光纖被一條故障通道經過,以此類推。 The technical feature of the present invention is that when the central processing unit 421 detects one or more faulty channels through the fault diagnosis algorithm 410, it can refer to the content of the memory 422 to obtain all components 8 passed by all channels in a certain range, and calculate the fault count of each component 8 respectively. In one embodiment, the central processing unit 421 updates one or more components 8 with non-zero fault counts in the list 4100 as a candidate list of possible faulty components 9. In the present invention, the fault count represents the number of each component 8 passed by one or more faulty channels. For example, if the fault count of the first WSS is 2, it means that the first WSS is passed by two faulty channels; if the fault count of the second optical fiber is 1, it means that the second optical fiber is passed by one faulty channel, and so on.

請同時參閱圖5,為本發明的錯誤偵測方法的流程圖的第一實施範例。圖5揭露了本發明的錯誤偵測方法的具體執行步驟,其中,錯誤偵測方法主要可由圖1至圖4A及圖4B所示的光通道網路系統的各部件來實現。 Please refer to FIG. 5, which is a first implementation example of the flow chart of the error detection method of the present invention. FIG. 5 discloses the specific execution steps of the error detection method of the present invention, wherein the error detection method can be mainly implemented by the components of the optical channel network system shown in FIG. 1 to FIG. 4A and FIG. 4B.

如圖5所示,本發明在光通道網路系統啟動後,由中央處理單元421持續監控光通道網路系統中已建立的所有通道(步驟S51),並且檢測複數通道中是否包含了會造成資料遺失的故障通道(步驟S52)。如前文所述,光通道網路系統中的每一條通道都是預先定義完成,並且分別經過複數構成零件。更具體地,每一條通道分別經過複數光纖之一以及複數光交換機之一中的至少一個光元件。 As shown in FIG5 , after the optical channel network system is started, the central processing unit 421 of the present invention continuously monitors all channels established in the optical channel network system (step S51), and detects whether the multiple channels include a faulty channel that will cause data loss (step S52). As mentioned above, each channel in the optical channel network system is predefined and passes through multiple components. More specifically, each channel passes through one of the multiple optical fibers and at least one optical element in one of the multiple optical switches.

當於檢測到一或多條故障通道時,中央處理單元421查詢故障通道一定範圍中的所有通道所經過的所有構成零件8(步驟S53),並且分別計算這些構成零件8的故障計數(步驟S54)。如上所述,這些故障計數分別代表各個構成零件8被一或多條故障通道經過的數量。故障計數越高,代表此構成零件8為故障零件9的可能性越高;故障計數越低,代表此構成零件8為故障零件9的可能性越低。故障計數為零,代表這個構成零件8不可能是故障零件9。 When one or more faulty channels are detected, the central processing unit 421 queries all components 8 passed by all channels within a certain range of the faulty channels (step S53), and calculates the fault counts of these components 8 respectively (step S54). As described above, these fault counts represent the number of each component 8 passed by one or more faulty channels. The higher the fault count, the higher the possibility that the component 8 is a faulty component 9; the lower the fault count, the lower the possibility that the component 8 is a faulty component 9. A fault count of zero means that the component 8 cannot be a faulty component 9.

步驟S54後,中央處理單元421輸出所有故障計數非零的構成零件8(步驟S55)。 After step S54, the central processing unit 421 outputs all components 8 with non-zero fault counts (step S55).

於一實施例中,中央處理單元421可以將故障計數非零的構成零件8顯示在光通道網路系統的顯示螢幕(圖未標示)上。於另一實施例中,中央處理單元421可將故障計數非零的構成零件8的候選列表傳輸至外部的電子裝置上進行通知與顯示。藉此,使用者可以鎖定造成故障的一或多個構成零件8,進而可以快速且準確地進行構成零件8的維護或更換。 In one embodiment, the central processing unit 421 can display the components 8 with non-zero fault counts on a display screen (not shown) of the optical channel network system. In another embodiment, the central processing unit 421 can transmit the candidate list of components 8 with non-zero fault counts to an external electronic device for notification and display. In this way, the user can lock one or more components 8 that cause the fault, and then quickly and accurately perform maintenance or replacement of the components 8.

續請參閱圖6,為本發明的通道示意圖的第一實施範例。圖6以第一類光交換機2為例,對本發明的通道進行詳細的說明。 Please refer to Figure 6 for the first implementation example of the channel schematic diagram of the present invention. Figure 6 takes the first type of optical switch 2 as an example to explain the channel of the present invention in detail.

如前文所述,為了在故障通道出現時列出與故障通道相關的所有構成零件8的候選列表,本發明需對每一台光交換機裡的每一個光元件以及每一條光纖的所有位置以及連接關係進行編碼,並且記錄於記憶體422中(例如記錄成拓樸架構)。圖6中以實際範例呈現所述編碼。 As mentioned above, in order to list the candidate list of all components 8 related to the faulty channel when the faulty channel occurs, the present invention needs to encode all the positions and connection relationships of each optical element and each optical fiber in each optical switch, and record them in the memory 422 (for example, record them as a topological structure). FIG6 shows the encoding in an actual example.

圖6揭示了第一階層11的一個POD,這個POD由五台第一類光交換機2所組成,包括OADS1.1、OADS1.2、OADS1.3、OADS1.4及OADS1.5,其中1.1代表第一POD中的第一台第一類光交換機、1.2代表第一POD中的第二台第一類光交換機,以此類推。 FIG6 shows a POD of the first layer 11, which is composed of five first-class optical switches 2, including OADS1.1, OADS1.2, OADS1.3, OADS1.4 and OADS1.5, where 1.1 represents the first first-class optical switch in the first POD, 1.2 represents the second first-class optical switch in the first POD, and so on.

如前文所述,每一台第一類光交換機2分別包括順向第一類光交換機21與逆向第一類光交換機22。同一個POD的多台順向第一類光交換機21通過多條光纖串接,包括P1B5-4、P1B4-3、P1B3-2、P1B2-1及P1B1-5,其中P1B5-4代表第一POD中將第五台順向第一類交換機21連接至第四台順向第一類交換機21的光纖,P1B4-3代表第一POD中將第四台順向第一類交換機21連接至第三台順向第一類交換機21的光纖,以此類推。 As mentioned above, each first-type optical switch 2 includes a forward first-type optical switch 21 and a reverse first-type optical switch 22. Multiple forward first-type optical switches 21 of the same POD are connected in series through multiple optical fibers, including P1B5-4, P1B4-3, P1B3-2, P1B2-1 and P1B1-5, where P1B5-4 represents the optical fiber connecting the fifth forward first-type switch 21 to the fourth forward first-type switch 21 in the first POD, and P1B4-3 represents the optical fiber connecting the fourth forward first-type switch 21 to the third forward first-type switch 21 in the first POD, and so on.

相似地,同一個POD的多台逆向第一類光交換機22通過多條光纖串接,包括P1R1-2、P1R2-3、P1R3-4、P1R4-5及P1R5-1,其中P1R1-2代表第一POD中將第一台逆向第一類光交換機22連接至第二台逆向第一類光交換機22的光纖,P1R2-3代表第一POD中將第二台逆向第一類光交換機22連接至第三台逆向第一類光交換機22的光纖,以此類推。 Similarly, multiple reverse first-type optical switches 22 of the same POD are connected in series through multiple optical fibers, including P1R1-2, P1R2-3, P1R3-4, P1R4-5 and P1R5-1, where P1R1-2 represents the optical fiber connecting the first reverse first-type optical switch 22 to the second reverse first-type optical switch 22 in the first POD, and P1R2-3 represents the optical fiber connecting the second reverse first-type optical switch 22 to the third reverse first-type optical switch 22 in the first POD, and so on.

於圖6的實施例中,光通道網路系統包括第一光通道61及第二光通道62,其中第一光通道61為順向通道,第二光通道62為逆向通道。如圖6所示,第一光通道61通過光纖P1B4-3及P1B3-2連接三台順向第一類光交換 機OADS1.4、OADS1.3及OADS1.2,並且經過這三台順向第一類光交換機OADS1.4、OADS1.3及OADS1.2內的多個光元件(圖未標示)。第二光通道62通過光纖P1R4-5連接兩台逆向第一類光交換機OADS1.4及OADS1.5,並且經過這兩台逆向第一類光交換機OADS1.4及OADS1.5內的多個光元件(圖未標示)。 In the embodiment of FIG. 6 , the optical channel network system includes a first optical channel 61 and a second optical channel 62, wherein the first optical channel 61 is a forward channel and the second optical channel 62 is a reverse channel. As shown in FIG. 6 , the first optical channel 61 is connected to three forward first-type optical switches OADS1.4, OADS1.3 and OADS1.2 through optical fibers P1B4-3 and P1B3-2, and passes through multiple optical components (not shown) in the three forward first-type optical switches OADS1.4, OADS1.3 and OADS1.2. The second optical channel 62 is connected to two reverse first-type optical switches OADS1.4 and OADS1.5 through optical fibers P1R4-5, and passes through multiple optical components (not shown) in the two reverse first-type optical switches OADS1.4 and OADS1.5.

當中央處理單元421偵測到第一光通道61為故障通道時,即可藉由上述編碼(例如查詢拓樸架構)列出第一光通道61經過的所有構成零件8,並且判斷哪些構成零件8可能為故障零件9。相似地,當中央處理單元421偵測到第二光通道62為故障通道時,亦可藉由上述編碼來列出第二光通道62經過的所有構成零件8,並且判斷哪些構成零件8可能為故障零件9。 When the central processing unit 421 detects that the first optical channel 61 is a faulty channel, it can list all components 8 that the first optical channel 61 passes through by the above coding (for example, querying the topology structure), and determine which components 8 may be faulty components 9. Similarly, when the central processing unit 421 detects that the second optical channel 62 is a faulty channel, it can also list all components 8 that the second optical channel 62 passes through by the above coding, and determine which components 8 may be faulty components 9.

請同時參閱圖7,為本發明的通道示意圖的第二實施範例。圖7以第二類光交換機3為例,對本發明的通道進行詳細的說明。 Please also refer to Figure 7, which is a second embodiment of the channel schematic diagram of the present invention. Figure 7 takes the second type of optical switch 3 as an example to provide a detailed description of the channel of the present invention.

如上所述,本發明對每一台光交換機裡的每一個光元件以及每一條光纖的所有位置以及連接關係進行編碼,並且記錄成拓樸架構。本發明中,第二階層12至少包括五台串接第二類光交換機3,圖7的實施例中示出其中的三台第二類光交換機3,包括OSIS5、OSIS1及OSIS2,其中OSIS5代表第二階層12中的第五台第二類光交換機,OSIS1代表第二階層12中的第一台第二類光交換機,OSIS2代表第二階層12中的第二台第二類光交換機。 As described above, the present invention encodes all positions and connection relationships of each optical element and each optical fiber in each optical switch, and records them into a topological architecture. In the present invention, the second layer 12 includes at least five serially connected second-type optical switches 3, and the embodiment of Figure 7 shows three of the second-type optical switches 3, including OSIS5, OSIS1 and OSIS2, where OSIS5 represents the fifth second-type optical switch in the second layer 12, OSIS1 represents the first second-type optical switch in the second layer 12, and OSIS2 represents the second second-type optical switch in the second layer 12.

本發明中,每一台第二類光交換機3分別通過兩種類型的光纖來串接相鄰的第二類光交換機3。於圖7的實施例中,OSIS5通過至少四條光纖連接OSIS1,包括O5-1、P5-1、O1-5及P1-5,其中O5-1代表將來源為OSIS5的資料(Original)從OSIS5傳遞到OSIS1的光纖、P5-1代表將經過OSIS5的資料(Passthrough)從OSIS5傳遞到OSIS1的光纖、O1-5代表將來源為OSIS1的資料從 OSIS1傳遞到OSIS5的光纖、而P1-5代表將經過OSIS1的資料從OSIS1傳遞到OSIS5的光纖。 In the present invention, each second type optical switch 3 is connected in series to the adjacent second type optical switch 3 through two types of optical fibers. In the embodiment of FIG. 7 , OSIS5 is connected to OSIS1 through at least four optical fibers, including O5-1, P5-1, O1-5 and P1-5, wherein O5-1 represents the optical fiber that transmits data (Original) from OSIS5 to OSIS1, P5-1 represents the optical fiber that transmits data (Passthrough) from OSIS5 to OSIS1, O1-5 represents the optical fiber that transmits data (Passthrough) from OSIS5 to OSIS5, and P1-5 represents the optical fiber that transmits data (Passthrough) from OSIS1 to OSIS5.

再例如,OSIS1通過至少四條光纖連接OSIS2,包括O1-2、P1-2、O2-1及P2-1,其中O1-2代表將來源為OSIS1的資料從OSIS1傳遞到OSIS2的光纖、P1-2代表將經過OSIS1的資料從OSIS1傳遞到OSIS2的光纖、O2-1代表將來源為OSIS2的資料從OSIS2傳遞到OSIS1的光纖、而P2-1代表將經過OSIS2的資料從OSIS2傳遞到OSIS1的光纖。 For another example, OSIS1 is connected to OSIS2 via at least four optical fibers, including O1-2, P1-2, O2-1, and P2-1, where O1-2 represents an optical fiber that transmits data from OSIS1 from OSIS1 to OSIS2, P1-2 represents an optical fiber that transmits data from OSIS1 to OSIS2 after passing through OSIS1, O2-1 represents an optical fiber that transmits data from OSIS2 from OSIS2 to OSIS1, and P2-1 represents an optical fiber that transmits data from OSIS2 to OSIS1 after passing through OSIS2.

於一實施例中,兩台第二類光交換機3之間的多條光纖可被統整為一條帶狀光纖(Ribbon Fiber,即圖中的虛線方框)。於硬體上,使用者是使用內部具有至四少條光纖的一條帶狀光纖來連接兩台第二類光交換機3。於此實施例中,當一條光纖故障時,中央處理單元421除了將此光纖視為故障零件外,還會將包覆此光纖的帶狀光纖被視為故障零件(即,將帶狀光纖的故障計數+1),並將此帶狀光纖列出於故障零件的候選列表中。 In one embodiment, multiple optical fibers between two second-type optical switches 3 can be integrated into a ribbon fiber (i.e., the dotted box in the figure). In hardware, the user uses a ribbon fiber with at least four optical fibers inside to connect two second-type optical switches 3. In this embodiment, when an optical fiber fails, the central processing unit 421 not only regards this optical fiber as a faulty part, but also regards the ribbon fiber covering this optical fiber as a faulty part (i.e., the fault count of the ribbon fiber is +1), and lists this ribbon fiber in the candidate list of faulty parts.

於圖7的實施例中,光通道網路系統包括第三光通道63。如圖7所示,第三光通道63通過光纖O5-1連接第二類光交換機OSIS5及OSIS1,並通過光纖P1-2連接第二類光交換機OSIS1及OSIS2。並且,第三光通道63經過這三台第二類光交換機OSIS5、OSIS1及OSIS2內的多個光元件(圖未標示)。其中,第三光通道63將來源為OSIS5的資料從OSIS5經由OSIS1傳遞到OSIS2的WSS,並且再藉由OSIS2的WSS傳遞到所串接的第一階層11的第一類光交換機2。 In the embodiment of FIG. 7 , the optical channel network system includes a third optical channel 63. As shown in FIG. 7 , the third optical channel 63 connects the second type optical switches OSIS5 and OSIS1 through the optical fiber O5-1, and connects the second type optical switches OSIS1 and OSIS2 through the optical fiber P1-2. Moreover, the third optical channel 63 passes through multiple optical components (not shown) in the three second type optical switches OSIS5, OSIS1 and OSIS2. Among them, the third optical channel 63 transmits the data from OSIS5 from OSIS5 to the WSS of OSIS2 through OSIS1, and then transmits it to the first type optical switch 2 of the first layer 11 connected in series through the WSS of OSIS2.

當中央處理單元421偵測到第三光通道63為故障通道時,即可藉由上述編碼來列出第三光通道63經過的所有構成零件8,並且判斷哪些構成 零件8可能為故障零件9。值得一提的是,為便於理解,圖7中沒有繪出OSIS2所連接的第一階層11的一或多台第一類光交換機2。於一實施例中,若第三光通道63為故障通道時,中央處理單元421會列出第三光通道63經過的所有第二類光交換機3的構成零件8以及所有第一類光交換機2的構成零件8,而不以圖7所示者為限。 When the central processing unit 421 detects that the third optical channel 63 is a faulty channel, it can list all components 8 that the third optical channel 63 passes through by the above coding, and determine which components 8 may be faulty components 9. It is worth mentioning that, for ease of understanding, one or more first-class optical switches 2 of the first layer 11 connected to OSIS2 are not shown in FIG7. In one embodiment, if the third optical channel 63 is a faulty channel, the central processing unit 421 will list all components 8 of the second-class optical switches 3 and all components 8 of the first-class optical switches 2 that the third optical channel 63 passes through, and is not limited to those shown in FIG7.

續請參閱圖8及圖9,其中圖8為本發明的錯誤偵測方法的流程圖的第一實施範例,圖9為本發明的通道示意圖的第三實施範例。在已知拓樸架構記錄了所有構成零件8的編碼的前提下,下面將結合圖8及圖9的實施例對本發明的錯誤偵測方法進行更詳細的技術說明。 Please refer to Figures 8 and 9, where Figure 8 is a first embodiment of the flow chart of the error detection method of the present invention, and Figure 9 is a third embodiment of the channel schematic diagram of the present invention. Under the premise that the topology architecture records the coding of all components 8, the error detection method of the present invention will be described in more detail below in combination with the embodiments of Figures 8 and 9.

如圖8所示,首先,在光通道網路系統啟動後,控制器4執行故障診斷演算法410(步驟S81),以持續監控光通道網路系統中的所有通道(步驟S82),並且持續判斷是否有故障通道出現(步驟S83)。若沒有偵測到故障通道,則光通道網路系統可以持續進行資料的傳輸,並且中央處理單元421通過故障診斷演算法410持續監控這些通道。 As shown in FIG8 , first, after the optical channel network system is started, the controller 4 executes the fault diagnosis algorithm 410 (step S81) to continuously monitor all channels in the optical channel network system (step S82), and continuously determine whether a faulty channel appears (step S83). If no faulty channel is detected, the optical channel network system can continue to transmit data, and the central processing unit 421 continues to monitor these channels through the fault diagnosis algorithm 410.

於一實施例中,故障診斷演算法410被執行後,會持續監控複數通道的接收端與傳送端。當故障診斷演算法410偵測到任一通道的傳送端有傳送資料,但是接收端卻沒有收到對應的資料時,即可判斷這條通道經過了至少一個故障零件,而轉變為故障通道。於一實施例中,故障診斷演算法410是於偵測到任一通道的接收端的資料量與傳送端的資料量的差異大於門檻值時,認定這條通道為故障通道。 In one embodiment, after the fault diagnosis algorithm 410 is executed, it will continuously monitor the receiving end and the transmitting end of multiple channels. When the fault diagnosis algorithm 410 detects that the transmitting end of any channel has transmitted data, but the receiving end has not received the corresponding data, it can be determined that the channel has passed through at least one faulty component and has become a faulty channel. In one embodiment, the fault diagnosis algorithm 410 determines that the channel is a faulty channel when it detects that the difference between the data volume of the receiving end and the data volume of the transmitting end of any channel is greater than a threshold value.

值得一提的是,光通道網路系統中的每一條通道是分別將資料由來源光交換機(可能為第一類光交換機2或第二類光交換機3)傳遞至目的地光交 換機(可能為第一類光交換機2或第二類光交換機3)。於上述實施例中,通道的傳送端可為來源光交換機上的一個輸出埠,而通道的接收端可為目的地光交換機上的一個輸入埠。惟,上述僅為本發明的一個具體實施範例,但並不以此為限。 It is worth mentioning that each channel in the optical channel network system transmits data from the source optical switch (which may be the first type optical switch 2 or the second type optical switch 3) to the destination optical switch (which may be the first type optical switch 2 or the second type optical switch 3). In the above embodiment, the transmission end of the channel can be an output port on the source optical switch, and the receiving end of the channel can be an input port on the destination optical switch. However, the above is only a specific implementation example of the present invention, but it is not limited to this.

於圖9的實施例中,光通道網路系統包括將資料由OADS1.4傳送至OADS1.2的第一光通道71、將資料由OADS1.5傳送至OADS1.3的第二光通道72、以及將資料由OADS1.4傳送至OADS1.3的第三光通道73。於一實施例中,故障診斷演算法410於監控這三條光通道71-73後建立下列表一:

Figure 112133815-A0305-02-0016-1
In the embodiment of FIG. 9 , the optical channel network system includes a first optical channel 71 for transmitting data from OADS1.4 to OADS1.2, a second optical channel 72 for transmitting data from OADS1.5 to OADS1.3, and a third optical channel 73 for transmitting data from OADS1.4 to OADS1.3. In one embodiment, the fault diagnosis algorithm 410 establishes the following table 1 after monitoring the three optical channels 71-73:
Figure 112133815-A0305-02-0016-1

由上表一可看出,第一光通道71的傳送端資料流相同於接收端資料流,也就是說第一光通道71傳送的資料沒有資料遺失的現象,因此故障診斷演算法410可認定第一光通道71屬於正常通道。第二光通道72的傳送端資料流(2Gbps)不同於接收端資料流(0Gbps),也就是說第二光通道72無法正確地傳送資料,因此故障診斷演算法410會認定第二光通道72為故障通道。第三光通道73的傳送端資料流(1Gbps)不同於接收端資料流(0Gbps),也就是說第三光通道73無法正確地傳送資料,因此故障診斷演算法410會認定第三光通道73為故障通道。 As can be seen from Table 1 above, the transmission end data stream of the first optical channel 71 is the same as the receiving end data stream, which means that there is no data loss in the data transmitted by the first optical channel 71, so the fault diagnosis algorithm 410 can identify the first optical channel 71 as a normal channel. The transmission end data stream (2Gbps) of the second optical channel 72 is different from the receiving end data stream (0Gbps), which means that the second optical channel 72 cannot transmit data correctly, so the fault diagnosis algorithm 410 will identify the second optical channel 72 as a faulty channel. The transmission end data stream (1Gbps) of the third optical channel 73 is different from the receiving end data stream (0Gbps), which means that the third optical channel 73 cannot transmit data correctly, so the fault diagnosis algorithm 410 will identify the third optical channel 73 as a faulty channel.

回到圖8。若於步驟S83中偵測到了一或多條故障通道,中央處理單元421會讀取記憶體422中的拓樸架構,並基於拓樸架構來列出一定範圍內的所有通道所經過的所有構成零件8(步驟S84)。並且,中央處理單元421分別計算各個構成零件8的故障計數(步驟S85)。本發明中,故障計數為各個構成零件8被故障通道經過的數量。 Return to Figure 8. If one or more faulty channels are detected in step S83, the central processing unit 421 will read the topology in the memory 422 and list all components 8 passed by all channels within a certain range based on the topology (step S84). In addition, the central processing unit 421 calculates the fault count of each component 8 (step S85). In the present invention, the fault count is the number of components 8 passed by the faulty channels.

於一實施例中,中央處理單元421在步驟S84中是基於拓樸架構的內容來獲得與故障通道處於同一個POD的所有通道,並且列出這些通道所經過的所有構成零件8。 In one embodiment, the central processing unit 421 obtains all channels in the same POD as the faulty channel based on the content of the topological architecture in step S84, and lists all components 8 that these channels pass through.

於另一實施例中,中央處理單元421在步驟S84中是基於拓樸架構的內容來獲得與故障通道相同傳輸方向(包括順向或逆向)的所有通道,並且列出這些通道所經過的所有構成零件8。 In another embodiment, the central processing unit 421 obtains all channels with the same transmission direction (including forward or reverse) as the faulty channel based on the content of the topological architecture in step S84, and lists all components 8 passed by these channels.

於另一實施例中,中央處理單元421在步驟S84中是基於拓樸架構的內容來獲得與故障通道處於相同POD,並且又具有相同傳輸方向的所有通道,並且列出這些通道所經過的所有構成零件8。 In another embodiment, the central processing unit 421 obtains all channels that are in the same POD as the faulty channel and have the same transmission direction based on the content of the topological architecture in step S84, and lists all components 8 that these channels pass through.

於圖9的實施例中,第一光通道71從OADS1.4開始,依序通過光纖P1B4-3、OADS1.3中的W1、光纖P1B3-2及OADS1.2中的W3。第二光通道72從OADS1.5開始,依序通過光纖P1B5-4、OADS1.4中的W1、光纖P1B4-3及OADS1.3中的W3。第三光通道73從OADS1.4開始,依序通過光纖P1B4-3及OADS1.3中的W1。 In the embodiment of FIG. 9 , the first optical channel 71 starts from OADS1.4 and passes through the optical fiber P1B4-3, W1 in OADS1.3, optical fiber P1B3-2, and W3 in OADS1.2 in sequence. The second optical channel 72 starts from OADS1.5 and passes through the optical fiber P1B5-4, W1 in OADS1.4, optical fiber P1B4-3, and W3 in OADS1.3 in sequence. The third optical channel 73 starts from OADS1.4 and passes through the optical fiber P1B4-3 and W1 in OADS1.3 in sequence.

於步驟S84中,中央處理單元421列出與故障通道(以第二光通道72及第三光通道73為例)具有上述關係的所有通道所經過的所有構成零件8,並且於步驟S85中分別計算這些構成零件8的故障計數,並產生如下表二:

Figure 112133815-A0305-02-0018-2
In step S84, the central processing unit 421 lists all components 8 that have the above relationship with the faulty channel (for example, the second optical channel 72 and the third optical channel 73) and passes through all the channels, and in step S85, calculates the fault counts of these components 8 respectively, and generates the following Table 2:
Figure 112133815-A0305-02-0018-2

如上表二所示,光纖P1B5-4以及OADS1.4的W1被第二光通道72經過,因此故障計數為1;光纖P1B4-3及OADS1.3的W3被第二光通道72及第三光通道73經過,因此故障計數為2;光纖P1B3-2、OADS1.2的W1及OADS1.3的W1沒有被任何故障通道(即第二光通道72與第三光通道73)經過,因此故障計數為0。 As shown in Table 2 above, optical fiber P1B5-4 and W1 of OADS1.4 are passed by the second optical channel 72, so the fault count is 1; optical fiber P1B4-3 and W3 of OADS1.3 are passed by the second optical channel 72 and the third optical channel 73, so the fault count is 2; optical fiber P1B3-2, W1 of OADS1.2 and W1 of OADS1.3 are not passed by any faulty channel (i.e., the second optical channel 72 and the third optical channel 73), so the fault count is 0.

另外,如前文所述,同一台光交換機中的多個WSS可以以同一顆WSS Array來實現。其中,OADS1.3的WSS Array包含了OADS1.3的W3,因此故障計數為2,而OADS1.4的WSS Array包含了OADS1.4的W1,因此故障計數為1。 In addition, as mentioned above, multiple WSSs in the same optical switch can be implemented with the same WSS Array. Among them, the WSS Array of OADS1.3 includes W3 of OADS1.3, so the fault count is 2, and the WSS Array of OADS1.4 includes W1 of OADS1.4, so the fault count is 1.

藉由產生上述表二,中央處理單元421可以統計各個構成零件8為故障零件9的可能性。於一實施例中,中央處理單元421直接輸出故障計數非零的所有構成零件8,以令使用者知曉故障零件9的候選列表。如此一來,可以有效縮小故障零件的可能範圍。通過本發明的錯誤偵測方法,使用者不需 要在故障通道出現時以人為方式或使用額外的工具來檢測整個光通道網路系統,而可節省系統的維護時間及成本。 By generating the above Table 2, the central processing unit 421 can count the possibility that each component 8 is a faulty component 9. In one embodiment, the central processing unit 421 directly outputs all components 8 with non-zero fault counts to let the user know the candidate list of faulty components 9. In this way, the possible range of faulty components can be effectively narrowed. Through the error detection method of the present invention, the user does not need to manually detect the entire optical channel network system or use additional tools when a faulty channel occurs, which can save system maintenance time and cost.

回到圖8。於另一實施例中,中央處理單元421在步驟S85後,會進一步對被列出的所有構成零件8進行二次檢測。具體地,中央處理單元421檢測被列出的各個構成零件8是否被複數通道中的任一正常通道(例如圖9中的第一光通道71)經過。若有任一構成零件8被複數通道中的任一正常通道經過時,中央處理單元421會將這個構成零件8的故障計數設定為零(步驟S86)。本發明中,正常通道同樣會經過多個構成零件8,而這個正常通道所經過的所有構成零件8皆不可能是故障零件9;若這些構成零件8的故障計數非零,必定是統計錯誤,因此需將故障計數歸零,以符合現實。 Return to FIG. 8. In another embodiment, the central processing unit 421 will further perform secondary inspection on all listed components 8 after step S85. Specifically, the central processing unit 421 detects whether each listed component 8 is passed by any normal channel in the plurality of channels (e.g., the first optical channel 71 in FIG. 9). If any component 8 is passed by any normal channel in the plurality of channels, the central processing unit 421 will set the fault count of this component 8 to zero (step S86). In the present invention, a normal channel will also pass through multiple components 8, and all components 8 passed by this normal channel cannot be faulty components 9; if the fault counts of these components 8 are non-zero, it must be a statistical error, so the fault counts need to be reset to zero to conform to reality.

於步驟S86後,中央處理單元421可將上表二更新為下表三:

Figure 112133815-A0305-02-0019-3
After step S86, the central processing unit 421 may update the above table 2 to the following table 3:
Figure 112133815-A0305-02-0019-3

如表三所示,由於光纖P1B4-3被正常的第一光通道71經過,因此中央處理單元421將光纖P1B4-3的故障計數設定為零。由於OADS1.3的W1 被正常的第一光通道71經過,而OADS1.3的WSS Array包含了OADS1.3的W1,因此中央處理單元421將OADS1.3的WSS Array的故障計數設定為零。 As shown in Table 3, since the optical fiber P1B4-3 is passed by the normal first optical channel 71, the central processing unit 421 sets the fault count of the optical fiber P1B4-3 to zero. Since W1 of OADS1.3 is passed by the normal first optical channel 71, and the WSS Array of OADS1.3 includes W1 of OADS1.3, the central processing unit 421 sets the fault count of the WSS Array of OADS1.3 to zero.

於步驟S86後,中央處理單元421可以得知可能的故障零件為光纖P1B5-4、OADS1.3的W3及OADS1.4的W1(包含OADS1.4的WSS Array)的至少其中之一。此時,中央處理單元421可以直接輸出這些故障零件的候選列表,或是基於光通道網路系統的設定值來進一步決定輸出方式。 After step S86, the central processing unit 421 can know that the possible faulty component is at least one of the optical fiber P1B5-4, W3 of OADS1.3, and W1 of OADS1.4 (including the WSS Array of OADS1.4). At this time, the central processing unit 421 can directly output the candidate list of these faulty components, or further determine the output method based on the setting value of the optical channel network system.

於圖8的實施例中,中央處理單元421可以基於預設參數來確認光通道網路系統的容忍故障零件數量(步驟S87)。假若使用者限制系統的容忍故障零件數量僅為一個,則中央處理單元421輸出故障計數最大的構成零件8(步驟S88)。於圖9的實施例中,中央處理單元421輸出故障計數為2的OADS1.3的W3做為故障零件的候選。 In the embodiment of FIG8 , the central processing unit 421 can confirm the number of faulty components that the optical channel network system can tolerate based on preset parameters (step S87). If the user limits the number of faulty components that the system can tolerate to only one, the central processing unit 421 outputs the component 8 with the largest fault count (step S88). In the embodiment of FIG9 , the central processing unit 421 outputs W3 of OADS1.3 with a fault count of 2 as a candidate for the faulty component.

假若使用者限制系統的容忍故障零件數量大於一個,則中央處理單元421對故障計數非零的所有構成零件8進行排序後,輸出這些構成零件8以做為故障零件9的列表(步驟S89)。於圖9的實施例中,中央處理單元421依序輸出故障計數為2的OADS1.3的W3、故障計數為1的光纖P1B5-4、故障計數為1的OADS1.4的W1、以及故障計數為1的OADS1.4的WSS Array,做為故障零件的候選列表。其中,故障計數越高的構成零件8,其可能為故障零件的機率越高。中央處理單元421藉由對故障計數非零的構成零件8進行排序,可以協助維修人員進行較有效率的檢修動作。 If the user limits the number of faulty parts tolerated by the system to be greater than one, the central processing unit 421 sorts all components 8 with non-zero fault counts and outputs these components 8 as a list of faulty components 9 (step S89). In the embodiment of FIG. 9 , the central processing unit 421 sequentially outputs W3 of OADS1.3 with a fault count of 2, optical fiber P1B5-4 with a fault count of 1, W1 of OADS1.4 with a fault count of 1, and WSS Array of OADS1.4 with a fault count of 1 as a candidate list of faulty components. Among them, the higher the fault count of the component 8, the higher the probability that it may be a faulty component. By sorting the components 8 with non-zero fault counts, the central processing unit 421 can assist maintenance personnel in performing more efficient maintenance operations.

通過本發明的光通道網路系統以及其錯誤偵測方法,可以在不需要額外硬體元件的情況下,僅以軟體方式進行偵測,即縮小故障零件的可能範圍 (當容忍故障零件數量大於一時),或是直接定位出故障零件的位置(當容忍故障零件數量為一時),藉此節省系統的維護時間及成本。 Through the optical channel network system and its error detection method of the present invention, it is possible to perform detection only in a software manner without the need for additional hardware components, that is, to narrow the possible range of faulty parts (when the number of faulty parts tolerable is greater than one), or directly locate the position of the faulty parts (when the number of faulty parts tolerable is one), thereby saving system maintenance time and cost.

以上所述僅為本發明之較佳具體實例,非因此即侷限本發明之專利範圍,故舉凡運用本發明內容所為之等效變化,均同理皆包含於本發明之範圍內,合予陳明。 The above is only a better specific example of the present invention, and does not limit the patent scope of the present invention. Therefore, all equivalent changes made by applying the content of the present invention are also included in the scope of the present invention and are hereby stated.

S51~S55:偵測步驟 S51~S55: Detection steps

Claims (15)

一種光通道網路系統的錯誤偵測方法,應用於一光通道網路系統,該光通道網路系統包括複數光交換機及連接該複數光交換機的複數光纖,該錯誤偵測方法包括:a)檢測該光通道網路系統的複數通道(tunnel)是否包含會造成資料遺失的一故障通道,其中各該通道分別經過複數構成零件;b)於檢測到一或多條該故障通道時,查詢該一或多條故障通道的一定範圍中的所有該通道所經過的該複數構成零件;c)分別計算查詢所得的各該構成零件的一故障計數,其中該故障計數代表各該構成零件分別被該一或多條故障通道經過的數量;及d)該步驟c)後,輸出該故障計數非零的一或多個該構成零件。 An error detection method for an optical channel network system is applied to an optical channel network system, wherein the optical channel network system includes a plurality of optical switches and a plurality of optical fibers connected to the plurality of optical switches. The error detection method comprises: a) detecting whether a plurality of channels (tunnels) of the optical channel network system include a fault channel that causes data loss, wherein each of the channels passes through a plurality of components; b) detecting whether a fault channel causes data loss; and When one or more faulty channels are detected, query the multiple components that all channels within a certain range of the one or more faulty channels pass through; c) calculate a fault count of each component obtained from the query, wherein the fault count represents the number of components that are passed through by the one or more faulty channels; and d) after step c), output the one or more components whose fault count is non-zero. 如請求項1所述的錯誤偵測方法,其中各該通道分別經過該複數光纖之一及該複數光交換機之一中的至少一光元件。 The error detection method as described in claim 1, wherein each of the channels passes through at least one optical element in one of the plurality of optical fibers and one of the plurality of optical switches. 如請求項1所述的錯誤偵測方法,其中該步驟a)包括持續監控該複數通道的一傳送端及一接收端,並且於任一該通道的該接收端的資料量與該傳送端的資料量的差異大於門檻值時認定該通道為該故障通道。 The error detection method as described in claim 1, wherein the step a) includes continuously monitoring a transmitting end and a receiving end of the plurality of channels, and identifying the channel as the faulty channel when the difference between the data volume of the receiving end and the data volume of the transmitting end of any channel is greater than a threshold value. 如請求項1所述的錯誤偵測方法,其中該步驟b)包括查詢與該一或多條故障通道處於同一個光交換機群體POD的所有該通道所經過的該複數構成零件。 The error detection method as described in claim 1, wherein the step b) includes querying the multiple components passed by all the channels in the same optical switch group POD as the one or more faulty channels. 如請求項1所述的錯誤偵測方法,其中該步驟b)包括查詢與該一或多條故障通道具有相同傳輸方向的所有該通道所經過的該複數構成零件。 The error detection method as described in claim 1, wherein the step b) includes querying the plurality of components passed by all the channels having the same transmission direction as the one or more faulty channels. 如請求項1所述的錯誤偵測方法,其中該步驟b)包括查詢預先記錄的一拓樸架構以獲得一定範圍中的所有該通道所經過的該複數構成零件,其中該拓樸架構記錄該光通道網路系統中所有該構成零件的位置及連接關係。 The error detection method as described in claim 1, wherein the step b) includes querying a pre-recorded topology structure to obtain the plurality of components that all the channels within a certain range pass through, wherein the topology structure records the positions and connection relationships of all the components in the optical channel network system. 如請求項1所述的錯誤偵測方法,其中該步驟c)之後更包括一步驟c1):於任一該構成零件被該複數通道中的任一正常通道經過時,將該構成零件的該故障計數設定為零。 The error detection method as described in claim 1, wherein the step c) further includes a step c1): when any of the component parts passes through any normal channel in the plurality of channels, the fault count of the component part is set to zero. 如請求項1所述的錯誤偵測方法,其中該步驟d)包括:d1)於預設的一容忍故障零件數量為一時,輸出該故障計數最大的該構成零件;及d2)於預設的該容忍故障零件數量大於一時,對該故障計數非零的所有該構成零件進行排序後輸出。 The error detection method as described in claim 1, wherein the step d) includes: d1) when the preset number of fault-tolerant parts is one, outputting the component with the largest fault count; and d2) when the preset number of fault-tolerant parts is greater than one, sorting and outputting all the component parts with non-zero fault counts. 一種具有錯誤偵測功能的光通道網路系統,包括:至少二光交換機,分別具有複數光元件;複數光纖,連接該至少二光交換機;複數通道,分別經過複數構成零件,用以於該至少二光交換機傳遞資料;一記憶體,記錄每一通道及各該通道所經過的該等構成零件;及一中央處理單元,被配置來於檢測到該複數通道包含會造成資料遺失的一或多條故障通道時,參考該記憶體來獲得一定範圍中的所有該通道所經過的該複數構成零件,並計算各該構成零件分別被該一或多條故障通道經過的一故障計數,再輸出該故障計算非零的一或多個該構成零件。 An optical channel network system with an error detection function includes: at least two optical switches, each having a plurality of optical elements; a plurality of optical fibers connecting the at least two optical switches; a plurality of channels, each passing through a plurality of components, for transmitting data in the at least two optical switches; a memory, recording each channel and the components passed by each channel; and a central processing unit, configured to refer to the memory to obtain the plurality of components passed by all the channels within a certain range when detecting that the plurality of channels include one or more faulty channels that will cause data loss, and calculate a fault count of each component passed by the one or more faulty channels, and then output the one or more components whose fault counts are non-zero. 如請求項9所述的光通道網路系統,其中各該通道至少經過該複數光纖之一及該複數光元件之一。 An optical channel network system as described in claim 9, wherein each of the channels passes through at least one of the plurality of optical fibers and one of the plurality of optical elements. 如請求項9所述的光通道網路系統,其中該中央處理單元被配置來執行一故障診斷演算法以持續監控該複數通道的一傳送端及一接收端,並且於任一該通道的該接收端的資料量與該傳送端的資料量的差異大於門檻值時,認定該通道為該故障通道;其中,每一該通道分別被配置來將資料由一來源光交換機傳遞至一目的地光交換機,該傳送端為該來源光交換機的一輸出埠,並且該接收端為該目的地光交換機的一輸入埠。 The optical channel network system as described in claim 9, wherein the central processing unit is configured to execute a fault diagnosis algorithm to continuously monitor a transmission end and a receiving end of the plurality of channels, and when the difference between the data volume of the receiving end and the data volume of the transmission end of any channel is greater than a threshold value, the channel is identified as the faulty channel; wherein each of the channels is respectively configured to transmit data from a source optical switch to a destination optical switch, the transmission end is an output port of the source optical switch, and the receiving end is an input port of the destination optical switch. 如請求項9所述的光通道網路系統,其中該一定範圍為與該一或多條故障通道處於同一個光交換機群體POD的所有該通道,或是與該一或多條故障通道具有相同傳輸方向的所有該通道。 The optical channel network system as described in claim 9, wherein the certain range is all the channels in the same optical switch group POD as the one or more faulty channels, or all the channels having the same transmission direction as the one or more faulty channels. 如請求項9所述的光通道網路系統,其中該中央處理單元被配置來於檢測到該一或多條故障通道時,讀取該記憶體中的一拓樸架構以獲得該一定範圍中的所有該通道所經過的該複數構成零件,其中該拓樸架構記錄該光通道網路系統中所有該構成零件的位置及連接關係。 The optical channel network system as described in claim 9, wherein the central processing unit is configured to read a topological structure in the memory to obtain the plurality of components passed by all the channels in the certain range when the one or more faulty channels are detected, wherein the topological structure records the positions and connection relationships of all the components in the optical channel network system. 如請求項9所述的光通道網路系統,其中該中央處理單元被配置來於任一該構成零件被該複數通道中的任一正常通道經過時,將該構成零件的該故障計數設定為零。 An optical channel network system as described in claim 9, wherein the central processing unit is configured to set the fault count of any component to zero when any component is passed by any normal channel among the plurality of channels. 如請求項9所述的光通道網路系統,其中該中央處理單元被配置來於預設的一容忍故障零件數量為一時輸出該故障計數最大的該構成零件,並且於預設的該容忍故障零件數量大於一時對該故障計數非零的所有該構成零件進行排序後輸出。 The optical channel network system as described in claim 9, wherein the central processing unit is configured to output the component with the largest fault count when the preset number of fault-tolerant components is one, and to sort and output all the component components with non-zero fault counts when the preset number of fault-tolerant components is greater than one.
TW112133815A 2023-09-06 2023-09-06 Optical tunnel network system and fault diagnosis method for the same TWI856808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112133815A TWI856808B (en) 2023-09-06 2023-09-06 Optical tunnel network system and fault diagnosis method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112133815A TWI856808B (en) 2023-09-06 2023-09-06 Optical tunnel network system and fault diagnosis method for the same

Publications (2)

Publication Number Publication Date
TWI856808B true TWI856808B (en) 2024-09-21
TW202512680A TW202512680A (en) 2025-03-16

Family

ID=93649176

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112133815A TWI856808B (en) 2023-09-06 2023-09-06 Optical tunnel network system and fault diagnosis method for the same

Country Status (1)

Country Link
TW (1) TWI856808B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200814566A (en) * 2006-09-08 2008-03-16 Inventec Multimedia & Telecom Optical fiber monitoring system and method incorporated with failure automatic protection mechanism
TWI814662B (en) * 2022-12-09 2023-09-01 中華電信股份有限公司 Error determination system and error determination method for passive optical network and computer program product thereof
CN116707634A (en) * 2022-06-28 2023-09-05 贵州电网有限责任公司 A method for all-optical link fault location

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200814566A (en) * 2006-09-08 2008-03-16 Inventec Multimedia & Telecom Optical fiber monitoring system and method incorporated with failure automatic protection mechanism
CN116707634A (en) * 2022-06-28 2023-09-05 贵州电网有限责任公司 A method for all-optical link fault location
TWI814662B (en) * 2022-12-09 2023-09-01 中華電信股份有限公司 Error determination system and error determination method for passive optical network and computer program product thereof

Also Published As

Publication number Publication date
TW202512680A (en) 2025-03-16

Similar Documents

Publication Publication Date Title
CN110493042B (en) Fault diagnosis method and device and server
TWI741505B (en) Topology processing method, device and system
US20200106662A1 (en) Systems and methods for managing network health
US7082554B2 (en) System and method for providing error analysis and correlation in a network element
JPH0793624B2 (en) Device and method for isolating and analyzing faults in link coupling systems
CA2434860A1 (en) Remotely monitoring a data processing system via a communications network
KR20090104046A (en) Network fault detection and protection switching
US7779306B1 (en) Method for automatically diagnosing hardware faults in a data storage system
CN100495978C (en) Method and device for fault location in communication network
CN115499294B (en) A distributed storage environment network sub-health detection and fault automatic processing method
CN111030851B (en) Management method, equipment and readable medium for network diagnosis recovery
TWI856808B (en) Optical tunnel network system and fault diagnosis method for the same
JP2021125757A5 (en)
US10409686B2 (en) Apparatus and method to determine plural locations in communication circuits at which failures have occurred
CN117376107A (en) An intelligent network management method, system, computer equipment and media
US11477070B1 (en) Identifying root causes of network service degradation
CN116340045A (en) Database exception processing method, device, equipment and computer-readable storage medium
CN112637010B (en) Equipment checking method and device
JP4024607B2 (en) Optical cross-connect device
US12531634B2 (en) Optical tunnel network system and fault diagnosis method for the same
CN1838617A (en) Automatic test method for network protection system of optical SDH
US7580998B2 (en) Method for describing problems in a telecommunications network
CN117714325A (en) Network monitoring method and device for server cluster, electronic equipment and storage medium
US20030061199A1 (en) System and method of selecting sources for a network element having redundant sources
KR20160115006A (en) Apparatus and method for protection switching of optical line