Optical transport network detection method and device, electronic equipment and storage medium
By analyzing the topology and service paths of the optical transport network, we identify the co-routing and co-fiber problems of circuits in the optical transport network, solve the problem of low fault handling efficiency caused by the increase in equipment nodes and complex structures in the optical transport network, and achieve rapid , accurate fault identification and maintenance.
Patent Information
- Application Number
- CN202410883566.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-06
AI Technical Summary
In optical transmission networks, due to the increase in equipment nodes and the complexity of the network structure, manual troubleshooting is difficult to accurately determine whether circuit service paths have co-routing and whether protection paths have common boards and fibers, resulting in low troubleshooting efficiency.
Determine the network topology of the optical transport network based on the network management script file, obtain the end-to-end path information between each node, determine the path segment to be detected based on the service type, and analyze segment by segment whether the business segment and the protection segment share the same board Or optical fiber, adjust the service transmission path to eliminate common routing, and then identify the location and number of common boards and fibers.
It realizes rapid identification of OTN circuits and routes, improves troubleshooting efficiency, reduces manual inspection workload, and improves network business security and maintenance capabilities.
Smart Images

Figure CN118611754A
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical transmission security technology, and in particular to an optical transmission network detection method, device, electronic device and storage medium. Background Art
[0002] In the related art, for OTN (Optical Transport Network) circuits, manual methods are mainly used to determine whether the starting and ending nodes of the circuit are the same and whether the equipment passing through the nodes is the same. However, with the increase in the amount of circuit business, the number of equipment nodes in the optical transport network is increasing, and the network structure is becoming more and more complex. It is difficult to accurately determine whether there is a common routing phenomenon in the path through which the circuit business passes, and whether there is a problem of common board and common fiber between the SNCP (SubNetwork Connection Protection) and LMSP (Liner Multiplex Section Protection) protection pairs through which the business passes.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide an optical transmission network detection method, device, electronic device and storage medium to at least solve the technical problem that due to the increasing number of device nodes in the optical transmission network and the increasingly complex network structure, it is difficult to accurately determine whether there is a common routing phenomenon in the path passed by the circuit service through manual investigation in the related technology.
[0005] According to one aspect of an embodiment of the present application, there is provided an optical transmission network detection method, comprising: determining a network topology structure of the optical transmission network based on a network management script file, wherein the network management script file includes end-to-end path information between nodes in the optical transmission network; determining a service type corresponding to the network topology structure, and determining a path segment to be detected in the network topology structure based on the service type, wherein the path segment to be detected includes a service segment for transmitting service data, and a protection segment corresponding to the service segment; and in a case where it is detected that a common route exists in the path segment to be detected, adjusting the service transmission path in the network topology structure, wherein no common routed path segment to be detected exists in the adjusted network topology structure.
[0006] Optionally, determining the network topology structure of the optical transmission network based on the network management script file includes: obtaining wavelength division multiplexing path information and / or synchronous digital system path information in the network management script file, and performing end-to-end restoration based on the wavelength division multiplexing path information and / or synchronous digital system path information to obtain the network topology structure; obtaining service information of the local Ethernet service table and packet subnet connection protection information collected by the network monitoring system, and mapping the service information and the packet subnet connection protection information to the network topology structure.
[0007] Optionally, based on the service type, determining the path segment to be detected in the network topology structure includes: when the service type is an optical transmission network client type, determining the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure as the path segment to be detected; when the service type is an optical transmission network carrying Ethernet type, determining the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure, the path segment corresponding to the packet subnet connection protection, and the path segment corresponding to the optical line protection of the optical fiber line automatic switching protection device are determined as the path segment to be detected; when the service type is a synchronous digital hierarchy type, determining the path segment corresponding to the linear multiplexing segment and the path segment corresponding to the virtual container subnet connection protection in the network topology structure as the path segment to be detected.
[0008] Optionally, the method also includes: determining the service segment and protection segment in the path segment to be detected segment by segment according to the protection information corresponding to the path segment to be detected, and whether they share the same board card or the same section of optical fiber in the network topology structure; when the service segment and the protection segment share the same board card or the same section of optical fiber, determining whether there is a common route in the path segment to be detected.
[0009] Optionally, adjusting the service transmission path in the network topology structure includes: determining the starting node and the ending node for service data transmission in the network topology structure; determining the cumulative distance between each node in the network topology structure and the starting node and the ending node, and determining the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node; in the network topology structure, constructing a minimum ring path including the nodes in the target node set, and splitting the minimum ring path into a service path and a protection path, wherein the nodes in the target node set include: the starting node, the ending node, and the neighboring nodes corresponding to the starting node and the ending node, and there is no common routing between the split service path and the protection path.
[0010] Optionally, determining the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node includes: determining the location information of each node in the network topology structure, and determining the connecting straight line between the starting node and the ending node based on the location information of the starting node and the ending node, wherein the connecting straight line divides the network topology structure into a first sub-area and a second sub-area; determining the first distance between the first node and the starting node, the second distance between the second node and the starting node, or determining the third distance between the first node and the ending node, and the fourth distance between the second node and the ending node, wherein the first node is a node in the first sub-area and the second node is a node in the second sub-area; determining the fifth distance between the first node and the second node, and determining the sum of the first distance, the second distance and the fifth distance as the cumulative distance corresponding to the starting node, and determining the sum of the third distance, the fourth distance and the fifth distance as the cumulative distance corresponding to the ending node; enumerating the first node and the second node in the network topology structure, determining the first node and the second node with the smallest cumulative distance corresponding to the starting node as the neighboring nodes corresponding to the starting node, and determining the first node and the second node with the smallest cumulative distance corresponding to the ending node as the neighboring nodes corresponding to the ending node.
[0011] Optionally, constructing a minimum ring path including nodes in the target node set includes: determining the link wavelength capacity between every two nodes in the network topology structure and the number of wavelengths occupied by the service link after the link carries the service; determining the loop links in the network topology structure including all the nodes in the target node set, and determining the link reserved channel degree corresponding to each loop link based on the link wavelength capacity and the number of wavelengths occupied by the service link after the link carries the service; and determining the loop link with the smallest link distance among the loop links whose link reserved channel degrees are greater than a preset channel degree threshold as the minimum ring path.
[0012] According to another aspect of an embodiment of the present application, an optical transmission network detection device is also provided, including: a topology acquisition module, used to determine the network topology of the optical transmission network based on a network management script file, wherein the network management script file contains end-to-end path information between each node in the optical transmission network; a detection segment determination module, used to determine the service type corresponding to the network topology, and determine the path segment to be detected in the network topology based on the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment; a path planning adjustment module, used to adjust the service transmission path in the network topology when it is detected that there is a common route in the path segment to be detected, wherein there is no common routed path segment to be detected in the adjusted network topology.
[0013] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory and a processor, the processor being configured to run a program stored in the memory, wherein the optical transport network detection method is executed when the program is run.
[0014] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, the non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the optical transport network detection method by running the computer program.
[0015] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the optical transport network detection method are implemented.
[0016] In an embodiment of the present application, a network topology structure of an optical transmission network is determined based on a network management script file, wherein the network management script file includes end-to-end path information between nodes in the optical transmission network; a service type corresponding to the network topology structure is determined, and a path segment to be detected in the network topology structure is determined based on the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment; when it is detected that there is a common route in the path segment to be detected, the service transmission path in the network topology structure is adjusted, wherein there is no common route in the path segment to be detected in the adjusted network topology structure, by performing end-to-end restoration of the OTN service path, and then analyzing the ODUk (Optical Channel Data Unit, optical channel data unit) and related optical layer services segment by segment according to the optical layer protection, analyzing which points have common boards and common fibers, and finding the positions and quantities of common boards and common fibers through the OTN common routing identification method, thereby achieving the purpose of quickly identifying the common routing of OTN circuits, thereby solving the technical problem that it is difficult to accurately determine whether there is a common routing phenomenon in the path passed by the circuit service in the manual troubleshooting method in the related technology due to the increasing number of device nodes in the optical transmission network and the gradual complexity of the network structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 It is a hardware structure block diagram of a computer terminal (or electronic device) for implementing a method for optical transport network detection provided in an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a method flow for optical transmission network detection provided according to an embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of a dedicated line service networking scenario provided according to an embodiment of the present application;
[0021] Figure 4 It is a logical design diagram of OTN circuit same-route identification provided according to an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of a method flow of path planning adjustment provided according to an embodiment of the present application;
[0023] Figure 6 It is a schematic diagram of obtaining neighboring nodes of a starting and ending node according to an embodiment of the present application;
[0024] Figure 7 It is a structural schematic diagram of an optical transmission network detection device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] 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 should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, 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, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] In order to facilitate those skilled in the art to better understand the embodiments of the present application, some technical terms or nouns involved in the embodiments of the present application are explained as follows:
[0028] OTN (Optical Transport Network) is a transmission network that organizes the network at the optical layer based on wavelength division multiplexing technology.
[0029] WDM (Wavelength Division Multiplexing) refers to an optical communication system that divides the optical signals by wavelength.
[0030] SDH (Synchronous Digital Hierarchy) is a technical system that provides information structures of corresponding levels for the transmission of digital signals of different rates, including multiplexing methods and mapping methods, as well as related synchronization methods.
[0031] ODUk (Optical Channel Data Unit): is an information structure including an information payload (OPUk) and an ODUk related to overhead.
[0032] SNCP (SubNetwork Connection Protection) refers to the pre-arrangement of a dedicated protection route for a subnet connection. Once a subnet failure occurs, the dedicated protection route will replace the subnet to assume the transmission task in the entire network.
[0033] LMSP (Liner Multiplex Section Protection): It is a kind of SDH port level protection, that is, one SDH port is used to protect any service on another SDH port. When a link failure occurs, LMSP will send a protection switching request through the linear multiplex section K byte, and the opposite end device will give a switching bridge response.
[0034] ROADM (Reconfigurable Optical Add-Drop Multiplexer) is a device or equipment used in dense wavelength division multiplexing systems. Its function is to dynamically add or drop service wavelengths through remote reconfiguration.
[0035] VC (Virtual Container): used for multiplexing and bundling to adapt to different bandwidths, with the purpose of improving bandwidth utilization.
[0036] EOO (Ethernet over OTN): Ethernet signals are encapsulated into ODUk pipes and carried over the OTN network.
[0037] In the related art, for OTN circuits, manual methods are mainly used to determine whether the starting and ending nodes of the circuit are the same and whether the equipment passing through the nodes is the same. However, with the increase in the amount of circuit services, the number of equipment nodes in the optical transmission network is increasing, and the network structure is becoming more and more complex. It is difficult to accurately determine whether there is a common routing phenomenon in the path through which the circuit service passes, and whether there is a common board and common fiber problem between the SNCP and LMSP protection pairs through which the service passes by relying solely on manual inspection.
[0038] In addition, customers are no longer satisfied with traditional maintenance. Specifically, customers carried by premium OTN networks (such as government and enterprise OTN networks) are key customers and are extremely sensitive to failures. The maintenance capabilities that were used to complete the processing within the agreed time limit when a failure occurred are no longer satisfactory to customers. Since the OTN network adopts a flat structure and the system is huge, the introduction of new dynamic optical add-drop multiplexing boards makes the network structure more flexible and more complex. The automatic issuance technology used in the service has defective scheduling capabilities, immature issuance templates, and unknown loopholes in the service configuration. This leads to service interruptions caused by the same circuit routing board and the same route, which seriously affects customer perception. However, the method of manually inspecting the same route in related technologies is difficult to find hidden dangers of the same circuit board and the same route due to factors such as complex networks and huge inspection workload, and the effect is minimal.
[0039] In order to solve the above problems, relevant solutions are provided in the embodiments of the present application, which are described in detail below.
[0040] According to an embodiment of the present application, a method embodiment of optical transport network detection is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0041] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or electronic device) for implementing the optical transmission network detection method is shown. Figure 1As shown, the computer terminal 10 (or electronic device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0042] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or electronic device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0043] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the optical transmission network detection method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned optical transmission network detection method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0044] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0045] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or electronic device).
[0046] Under the above operating environment, the embodiment of the present application provides an optical transmission network detection method. Figure 2 is a schematic diagram of a method flow for optical transmission network detection provided according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0047] Step S202, determining a network topology of the optical transport network according to a network management script file, wherein the network management script file includes end-to-end path information between nodes in the optical transport network;
[0048] Step S204, determining the service type corresponding to the network topology structure, and determining the path segment to be detected in the network topology structure according to the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment;
[0049] Step S206 , when it is detected that the path segment to be detected has a common route, the service transmission path in the network topology structure is adjusted, wherein the adjusted network topology structure does not have a common route path segment to be detected.
[0050] Through the above steps, the OTN service path is restored end-to-end, and then according to the optical layer protection, the points where the ODUk and related optical layer services have common boards and common fibers are analyzed section by section. The positions and quantities of common boards and common fibers are found through the OTN common routing identification method, thereby achieving the purpose of quickly identifying the common routing of OTN circuits, thereby solving the technical problem that due to the increasing number of device nodes in the optical transmission network and the increasingly complex network structure, it is difficult to accurately determine whether there is a common routing phenomenon in the manual troubleshooting method in the relevant technology due to the increasing number of device nodes in the optical transmission network and the increasingly complex network structure.
[0051] The optical transport network detection method in steps S202 to S206 of the embodiment of the present application is further introduced below.
[0052] First, the OTN service path needs to be restored end-to-end, that is, the network topology of the optical transport network needs to be determined. The specific steps are as follows.
[0053] In some embodiments of the present application, determining the network topology structure of the optical transmission network based on the network management script file includes the following steps: obtaining wavelength division multiplexing path information and / or synchronous digital system path information in the network management script file, and performing end-to-end restoration based on the wavelength division multiplexing path information and / or synchronous digital system path information to obtain the network topology structure; obtaining service information of the local Ethernet service table and the packet subnet connection protection information collected by the network monitoring system, and mapping the service information and the packet subnet connection protection information to the network topology structure.
[0054] Specifically, the end-to-end restoration of WDM and SDH paths can be completed in the network management script file, combined with the Native Ethernet service table and the packet SNCP information collected by uFAD (Unified Fauit Alarm Detection System), the service information can be completed on the basis of the WDM path. In addition, for services crossing EMS (Element Management System), the entire path can be connected through the port ID label.
[0055] After determining the network topology of the optical transport network circuit, the embodiment of the present application combines the circuit characteristics, analyzes the network management's ability to present the circuit path, and summarizes different business networking scenarios (i.e., business types), such as Figure 3 As shown, the service networking scenarios include: OTN Client service (i.e., optical transport network client type), EOO service (i.e., optical transport network carrying Ethernet type), SDH service (i.e., synchronous digital hierarchy type), and according to the service type, the path segment to be detected in the network topology is determined. The specific steps are as follows.
[0056] In some embodiments of the present application, determining the path segment to be detected in the network topology structure based on the service type includes the following steps: when the service type is an optical transmission network client type, the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure is determined as the path segment to be detected; when the service type is an optical transmission network carrying Ethernet type, the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure, the path segment corresponding to the packet subnet connection protection, and the path segment corresponding to the optical line protection of the optical fiber line automatic switching protection device are determined as the path segment to be detected; when the service type is a synchronous digital hierarchy type, the path segment corresponding to the linear multiplexing segment and the path segment corresponding to the virtual container subnet connection protection in the network topology structure are determined as the path segment to be detected.
[0057] Specific as Figure 4 As shown, for OTN Client services and EOO services, ODUk and related optical layer services can be mainly analyzed, and analysis can be performed section by section according to the protection information related to the path to analyze which points between the unprotected segment and the protection pair have common boards and fibers. For example, the service segment and protection segment in the path segment to be detected are determined section by section to determine whether they share the same board or the same section of optical fiber in the network topology; when the service segment and the protection segment share the same board or the same section of optical fiber, it is determined that the path segment to be detected has a common route; for SDH services, in addition to analyzing whether the VCSNCP and LMSP protection of the SDH layer themselves share boards and fibers, it is also necessary to find the ODUk services associated with the working path and the protection path, and analyze which points of the ODUk and related optical layer services have common boards and fibers.
[0058] When it is detected that there is a common route in the path segment to be detected, it is necessary to adjust the service transmission path in the network topology structure. The specific steps are as follows.
[0059] In some embodiments of the present application, adjusting the service transmission path in the network topology structure includes the following steps: determining the starting node and the ending node for service data transmission in the network topology structure; determining the cumulative distance between each node in the network topology structure and the starting node and the ending node, and determining the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node; in the network topology structure, constructing a minimum ring path including the nodes in the target node set, and splitting the minimum ring path into a service path and a protection path, wherein the nodes in the target node set include: a starting node, an ending node, and the neighboring nodes corresponding to the starting node and the ending node, and there is no common routing between the split service path and the protection path.
[0060] Specifically, Figure 5As shown in the figure, first obtain the power system protection OTN network topology and link resource information, and obtain the neighboring nodes of the service start and end nodes according to the cumulative shortest median distance criterion; then build a minimum ring path including the service OTN node set node, split the minimum ring into service paths to allocate channel wavelength resources and link resource information. Repeat the above process until all services to be loaded complete path planning.
[0061] Among them, determining the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node includes the following steps: determining the location information of each node in the network topology structure, and determining the connecting straight line between the starting node and the ending node based on the location information of the starting node and the ending node, wherein the connecting straight line divides the network topology structure into a first sub-area and a second sub-area; determining the first distance between the first node and the starting node, the second distance between the second node and the starting node, or determining the third distance between the first node and the ending node, and the fourth distance between the second node and the ending node, wherein the first node is a node in the first sub-area and the second node is a node in the second sub-area; determining the fifth distance between the first node and the second node, and determining the sum of the first distance, the second distance and the fifth distance as the cumulative distance corresponding to the starting node, and determining the sum of the third distance, the fourth distance and the fifth distance as the cumulative distance corresponding to the ending node; enumerating the first node and the second node in the network topology structure, determining the first node and the second node with the smallest cumulative distance corresponding to the starting node as the neighboring nodes corresponding to the starting node, and determining the first node and the second node with the smallest cumulative distance corresponding to the ending node as the neighboring nodes corresponding to the ending node.
[0062] like Figure 6 As shown, p, q, 1-8 are all nodes in the network topology structure, p represents the starting node, q represents the ending node, and the dotted line in the figure is the connecting line between the starting node and the ending node. The straight line divides the network topology structure into two areas, the first sub-area and the second sub-area. The full enumeration method is used to calculate and obtain the optimal neighboring nodes in the first sub-area and the second sub-area respectively.
[0063] After determining the neighboring nodes corresponding to the start node and the end node, the minimum loop path can be constructed. The specific steps are as follows.
[0064] In some embodiments of the present application, constructing a minimum ring path including nodes in a target node set includes the following steps: determining the link wavelength capacity between every two nodes in a network topology structure and the number of wavelengths occupied by a service link after the link carries a service; determining a ring link in the network topology structure including all nodes in the target node set, and determining a link reserved channel degree corresponding to each ring link based on the link wavelength capacity and the number of wavelengths occupied by the service link after the link carries a service; determining a ring link with a minimum link distance among the ring links whose link reserved channel degrees are greater than a preset channel degree threshold as the minimum ring path.
[0065] For example, Figure 6 The neighboring nodes corresponding to the starting node p are determined to be nodes 5 and 6, and the neighboring nodes corresponding to the ending node q are nodes 7 and 8. Then the target node set includes: nodes p, q, 5, 6, 7, and 8;
[0066] After that, the link reserved channel degree can be calculated according to the formula (1-f(i, j) / C(i, j)), and according to the topological distance path minimum ring criterion, under the condition that the loop link channel degree is greater than the link reserved channel degree threshold T, the minimum hop principle is adopted to construct the minimum ring path including the service node set nodes, where C(i, j) represents the wavelength capacity of the link between node i and node j, and f(i, j) represents the number of wavelengths occupied by the service link after the link between node i and node j carries the service. After determining the minimum ring path, the minimum ring path can be split into two paths, and the OTN network optical fiber channels are allocated according to the links of the split service paths to realize the link channel allocation of the dual service paths of the given system protection service.
[0067] This application solution can accurately identify whether there are common boards, common fibers, and the number of circuits with the same route between multiple services. At the same time, the underlying data can be analyzed through the OTN inspection tool to overcome the difficulty of discovering circuit hidden dangers during manual inspections and quickly improve the security of the entire network. The method of identifying the same route of OTN circuits can be integrated into the network management at a later stage. The network management side and the equipment side can work together to regularly or in real time discover the hidden dangers of the same route and the same board card for services, creating a two-layer firewall for daily maintenance and regular surveys of government and enterprise VIP customers, fundamentally eliminating the possibility of pseudo-protection problems in high-level VIP customer services.
[0068] According to an embodiment of the present application, an embodiment of an optical transport network detection device is also provided. Figure 7 Schematic diagram of the structure of an optical transmission network detection device provided according to an embodiment of the present application. Figure 7 As shown, the device comprises:
[0069] A topology acquisition module 70, configured to determine a network topology of the optical transport network according to a network management script file, wherein the network management script file includes end-to-end path information between nodes in the optical transport network;
[0070] The detection segment determination module 72 is used to determine the service type corresponding to the network topology structure, and determine the path segment to be detected in the network topology structure according to the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment;
[0071] The path planning adjustment module 74 is used to adjust the service transmission path in the network topology structure when it is detected that the path segment to be detected has a common route, wherein the adjusted network topology structure does not have a common route path segment to be detected.
[0072] Optionally, determining the network topology structure of the optical transmission network based on the network management script file includes: obtaining wavelength division multiplexing path information and / or synchronous digital system path information in the network management script file, and performing end-to-end restoration based on the wavelength division multiplexing path information and / or synchronous digital system path information to obtain the network topology structure; obtaining service information of the local Ethernet service table and packet subnet connection protection information collected by the network monitoring system, and mapping the service information and the packet subnet connection protection information to the network topology structure.
[0073] Optionally, based on the service type, determining the path segment to be detected in the network topology structure includes: when the service type is an optical transmission network client type, determining the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure as the path segment to be detected; when the service type is an optical transmission network carrying Ethernet type, determining the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure, the path segment corresponding to the packet subnet connection protection, and the path segment corresponding to the optical line protection of the optical fiber line automatic switching protection device are determined as the path segment to be detected; when the service type is a synchronous digital hierarchy type, determining the path segment corresponding to the linear multiplexing segment and the path segment corresponding to the virtual container subnet connection protection in the network topology structure as the path segment to be detected.
[0074] Optionally, the optical transmission network detection device is also used to: determine the service segment and the protection segment in the path segment to be detected segment by segment according to the protection information corresponding to the path segment to be detected, and whether they share the same board card or the same section of optical fiber in the network topology; when the service segment and the protection segment share the same board card or the same section of optical fiber, determine whether there is a common route in the path segment to be detected.
[0075] Optionally, adjusting the service transmission path in the network topology structure includes: determining the starting node and the ending node for service data transmission in the network topology structure; determining the cumulative distance between each node in the network topology structure and the starting node and the ending node, and determining the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node; in the network topology structure, constructing a minimum ring path including the nodes in the target node set, and splitting the minimum ring path into a service path and a protection path, wherein the nodes in the target node set include: the starting node, the ending node, and the neighboring nodes corresponding to the starting node and the ending node, and there is no common routing between the split service path and the protection path.
[0076] Optionally, determining the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node includes: determining the location information of each node in the network topology structure, and determining the connecting straight line between the starting node and the ending node based on the location information of the starting node and the ending node, wherein the connecting straight line divides the network topology structure into a first sub-area and a second sub-area; determining the first distance between the first node and the starting node, the second distance between the second node and the starting node, or determining the third distance between the first node and the ending node, and the fourth distance between the second node and the ending node, wherein the first node is a node in the first sub-area and the second node is a node in the second sub-area; determining the fifth distance between the first node and the second node, and determining the sum of the first distance, the second distance and the fifth distance as the cumulative distance corresponding to the starting node, and determining the sum of the third distance, the fourth distance and the fifth distance as the cumulative distance corresponding to the ending node; enumerating the first node and the second node in the network topology structure, determining the first node and the second node with the smallest cumulative distance corresponding to the starting node as the neighboring nodes corresponding to the starting node, and determining the first node and the second node with the smallest cumulative distance corresponding to the ending node as the neighboring nodes corresponding to the ending node.
[0077] Optionally, constructing a minimum ring path including nodes in the target node set includes: determining the link wavelength capacity between every two nodes in the network topology structure and the number of wavelengths occupied by the service link after the link carries the service; determining the loop links in the network topology structure including all the nodes in the target node set, and determining the link reserved channel degree corresponding to each loop link based on the link wavelength capacity and the number of wavelengths occupied by the service link after the link carries the service; and determining the loop link with the smallest link distance among the loop links whose link reserved channel degrees are greater than a preset channel degree threshold as the minimum ring path.
[0078] It should be noted that the various modules in the above-mentioned optical transmission network detection device can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.
[0079] It should be noted that the optical transmission network detection device provided in this embodiment can be used to perform Figure 2 The optical transmission network detection method shown, therefore, the relevant explanations and descriptions of the above-mentioned optical transmission network detection method are also applicable to the embodiments of the present application and will not be repeated here.
[0080] An embodiment of the present application also provides a non-volatile storage medium, the non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the following optical transmission network detection method by running the computer program: determining the network topology structure of the optical transmission network based on a network management script file, wherein the network management script file includes end-to-end path information between nodes in the optical transmission network; determining the service type corresponding to the network topology structure, and determining the path segment to be detected in the network topology structure based on the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment; in a case where it is detected that there is a common route in the path segment to be detected, adjusting the service transmission path in the network topology structure, wherein there is no common route in the path segment to be detected in the adjusted network topology structure.
[0081] The embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the optical transmission network detection method described in each embodiment of the present application: determining the network topology of the optical transmission network based on a network management script file, wherein the network management script file contains end-to-end path information between nodes in the optical transmission network; determining the service type corresponding to the network topology, and determining the path segment to be detected in the network topology based on the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment; in the case where it is detected that there is a common route in the path segment to be detected, adjusting the service transmission path in the network topology, wherein there is no common route in the path segment to be detected in the adjusted network topology.
[0082] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0083] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0088] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for detecting an optical transmission network, characterized in that: include: Determining a network topology structure of an optical transmission network according to a network management script file, wherein the network management script file includes end-to-end path information between nodes in the optical transmission network; Determine the service type corresponding to the network topology structure, and determine the path segment to be detected in the network topology structure according to the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment; In the case where it is detected that the path segment to be detected has a common route, the service transmission path in the network topology structure is adjusted, wherein the path segment to be detected with a common route does not exist in the adjusted network topology structure.
2. The optical transmission network detection method according to claim 1, characterized in that: Determining the network topology of the optical transmission network according to the network management script file includes: Acquire wavelength division multiplexing path information and / or synchronous digital hierarchy path information in the network management script file, and perform end-to-end restoration according to the wavelength division multiplexing path information and / or synchronous digital hierarchy path information to obtain the network topology structure; The service information of the local Ethernet service table and the packet subnet connection protection information collected by the network monitoring system are obtained, and the service information and the packet subnet connection protection information are mapped into the network topology structure.
3. The optical transmission network detection method according to claim 2, characterized in that: Determining, according to the service type, a path segment to be detected in the network topology structure includes: In the case where the service type is an optical transport network client type, determining the path segment corresponding to the subnet connection protection of the optical path data unit in the network topology structure as the path segment to be detected; In the case where the service type is an optical transport network carrying Ethernet type, the path segment corresponding to the subnet connection protection of the optical path data unit, the path segment corresponding to the packet subnet connection protection, and the path segment corresponding to the optical line protection of the optical fiber line automatic switching protection device in the network topology structure are determined as the path segment to be detected; In the case where the service type is a synchronous digital hierarchy type, a path segment corresponding to a linear multiplexing segment and a path segment corresponding to a virtual container subnet connection protection in the network topology structure are determined as the path segment to be detected.
4. The optical transmission network detection method according to claim 3, characterized in that: The method further comprises: According to the protection information corresponding to the path segment to be detected, determine the service segment and the protection segment in the path segment to be detected segment by segment, whether they share the same board or the same section of optical fiber in the network topology; In the case that the service segment and the protection segment share the same board or the same section of optical fiber, it is determined that the path segment to be detected has a common route.
5. The optical transmission network detection method according to claim 1, characterized in that: Adjusting the service transmission path in the network topology structure includes: Determine a starting node and an ending node for business data transmission in the network topology structure; Determine the cumulative distance between each node in the network topology structure and the starting node and the ending node, and determine the node with the shortest cumulative distance as the neighboring node corresponding to the starting node and the ending node; In the network topology structure, a minimum ring path including nodes in a target node set is constructed, and the minimum ring path is split into a service path and a protection path, wherein the nodes in the target node set include: the starting node, the ending node, and the neighboring nodes corresponding to the starting node and the ending node, and there is no common routing between the service path and the protection path obtained by splitting.
6. The optical transmission network detection method according to claim 5, characterized in that: Determining the node with the shortest cumulative distance as the neighboring node corresponding to the start node and the end node includes: Determine the location information of each node in the network topology structure, and determine a connecting line between the starting node and the ending node according to the location information of the starting node and the ending node, wherein the connecting line divides the network topology structure into a first sub-area and a second sub-area; Determine a first distance between a first node and the starting node, a second distance between a second node and the starting node, or determine a third distance between the first node and the ending node, a fourth distance between the second node and the ending node, wherein the first node is a node in the first sub-area, and the second node is a node in the second sub-area; Determine a fifth distance between the first node and the second node, and determine the sum of the first distance, the second distance and the fifth distance as the cumulative distance corresponding to the starting node, and determine the sum of the third distance, the fourth distance and the fifth distance as the cumulative distance corresponding to the ending node; Enumerate the first node and the second node in the network topology structure, determine the first node and the second node with the smallest cumulative distance corresponding to the starting node as the neighboring nodes corresponding to the starting node, and determine the first node and the second node with the smallest cumulative distance corresponding to the terminating node as the neighboring nodes corresponding to the terminating node.
7. The optical transmission network detection method according to claim 5, characterized in that: Constructing a minimal loop path that includes nodes in the target node set includes: Determine the link wavelength capacity between every two nodes in the network topology and the number of wavelengths occupied by the service link after the link carries the service; Determine the loop links in the network topology structure that include all nodes in the target node set, and determine the link reserved channel degree corresponding to each loop link according to the link wavelength capacity and the number of wavelengths occupied by the service link after the link carries the service; Among the loop links whose link reserved channel degrees are greater than a preset channel degree threshold, the loop link with the smallest link distance is determined as the minimum loop path.
8. An optical transmission network detection device, characterized in that: include: A topology acquisition module, used to determine the network topology of the optical transmission network according to a network management script file, wherein the network management script file contains end-to-end path information between nodes in the optical transmission network; A detection segment determination module, used to determine the service type corresponding to the network topology structure, and determine the path segment to be detected in the network topology structure according to the service type, wherein the path segment to be detected includes a service segment for transmitting service data and a protection segment corresponding to the service segment; The path planning adjustment module is used to adjust the service transmission path in the network topology structure when it is detected that the path segment to be detected has a common route, wherein the path segment to be detected does not have a common route in the adjusted network topology structure.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the optical transmission network detection method according to any one of claims 1 to 7 is executed when the program is run.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the optical transport network detection method according to any one of claims 1 to 7 by running the computer program.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the optical transmission network detection method according to any one of claims 1 to 7 are implemented.
