Routing risk identification method, device, equipment, medium and product

By grouping and data comparison of the circuits of the optical transmission network routing, routing risks are identified, and the problems of low identification efficiency and accuracy in the prior art are solved, and automatic identification and efficient identification of routing risks are realized.

CN118890570APending Publication Date: 2024-11-01CHINA MOBILE GROUP ZHEJIANG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411064651.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the prior art, the routing risk identification efficiency and accuracy are low, and automated identification is required through computers.

Method used

By grouping the optical channels of the circuit to be identified, identifying risks of the same board, same site and same optical cable, using the connection sequence of optical multiplexing sections, optical transmission sections, optical paths and laying sections to achieve standardization and digitization of routing risks Identify.

Benefits of technology

It realizes automated identification of routing risks, improves identification efficiency and accuracy, and reduces manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890570A_ABST
    Figure CN118890570A_ABST
Patent Text Reader

Abstract

The invention relates to the field of computers, and provides a routing risk identification method and device, equipment, a medium and a product. The method comprises the following steps: grouping each optical channel of a circuit in a to-be-identified route to obtain at least one optical channel group; based on the occurrence condition of the same circuit board card in each optical channel group, identifying the same board card risk of the to-be-identified route; connecting each optical channel in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; comparing the optical path source and destination sites of the optical multiplexing section of the connected optical channel, and identifying the same site risk of the to-be-identified route; and comparing the laying sections or point facilities of the connected optical channels, and identifying the same optical cable risk of the to-be-identified route. According to the method and the device, the logic and physical layer data related to the circuit of the to-be-identified route is serially connected, grouped, compared and the like, so that various route risks can be identified through a computer, and the identification efficiency and the identification accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a routing risk identification method, device, equipment, medium and product. Background Art

[0002] The Optical Transport Network (OTN) network is the main transport network of operators, and the OTN transmission circuit is the underlying carrier of various service networks. The security design of the circuit is mainly aimed at the risk analysis of the circuit routing. The existing technology mainly checks the logical routing and physical routing in the manufacturer's network management and resource management system for manual comparison and analysis to identify routing risks, but the identification efficiency and accuracy are low.

[0003] Therefore, how to use computers to identify routing risks and improve identification efficiency has become a technical problem that needs to be solved urgently in the industry. Summary of the invention

[0004] The present application provides a routing risk identification method, device, equipment, medium and product to solve the technical problem of how to perform routing risk identification through a computer and improve identification efficiency in the prior art.

[0005] In a first aspect, the present application provides a routing risk identification method, comprising: Grouping the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group; Based on the presence of the same line card in each optical channel group, identifying the same card risk of the to-be-identified route; Connecting the optical channels in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; Comparing the optical path source and destination sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the to-be-identified route; The laying sections or point facilities of the connected optical channels are compared to identify the same optical cable risks of the routes to be identified.

[0006] In some embodiments, grouping the optical channels of the circuits in the to-be-identified routes includes: Determine the routing scenario of the to-be-identified route based on the bearer service mode of the circuit; the routing scenario includes a single circuit scenario and a circuit group scenario; The optical channels of the circuits in the to-be-identified routes are associated and grouped based on the routing scenario.

[0007] In some embodiments, associating and grouping the optical channels of the circuits in the to-be-identified routes based on the routing scenario includes: When the routing scenario is the single circuit scenario, associating the optical channels of the circuit, and grouping the optical channels based on the transmission source network element and the network elements at both ends of each optical channel in the single circuit scenario; In the case where the routing scenario is the circuit group scenario, the optical channels in the circuit group scenario are grouped based on the optical channels associated with the circuits in the circuit group scenario.

[0008] In some embodiments, when the routing scenario is the single circuit scenario, grouping the optical channels of the circuit in the to-be-identified route includes: Associate the source and sink network elements of each optical channel to build a network element pool; When the source and sink network elements of each optical channel in the network element pool appear twice, it is confirmed that circuit protection exists in the circuit; When it is confirmed that the circuit has circuit protection, the optical channels of the circuit in the to-be-identified route are associated and grouped.

[0009] In some embodiments, when the routing scenario is the circuit group scenario, identifying the same-board risk of the to-be-identified routing includes: When the same branch board appears in each circuit source or each sink board in the circuit group scenario, confirming that the to-be-identified route has a branch same-board risk; When the same line board appears in each optical channel group, it is confirmed that the to-be-identified route has the risk of the same line board.

[0010] In some embodiments, comparing the optical path source and destination sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the route to be identified; comparing the laying sections or point facilities of the connected optical channel to identify the same optical cable risk of the route to be identified, includes: Building a network element pool based on source and sink network elements of an optical path connected by any of the optical multiplex sections; Determining whether there is optical fiber line protection for the to-be-identified route based on the number of occurrences of each network element in the network element pool; In the presence of the optical fiber line protection, each optical path is grouped to obtain a first optical path group and a second optical path group, and the repeated optical path source and destination sites in the first optical path group and the second optical path group are placed in a comparison pool to identify the same-site risk of the route to be identified; the repeated laying sections or point facilities in the first optical path group and the second optical path group are placed in a comparison pool to identify the same optical cable risk of the route to be identified; In the absence of the optical fiber line protection, each optical path source and destination site is placed in a comparison pool to identify the same-site risk of the route to be identified; each laying section or each point facility is placed in a comparison pool to identify the same optical cable risk of the route to be identified.

[0011] In a second aspect, the present application provides a routing risk identification device, including: A grouping module, used for grouping the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group; A first identification module is used to identify the same-board risk of the to-be-identified route based on the presence of the same line board in each optical channel group; A connection module, for connecting each optical channel in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; The second identification module is used to compare the optical path source and sink sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the to-be-identified route; The third identification module is used to compare the installation sections or point facilities of the connected optical channels to identify the same optical cable risks of the routes to be identified.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to implement the above method when executing the program through the computer program.

[0013] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned method when executed by a processor.

[0014] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0015] The routing risk identification method, device, equipment, medium and product provided in the embodiments of the present application can identify various routing risks through a computer by concatenating, grouping and comparing the logical and physical layer data involved in the circuit of the identified route, thereby realizing the standardization and digitization of routing risk identification without human intervention, thereby improving the identification efficiency and accuracy of routing risk identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 A schematic diagram of a process flow of a routing risk identification method provided in an embodiment of the present application; Figure 2 A schematic diagram of a flow chart of a method for identifying routing risks in a single circuit scenario provided in an embodiment of the present application; Figure 3 A schematic diagram of a flow chart of a method for identifying routing risks in a circuit group scenario provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a routing risk identification device provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0019] It should be noted that the terms "first", "second" etc. in the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or modules need not be limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or equipment.

[0020] The routing risk identification method provided in the embodiment of the present application is applicable to a terminal, which may be various electronic devices having a display screen and supporting web browsing, including but not limited to servers, smart phones, tablet computers, laptop computers, and desktop computers.

[0021] Figure 1A schematic diagram of a process flow of a routing risk identification method provided in an embodiment of the present application, such as Figure 1 As shown, the method includes step 110, step 120, step 130, step 140 and step 150. The steps of the method flow are only a possible implementation of the present application.

[0022] Step 110: Group the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group.

[0023] Specifically, the execution subject of the routing risk identification method provided in the embodiment of the present application is a routing risk identification device, which can be a hardware device independently set in the terminal or a software program running in the terminal.

[0024] Routing risks include same-board risk, same-site risk, and same-optical cable risk.

[0025] The same-board risk is the routing risk that the routing to be identified has the same-board phenomenon, which refers to the situation where the same line board appears in both the main channel and the backup channel at the same time.

[0026] The same-site risk is a routing risk in which the to-be-identified route has the same-site phenomenon, which refers to the situation in which the optical path source and destination sites in the primary optical path and the backup optical path overlap or share sites.

[0027] The same optical cable risk refers to the routing risk that the same optical cable phenomenon exists in the route to be identified, which means that the laying sections or point facilities in the main optical path and the backup optical path have physical path overlap or sharing in the same optical cable.

[0028] The circuit in the route to be identified is an OTN transmission circuit. Because the main or backup channel of the circuit may be carried by more than one optical channel (OCh), the associated OChs need to be grouped.

[0029] Step 120: Based on the presence of the same line card in each optical channel group, identify the same card risk of the to-be-identified route.

[0030] Specifically, taking two optical channel groups as an example, all OCh boards of the two OCh groups are compared with each other. If a board appears in both OCh groups, the board and the associated OCh are recorded as the same board risk.

[0031] If no board appears in both OCh groups, the current route to be identified does not have the risk of the same board.

[0032] Step 130: Connect the optical channels in the optical channel groups based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility.

[0033] Specifically, in the process of routing risk identification, the logical and physical layer data involved in the OTN transmission circuit need to be connected in series. The core connection logic is: OTN transmission circuit-OCh-optical multiplex section (Optical Multiplex Section, OMS)-optical transmission section (Optical Transmission Section, OTS)-optical path-laying section-point facility, that is, each OCh is connected in turn through OMS, OTS, optical path, laying section and point facility.

[0034] Step 140: Compare the optical path source and destination sites of the optical multiplexing sections of the connected optical channels to identify the same-site risk of the routes to be identified.

[0035] Step 150: Compare the installation sections or point facilities of the connected optical channels to identify the risks of the same optical cables of the routes to be identified.

[0036] Specifically, the risk identification steps for the same-site risk and the same-cable risk when the to-be-identified route has optical line protection (OLP) and when the to-be-identified route does not have OLP are different. The main difference between the two is that in the paragraph containing OLP, only the part with the same route of OLP is selected for risk comparison. Because if the part with different routes of OLP, whether it is the main service channel or the backup channel, it already has dual paths without single-point risk, and there is no need to consider the comparison with another channel.

[0037] Therefore, for sections with OLP, it is necessary to group the optical paths to obtain the first optical path group and the second optical path group, and only compare the repeated optical path source and destination sites of the first optical path group and the second optical path group to identify the same site risk of the route to be identified. Compare the repeated laying sections or point facilities of the first optical path group and the second optical path group to identify the same optical cable risk of the route to be identified.

[0038] For sections where OLP does not exist, directly compare all optical path source and destination sites to identify the same site risk of the route to be identified. Compare all laying sections or point facilities to identify the same optical cable risk of the route to be identified.

[0039] After identifying the same-board risk, same-site risk and / or same-optical cable risk of the route to be identified, the risk type (such as same-board, same-site, same-optical cable) and its associated information can be recorded, and the route risk identification result can be output based on this information. The route risk identification result may include the type, location and associated information of the existing route risk.

[0040] The routing risk identification method provided in the embodiment of the present application can identify various routing risks through a computer by concatenating, grouping and comparing the logical and physical layer data involved in the circuit of the identified route, thereby realizing the standardization and digitization of routing risk identification without human intervention, thereby improving the identification efficiency and accuracy of routing risk identification.

[0041] It should be noted that each implementation method of the present application can be freely combined, the order can be changed, or it can be executed separately, and does not need to rely on or depend on a fixed execution order.

[0042] In some embodiments, step 110 includes: Determine the routing scenario of the to-be-identified route based on the bearer service mode of the circuit; the routing scenario includes a single circuit scenario and a circuit group scenario; The optical channels of the circuits in the to-be-identified routes are associated and grouped based on the routing scenarios.

[0043] The optical channels of the circuits in the to-be-identified routes are associated and grouped based on the routing scenario, including: When the routing scenario is a single circuit scenario, the optical channels of the circuit are associated, and the optical channels are grouped based on the transmission source network element in the single circuit scenario and the network elements at both ends of each optical channel.

[0044] When the routing scenario is a single circuit scenario, step 110 includes: Associate the source and sink network elements of each optical channel to build a network element pool; When the source and sink network elements of each optical channel in the network element pool appear twice, it is confirmed that the circuit has circuit protection; When it is confirmed that the circuit has circuit protection, the optical channels of the circuit in the route to be identified are associated and grouped.

[0045] Specifically, the bearer service mode refers to the design mode of a circuit or communication system used to support specific service requirements.

[0046] A single-circuit scenario refers to the transmission of electrical signals or data through a single circuit.

[0047] The circuit group scenario refers to the transmission of electrical signals or data through multiple circuits.

[0048] The transmission circuit routing risk mainly involves two types of bearer business modes: single-line with protection and multiple-line group circuits. There are differences in the identification of routing risks in different routing scenarios. Therefore, the embodiment of the present application divides the routing scenarios of the to-be-identified routes into single-circuit scenarios and circuit group scenarios according to the circuit's bearer business mode. Then, the routing risk is identified according to the routing scenarios corresponding to the to-be-identified routes.

[0049] The main difference between the routing risk identification methods of single-circuit scenarios and circuit group scenarios is that the circuit group scenario does not need to determine whether there is circuit protection, that is, whether there is a backup optical channel; the same-board risk in the single-circuit scenario includes the line same-board risk, and the same-board risk in the circuit group scenario includes the line same-board risk and the branch same-board risk. The routing risk identification in the single-circuit scenario will be described below.

[0050] The single-circuit scenario is to identify routing risks for a single protected circuit, including the same board (line), same site, and same optical cable risks of the primary and backup channels. Figure 2 A flow chart of a single circuit scenario routing risk identification method provided in an embodiment of the present application, such as Figure 2 As shown, all OChs of a single circuit are associated and circuit protection judgment is performed.

[0051] The single circuit scenario is to compare the active and standby circuits with protection. First, we need to determine whether the circuit has circuit protection. If it does not have protection, it means that there is only one channel for the single circuit to carry services, and there is no need to identify risks. The identification process ends directly. If there is protection, there should be two optical channels connecting the source or sink of the circuit. Therefore, the method to determine whether there is protection is: the circuit associates all the source and sink network elements of OCh to form a network element pool, calculates the number of times each network element appears in the network element pool, and if the source and sink network elements of OCh in the network element pool appear twice, it is considered to be protected.

[0052] The associated OChs are grouped. After grouping in a single-circuit scenario, two optical channel groups are obtained. After grouping, the two OCh groups represent the main channel and the backup channel respectively.

[0053] For example, two OChs containing transmission source network elements can be found and added to OCh-1 group and OCh-2 group respectively. Then, if there is an OCh that is not included in the group, iterate the following process: if one of the network elements at both ends of the OCh that is not included in the group is the same as one of the network elements at both ends of an OCh in Ch-1 group or OCh-2 group, the OCh that is not included in the group is added to the corresponding OCh group. Finally, iterate until all OChs are included in the group and the grouping is completed.

[0054] Identify the risks of the same board (line): There is only one source and sink board for a single circuit, so the same board analysis only needs to analyze the line board of the OCh. The specific method is to compare the source and sink boards of all OChs in the two OCh groups: If a board appears in both OCh groups, the board and associated OCh are recorded to obtain the risk identification result of the same board.

[0055] No board card appeared in both OCh groups, indicating no risk of same board card.

[0056] The routing risk identification method provided in the embodiment of the present application can perform machine identification of routing risks through computer algorithms, and also has a rigorous judgment algorithm for protection scenarios such as OLP, without the need for manual identification and elimination, thereby improving the efficiency of routing risk identification.

[0057] In some embodiments, when the routing scenario is a circuit group scenario, the optical channels in the circuit group scenario are grouped based on the optical channels associated with the circuits in the circuit group scenario.

[0058] When the routing scenario is a circuit group scenario, step 120 includes: If the same branch board appears in all circuit sources or sink boards in the circuit group scenario, it is confirmed that the route to be identified has the risk of the branch board being the same; When the same line card appears in each optical channel group, it is confirmed that the route to be identified has the risk of the same line card.

[0059] Specifically, the circuit group scenario is to identify routing risks for multiple circuit group scenarios, and the identification content includes four risks of the same board (branch), the same board (line), the same site and the same optical cable for all service channels.

[0060] Figure 3 A schematic diagram of a flow chart of a method for identifying routing risks in a circuit group scenario provided in an embodiment of the present application, such as Figure 3 As shown, the circuit group scenario considers the comparison between circuits within the group, so the OChs associated with each circuit are grouped into an OCh group.

[0061] Risk identification of branches with the same board: In the circuit group scenario, the boards of the circuit branches in the group must be different, otherwise the entire circuit group will be interrupted after a single branch board fails. Therefore, the branch source and sink boards of all circuits need to be compared with each other.

[0062] If a board appears in each circuit source or sink board, the board is recorded to obtain the branch same-board risk identification result.

[0063] If no board appears on every circuit source or sink board, it indicates no branch same-board risk.

[0064] Identification of line and board risks: Compare the source and sink boards of all OChs in each OCh group.

[0065] If a board appears in all OCh groups, the board and associated OCh are recorded to obtain the line and board risk identification result.

[0066] If no board appears in all OCh groups, it indicates that there is no line-same board risk.

[0067] The routing risk identification method provided in the embodiment of the present application can quickly identify the same board risk, thereby improving the identification efficiency of routing risk identification.

[0068] In some embodiments, step 140 and step 150 include: Building a network element pool based on the source and sink network elements of the optical path connected by any optical multiplex section; Judging whether there is optical fiber line protection for the to-be-identified route based on the number of occurrences of each network element in the network element pool; In the case of optical fiber line protection, each optical path is grouped to obtain a first optical path group and a second optical path group, and the repeated optical path source and destination sites in the first optical path group and the second optical path group are placed in a comparison pool to identify the same site risk of the route to be identified; the repeated laying sections or point facilities in the first optical path group and the second optical path group are placed in a comparison pool to identify the same optical cable risk of the route to be identified; In the absence of fiber optic line protection, each optical path source and destination site is placed in a comparison pool to identify the same-site risk of the route to be identified; each laying section or each point facility is placed in a comparison pool to identify the same optical cable risk of the route to be identified.

[0069] Specifically, it can be determined in the OMS whether there is an OLP in the route to be identified. Since OLP is a different risk identification method, each OCh in the OCh group is first connected in series: OCh-OMS-OTS-optical path-laying section-point facility, and then the OMS determines whether there is an OLP.

[0070] If OLP exists, there should be two optical paths connecting the OMS source or sink network element. Therefore, the method to determine whether OLP exists is: a single OMS associates the source and sink network elements of all optical paths to form a network element pool, and calculates the number of occurrences of each network element in the network element pool.

[0071] If the source and sink NEs of the OMS in the NE pool both appear twice, it is considered that OLP exists; if the source and sink NEs of the OMS in the NE pool only appear once, it is considered that there is no OLP.

[0072] If there is an OLP in the OMS, grouping is required. First, group the involved optical paths, and then determine the same site route and the same optical cable route.

[0073] Two optical paths containing OMS source network elements can be found and enter the first optical path group and the second optical path group respectively. If there are optical paths that are not included in the group, iterate the following process: if one of the network elements at both ends of the optical path that is not included in the group is the same as one of the network elements at both ends of a certain optical path in the first optical path group and the second optical path group, then the optical path that is not included in the group is placed in the corresponding optical path group. After multiple iterations, all optical paths are grouped and the grouping is completed.

[0074] Determine if the sites have the same route, that is, identify the same site risk: The source and sink sites of the optical paths in the two optical path groups are respectively formed into site pools, which are compared with each other. The sites that appear in both groups are put into the comparison pool (which must include the OMS source and sink sites), and the sites in the comparison pool are deduplicated. A site only appears once in a single comparison pool. If it is a single circuit scenario, the source and sink sites of the circuit do not need to be considered, so the source and sink sites of the circuit are eliminated.

[0075] Determine whether the optical cables have the same route, that is, identify the risks of the same optical cable: the two optical path groups compare the point facilities and laying sections associated with the optical paths.

[0076] If there are point facilities or laying sections that appear in both optical path groups, the duplicate point facilities and laying sections will be put into the comparison pool; if there are no point facilities or laying sections that appear in both optical path groups, no operation will be performed and it is considered that the OMS has no risk of optical cable co-routing.

[0077] If there is no OLP in the OMS, the sites associated with the OMS (excluding the source and destination sites of the circuit in the single-circuit scenario), point facilities, and laying sections are directly put into the comparison pool.

[0078] Identify same-site risks: All comparison pools compare sites with each other.

[0079] If there is no site that appears in all comparison pools, it indicates that there is no same-site risk; if there is a site that appears in all comparison pools, the site and the associated OMS are recorded to obtain the same-site risk identification result.

[0080] Identify risks with the same optical cable: all comparison pools compare each other’s point facilities and laying sections.

[0081] If there are no point facilities or laying sections that appear in all comparison pools, it indicates that there is no risk of the same optical cable; if there are point facilities or laying sections that appear in all comparison pools: record the point facilities, laying sections and related optical paths to obtain the risk identification results of the same optical cable.

[0082] The routing risk identification method provided in the embodiment of the present application can accurately identify routing risks of the same site risk and the same optical cable risk, thereby improving the efficiency of risk identification.

[0083] The following is a description of a routing risk identification device provided in an embodiment of the present application. The routing risk identification device described below and the routing risk identification method described above can be referenced to each other.

[0084] Figure 4 A schematic diagram of the structure of a routing risk identification device provided in an embodiment of the present application, such as Figure 4 As shown, the apparatus includes a grouping module 410 , a first identification module 420 , a connection module 430 , a second identification module 440 and a third identification module 450 .

[0085] A grouping module, used for grouping the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group; The first identification module is used to identify the same board risk of the to-be-identified route based on the presence of the same line board in each optical channel group; A connection module, for connecting each optical channel in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; The second identification module is used to compare the optical path source and sink sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the route to be identified; The third identification module is used to compare the laying sections or point facilities of the connected optical channels to identify the risks of the same optical cables of the routes to be identified.

[0086] Specifically, according to an embodiment of the present application, any multiple modules among the grouping module, the first identification module, the connection module, the second identification module and the third identification module can be combined into one module for implementation, or any one of the modules can be split into multiple modules.

[0087] Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module.

[0088] According to an embodiment of the present application, at least one of the grouping module, the first identification module, the connection module, the second identification module and the third identification module can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware, or in an appropriate combination of any of them.

[0089] Alternatively, at least one of the grouping module, the first identification module, the connection module, the second identification module and the third identification module may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be performed.

[0090] The routing risk identification device provided in the embodiment of the present application can identify various routing risks through a computer by concatenating, grouping and comparing the logical and physical layer data involved in the circuit of the identified route, thereby realizing the standardization and digitization of routing risk identification without human intervention, thereby improving the identification efficiency and accuracy of routing risk identification.

[0091] In some embodiments, the grouping module is specifically configured to: Determine the routing scenario of the to-be-identified route based on the bearer service mode of the circuit; the routing scenario includes a single circuit scenario and a circuit group scenario; The optical channels of the circuits in the to-be-identified routes are associated and grouped based on the routing scenarios.

[0092] In some embodiments, associating and grouping optical channels of circuits in the to-be-identified routes based on the routing scenario includes: In the case where the routing scenario is a single circuit scenario, the optical channels of the circuit are associated, and the optical channels are grouped based on the transmission source network element in the single circuit scenario and the network elements at both ends of each optical channel; In the case where the routing scenario is a circuit group scenario, the optical channels in the circuit group scenario are grouped based on the optical channels associated with the circuits in the circuit group scenario.

[0093] In some embodiments, when the routing scenario is a single circuit scenario, the grouping module is specifically used to: Associate the source and sink network elements of each optical channel to build a network element pool; When the source and sink network elements of each optical channel in the network element pool appear twice, it is confirmed that the circuit has circuit protection; When it is confirmed that the circuit has circuit protection, the optical channels of the circuit in the route to be identified are associated and grouped.

[0094] In some embodiments, when the routing scenario is a circuit group scenario, the first identification module is specifically used to: If the same branch board appears in all circuit sources or sink boards in the circuit group scenario, it is confirmed that the route to be identified has the risk of the branch board being the same; When the same line card appears in each optical channel group, it is confirmed that the route to be identified has the risk of the same line card.

[0095] In some embodiments, the second identification module and the third identification module are specifically used to: Building a network element pool based on the source and sink network elements of the optical path connected by any optical multiplex section; Judging whether there is optical fiber line protection for the to-be-identified route based on the number of occurrences of each network element in the network element pool; In the case of optical fiber line protection, each optical path is grouped to obtain a first optical path group and a second optical path group, and the repeated optical path source and destination sites in the first optical path group and the second optical path group are placed in a comparison pool to identify the same site risk of the route to be identified; the repeated laying sections or point facilities in the first optical path group and the second optical path group are placed in a comparison pool to identify the same optical cable risk of the route to be identified; In the absence of fiber optic line protection, each optical path source and destination site is placed in a comparison pool to identify the same-site risk of the route to be identified; each laying section or each point facility is placed in a comparison pool to identify the same optical cable risk of the route to be identified.

[0096] It should be noted that the routing risk identification device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned routing risk identification method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those of the method embodiment will not be described in detail here.

[0097] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 5 As shown, the electronic device may include: a processor (Processor) 510, a communication interface (Communication Interface) 520, a memory (Memory) 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call a computer program in the memory 530 to execute the above method, for example, including: Grouping the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group; Based on the presence of the same line card in each optical channel group, identify the same card risk of the route to be identified; Connecting the optical channels in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; Compare the optical path source and destination sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the route to be identified; Compare the laying sections or point facilities of the connected optical channels to identify the risks of the same optical cables in the routes to be identified.

[0098] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software function modules and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0099] On the other hand, an embodiment of the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the methods provided in the above embodiments.

[0100] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, which stores a computer program, and the computer program is used to enable the processor to execute the methods provided in the above embodiments.

[0101] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0102] The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for identifying routing risks, characterized in that: include: Grouping the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group; Based on the presence of the same line card in each optical channel group, identifying the same card risk of the to-be-identified route; Connecting the optical channels in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; Comparing the optical path source and destination sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the to-be-identified route; The laying sections or point facilities of the connected optical channels are compared to identify the same optical cable risks of the routes to be identified.

2. The routing risk identification method according to claim 1, characterized in that: The step of grouping the optical channels of the circuits in the to-be-identified routes includes: Determine the routing scenario of the to-be-identified route based on the bearer service mode of the circuit; the routing scenario includes a single circuit scenario and a circuit group scenario; The optical channels of the circuits in the to-be-identified routes are associated and grouped based on the routing scenario.

3. The method for identifying routing risks according to claim 2, characterized in that: The associating and grouping the optical channels of the circuits in the to-be-identified routes based on the routing scenario includes: When the routing scenario is the single circuit scenario, associating the optical channels of the circuit, and grouping the optical channels based on the transmission source network element and the network elements at both ends of each optical channel in the single circuit scenario; In the case where the routing scenario is the circuit group scenario, the optical channels in the circuit group scenario are grouped based on the optical channels associated with the circuits in the circuit group scenario.

4. The method for identifying routing risks according to claim 3, characterized in that: In the case where the routing scenario is the single circuit scenario, grouping the optical channels of the circuit in the to-be-identified route includes: Associate the source and sink network elements of each optical channel to build a network element pool; When the source and sink network elements of each optical channel in the network element pool appear twice, it is confirmed that circuit protection exists in the circuit; When it is confirmed that the circuit has circuit protection, the optical channels of the circuit in the to-be-identified route are associated and grouped.

5. The method for identifying routing risks according to claim 3, characterized in that: In the case where the routing scenario is the circuit group scenario, the identifying the same-board risk of the to-be-identified routing includes: When the same branch board appears in each circuit source or each sink board in the circuit group scenario, confirming that the to-be-identified route has a branch same-board risk; When the same line board appears in each optical channel group, it is confirmed that the to-be-identified route has the risk of the same line board.

6. The method for identifying routing risks according to claim 1, characterized in that: The optical path source and destination sites of the optical multiplexing section of the connected optical channel are compared to identify the same-site risk of the to-be-identified route; Compare the laying sections or point facilities of the connected optical channels to identify the risks of the same optical cable of the routes to be identified, including: Building a network element pool based on source and sink network elements of an optical path connected by any of the optical multiplex sections; Determining whether there is optical fiber line protection for the to-be-identified route based on the number of occurrences of each network element in the network element pool; In the presence of the optical fiber line protection, each optical path is grouped to obtain a first optical path group and a second optical path group, and the repeated optical path source and destination sites in the first optical path group and the second optical path group are placed in a comparison pool to identify the same-site risk of the route to be identified; the repeated laying sections or point facilities in the first optical path group and the second optical path group are placed in a comparison pool to identify the same optical cable risk of the route to be identified; In the absence of the optical fiber line protection, each optical path source and destination site is placed in a comparison pool to identify the same-site risk of the route to be identified; each laying section or each point facility is placed in a comparison pool to identify the same optical cable risk of the route to be identified.

7. A routing risk identification device, characterized in that: include: A grouping module, used for grouping the optical channels of the circuits in the to-be-identified route to obtain at least one optical channel group; A first identification module is used to identify the same-board risk of the to-be-identified route based on the presence of the same line board in each optical channel group; A connection module, for connecting each optical channel in each optical channel group based on the connection sequence of the optical multiplexing section, the optical transmission section, the optical path, the laying section and the point facility; The second identification module is used to compare the optical path source and sink sites of the optical multiplexing section of the connected optical channel to identify the same-site risk of the to-be-identified route; The third identification module is used to compare the installation sections or point facilities of the connected optical channels to identify the same optical cable risks of the routes to be identified.

8. An electronic device, comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to execute the routing risk identification method according to any one of claims 1 to 6 through the computer program.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the routing risk identification method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the routing risk identification method according to any one of claims 1 to 6 is implemented.