Method, device and equipment for protecting 2M optical processing board card

Through the optical processing board collecting information and selecting the optimal alternative path, the problem of bidirectional delay in 2M optical interface service switching is solved, and the stability of service transmission and redundant hot backup are achieved.

CN120017148APending Publication Date: 2025-05-16FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411350934.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, when the service switching of the 2M optical interface is switched, different transmission and reception paths lead to inconsistent bidirectional delays, affecting the stability of service transmission.

Method used

The optical processing board collects the optical interface information and the routing information of the backup path, selects the optimal alternative path, and switches the service to the optimal alternative path after the 2M optical interface board laser is turned off at the local and remote ends.

Benefits of technology

It realizes redundant hot backup of 2M optical processing boards, ensuring that services quickly switch to backup paths in case of failure, ensuring consistency of the main and backup paths and the consistency of bidirectional delays, and improving the stability of service transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017148A_ABST
    Figure CN120017148A_ABST
Patent Text Reader

Abstract

A protection method, device and equipment for a 2M optical processing board card relates to the technical field of communication, and the protection method for the 2M optical processing board card comprises the following steps: collecting optical interface information and routing information of each standby path through the optical processing board card; selecting an alternative path set according to the current service and the routing information of each alternative path, and selecting an optimal alternative path from the alternative path set; and after defect information is collected according to the optical interface information and transmitted to a far end, when the local end and the far end turn off the 2M optical interface board card laser, the current service is switched to the optimal alternative path. According to the method and the device, redundant hot backup of the board card can be realized, and the same routing path is automatically searched in combination with the current service for switching, so that the service can quickly reverse to the standby board card, the consistency of the main path and the standby path after switching is ensured, the consistency of bidirectional time delay is ensured, and the service transmission is more stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a protection method, device and equipment for a 2M optical processing board. Background Art

[0002] At present, 2M optical interface has high-speed transmission, long distance, easy installation and stable performance, and has a wide range of application scenarios in power communication networks. The original 1:1 optical interface protection can no longer meet the existing stability and security. With the rapid development of power communication, the 2M optical interface connected to the relay protection device requires a complete protection mechanism to ensure the reliability of the power system.

[0003] In the related art, the 2M optical layer protection solution based on optical switches can protect the main and backup optical ports through optical layer switches. However, when the processing disk, i.e., the processing board, has problems, the port protection of the optical switch can only protect the optical layer but not the physical electrical layer, and is generally a one-way switch, which can easily cause different sending and receiving paths, resulting in inconsistent two-way delays and unstable service transmission. Summary of the invention

[0004] The present application provides a protection method, device and equipment for a 2M optical processing board, which can solve the technical problem in the prior art that different sending and receiving paths during service switching lead to inconsistent two-way delays and even unstable service transmission.

[0005] In a first aspect, an embodiment of the present application provides a method for protecting a 2M optical processing board, the method comprising:

[0006] Collect optical interface information and routing information of each backup path through the optical processing board;

[0007] Selecting a set of candidate paths according to the current service and the routing information of each backup path, and selecting the best candidate path from the set of candidate paths;

[0008] After collecting defect information according to the above optical interface information and transmitting it to the remote end, when both the local end and the remote end turn off the 2M optical interface card laser, the current service is switched to the above optimal alternative path.

[0009] In combination with the first aspect, in one implementation, the routing information includes port service capacity, number of path nodes, total length of optical fiber, and jitter drift;

[0010] Select a set of candidate paths based on the current service and the routing information of each backup path, including:

[0011] If the current service is a data service, when the number of path nodes and the jitter drift of a backup path are both within the corresponding preset range, the backup path is used as a candidate path;

[0012] If the current service is an electric power communication service, or a video and telephone communication service, when the port service capacity, the number of path nodes, the total length of optical fiber and the jitter drift of a backup path are all within the corresponding preset ranges, the backup path is used as an alternative path;

[0013] If the current service is a transmission service other than data service, power communication service, video and telephone communication service, when the port service capacity and jitter drift of a backup path are both within the corresponding preset range, the backup path will be used as an alternative path.

[0014] In combination with the first aspect, in one implementation, selecting the best candidate path from the above candidate path set specifically includes:

[0015] The health of each candidate path is calculated and determined according to the port service capacity, number of path nodes, total fiber length and jitter drift of each candidate path;

[0016] Determine the best alternative path among the alternative paths based on current business and health.

[0017] In combination with the first aspect, in one implementation, the health R of any candidate path is:

[0018]

[0019]

[0020] Among them, x i is the value of the i-th routing information, Q i is the threshold of the i-th routing information.

[0021] In combination with the first aspect, in one implementation, if the current service is a data service, the alternative path with the smallest jitter drift among the alternative paths with a health degree greater than 10 is used as the optimal alternative path;

[0022] If the current service is a power communication service, the alternative path with the smallest path delay among the alternative paths with a health degree greater than 10 is used as the optimal alternative path;

[0023] If the current service is video and telephone communication service, the alternative path with a health degree greater than 10 and the path delay closest to the main path delay is used as the optimal alternative path;

[0024] If the current service is any transmission service other than data service, power communication service, video and telephone communication service, the above-mentioned alternative path with the highest healthiness will be used as the optimal alternative path.

[0025] In combination with the first aspect, in one implementation, when there is more than one optimal candidate path, the path with the smallest backup line number is selected.

[0026] In combination with the first aspect, in one implementation, the path delay t is:

[0027] t=Lo×4.9+125+2.8×t1+Ne×t2

[0028] Where Lo is the total length of the optical fiber, t1 is the total delay of 2M mapping and demapping, t2 is the direct delay, and Ne is the number of path nodes.

[0029] In combination with the first aspect, in one implementation, when a link alarm is received at the local end or the remote end, the laser of the 2M optical interface card at that end is turned off.

[0030] In a second aspect, an embodiment of the present application provides a protection device for a 2M optical processing board, the device comprising:

[0031] A collection module, which is used to collect optical interface information and routing information of each backup path through an optical processing board;

[0032] A selection module, which is used to select a set of candidate paths according to the current service and the routing information of each backup path, and select the best candidate path from the set of candidate paths;

[0033] The switching module is used to collect defect information according to the above optical interface information and transmit it to the remote end. When both the local end and the remote end turn off the 2M optical interface board laser, the current service is switched to the above optimal alternative path.

[0034] In the third aspect, an embodiment of the present application provides a protection device for a 2M optical processing board, the protection device comprising a processor, a memory, and a protection program for the 2M optical processing board stored in the memory and executable by the processor, wherein when the protection program for the 2M optical processing board is executed by the processor, the steps of the protection method for the 2M optical processing board are implemented.

[0035] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:

[0036] The optical interface information and the routing information of each backup path are collected through the optical processing board, and then a set of alternative paths are selected according to the current service and the routing information of each backup path, and the optimal alternative path is selected from the alternative path set; after the defect information is collected according to the above optical interface information and transmitted to the remote end, when both the local end and the remote end turn off the 2M optical interface board laser, the current service is switched to the above optimal alternative path; when the 2M optical processing board fails, the application can realize redundant hot backup of the board, and automatically search for the same routing path for switching in combination with the current service, which not only protects the service from quickly switching to the backup board, but also ensures the consistency of the main and backup paths after the switch, ensures the consistency of the two-way delay, makes the service transmission more stable, and solves the technical problem in the related technology that the different sending and receiving paths during service switching lead to inconsistent two-way delay and even unstable service transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flow chart of an embodiment of a method for protecting a 2M optical processing board of the present application;

[0038] Figure 2 This is a schematic diagram of the line protection arrangement in the embodiment of the present application;

[0039] Figure 3 A schematic diagram of the switching mechanism conditions in an embodiment of the present application;

[0040] Figure 4 This is a flowchart of the operation to implement protection in the embodiment of the present application;

[0041] Figure 5 This is a functional module diagram of an embodiment of a protection device for a 2M optical processing board of the present application;

[0042] Figure 6 This is a schematic diagram of the hardware structure of the protection device of the 2M optical processing board involved in the embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] In the first aspect, an embodiment of the present application provides a protection method for a 2M optical processing board, which is applicable to equipment such as SDH (Synchronous Digital Hierarchy), MSTP (Multi-Service Transport Platform), and ASON (Automatically Switched Optical Network).

[0045] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the protection method of the 2M optical processing board of the present application. Figure 1 As shown, the protection method of the 2M optical processing board includes:

[0046] S1 collects optical interface information and routing information of each backup path through the optical processing board;

[0047] S2. Select a set of alternative paths based on the current business and the routing information of each alternative path, and select the best alternative path from the above set of alternative paths;

[0048] The above-mentioned backup paths include a protection path configured for a working path that carries the current service, that is, a primary path;

[0049] S3. After collecting defect information according to the above optical interface information and transmitting it to the remote end, when both the local end and the remote end turn off the 2M optical interface board laser, switch the current service to the above optimal alternative path.

[0050] In this embodiment, the optical interface information and the routing information of each backup path are collected through the optical processing board, and then a set of alternative paths are selected according to the current service and the routing information of each backup path, and the optimal alternative path is selected from the above-mentioned alternative path set; after the defect information is collected according to the above-mentioned optical interface information and transmitted to the remote end, when both the local end and the remote end turn off the 2M optical interface board laser, the current service is switched to the above-mentioned optimal alternative path; when the 2M optical processing board fails, the redundant hot backup of the board can be realized, and the same routing path can be automatically searched for and switched in combination with the current service, which not only protects the service from being quickly switched to the backup board, but also ensures that the main and backup paths are consistent after the switch, ensures the consistency of the two-way delay, makes the service transmission more stable, and solves the technical problem in the related technology that the two-way delay is inconsistent due to different sending and receiving paths when the service is switched, and even the service transmission is unstable.

[0051] On the basis of the above embodiment, in this embodiment, the above routing information includes port service capacity, number of path nodes, total length of optical fiber and jitter drift.

[0052] In the above step S2, selecting a set of candidate paths according to the current service and the routing information of each candidate path specifically includes:

[0053] If the current service is a data service, when the number of path nodes and the jitter drift of a standby path are both within the corresponding preset ranges, the standby path is used as a candidate path, thereby obtaining a set of candidate paths.

[0054] If the current service is an electric power communication service, or a video and telephone communication service, when the port service capacity, the number of path nodes, the total optical fiber length and the jitter drift of a certain backup path are all within the corresponding preset range, the backup path is used as an alternative path, and then a set of alternative paths is obtained.

[0055] If the current service is a transmission service other than data service, power communication service, video and telephone communication service, when the port service capacity and jitter drift of a certain backup path are both within the corresponding preset range, the backup path is used as an alternative path, thereby obtaining an alternative path set.

[0056] In this embodiment, the four factors of port service capacity Ca, path node number Ne, total fiber length Lo, and jitter drift Mt can reflect the quality of routing performance. Therefore, by obtaining routing information Route: {port service capacity Ca, path node number Ne, fiber distance length Lo, jitter drift Mt}, and comparing the corresponding routing information with the corresponding preset range based on the current service, multiple alternative paths in the backup path can be preliminarily screened out to obtain a set of alternative paths.

[0057] Optionally, the preset range of each of the above routing information is related to a threshold value of the information.

[0058] Among them, the preset range of port service capacity is: less than or equal to 120% of the port service capacity threshold; the preset range of path node number is: less than or equal to 120% of the path node number threshold; the preset range of total optical fiber length is: less than or equal to 120% of the total optical fiber length threshold; the preset range of jitter drift is: less than or equal to 120% of the jitter drift threshold.

[0059] Furthermore, in one embodiment, selecting the best candidate path from the above candidate path set specifically includes:

[0060] Firstly, the health of each candidate path is calculated and determined according to the port service capacity, the number of path nodes, the total length of optical fiber and the jitter drift of each candidate path in the candidate path set.

[0061] Then, according to the current service and the health of each remaining candidate path, the best candidate path is determined among the candidate paths.

[0062] In this embodiment, by selecting the optimal alternative path, the consistency of two-way delay, optimality of delay performance, stability of services, and integrity of data during transmission after switching can be ensured.

[0063] Furthermore, in one embodiment, the health R of any candidate path is:

[0064]

[0065]

[0066] {(xi,Qi)|(Ca,Q C a),(Ne,Q N e),(Lo,Q L o),(Mt,Q M t)}

[0067] Among them, x i is the value of the i-th routing information, Q i is the threshold of the i-th routing information.

[0068] In this embodiment, for different scenarios, based on each scenario, the four routing information elements of port service capacity Ca, path node number Ne, total fiber length Lo, and jitter drift Mt are considered, and these four elements are assigned weights, the sum of which is 100%. The optimal route is obtained by scoring various scenarios based on the weighted key elements. In this way, the selection can be simple, clear and intuitive. The key element score of the scene is given a full score of 10 points according to the degree of scene satisfaction, and the four elements are initially given an average weight of 25%, and the total score does not exceed 12 points. If the threshold value of the element is exceeded by 120%, no score will be given. If each element reaches 100% to 120% of the corresponding threshold, it can be scored linearly from 60% score, and the threshold is reached to get full score; when the actual element value is lower than the corresponding threshold, it is scored linearly from 100% score, and when it reaches less than 80%, it is capped at 120%. Through this linear scoring method, the health of each path can be clearly obtained.

[0069] Furthermore, in one embodiment, if the current service is a data service, the candidate path with the smallest jitter drift among the candidate paths with a health degree greater than 10 is used as the optimal candidate path.

[0070] For data services, the transmission delay is not sensitive, and the data integrity is required to be high. When the transmission delay is not sensitive, the length of the optical fiber distance can be ignored. However, the jitter drift Mt value is more sensitive. When selecting the best candidate path, if the R of multiple candidate paths exceeds the total score of 10, the path with the smallest jitter drift Mt value is selected as the preferred path.

[0071] In this embodiment, the threshold values ​​Q of the four elements areCa 、Q Ne 、Q Lo 、Q Mt are respectively: 80%, 20, 30KM, and 20 times, that is, the capacity does not exceed 80%, the number of nodes is not greater than 20, the fiber optic length is less than 30KM, and the jitter drift does not exceed 20 times in 15 minutes. In addition, there should be no clock alarm events within 72 hours (if there are current clock alarm events, this path will not be used as an alternative path).

[0072] By collecting the routing information of each alternative path, the scores are calculated as follows:

[0073] Path 1: {50%, 15, 16, 20}, and by the formula, R1 = 3 + 3 + 3 + 2.5 = 11.5

[0074] Path 2: {30%, 20, 22, 10}, and by the formula, R2 = 3 + 2.5 + 3 + 3 = 11.5

[0075] Path 3: {80%, 30, 20, 80}, and by the formula, R3 = 2.5 + 0 + 3 + 0 = 5.5

[0076] Path 4: {70%, 20, 32, 45}, and by the formula, R4 = 2.8125 + 2.5 + 2.1667 + 0 = 7.4792

[0077] Based on the different element values of the above 4 paths, the 4 paths can be ranked by scores as R3 < R4 < R1 = R2. Since both the number of nodes and the jitter drift in Path 3 are 0 points, and 50% of the performance values do not meet the minimum standard, this route will be eliminated. Therefore, before calculating the health degree, this route can also be not added to the set of alternative paths, that is, not used as an alternative path.

[0078] In addition, since R1 of Path 1 is equal to R2 of Path 2, both can be used as the optimal alternatives. However, the data service has high requirements for the health of the transmission line, that is, the smaller the jitter drift value, the better. Comparing the Mt of Path 2 and Path 1, finally Path 2 is used as the optimal alternative path and passed to the thread as the switching condition. Path 1 and Path 4 will be used as alternative paths.

[0079] If the current service is a power communication service, then among the alternative paths with a health degree greater than 10, the alternative path with the minimum path delay is used as the optimal alternative path.

[0080] For the power communication service, the sensitivity and high priority of its system have high requirements for the stability, transmission delay, and data integrity of the route. These element values need to be comprehensively considered. Therefore, each element must be within the corresponding range to be used as an alternative path.

[0081] In this embodiment, the threshold values ​​Q of the four elements are Ca , Q Ne , Q Lo , Q Mt They are: 90%, 20, 40KM and 10 times respectively, that is, the capacity is required not to exceed 90%, the number of nodes is not more than 20, the optical fiber length is less than 40KM, the jitter drift is not more than 10 times in 15 minutes, and there must be no clock alarm event within 72 hours (if there is a clock alarm event currently, this path will not be used as an alternative path).

[0082] The routing information of each backup path is collected and the scores are calculated as follows:

[0083] Path 1: {80%, 15, 16, 20} Calculated by the formula R1 = 2.778 + 3 + 3 + 0 = 8.778

[0084] Path 2: {70%, 16, 49, 10} Calculated by the formula R2 = 3 + 3 + 0 + 2.5 = 8.5

[0085] Path 3: {60%, 17, 38, 5} Calculated by the formula R3 = 3 + 2.875 + 2.625 + 3 = 11.5

[0086] Path 4: {50%, 18, 32, 2} Calculated by the formula R4 = 3 + 2.75 + 3 + 3 = 11.75

[0087] Path 5: {50%, 20, 35, 3} Calculated by the formula R5 = 3 + 2.5 + 2.8125 + 3 = 11.3125

[0088] From the different element values ​​of the above five paths, it can be seen that both paths 1 and 2 have elements that are not within the corresponding range, and these two routes will be eliminated, or, before calculating the health, the route will not be used as an alternative path.

[0089] In addition, R3, R4, and R5 all exceed the standard score of 10, and the scores of the number of path nodes Ne and the fiber distance length Lo are close. At this time, the path delay can be used for judgment, and the route with the smallest path delay is selected as the optimal alternative path.

[0090] in,

[0091] t3=38km×4.9us / km+125us+2.8t1+17t2=311.2+2.8t1+17t2=3454us

[0092] t4=32km×4.9us / km+125us+2.8t1+18t2=281.8+2.8t1+18t2=3600us

[0093] t5 = 35 km × 4.9 us / km + 125 us + 2.8t1 + 20t2 = 296.5 + 2.8t1 + 20t2 = 3965 us

[0094] After precise calculation, it can be obtained that t3 < t4 < t5, indicating that the delay t3 of path 3 is the smallest. Path 3 is used as the optimal alternative path and transmitted to the thread as the switching condition, while paths 4 and 5 will be used as alternative paths.

[0095] If the current service is video and telephone communication services, among the alternative paths with a health index greater than 10, the alternative path with the delay closest to that of the primary path is used as the optimal alternative path.

[0096] For video and telephone communication services, the real-time requirement for transmission delay is very high, and the priority requirement for line stability is also high. When switching between primary and standby, to ensure the connectivity of video and telephone services, a standby path with a delay similar to that of the primary path will be selected instead of the path with the minimum delay. Therefore, through the scoring formula and the delay formula, the optimal path can be obtained, and each element must also be within the range to be used as an alternative path.

[0097] In this embodiment, the thresholds Q Ca 、Q Ne 、Q Lo 、Q Mt of the four elements are respectively: 80%, 20, 30 KM, and 15 times, that is, it is required that the capacity does not exceed 80%, the number of nodes does not exceed 20, the fiber length is less than 30 KM, and the jitter drift does not exceed 15 times in 15 minutes. In addition, there should be no clock alarm events within 72 hours (if there are current clock alarm events, this path will not be used as an alternative path).

[0098] By collecting the delay of the primary path and the routing information of each standby path, the scores are calculated as follows:

[0099] Delay of the primary path: t = 30 km × 4.9 us / km + 125 us + 2.8t1 + 18t2 = 3590 us

[0100] Path 1: {80%, 21, 16, 20} Calculate R1 = 2.5 + 2.25 + 3 + 0 = 7.75 through the formula

[0101] Path 2: {70%, 16, 29, 10} Calculate R2 = 2.8125 + 3 + 2.583 + 3 = 11.40 through the formula

[0102] Path 3: {60%, 17, 36, 5} Calculate R3 = 3 + 2.875 + 1.5 + 3 = 10.375 through the formula

[0103] Path 4: {50%, 18, 32, 2} Calculated by the formula R4 = 3 + 2.75 + 2.17 + 3 = 10.92

[0104] From the different element values ​​of the above four paths, it can be seen that path 1 has elements that are not within the corresponding range, and this route will be eliminated, or before calculating the health, the route will not be used as an alternative path.

[0105] In addition, R2, R3, and R4 all exceed the standard score of 10. The path delay is calculated and compared with the primary path delay:

[0106] t2=29km×4.9us / km+125us+2.8t1+16t2=267.1+2.8t1+16t2=3235us

[0107] t3=36km×4.9us / km+125us+2.8t1+17t2=176.4+2.8t1+17t2=3444.4us

[0108] t4=32km×4.9us / km+125us+2.8t1+18t2=156.8+2.8t1+18t2=3599.8us

[0109] Comparing the above path delays with the main path delay of 3590us, it can be seen that the delay of t4 is closest, so path 4 is used as the best alternative path and passed to the thread as the switching condition. Path 3 and path 2 will be used as alternative paths in turn.

[0110] If the current service is any transmission service other than data service, power communication service, video and telephone communication service, the above-mentioned alternative path with the highest healthiness will be used as the optimal alternative path.

[0111] For general transmission services other than data services, power communication services, video and telephone communication services, in order to ensure that the services carried can be transmitted smoothly and error-free to the next section of the bearer network, the stability of the route is required to be high, and the requirements for the delay and the nodes passed are not high. There is no need to use delay to reflect the precise time of the route.

[0112] In this embodiment, the threshold values ​​Q of the four elements are Ca , Q Ne , Q Lo , Q Mt They are: 60%, 30, 20KM and 56.6 times respectively, that is, the capacity is required not to exceed 60%, the number of nodes is not more than 30, the optical fiber length is less than 20KM, and the jitter drift does not exceed 56.6 times in 15 minutes. In addition, there must be no clock alarm event within 72 hours (if there is a clock alarm event currently, this path will not be used as an alternative path).

[0113] The routing information of each standby path is collected, and the scores are calculated as follows:

[0114] Route 1: {70%, 20, 32, 45}, and R1 = 1.667 + 3 + 0 + 3 = 7.667 is calculated through the formula

[0115] Route 2: {50%, 30, 16, 40}, and R2 = 2.917 + 2.5 + 3 + 3 = 11.417 is calculated through the formula

[0116] Route 3: {80%, 30, 20, 80}, and R3 = 0 + 2.5 + 2.5 + 0 = 5 is calculated through the formula

[0117] Route 4: {30%, 30, 15, 20}, and R4 = 3 + 2.5 + 3 + 3 = 11.5 is calculated through the formula

[0118] Based on the different element values of the above 4 paths, the 4 paths can be ranked by scores as R3 < R1 < R2 < R4. Since both the capacity and jitter drift in Route R3 are 0 points, and 50% of the performance values do not meet the minimum standard, this route will not be among the alternative routes. Finally, it is concluded that Route R4 has the highest score and is used as the optimal alternative path, which is passed to the thread as the switching condition. Routes R2 and R1 will be used as alternative routes.

[0119] Furthermore, in some embodiments, when there is more than one optimal alternative path, the path with the smallest standby line number is selected as the optimal alternative path for the current service to switch.

[0120] In addition, when there are multiple standby paths with the same 4 elements, the routing priority Route_Priority will sequentially select the standby line numbers in the sequence matrix as the better paths.

[0121] Taking the example that standby lines 3, 5, and 7 in the standby routing matrix all meet the conditions and have the same score during selection, since standby lines 3, 5, and 7 can all be used as the optimal paths, at this time, standby line 3 will be sequentially selected as the optimal alternative path.

[0122] Furthermore, in one embodiment, the above path delay t is:

[0123] t = Lo × 4.9 + 125 + 2.8 × t1 + Ne × t2

[0124] Where Lo is the total length of the optical fiber, t1 is the total delay of 2M mapping and demapping, 60us, t2 is the direct delay, 175us, Ne is the number of path nodes, 4.9 is the optical fiber medium transmission delay, and 125us is the STM (Synchronous Transport Module) transmission delay.

[0125] Furthermore, in one embodiment, when the local end or the remote end receives a link alarm, the laser of the 2M optical interface card at that end is turned off.

[0126] In this embodiment, when the local end receives a link alarm, the laser of the 2M optical interface card at the local end is turned off; when the remote end receives a link alarm, the laser of the 2M optical interface card at the remote end is turned off.

[0127] Furthermore, in one embodiment, the optical interface information includes the number of slots, line ports and 2M optical interfaces.

[0128] like Figure 2 As shown, in this embodiment, the 2M optical interface board exchanges data with the main optical processing board and each standby optical processing board. The main optical processing board at the local end exchanges data with the main optical processing board at the remote end, and the standby optical processing board at the local end exchanges data with the standby optical processing board at the remote end.

[0129] In this embodiment, the optical processing board collects optical interface information, line routing information and related defect information to shut down the 2M optical interface board laser, and then performs bidirectional protection of the 2M optical interface and the line port. The specific process of the protection method is as follows:

[0130] 1. Automatically collect optical interface information, including:

[0131] Number of slots: SLOT num ; 2M optical interface: E1 num ; Line port: Line num

[0132] Collect the slot information of the optical processing board SLOT num , get the number of 2M optical interfaces and line port information Line num , and E1 corresponding to the 2M optical port num Mapped to STM line Line num VC12 is the timeslot number of VC12. num .

[0133] The serial number of VC12 is VC12 num =(TUG-3 number-1)×21+(TUG-2 number-1)×3+TU-12 number.

[0134] Among them, the TUG-3 number range is: 1-3; the TUG-2 number range is: 1-7; the TU-12 number range is: 1-3

[0135] Via E1 num Corresponding one to one with the VC12 timeslot, we can get:

[0136] TUG-3 number = (E1 num %63) / 21+1;

[0137] TUG2 number = (E1 num %63)%21) / 3+1;

[0138] TU-12 number = (E1 num %63)%3+1

[0139] E1 num =VC12 num

[0140] Among them, % is the remainder operator, and then the optical interface information matrix is ​​obtained: Index = {SLOT num +Line num +E1 num}.

[0141] 2. Automatically collect routing information for alternate paths:

[0142] Automatically selecting the best alternative path is the most important factor to ensure the consistency of two-way delay, optimal delay performance, service stability, and data integrity during transmission. How to obtain the best route is determined by four factors: port service capacity Ca, number of path nodes Ne, fiber distance length Lo, and jitter drift Mt. These four factors reflect the quality of routing performance.

[0143] Routing information Route: {port service capacity Ca, number of path nodes Ne, fiber distance length Lo, jitter drift Mt}

[0144] The port service capacity Ca is calculated by load balancing. The number of path nodes Ne is the total number of network nodes, which is a part of the delay factor. The total length of the optical fiber Lo determines the delay difference of the data.

[0145] For example, the backup line Line_1 collects the number of intermediate line nodes Ne and calculates the Ca occupancy rate of each node:

[0146] Comp={Ca(ne_1), Ca(ne_2), Ca(ne_3)..Ca(ne_n)}=MaxCa

[0147] The Ca occupancy rate of the backup line Line_1 is: Ca(Line_1)=MaxCa<scenario capacity limit.

[0148] Optionally, after all backup lines are settled, the optimal Ca(Index) may be obtained.

[0149] In other embodiments, the alternative route whose port service capacity Ca does not reach the upper limit may be preferentially selected. To ensure the safety and reliability of the backup service, it is necessary to: avoid the main service and the backup service in the route from being on the same port Line num Avoid selecting multiple backup low-order services mapped to one VC4; Avoid selecting backup services with accumulated errors on the line. When all backup lines exceed the limit of the port service capacity Ca, the main line will trigger an alarm Alarm (ca) indicating that the backup line capacity is fully allocated, indicating that a new backup line needs to be rerouted.

[0150] In other embodiments, for the same number of path nodes Ne, the route with a shorter total optical fiber length Lo can be selected as the preferred route. For the same optical fiber distance length Lo, the route with fewer path nodes Ne is the preferred route. When the optical fiber distance length Lo and the number of path nodes Ne are different, the route situation can also be reflected by the path delay formula.

[0151] The jitter drift Mt is mainly the accumulated jitter of the pointer adjustment rate on the line and the drift characteristics of the accumulated long-term phase deviation of the clock. When the jitter drift accumulates to a certain extent, it will cause bit errors.

[0152] Jitter drift Mt includes SDH pointer adjustment performance and clock source performance. Each service layer has pointer adjustment events. Frequent pointer adjustments will cause the jitter drift of the output signal to deteriorate, resulting in bit errors. In order to predict whether the line is stable in the future, the number of future pointer adjustments can be predicted through an algorithm using three parameters: mapping rate, real-time frequency deviation of the system unit clock, and observed time, to confirm the long-term stability of the line. This is more reliable than methods that can only query the number of real-time pointer adjustments and cannot predict the number of future pointer adjustments.

[0153] Specifically, the difference between the maximum and minimum values ​​of the phase jitter time function is set as the phase jitter maximum peak-to-peak value J p-p , taking one bit period as J p-p The unit of measurement is UI. Then the unit interval corresponding to the signal with bit rate B is 1(UI)=1 / B(s).

[0154] For a signal with a bit rate of AU-4 units in SDH, let B(s) = V stm, the rate of AU-4 signal is 150.912Mbit / s, so the unit interval of 1 UI adjustment can be obtained as 1UI=1 / V stm .

[0155] Since the AU-4 pointer adjusts 3 bytes each time, and each byte has 8 bits, the pointer adjustment is equivalent to generating a 24UI phase jump. Therefore, the unit interval of the 24UI adjustment is 24UI=24 / V stm .

[0156] Assume ΔT is the maximum phase jitter peak value required by the signal AU-4 within the test time t, the jitter phase of the AU-4 unit pointer is adjusted by 24UI each time, and m is the number of adjustments made by the AU-4 pointer. Then, within the test time t, the number of adjustments made by an AU-4 unit pointer is m = ΔT / (24UI) × t, that is, m = ΔT × V stm / 24×t.

[0157] The jitter interval relative to the required reference clock frequency is ΔT = 1×10 -9 Taking an SDH network unit as an example, the number of AU pointer adjustments that will be generated within 24 hours, i.e. 86400 seconds, can be predicted as follows:

[0158] m=(1×10 -9 )×(V stm / 24)×t=(150.912×10 6 / 24)(1×10 -9 )(86400)≈543 times

[0159] It can be concluded that if statistics are required within 15 minutes, the number of adjustments can be predicted as:

[0160] m=(150.912×10 6 / 24)(1×10 -9 )(15×60)=5.66 times

[0161] If the reference clock frequency jitter interval is required to be within 10ppb, it can be predicted that no more than 5430 adjustments will be made every 24 hours, and no more than 56.6 adjustments will be made every 15 minutes. Through this process, it is possible to predict whether the number of pointer adjustments in the future is within the normal range, and thus predict the jitter drift performance of the entire route.

[0162] In this embodiment, clock source unit events on each node can also be settled, such as a good clock source signal, a clock source unlocked, a clock source signal degraded, a clock source signal frequency deviation out of bounds, etc.

[0163] In this embodiment, the above-mentioned four factors, namely, port service capacity, number of path nodes, total length of optical fiber and jitter drift, are used to set the factor threshold as Q, and the health level R as the sum of the four factor scores, and the formula is as follows:

[0164]

[0165]

[0166] Then, the best alternative path can be determined among the alternative paths based on the current business and health.

[0167] 3. Automatic defect collection:

[0168] The port timeslot alarm, performance defect and degradation information are obtained through the optical interface information matrix. After collecting the information, it is reported to the alarm information group Alm_gether (Index). The alarm information group collects various alarms and signal degradation prompts on the line, such as LOS, AU-AIS, AU-LOP, 2M-AIS, TU-AIS, TU-LOP, LP-RDI, LP-SD, LP-EXC, etc. on the line. Finally, the defect flag is set.

[0169] The defect sets FLAG(Alm_gether)=1.

[0170] 4. Automatic defect insertion:

[0171] To transmit defect flags using idle SDH overhead, the 0th bit of an idle overhead byte is set as a fault flag bit, and then the relevant information is transmitted through this flag bit. The 0th bit can be set to 1 for transmission, so an idle E1 overhead OH (flag) can be written as: OH (flag) = {(FLAG (nE1) >> 0) & 0xff}.

[0172] Optionally, other bits of the overhead byte may be used to transmit relevant information required by the remote end, such as frame information Device, slot information Slot, software version, relay protection equipment management information, etc.

[0173] V. Switching mechanism conditions:

[0174] like Figure 3 As shown, the switching mechanism needs to meet three conditions, namely, FLAG (Alm_gether) is set to 1, Storage (Route) is ready, and OH (flag) is written, before the service path can be switched. That is, Switch = {FLAG (Alm_gether) & Storage (Route) & OH (flag)}.

[0175] like Figure 4 As shown, optionally, the specific operation process of this embodiment includes:

[0176] First, enter the optical processing board operation status detection, and then determine whether the optical processing board has received an alarm on both the sending and receiving sides.

[0177] When no alarm is received on both the transmitting and receiving sides, the state machine normally collects and calculates the backup path data, obtains the current optimal path as the switching condition and saves it, and ends when it is determined that no switching is required, that is, the current line is in the main line. Optionally, if the current line is determined to be in the backup line and the choice is to return to the main line, it waits for recovery, and performs reversal when the timeout expires, and then ends; if the current line is determined to be in the backup line and does not return to the main line, it ends.

[0178] When an alarm occurs on the Tx side and the Rx side does not receive an alarm, the local sending laser is turned off, and then the existing alarm status is collected, and the defect information is inserted into the overhead channel and transmitted to the remote end; after the remote end receives the defect flag setting, it identifies the state of the defect flag setting and turns off the remote sending laser when the fault flag is identified; after the user turns off the laser at both ends, if it is determined that switching is possible, that is, there is an optimal path for switching, the driver is called to execute the signal from the backup and then end, otherwise it ends directly.

[0179] When there is no alarm on the Tx side of the transmitter and the Rx side of the receiver receives an alarm, the Rx alarm status is collected, and the defect information is inserted into the overhead channel through the algorithm and transmitted to the remote end, and the local sending laser is turned off; after the remote end receives the defect flag setting, it identifies the state of the defect flag setting, and immediately turns off the remote sending laser when the fault flag is identified; after the user turns off the laser at both ends, if it is determined that switching is possible, that is, there is an optimal path for switching, then the driver is called to execute the signal from the backup reception, and then the process ends, otherwise it ends directly.

[0180] When both the sending and receiving sides receive an alarm, if it is determined that switching is possible, that is, there is an optimal path that can be switched, then it will immediately switch to the optimal alternative path obtained by the state machine, call the driver to execute the signal from the backup, and then end; otherwise, return to the board operation status detection.

[0181] The protection method of this embodiment can realize N:1 protection mode through redundant hot backup of the board card, realize simultaneous protection of the optical layer and the electrical layer, and protect the entire line service to quickly switch to the backup processing board card so that the service is no longer interrupted; transmit alarm performance information, equipment information, maintenance information and various information of relay protection in an out-of-band manner, and realize automatic board protection, select the best backup line according to the physical layer line conditions, ensure the consistency of the main and backup paths after switching, ensure consistency in both directions, and quickly restore and ensure normal transmission of the service without manual operation. In the opened project, it can be used without manual resetting of the environment.

[0182] In a second aspect, an embodiment of the present application also provides a protection device for a 2M optical processing board.

[0183] In one embodiment, referring to Figure 5 , Figure 5 This is a functional module diagram of an embodiment of a protection device for a 2M optical processing board of the present application. Figure 5 As shown, the protection device of the 2M optical processing board includes a collection module, a selection module and a switching module.

[0184] The collection module is used to collect the optical interface information and the routing information of each backup path through the optical processing board;

[0185] The selection module is used to select a set of candidate paths according to the current service and the routing information of each backup path, and select the best candidate path from the set of candidate paths;

[0186] The switching module is used to collect defect information according to the optical interface information and transmit it to the remote end. When both the local end and the remote end turn off the 2M optical interface card laser, the current service is switched to the optimal alternative path.

[0187] Furthermore, in one embodiment, the routing information includes port service capacity, number of path nodes, total length of optical fiber and jitter drift.

[0188] The above selection module is also used to:

[0189] If the current service is a data service, when the number of path nodes and the jitter drift of a backup path are both within the corresponding preset range, the backup path is used as a candidate path;

[0190] If the current service is an electric power communication service, or a video and telephone communication service, when the port service capacity, the number of path nodes, the total length of optical fiber and the jitter drift of a backup path are all within the corresponding preset ranges, the backup path is used as an alternative path;

[0191] If the current service is a transmission service other than data service, power communication service, video and telephone communication service, when the port service capacity and jitter drift of a backup path are both within the corresponding preset range, the backup path will be used as an alternative path.

[0192] Furthermore, in one embodiment, the selection module is also used to:

[0193] The health of each candidate path is calculated and determined according to the port service capacity, number of path nodes, total fiber length and jitter drift of each candidate path;

[0194] Determine the best alternative path among the alternative paths based on current business and health.

[0195] Furthermore, in one embodiment, the health R of any candidate path is:

[0196]

[0197] Among them, x i is the value of the i-th routing information, Q i is the threshold of the i-th routing information.

[0198] Furthermore, in one embodiment, the selection module is also used to:

[0199] If the current service is a data service, the alternative path with the smallest jitter drift among the alternative paths with a health degree greater than 10 is used as the optimal alternative path;

[0200] If the current service is a power communication service, the alternative path with the smallest path delay among the alternative paths with a health degree greater than 10 is used as the optimal alternative path;

[0201] If the current service is video and telephone communication service, the alternative path with a health degree greater than 10 and the path delay closest to the main path delay is used as the optimal alternative path;

[0202] If the current service is any transmission service other than data service, power communication service, video and telephone communication service, the above-mentioned alternative path with the highest healthiness will be used as the optimal alternative path.

[0203] Furthermore, in one embodiment, the selection module is further configured to: when there are more than one optimal candidate paths, select the path with the smallest backup line number.

[0204] Furthermore, in one embodiment, the path delay t is:

[0205] t=Lo×4.9+125+2.8×t1+Ne×t2

[0206] Where Lo is the total length of the optical fiber, t1 is the total delay of 2M mapping and demapping, t2 is the direct delay, and Ne is the number of path nodes.

[0207] Furthermore, in one embodiment, the switching module is also used to shut down the laser of the local 2M optical interface board when a link alarm is received.

[0208] Among them, the functional implementation of each module in the above-mentioned protection device of the 2M optical processing board corresponds to each step in the above-mentioned protection method embodiment of the 2M optical processing board, and its functions and implementation processes are no longer repeated here.

[0209] In a third aspect, an embodiment of the present application provides a protection device for a 2M optical processing board. The protection device for the 2M optical processing board may be a device with data processing function, such as an SDH device and an MSTP device.

[0210] Reference Figure 6 , Figure 6 The hardware structure diagram of the protection device of the 2M optical processing board involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the protection device of the 2M optical processing board may include a processor, a memory, a communication interface and a communication bus.

[0211] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0212] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the protection device of the 2M optical processing board, and the interface used to realize the interconnection between the protection device of the 2M optical processing board and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, an optical fiber interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.

[0213] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0214] The processor may be a general-purpose processor, and the general-purpose processor may call the protection program of the 2M optical processing board stored in the memory, and execute the protection method of the 2M optical processing board provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the protection program of the 2M optical processing board is called may refer to the various embodiments of the protection method of the 2M optical processing board of the present application, and will not be repeated here.

[0215] Those skilled in the art will understand that Figure 6 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0216] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0217] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0218] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0219] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0220] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0221] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0222] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for protecting a 2M optical processing board, characterized in that: The method comprises: Collect optical interface information and routing information of each backup path through the optical processing board; Selecting a set of candidate paths according to the current service and the routing information of each backup path, and selecting the best candidate path from the set of candidate paths; After collecting defect information according to the optical interface information and transmitting it to the remote end, when both the local end and the remote end turn off the 2M optical interface card laser, the current service is switched to the optimal alternative path.

2. The protection method for a 2M optical processing board as claimed in claim 1, characterized in that: The routing information includes port service capacity, number of path nodes, total length of optical fiber and jitter drift; Select a set of candidate paths based on the current service and the routing information of each backup path, including: If the current service is a data service, when the number of path nodes and the jitter drift of a backup path are both within the corresponding preset range, the backup path is used as a candidate path; If the current service is an electric power communication service, or a video and telephone communication service, when the port service capacity, the number of path nodes, the total length of optical fiber and the jitter drift of a backup path are all within the corresponding preset ranges, the backup path is used as an alternative path; If the current service is a transmission service other than data service, power communication service, video and telephone communication service, when the port service capacity and jitter drift of a backup path are both within the corresponding preset range, the backup path will be used as an alternative path.

3. The protection method of the 2M optical processing board as claimed in claim 2, characterized in that: Selecting the best candidate path from the candidate path set specifically includes: The health of each candidate path is calculated and determined according to the port service capacity, number of path nodes, total fiber length and jitter drift of each candidate path; Determine the best alternative path among the alternative paths based on current business and health.

4. The protection method of the 2M optical processing board as claimed in claim 3, characterized in that: The health R of any alternative path is: Among them, x i is the value of the i-th routing information, Q i is the threshold of the i-th routing information.

5. The method for protecting a 2M optical processing board as claimed in claim 3, characterized in that: If the current service is a data service, the alternative path with the smallest jitter drift among the alternative paths with a health degree greater than 10 is used as the optimal alternative path; If the current service is a power communication service, the alternative path with the smallest path delay among the alternative paths with a health degree greater than 10 is used as the optimal alternative path; If the current service is video and telephone communication service, the alternative path with a health degree greater than 10 and the path delay closest to the main path delay is used as the optimal alternative path; If the current service is a transmission service other than data service, power communication service, video and telephone communication service, the alternative path with the highest healthiness is used as the optimal alternative path.

6. The method for protecting a 2M optical processing board as claimed in claim 4, characterized in that: When there is more than one optimal alternative path, the path with the smallest alternative line number is selected.

7. The method for protecting a 2M optical processing board as claimed in claim 4, characterized in that: The path delay t is: t=Lo×4.9+125+2.8×t1+Ne×t2 Where Lo is the total length of the optical fiber, t1 is the total delay of 2M mapping and demapping, t2 is the direct delay, and Ne is the number of path nodes.

8. The method for protecting a 2M optical processing board as claimed in claim 1, characterized in that: When the local or remote end receives a link alarm, the laser of the 2M optical interface card at that end is turned off.

9. A protection device for a 2M optical processing board, characterized in that: The device comprises: A collection module, which is used to collect optical interface information and routing information of each backup path through an optical processing board; A selection module, which is used to select a set of candidate paths according to the current service and the routing information of each backup path, and select the best candidate path from the set of candidate paths; The switching module is used to collect defect information according to the optical interface information and transmit it to the remote end, and when both the local end and the remote end turn off the 2M optical interface board laser, switch the current service to the optimal alternative path.

10. A protection device for a 2M optical processing board, characterized in that: The protection device includes a processor, a memory, and a protection program for the 2M optical processing board stored in the memory and executable by the processor. When the protection program for the 2M optical processing board is executed by the processor, the steps of the protection method for the 2M optical processing board as described in any one of claims 1 to 7 are implemented.