Optical channel network system and error detection method thereof

By detecting fault channels in the optical channel network system and calculating the fault count of the components, the problem that it is difficult to quickly locate faults in the optical channel network system is solved, and rapid and accurate fault positioning and maintenance efficiency are improved.

CN119582943APending Publication Date: 2025-03-07DELTA ELECTRONICS INC(CN)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311145815.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

When a faulty channel occurs in an optical channel, it is difficult to quickly and accurately determine the range and location of the faulty optical fiber or optical components, resulting in inconvenient system maintenance.

Method used

An error detection method is adopted to detect whether multiple channels of the optical channel network system contain fault channels, query the components passing through the fault channel, calculate the fault count of each component, and output components with non-zero fault count.

Benefits of technology

Without the need for additional hardware components, faulty parts can be quickly positioned, reducing the time and cost of system maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119582943A_ABST
    Figure CN119582943A_ABST
Patent Text Reader

Abstract

An error detection method of an optical channel network system is applied to the optical channel network system comprising a plurality of optical switches and a plurality of optical fibers connected with the plurality of optical switches, and comprises the following steps: detecting whether a plurality of channels of the optical channel network system comprise a fault channel, each channel respectively passing through a plurality of constituent parts; when the fault channel is detected, all constituent parts passed by all channels in a certain range of the fault channel are inquired; fault counts of all the constituent parts are calculated respectively, wherein the fault counts represent the number of the constituent parts passed by the fault channels; and outputting one or more constituent parts with non-zero fault counts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an optical channel network system, and in particular to an error detection method for the optical channel network system, and an optical channel network system using the error detection method. Background Art

[0002] The Optical-Tunnel-Network System (OPTUNS) is composed of multiple optical switches, including the first-class optical switches (such as OADS) located at the first tier (Tier 1) and the second-class optical switches (such as OSIS) located at the second tier (Tier 2). These optical switches are connected to each other through optical fibers, and each optical switch contains a large number of optical components.

[0003] When any optical fiber in the OPTUNS or any optical element in any optical switch fails, the related channel (tunnel) will not be able to operate normally, thereby generating a faulty tunnel. That is, the channel is abnormal and cannot transmit data correctly.

[0004] However, unlike general electronic components, OPTUNS currently uses software algorithm detection to detect whether optical components are damaged. The advantage of software algorithm error detection is that no additional hardware components are required to reduce the design cost of the system. 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 failed optical fiber or optical component, which will cause great inconvenience in system maintenance. Summary of the invention

[0005] 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 out the faulty parts when an optical channel abnormality occurs.

[0006] In order to achieve the above-mentioned object, 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 connecting the plurality of optical switches, and the error detection method includes the following steps:

[0007] a) detecting whether a plurality of channels (tunnels) of the optical channel network system include a faulty channel that may cause data loss, wherein each of the channels passes through a plurality of components;

[0008] b) when one or more faulty channels are detected, querying the plurality of components passed by all the channels within a certain range of the one or more faulty channels;

[0009] c) respectively calculating a fault count of each of the constituent parts obtained by the query, wherein the fault count represents the number of each of the constituent parts respectively passed by the one or more fault channels; and

[0010] d) After step c), outputting one or more of the constituent parts having a non-zero fault count.

[0011] In order to achieve the above object, the optical channel network system of the present invention comprises:

[0012] at least two optical switches, each having a plurality of optical components;

[0013] A plurality of optical fibers connecting the at least two optical switches;

[0014] A plurality of channels, passing through a plurality of components respectively, for transmitting data between the at least two optical switches;

[0015] a memory for recording each channel and the plurality of components through which each channel passes; and

[0016] A central processing unit is configured to refer to the memory to obtain the multiple components passed by all the channels within a certain range when it is detected that the multiple 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 count is non-zero.

[0017] Compared with the related art, the technical effect achieved by the present invention is to detect the faulty channel and locate the faulty parts without using additional hardware components, thereby greatly reducing the time and cost required for system maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a system architecture diagram of the optical channel network system.

[0019] Figure 2 This is a specific implementation example of the block diagram of the first type of optical switch of the present invention.

[0020] Figure 3 This is a specific implementation example of the block diagram of the second type of optical switch of the present invention.

[0021] Figure 4A It is a first specific implementation example of a block diagram of an optical channel network system of the present invention.

[0022] Figure 4B The block diagram of the optical channel network system of the present invention is a second specific implementation example.

[0023] Figure 5FIG. 1 is a flowchart of the error detection method of the present invention.

[0024] Figure 6 This is a first exemplary embodiment of the channel schematic diagram of the present invention.

[0025] Figure 7 This is a second exemplary embodiment of the channel diagram of the present invention.

[0026] Figure 8 FIG. 1 is a flowchart of the error detection method of the present invention.

[0027] Fig. 9 This is a third exemplary embodiment of the channel schematic diagram of the present invention.

[0028] Description of reference numerals:

[0029] 11…First level

[0030] 12…Second level

[0031] 2…Type I optical switch

[0032] 201…Forward transmission channel

[0033] 202…Reverse transmission channel

[0034] 21…Forward Type I Optical Switch

[0035] 22…Reverse Type 1 Optical Switch

[0036] 23…Wavelength Selective Switch

[0037] 24…Fiber Optic

[0038] 3…Type II optical switch

[0039] 31…Wavelength Selective Switch Array

[0040] 32…Fiber Optic

[0041] 4…Controller

[0042] 41…Software

[0043] 410…Fault diagnosis algorithm

[0044] 4100…List

[0045] 42…Hardware

[0046] 421…Central Processing Unit

[0047] 422…Memory

[0048] 61, 71…First optical channel

[0049] 62, 72…Second optical channel

[0050] 63, 73…The third optical channel

[0051] 8…Components

[0052] 9…Faulty parts

[0053] S51~S55, S81~S89...Detection steps DETAILED DESCRIPTION

[0054] A preferred embodiment of the present invention is described in detail below with reference to the accompanying drawings.

[0055] The present invention discloses an optical-tunnel-network system (OPTUNS) with an error detection function, which can detect a faulty tunnel that cannot correctly transmit data by software, and narrow down the possible range of the faulty parts, or directly locate the position of the faulty parts in the optical-tunnel network system.

[0056] See also Figure 1 , is the system architecture diagram of the optical channel network system. Figure 1 As shown, 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 optical switch 2, and the second tier 12 is composed of a second type optical switch 3. In one embodiment, the first type optical switch 2 can be implemented by OADS, and the second type optical switch 3 can be implemented by OSIS, but it is not limited thereto.

[0057] At Figure 1 In the embodiment of FIG. 1 , the first layer 11 is composed of five first-class optical switches 2 forming a TOR, and the first layer 11 may include multiple TORs. Figure 1 As shown, a first type optical switch 2 can include two logically completely separated optical switches in the housing. Therefore, five first type optical switches 2 can actually form two TORs ( Figure 1 The solid circle and the dotted circle represent two separate TORs).

[0058] like Figure 1 As shown, each first type optical switch 2 in the same TOR is connected to each other through optical fibers. Each second type optical switch 3 is also connected to each other through optical fibers to form a TOR. The first type optical switch 2 of each TOR is connected to the same second type optical switch 3 through optical fibers, thereby, the optical channel network system can connect the first type optical switches 2 of multiple TORs of the first layer 11 in series by the second type optical switches 3 of the second layer 12.

[0059] In the present invention, each optical switch (including the first type optical switch 2 and the second type optical switch 3) has multiple optical components inside, and the optical channel network system is set to form multiple optical channels (Optical-Tunnel) for transmitting data through multiple optical components and multiple 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 parts by software, or directly locate the position of the faulty parts.

[0060] See also Figure 2 and Figure 3 ,in Figure 2 is a specific implementation example of the block diagram of the first type of optical switch of the present invention, Figure 3 This is a specific implementation example of the block diagram of the second type of optical switch of the present invention.

[0061] like Figure 2 As shown, the housing of each first-class optical switch 2 contains 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 respectively have multiple optical components, including a wavelength selective switch (Wavelength Selective Switch, WSS) 23, a multiplexer (MUX), a demultiplexer (DEMUX), an erbium-doped fiber amplifier (Erbium-Doped Fiber Amplifier, EDFA), etc., but not limited to them. 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.

[0062] In one embodiment, the forward first type optical switch 21 is connected to the adjacent forward first type optical switch 21 in the same TOR through the optical fiber 24, thereby forming one or more forward transmission channels 201 in the TOR. Similarly, the reverse first type optical switch 21 is connected to the adjacent reverse first type optical switch 21 in the same TOR through the optical fiber 24, thereby forming one or more reverse transmission channels 202 in the TOR.

[0063] 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 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 fiber amplifier or other passive optical components.

[0064] At Figure 2In the embodiment of FIG. 1 , W1 to W6 are multiple wavelength selective switches 23 connected to the optical fiber 24, and these wavelength selective switches 23 can be implemented in an array inside the first type optical switch 2. That is, multiple wavelength selective switches 23 exist together in a single wavelength selective switch array.

[0065] like Figure 3 As shown, each second type optical switch 3 includes at least two wavelength selective switch arrays 31, wherein the first wavelength selective switch array includes at least seven wavelength selective switches A1-A7, and the second wavelength selective switch array includes at least seven wavelength selective switches B1-B7. Similar to the first type optical switch 2, each second type optical switch 3 is connected to each other through one or more optical fibers 32 to form a TOR, and is connected to the first type optical switch 2 of the first layer 11 through one or more optical fibers 32 to cascade multiple TORs of the first layer 11.

[0066] 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 by software which optical element or which optical fiber fails, causing the normal channel to become the faulty channel.

[0067] See also Figure 4A and Figure 4B , respectively, are 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. Figure 4A and Figure 4B As shown, the optical channel network system of the present invention includes two types of multiple optical switches (including a first type of optical switch 2 and / or a second type of optical switch 3) and a controller 4. In one embodiment, the controller 4 is a software-defined network (SDN) controller.

[0068] 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 components (such as the aforementioned WSS, MUX, DEMUX, etc.), and the plurality of optical fibers are connected to the optical components 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 components), thereby transmitting data in at least two optical switches 2 and 3.

[0069] like Figure 4AAs shown, 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 at least include 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 of the operation process of the central processing unit 422.

[0070] The software part 41 of the controller 4 at least includes 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 determine the changes of all optical channels in the optical channel network system. Once a fault channel is generated 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.

[0071] Finally, if Figure 4A and Figure 4B As shown, 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.

[0072] 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.

[0073] 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 may cause data loss by executing the fault diagnosis algorithm 410.

[0074] 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 the components 8 passed by all the 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.

[0075] Please also see Figure 5 , which is a first implementation example of a flowchart of the error detection method of the present invention. Figure 5 The specific execution steps of the error detection method of the present invention are disclosed, wherein the error detection method can be mainly performed by Figures 1 to 4A and Figure 4B The components of the optical channel network system shown are implemented.

[0076] like Figure 5 As shown, 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 a faulty channel that may cause data loss is included in the multiple channels (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.

[0077] 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 times each component 8 is passed by one or more faulty channels. The higher the fault count, the higher the possibility that this component 8 is a faulty component 9; the lower the fault count, the lower the possibility that this component 8 is a faulty component 9. A fault count of zero means that this component 8 cannot be a faulty component 9.

[0078] After step S54, the central processing unit 421 outputs all components 8 whose failure counts are non-zero (step S55).

[0079] 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.

[0080] See also Figure 6 , which is a first implementation example of the channel schematic diagram of the present invention. Figure 6 Taking the first type of optical switch 2 as an example, the channel of the present invention is described in detail.

[0081] As described above, in order to list the candidate list of all components 8 related to the faulty channel when a 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 topology architecture). Figure 6 The coding is presented as a practical example.

[0082] Figure 6 A TOR of the first level 11 is disclosed, 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 TOR, 1.2 represents the second first-class optical switch in the first TOR, and so on.

[0083] As described 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 TOR are connected in series through multiple optical fibers, including P1B5-4, P1B4-3, P1B3-2, P1B2-1 and P1B1-5, wherein 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 TOR, 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 TOR, and so on.

[0084] Similarly, multiple reverse first-type optical switches 22 of the same TOR 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 switch 21 to the second reverse first-type switch 21 in the first TOR, P1R2-3 represents the optical fiber connecting the second reverse first-type switch 21 to the third reverse first-type switch 21 in the first TOR, and so on.

[0085] At Figure 6 In the embodiment of FIG. 5 , 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. Figure 6 As shown, the first optical channel 61 connects 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 connects 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.

[0086] When the central processing unit 421 detects that the first optical channel 61 is a faulty channel, all components 8 that the first optical channel 61 passes through can be listed through the above coding (for example, querying the topology architecture), and it can be determined 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, all components 8 that the second optical channel 62 passes through can also be listed through the above coding, and it can be determined which components 8 may be faulty components 9.

[0087] Please also see Figure 7 , which is a second embodiment of the channel schematic diagram of the present invention. Figure 7 Taking the second type optical switch 3 as an example, the channel of the present invention is described in detail.

[0088] 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 level 12 includes at least five serially connected second-class optical switches 3, Figure 7The embodiment shows three second-class optical switches 3, including OSIS5, OSIS1 and OSIS2, wherein OSIS5 represents the fifth second-class optical switch in the second layer 12, OSIS1 represents the first second-class optical switch in the second layer 12, and OSIS2 represents the second second-class optical switch in the second layer 12.

[0089] In the present invention, each second type optical switch 3 is connected in series with adjacent second type optical switches 3 through two types of optical fibers. Figure 7 In the embodiment, OSIS5 is connected to OSIS1 via at least four optical fibers, including O5-1, P5-1, O1-5 and P1-5, wherein O5-1 represents an optical fiber for transmitting data (Original) originating from OSIS5 from OSIS5 to OSIS1, P5-1 represents an optical fiber for transmitting data (Passthrough) passing through OSIS5 from OSIS5 to OSIS1, O1-5 represents an optical fiber for transmitting data originating from OSIS1 from OSIS1 to OSIS5, and P1-5 represents an optical fiber for transmitting data passing through OSIS1 from OSIS1 to OSIS5.

[0090] 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 originating from OSIS1 from OSIS1 to OSIS2, P1-2 represents an optical fiber that transmits data passing through OSIS1 from OSIS1 to OSIS2, O2-1 represents an optical fiber that transmits data originating from OSIS2 from OSIS2 to OSIS1, and P2-1 represents an optical fiber that transmits data passing through OSIS2 from OSIS2 to OSIS1.

[0091] In one embodiment, the multiple optical fibers between the two second type optical switches 3 can be integrated into a ribbon fiber (i.e., the dotted box in the figure). In terms of hardware, the user uses a ribbon fiber with at least four optical fibers inside to connect the 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 failed part, but also regards the ribbon fiber covering this optical fiber as a failed part (i.e., the failure count of the ribbon fiber is increased by 1), and lists this ribbon fiber in the candidate list of failed parts.

[0092] At Figure 7 In the embodiment of FIG. 5 , the optical channel network system includes a third optical channel 63. Figure 7As shown, the third optical channel 63 is connected to the second type optical switches OSIS5 and OSIS1 through the optical fiber O5-1, and is connected to the second type optical switches OSIS1 and OSIS2 through the optical fiber P1-2. In addition, 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.

[0093] When the central processing unit 421 detects that the third optical channel 63 is a faulty channel, it can list all the components 8 through which the third optical channel 63 passes through the above coding, and determine which components 8 may be the faulty components 9. It is worth mentioning that, for ease of understanding, Figure 7 The one or more first-type optical switches 2 of the first layer 11 connected to the OSIS 2 are not shown. In one embodiment, if the third optical channel 63 is a faulty channel, the central processing unit 421 lists all the components 8 of the second-type optical switches 3 and all the components 9 of the first-type optical switches 2 that the third optical channel 63 passes through, instead of Figure 7 The following are limited to those shown.

[0094] See also Figure 8 and Fig. 9 ,in Figure 8 is a first exemplary embodiment of a flowchart of an error detection method of the present invention, Fig. 9 This is a third exemplary embodiment of the channel schematic diagram of the present invention. Under the premise that the known topological architecture records the codes of all the components 8, the following will be combined with Figure 8 and Fig. 9 The error detection method of the present invention is described in more detail in the following embodiments.

[0095] like Figure 8 As shown, 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 determines 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 continuously monitors these channels through the fault diagnosis algorithm 410.

[0096] In one embodiment, after the fault diagnosis algorithm 410 is executed, the receiving end and the transmitting end of the plurality of channels are continuously monitored. 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 amount of data at the receiving end and the amount of data at the transmitting end of any channel is greater than a threshold value.

[0097] 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 may be an output end on the source optical switch, and the receiving end of the channel may be an input end on the destination optical switch. However, the above is only a specific implementation example of the present invention, but is not limited thereto.

[0098] At Fig. 9 In an embodiment, 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 an embodiment, the fault diagnosis algorithm 410 establishes the following table 1 after monitoring the three optical channels 71-73:

[0099]

[0100] Table 1

[0101] As can be seen from Table 1 above, the data flow at the transmitting end of the first optical channel 71 is the same as the data flow at the receiving end, that is, there is no data loss in the data transmitted by the first optical channel 71, so the fault diagnosis algorithm 410 can determine that the first optical channel 71 is a normal channel. The data flow at the transmitting end of the second optical channel 72 (2Gbps) is different from the data flow at the receiving end (0Gbps), that is, the second optical channel 72 cannot correctly transmit data, so the fault diagnosis algorithm 410 will determine that the second optical channel 72 is a faulty channel. The data flow at the transmitting end of the third optical channel 73 (1Gbps) is different from the data flow at the receiving end (0Gbps), that is, the third optical channel 73 cannot correctly transmit data, so the fault diagnosis algorithm 410 will determine that the third optical channel 73 is a faulty channel.

[0102] Back to Figure 8If one or more faulty channels are detected in step S83, the central processing unit 421 reads the topology in the memory 422 and lists 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 respectively (step S85). In the present invention, the fault count is the number of components 8 passed by the faulty channels.

[0103] In one embodiment, the central processing unit 421 obtains all channels in the same TOR as the faulty channel based on the content of the topology architecture in step S84, and lists all components 8 through which these channels pass.

[0104] 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 topology structure in step S84, and lists all components 8 passed by these channels.

[0105] In another embodiment, the central processing unit 421 obtains all channels that are at the same TOR as the faulty channel and have the same transmission direction based on the content of the topology architecture in step S84, and lists all components 8 that these channels pass through.

[0106] At Fig. 9 In the embodiment, the first optical channel 71 starts from OADS1.4, 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, 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, passes through the optical fiber P1B4-3 and W1 in OADS1.3 in sequence.

[0107] In step S84, the central processing unit 421 lists all components 8 that pass through all channels having the above relationship with the faulty channel (taking the second optical channel 72 and the third optical channel 73 as an example), and in step S85, respectively calculates the fault counts of these components 8, and generates the following Table 2:

[0108]

[0109]

[0110] Table 2

[0111] As shown in Table 2 above, the optical fiber P1B5-4 and W1 of OADS1.4 are passed through the second optical channel 72, so the fault count is 1; the optical fiber P1B4-3 and W3 of OADS1.3 are passed through the second optical channel 72 and the third optical channel 73, so the fault count is 2; the optical fiber P1B3-2, W1 of OADS1.2 and W1 of OADS1.3 are not passed through any faulty channel (i.e., the second optical channel 72 and the third optical channel 73), so the fault count is 0.

[0112] 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.

[0113] By generating the above table 2, the central processing unit 421 can count the possibility of each component 8 being 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 the faulty component 9. In this way, the possible range of the faulty component 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.

[0114] Back to Figure 8 In another embodiment, the central processing unit 421 further performs secondary inspection on all the listed components 8 after step S85. Specifically, the central processing unit 421 detects whether each of the listed components 8 is detected by any normal channel (e.g. Fig. 9 If any component 8 is passed through by any normal channel among the multiple 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 not zero, it must be a statistical error, so the fault counts need to be reset to zero to conform to reality.

[0115] After step S86, the central processing unit 421 may update the above Table 2 to the following Table 3:

[0116] Components Failure Count P1B5-4 1 P1B4-3 2→0 P1B3-2 0 W3 of OADS1.2 0 W1 of OADS1.3 0 W3 of OADS1.3 2 OADS1.4 W1 1 WSS Array of OADS1.2 0 WSS Array of OADS1.3 2→0 WSS Array of OADS1.4 1

[0117] Table 3

[0118] 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.

[0119] 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.

[0120] At Figure 8 In the embodiment of FIG. 4 , the central processing unit 421 can determine the number of fault-tolerant components of the optical channel network system based on the preset parameters (step S87). If the user limits the number of fault-tolerant components of the system to only one, the central processing unit 421 outputs the component 8 with the largest fault count (step S88). Fig. 9 In the embodiment, the central processing unit 421 outputs W3 of OADS1.3 with a fault count of 2 as a candidate for a faulty part.

[0121] If the user limits the number of faulty components 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). Fig. 9 In the embodiment, 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 parts. The higher the fault count of the component 8, the higher the probability that it may be a faulty part. The central processing unit 421 can assist maintenance personnel in performing more efficient maintenance actions by sorting the component 8 with non-zero fault counts.

[0122] Through the optical channel network system and its error detection method of the present invention, detection can be performed only by software without the need for additional hardware components, that is, the possible range of faulty parts can be narrowed down (when the number of tolerable faulty parts is greater than one), or the position of the faulty parts can be directly located (when the number of tolerable faulty parts is one), thereby saving system maintenance time and cost.

[0123] The above description is only a preferred specific example of the present invention, which does not limit the claims of the present invention. Therefore, all equivalent changes made using the content of the present invention are similarly included in the scope of the present invention and are hereby stated.

Claims

1. An error detection method for an optical channel network system, applied to an optical channel network system, the optical channel network system comprising a plurality of optical switches and a plurality of optical fibers connecting the plurality of optical switches, the error detection method comprising: a) detecting whether a plurality of channels of the optical channel network system include a faulty channel that may cause data loss, wherein each of the channels passes through a plurality of components; b) when one or more faulty channels are detected, querying the plurality of components passed by all the channels within a certain range of the one or more faulty channels; c) respectively calculating a fault count of each of the constituent parts obtained by the query, wherein the fault count represents the number of each of the constituent parts respectively passed by the one or more fault channels; and d) After step c), outputting one or more components having a non-zero fault count. 2 . The error detection method as claimed in claim 1 , wherein each of the channels passes through at least one optical component in one of the plurality of optical fibers and one of the plurality of optical switches. 3 .

3. The error detection method as claimed in claim 1, wherein the step a) comprises 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.

4. The error detection method as claimed in claim 1, wherein the step b) comprises querying the plurality of components through which all the channels in the same TOR as the one or more faulty channels pass. 5 . The error detection method as claimed in claim 1 , wherein the step b) comprises querying the plurality of components through which all the channels having the same transmission direction as the one or more faulty channels pass.

6. The error detection method as described in claim 1, wherein the step b) includes querying a pre-recorded topological framework to obtain the multiple components through which all the channels in a certain range pass, wherein the topological framework records the positions and connection relationships of all the components in the optical channel network system.

7. The error detection method as claimed in claim 1, wherein the step c) further comprises a step c1) after the step c): when any of the component parts is passed by any normal channel among the plurality of channels, the fault count of the component part is set to zero.

8. The error detection method as claimed in claim 1, wherein the step d) comprises: d1) when a preset number of fault-tolerant components is one, outputting the component with the largest fault count; and d2) When the preset number of the tolerable fault components is greater than one, all the constituent components with non-zero fault counts are sorted and output.

9. An optical channel network system with an error detection function, comprising: at least two optical switches, each having a plurality of optical components; A plurality of optical fibers connecting the at least two optical switches; A plurality of channels, passing through a plurality of components respectively, for transmitting data between the at least two optical switches; A memory for recording each channel and the plurality of components that each channel passes through; and A central processing unit is configured to refer to the memory to obtain the multiple components passed by all the channels within a certain range when it is detected that the multiple 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 count is non-zero.

10. The optical channel network system as claimed 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 components.

11. The optical channel network system as claimed in claim 9, wherein the central processing unit is configured to execute a fault diagnosis algorithm to continuously monitor a transmitting 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 transmitting end of any of the channels 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 transmitting end is an output end of the source optical switch, and the receiving end is an input end of the destination optical switch.

12. The optical channel network system as claimed in claim 9, wherein the certain range is all the channels in the same TOR as the one or more faulty channels, or all the channels having the same transmission direction as the one or more faulty channels.

13. 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 multiple 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.

14. The optical channel network system as claimed in claim 9, wherein the central processing unit is configured to set the fault count of any of the component parts to zero when any of the normal channels among the plurality of channels passes through the component parts.

15. The error detection method as described in claim 9, wherein the central processing unit is configured to output the component with the largest fault count when a 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.