Automatic analysis and calculation method and system for OTN (optical transport network) channel utilization rate and electronic equipment

By automatically collecting data through the northbound interface of the OTN network management system, constructing a database, and calculating channel utilization, the problem of low accuracy in manual statistics in existing technologies is solved, achieving efficient and accurate channel utilization analysis and supporting network planning.

CN119402090APending Publication Date: 2025-02-07BEIJING LONGDING TIANCHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411532778.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

Existing methods for calculating OTN channel utilization rely on manual operation, resulting in low accuracy, long processing time, and an inability to provide timely network planning support.

Method used

The OTN network management northbound interface collects internal line resource data, builds a database, generates multiplex section data, calculates channel utilization, and automatically analyzes the channel utilization of the OTN transmission system.

Benefits of technology

It enables accurate calculation of channel utilization, improves work efficiency, saves labor costs, and provides real-time and accurate network planning data support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402090A_ABST
    Figure CN119402090A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication network transmission bearer networks, and relates to an OTN channel utilization rate automatic analysis and calculation method and system, and electronic equipment. The method comprises the following steps: acquiring OTN transmission system resources and network element data in an OTN transmission system to construct a database; collecting internal line resource data through an OTN network management northbound interface, analyzing the data and storing the data into a database; generating multiplexing section data according to the internal line resource data; according to the network element data and the multiplex section data in the transmission system, obtaining a mapping relation between the multiplex section and the transmission system; counting a list of opened wave channels according to the database, the multiplexing section data and a mapping relation between the multiplexing section and a transmission system; counting a list of occupied multiplexing band channels according to service types; according to the opened channel list, the occupied multiplexing band channel list and the database, calculating a multiplexing band channel utilization rate; and storing the data. The wave channel resource utilization rate condition in a specified system or all systems can be triggered in a timed and real-time manner; and the calculation result is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of communication network transmission bearer network, and specifically relates to an automatic analysis and calculation method, system and electronic equipment for OTN channel utilization. Background Art

[0002] With the rapid development of science and technology, the transmission network equipment is upgraded very quickly. In the current transmission bearer network, from the access layer, aggregation layer, and backbone layer, the use of OTN (Optical Transport Network) equipment has occupied an important proportion. In order to better plan and manage the OTN transmission network, network maintenance engineers generally need to understand the channel usage in the OTN transmission system in a timely manner. When the channel utilization rate of some multiplexed sections in the system reaches the threshold, the management personnel will apply for adjustment of the wind network to ensure that the services on the entire OTN network can run safely and orderly.

[0003] There are two common statistical methods for channel utilization in the current OTN system: the first is that network management and maintenance personnel will maintain a transmission system channel ledger based on what they have on hand. When a channel is used by OCH (Optical Channel With Full Functionality), the channel is marked as used. When calculating the channel utilization, the system ledger table is manually screened and filtered according to the multiplexing segment to calculate the channel utilization rate in each multiplexing segment.

[0004] The second statistical method is to count two aspects: the first aspect is the line side utilization (channel utilization, time slot utilization), that is, the OTN line side resource utilization, and the second aspect is the branch side utilization (that is, the customer side port utilization). Generally, network management personnel manually calculate the line side utilization (including channel utilization) and branch side utilization through the manufacturer's engineers checking the service configuration on the network management system and combining their own business accounts in the province.

[0005] The above two common OTN channel utilization statistics methods are both completed manually by combining system records, lacking digital operation support. There are mainly the following problems or defects: 1. Counting the channel utilization of a primary system requires manual screening and verification of data on the network management system. However, there are many OTN network management transmission systems in the province, so it takes a long time to complete the statistics. 2. Due to the large number of transmission systems in the province, each time a new channel is added, the ledger maintenance personnel may not update the Excel ledger table data in time, resulting in the channel usage in the ledger being inconsistent with the actual channels in use. The manual maintenance table is maintained for a long time, and the channel utilization rate is calculated based on the ledger data. The final calculated channel utilization rate of the multiplexing section in the system can only be an approximate value that is close to the actual data and is not completely accurate; 3. The query statistical results are not quick and intuitive enough: the traditional manual statistical method is adopted, and digital operation support means are not utilized, which cannot effectively and timely provide supporting data for network planning. Summary of the invention

[0006] The purpose of the present invention is to provide an automatic analysis and calculation method, system and electronic device for OTN channel utilization, so as to solve the technical problem of low accuracy of multiplex section channel utilization calculated by manual statistical method in the prior art.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides an automatic analysis and calculation method for OTN channel utilization, comprising: Obtain OTN transmission system resources and OTN transmission system intranet metadata to build a database; collect internal line resource data through the OTN network management northbound interface and parse and incorporate it into the database; Generate multiplex section data based on the internal line resource data collected by the northbound interface; According to the network metadata and multiplex section data in the OTN transmission system, the mapping relationship between the multiplex section and the OTN transmission system is obtained; Count the list of opened channels based on the database, multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system; Count the occupied multiplex band channels according to the service types carried by the OTN transmission system; The number of opened channels of the multiplex segment is obtained according to the list of opened channels and the database, the number of used channels of the multiplex segment is obtained according to the list of occupied multiplex segment channels and the database, and the utilization rate of the multiplex segment channels is calculated according to the number of opened channels of the multiplex segment and the number of used channels of the multiplex segment; and the data is saved.

[0008] Preferably, the internal resource data collected through the northbound interface includes: network elements, racks, frames, slots, boards, ports, virtual port mapping relationships, topology, crossovers, subnet connections, and subnet connection routes.

[0009] Preferably, the generating of multiplex segment data from the internal resource data collected through the northbound interface of the OTN network management specifically comprises the following steps: S201: extracting data of type OMS in the subnet connection from the internal resource data collected by the northbound interface of the OTN network management; S202: Determine whether the OMS data is a piece of data in the multiplexing segment between network elements at both ends of the AZ, and the judgment criteria are as follows: 1) The network elements at the A and Z ends are different; 2) The optical network elements to which the A and Z terminals belong are different; 3) The A-end single board is a combiner / demultiplexer board, and the Z-end single board is a combiner / demultiplexer board; or the A-end single board is a comb filter, and the Z-end single board is a comb filter; If all three conditions are met, the current OMS data is a piece of data in the multiplexing segment between the network elements at both ends of the AZ, and the tag is extracted; S203: repeat S202 to extract a piece of data from all multiplex sections that meet the multiplex section condition; S204: Merge one piece of data of all multiplex sections meeting the multiplex section condition in the forward and reverse directions to obtain multiplex section data.

[0010] Preferably, the counting of the list of opened channels according to the database, the multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system specifically includes: S401: extracting OCH data from a database; S402: performing routing concatenation on the OCH data according to the subnet connection routing, cross-connection, and topology data to obtain complete routing data for each OCH data; S403: Obtaining a set of channels opened by the network element according to all OCH complete routing data; S404: Get the multiplex section data, extract the network elements at the A and Z ends of the multiplex section and the set of channels that the network elements have opened, and associate and extract to obtain a set of lists of channels that have been opened for each multiplex section; S405: According to the mapping relationship between the multiplex section and the OTN transmission system and the set of enabled channel numbers of the multiplex section, a list set of enabled channel numbers in all multiplex sections in the OTN transmission system, ie, an enabled channel list, is obtained.

[0011] Preferably, the rule for association extraction in S404 is: The A and Z end network elements of the multiplex section traverse the opened channel numbers respectively. If the same channel number has been opened on both the A and Z network elements of the multiplex section, it is marked that the multiplex section has opened the channel number, and the channel number and the multiplex section name are stored in the opened channel list set of each multiplex section.

[0012] Preferably, the OTN transmission system carries service types including: Client service, ODU transparent transmission service, ETH service and SDH service.

[0013] Preferably, the method of counting the occupied multiplex segment channel lists according to the types of services carried by the OTN transmission system, when the type of service carried by the OTN transmission system is Client service, specifically includes the following steps: S501: extracting data of the Client type from the database to obtain a list of Client type subnet connection data; S502: According to the Client type subnet connection data list, combined with the subnet connection route, topology, and cross data, route concatenation is performed to obtain the Client service end-to-end route data; S503: According to the end-to-end routing data of the Client service, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the Client service, that is, a list of multiplex segment channels occupied by the Client service is obtained.

[0014] Preferably, the method of counting the occupied multiplex segment channel lists according to the types of services carried by the OTN transmission system, when the type of service carried by the OTN transmission system is an ODU transparent transmission service, specifically includes the following steps: S504: extracting data of type ODU from the database to obtain a subnet connection data list of type ODU; S505: In the ODU type subnet connection data list, if the ports A and Z exist in the Client, filtering continues to process the next ODU data; S506: Repeat S505 to obtain an ODU data set, obtain the mapping relationship of the two-end ports + CTP associated virtual port in the ODU data set, and if the association is successful, remove it; otherwise, retain the ODU object to obtain a list of ODU transparent transmission services that meet the conditions; S507: perform route concatenation on the ODU transparent transmission service list according to the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end routing data; S508: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the ODU transparent transmission service, that is, a list of multiplex segment channels occupied by the ODU transparent transmission service is obtained.

[0015] Preferably, the method of counting the occupied multiplex segment channel lists according to the types of services carried by the OTN transmission system, when the type of service carried by the OTN transmission system is ETH service, specifically includes the following steps: S509: extracting virtual port mapping relationship data in the database; S5010: extract the wdm physical port + CTP list corresponding to the V-ETH virtual port from the virtual port mapping relationship data; S5011: in the wdm physical port + CTP list, associate and extract the subnet connection ODU data; S5012: perform route concatenation on the subnet connection ODU data in combination with the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end route data; S5013: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the ETH service, that is, a list of multiplex segment channels occupied by the ETH service is obtained.

[0016] Preferably, the method of respectively counting the occupied multiplexed segment channel lists according to the types of services carried by the OTN transmission system, when the type of services carried by the OTN transmission system is SDH services, specifically comprises the following steps: S5014: Extracting virtual port mapping relationship data in the database; S5015: extract the wdm physical port + CTP corresponding to the V-SDH virtual port in the virtual port mapping relationship data to obtain a wdm physical port + CTP list; S5016: associate and search for subnet connection ODU data in the wdm physical port + CTP list; S5017: route and concatenate the ODU data according to the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end route data; S5018: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the SDH service, that is, a list of multiplex segment channels occupied by the SDH service is obtained.

[0017] In a second aspect, the present invention provides an OTN channel utilization automatic analysis and calculation system, comprising: The acquisition unit is used to acquire OTN transmission system resources and OTN transmission system intranet metadata to build a database; collect internal line resource data through the OTN network management northbound interface and parse and incorporate it into the database; A synthesis unit, used for generating multiplex section data according to the internal line resource data collected by the northbound interface; A mapping unit, used for obtaining a mapping relationship between the multiplex section and the OTN transmission system according to the network metadata and the multiplex section data in the OTN transmission system; The first statistical unit is used to count the list of opened channels according to the database, the multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system; The second statistical unit is used to count the list of occupied multiplexed band channels according to the types of services carried by the OTN transmission system; The calculation storage unit is used to obtain the number of opened channels of the multiplex section according to the list of opened channels and the database, obtain the number of used channels of the multiplex section according to the list of occupied multiplex section channels and the database, calculate the utilization rate of the multiplex section channels according to the number of opened channels of the multiplex section and the number of used channels of the multiplex section; and save the data.

[0018] In a third aspect, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for automatically analyzing and calculating OTN channel utilization as described in any one of the above items when executing the computer program.

[0019] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-mentioned methods for automatically analyzing and calculating OTN channel utilization.

[0020] Compared with the prior art, the present invention has the following beneficial effects: 1) Digital support means are realized. Provincial users only need to organize and store the transmission system and system network element data in the network, and then collect the internal resource data through the northbound interface. According to the algorithm in this application, the service program can be implemented to achieve timed and real-time triggering of the channel resource utilization rate in the specified system or all systems; 2) The calculation results are more accurate. Compared with the traditional statistical channel utilization method, the method applied for this time uses all the resource data collected by the network management from the north, which is consistent with the existing network. In this way, the channel utilization calculated by the algorithm is consistent with the actual channel utilization of the existing network, which can more accurately assist and guide provincial users to plan and upgrade the network; 3) The channel utilization rate can be calculated faster. As long as the newly applied method is implemented through the program, the channel utilization rate of all transmission systems in the province can be analyzed at the same time. Compared with the traditional manual calculation of channel utilization rate based on Excel ledgers combined with network management verification data, it saves labor costs and improves work efficiency by more than 10 times. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flow chart of the method of the present invention; Figure 2 This is a diagram of the OTN transmission system and the types of services provided; Figure 3 is a flow chart of a method according to an embodiment of the present invention; Figure 4 This is a schematic diagram of OTN carrying ODU transparent transmission service; Figure 5 This is a schematic diagram of OTN carrying ETH services; Figure 6 This is a diagram of OTN carrying SDH services. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0024] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0026] In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0027] In addition, if the term "horizontal" appears, it does not mean that the component must be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0028] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0029] The present invention is further described in detail below in conjunction with the accompanying drawings: See also Figure 1 The present application discloses an automatic analysis and calculation method for OTN channel utilization, comprising: S1: Obtain OTN transmission system resources and OTN transmission system intranet metadata to build a database; collect internal line resource data through the OTN network management northbound interface and parse and incorporate it into the database; S2: Generate multiplex section data based on the internal resource data collected by the northbound interface; S3: According to the network metadata and multiplex section data in the OTN transmission system, a mapping relationship between the multiplex section and the OTN transmission system is obtained; S4: Count the list of opened channels according to the database, multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system; S5: Count the occupied multiplex band channels according to the service types carried by the OTN transmission system; S6: Obtain the number of opened channels of the multiplex segment according to the list of opened channels and the database, obtain the number of used channels of the multiplex segment according to the list of occupied multiplex segment channels and the database, calculate the multiplex segment channel utilization rate according to the number of opened channels of the multiplex segment and the number of used channels of the multiplex segment; and save the data.

[0030] In some embodiments, the internal resource data collected through the northbound interface includes: network elements, racks, frames, slots, boards, ports, virtual port mapping relationships, topology, crossovers, subnet connections, and subnet connection routes.

[0031] Further preferably, the internal resource data is collected and parsed into the database through the northbound interface (the northbound interface involved in this article takes Huawei's northbound interface as an example), and the indicator collection method involved is as follows: Network element: getAllManagedElements, through this collection indicator, you can extract and generate network element name, network element ID, collection identifier, EMSID, EMS name, province, city and other information; Rack: The getAllEquipment method is used to collect and extract rack attribute information. Through this collection indicator, information such as rack number, EMSID, and network element ID can be extracted and generated; Frame: Use the getAllEquipment method to collect and extract frame attribute information. Through this collection indicator, you can extract and generate information such as the frame number, EMSID, and network element ID; Slot: The getAllEquipment method is used to collect and extract slot attribute information. Through this collection indicator, information such as the slot number, EMSID, and network element ID can be extracted and generated; Single board: The getAllEquipment method is used to collect and extract board attribute information. Through this collection indicator, the board number, board name, board type, EMSID, network element ID and other information can be extracted and generated; Port: PTP is collected through the getAllPhysicalTerminationPointsWithoutFtps method. Through this collection indicator, you can extract the generated port number, port name, board number, EMSID, network element ID and other information; FTP is collected through the getAllFloatingTerminationPoints method. Through this collection indicator, you can extract the generated port number, port name, board number, EMSID, network element ID and other information; Virtual port mapping relationship: It is collected and analyzed by the getAllPhysicalTerminationPointsWithoutFtps method. Through this indicator collection, the virtual port V-ETH and V-SDH relationship mapped by the physical port + CTP can be extracted; Topology: getAllTopologicalLinks. Through this collection indicator, you can extract the port fiber connection relationship within the network element and the port fiber connection relationship between network elements. Cross-connection: getAllCrossConnections. Through this collection indicator, you can extract and generate cross-connections within the network element, as well as cross-connections in static tunnels and pseudo-wire switching information; Subnetwork connection: getAllSubnetworkConnections. Through this collection indicator, all subnetwork connection information in the network management can be extracted, including SDH path, WDM path, TUNNEL path, and PW (pseudowire) path. Subnet connection route: getRouteAndTopologicalLinks. Through this collection indicator, you can extract the internal cross-connection data and port fiber connection data of a subnet connection object.

[0032] In some embodiments, acquiring OTN transmission system resources and OTN transmission system intranet metadata to build a database includes: S101: OTN transmission system resource data storage OTN transmission system resources: system name, system ID, manufacturer, province, city, capacity, single-wave rate, network level, and topology networking type.

[0033] S102: OTN transmission system internal network metadata storage Network metadata in the OTN transmission system: province, city, manufacturer, system ID, system name, network element ID, network element name, network element collection unique identifier, and network element model.

[0034] In some embodiments, the process of generating multiplex section data according to the internal resource data collected by the northbound interface of the OTN network management is as follows: S201 extracts data of type OMS in the subnet connection SNC; S202: Traverse the OMS data and determine the following conditions: 1) The network elements at the A and Z ends are different; 2) The optical network elements to which the A and Z terminals belong are different; 3) The A-end single board is a combiner / demultiplexer board, and the Z-end single board is a combiner / demultiplexer board; or the A-end single board is a comb filter, and the Z-end single board is a comb filter; If all three conditions are met, the current OMS extracts the tag for a piece of data in the multiplexed segment between the network elements at both ends of the AZ; S203: Repeat the operation of S202 to extract all multiplex section data that meet the multiplex section conditions; S204: All the multiplexed segment data extracted in the S203 operation are merged in the forward and reverse directions. The multiplexed segment merging follows the following rules: OMS1: A network element m sub-rack combination and demultiplexing board <> B network element n sub-rack combination and demultiplexing board_OMS OMS2: B network element n sub-rack combination and splitter board <> A network element m sub-rack combination and splitter board_OMS Or: OMS1: A network element m sub-rack comb filter board <> B network element n sub-rack comb filter board_OMS OMS2: B network element n sub-rack comb filter board <> A network element m sub-rack comb filter board_OMS The two OMS data that meet the above conditions are combined into one bidirectional multiplex segment data, as shown in the following table:

[0035] In some embodiments, the counting of the opened channel list according to the database, the multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system specifically includes: S401: extracting OCH data from a database; S402: performing routing concatenation on the OCH data according to the subnet connection routing, cross-connection, and topology data to obtain complete routing data for each OCH data; S403: Obtaining a set of channels opened by the network element according to all OCH complete routing data; S404: Get the multiplex section data, extract the network elements at the A and Z ends of the multiplex section and the set of channels that the network elements have opened, and associate and extract to obtain a set of lists of channels that have been opened for each multiplex section; Preferably, the rules for association extraction are: The A and Z end network elements of the multiplex section traverse the opened channel numbers respectively. If the same channel number has been opened on both the A and Z network elements of the multiplex section, it is marked that the multiplex section has opened the channel number, and the channel number and the multiplex section name are stored in the opened channel list set of each multiplex section.

[0036] S405: According to the mapping relationship between the multiplex section and the OTN transmission system and the set of enabled channel numbers of the multiplex section, a list set of enabled channel numbers in all multiplex sections in the transmission system, ie, an enabled channel list, is obtained.

[0037] In some embodiments, see Figure 2 The main equipment used in the OTN transmission system and the services provided are as follows: Figure 2 As shown, the OTN transmission system carries service types including: Client service, ODU transparent transmission service, ETH service and SDH service.

[0038] When the service type carried by the OTN transmission system is Client service, the following steps are specifically included: S501: extracting data of the Client type from the database to obtain a list of Client type subnet connection data; S502: According to the Client type subnet connection data list, combined with the subnet connection route, topology, and cross data, route concatenation is performed to obtain the Client service end-to-end route data; S503: According to the end-to-end routing data of the Client service, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the Client service, that is, a list of multiplex segment channels occupied by the Client service is obtained.

[0039] See also Figure 4 When the service type carried by the OTN transmission system is ODU transparent transmission service, the following steps are specifically included: S504: extracting data of type ODU from the database to obtain a subnet connection data list of type ODU; S505: In the ODU type subnet connection data list, if the ports A and Z exist in the Client, filtering continues to process the next ODU data; S506: Repeat S505 to obtain an ODU data set, obtain the mapping relationship of the two-end ports + CTP associated virtual port in the ODU data set, and if the association is successful, remove it; otherwise, retain the ODU object to obtain a list of ODU transparent transmission services that meet the conditions; S507: perform route concatenation on the ODU transparent transmission service list according to the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end routing data; S508: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the ODU transparent transmission service, that is, a list of multiplex segment channels occupied by the ODU transparent transmission service is obtained.

[0040] See also Figure 5 When the service type carried by the OTN transmission system is ETH service, the following steps are specifically included: S509: extracting virtual port mapping relationship data in the database; S5010: extract the wdm physical port + CTP list corresponding to the V-ETH virtual port from the virtual port mapping relationship data; S5011: in the wdm physical port + CTP list, associate and extract the subnet connection ODU data; S5012: perform route concatenation on the subnet connection ODU data in combination with the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end route data; S5013: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the ETH service, that is, a list of multiplex segment channels occupied by the ETH service is obtained.

[0041] See also Figure 6 When the service type carried by the OTN transmission system is SDH service, the following steps are specifically included: S5014: Extracting virtual port mapping relationship data in the database; S5015: extract the wdm physical port + CTP corresponding to the V-SDH virtual port in the virtual port mapping relationship data to obtain a wdm physical port + CTP list; S5016: associate and search for subnet connection ODU data in the wdm physical port + CTP list; S5017: route and concatenate the ODU data according to the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end route data; S5018: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the SDH service, that is, a list of multiplex segment channels occupied by the SDH service is obtained.

[0042] ODUk (Optical Distribution Unit k) is a representation of an optical distribution unit, where "k" represents different rate levels. ODUk is a basic concept in the Optical Transport Network (OTN) and is used to describe different data rates and granularities in the OTN frame structure.

[0043] OTN Framing, that is, the frame structure of the Optical Transport Network (OTN), is an important part of OTN technology.

[0044] ETH (Ethernet) is a widely used local area network (LAN) technology.

[0045] VC (Virtual Container) is an important concept in SDH (Synchronous Digital Hierarchy) transmission network. It is a structure used to encapsulate and transmit low-speed signals, allowing these signals to be transmitted efficiently and reliably in SDH networks.

[0046] In some embodiments, the channel utilization rate is calculated as follows: Channel utilization = (number of channels occupied by services / number of channels opened) · 100% [Example] See Figure 3 This embodiment takes Huawei's northbound traffic as an example to explain: Step 1: Obtain the transmission system resource data into the database; Step 2: Obtain the network metadata in the transmission system and enter it into the database; Step 3: OTN network management collects network management resources in the northbound direction; collects internal resource data through the OTN network management northbound interface and parses it into the database; Step 4: Calculate and generate multiplex segment data The process of generating multiplex segment data is as follows: Extract the data of type OMS in the subnet connection SNC; Traverse the OMS data and determine the following conditions: 1) The network elements at the A and Z ends are different; 2) The optical network elements to which the A and Z terminals belong are different; 3) The A-end single board is a wave combiner / demultiplexer board, and the Z-end single board is a wave combiner / demultiplexer board; or the A-end single board is a comb filter, and the Z-end single board is a comb filter; If all three conditions are met, the current OMS extracts the tag for a piece of data in the multiplexed segment between the network elements at both ends of the AZ; Repeat operation b to extract all multiplex section data that meet the multiplex section conditions; All the multiplexed segment data extracted in operation c are merged in the forward and reverse directions. The multiplexed segment merging follows the following rules: OMS1: A network element m sub-rack combination and demultiplexing board <> B network element n sub-rack combination and demultiplexing board_OMS OMS2: B network element n sub-rack combination and splitter board <> A network element m sub-rack combination and splitter board_OMS Or: OMS1: A network element m sub-rack comb filter board <> B network element n sub-rack comb filter board_OMS OMS2: B network element n sub-rack comb filter board <> A network element m sub-rack comb filter board_OMS The two OMS data that meet the above conditions are merged into one bidirectional multiplex segment data. Step 5: Generate multiplex section transmission system mapping According to the transmission system network element list data generated in step 2, the network elements at both ends of the multiplex section data generated in step 4 are associated to obtain the mapping relationship between all multiplex sections and the transmission system.

[0047] Step 6: Count the channels that have been opened in the transmission system The statistical method for the number of opened channels is as follows: 6.1 Extract OCH (Optical Channel) data from the stored subnet connection data; 6.2 According to the subnet connection routing, cross-connection and topology data, the OCH data is routed and concatenated to obtain the complete routing data of each OCH data; 6.3 According to the complete OCH routing data obtained in operation 6.2, take OCH from OCH, traverse the OCH route, extract the network element and channel number passed through in the middle; traverse all OCHs to obtain a set of channels opened in a network element Map1 <mename,List<λ> > 6.4 Take the multiplex segment data generated in step 4, extract the network elements at the A and Z ends of the multiplex segment, associate them with the network element enabled channel set Map1 generated by the previous step c, and calculate the enabled channel list set Map2<segment name, List<λ>> for each multiplex segment; Association extraction rule: The network elements at both ends of the multiplexing section traverse the opened channel numbers respectively. If the same channel number has been opened on the network elements at both ends of the multiplexing section, it is marked that the multiplexing section has opened the channel number, and the channel number and the multiplexing section name are stored in the set Map2; 6.5 According to the mapping relationship between the multiplex section and the transmission system generated in step 5, associate the multiplex section enabled channel number set Map2 generated in operation d, and obtain the enabled channel number list set Map3 of all multiplex sections in the transmission system from to <system name, list <map2>>.

[0048] Step 7: Statistically analyze the list of multiplex section channels occupied by the enabled services The OTN device carries 4 types of services, namely Client service, ODU transparent transmission service, ETH service, and SDH service. The methods for each type of service to be associated with the multiplex section channels are as follows: The first type: Statistically analyze the multiplex section channels passed by the Client service 7.1 Extract the data of type Client from the subnet connection data that has been collected and stored in the database. 7.2 Traverse the list of Client type subnet connection data in the operation of 7.1, and concatenate the routes by associating the subnet connection routes, topologies, and cross-connection data to obtain the end-to-end route data of the Client service. 7.3 According to the end-to-end route data of the Client service obtained in the operation of 7.2, associate the OCH channels and multiplex section data, and traverse and analyze which multiplex section channels the service route passes through to obtain the set of multiplex section channels occupied by the service Map<service name, List<Map<section name,List<λ>>>>.

[0049] The second type: Statistically analyze the multiplex section channels passed by the ODU transparent transmission service 7.4 Extract the data of type ODU from the subnet connection data that has been collected and stored in the database. 7.5 Traverse the ODU data. If the ports at both ends A and Z exist in the Client, then filter and continue to process the next ODU data. 7.6 Traverse the result set of the operation of 7.5, and take the mapping relationship between the two-end ports + CTP associated virtual ports. If the association is successful, then exclude it; otherwise, retain the ODU object. After the traversal ends, obtain the list of ODU objects of the qualified ODU transparent transmission service. 7.7 Concatenate the routes of the ODU by associating the subnet connection routes, topologies, and cross-connection data to obtain the complete route. 7.8 According to the end-to-end route data of the ODU obtained in the operation of 7.7, associate the OCH channels and multiplex section data, and traverse and analyze which multiplex section channels the service route passes through to obtain the set of multiplex section channels occupied by the service Map<subnet connection name, List<Map<section name,List<λ>>>>. If the ODU route is not associated with the OCH two-end ports, then filter this ODU and continue to process the next ODU. The third type: Statistically analyze the multiplex section channels passed by the ETH service 7.9 Extract the virtual port mapping relationship data that has been collected and stored in the database. 7.10 Traverse the virtual port mapping relationship and extract the wdm physical port + CTP corresponding to the V-ETH virtual port. 7.11 Traverse the list of wdm physical ports + CTPs extracted in 7.10 operation, and perform associated search for subnet connection ODU data; 7.12 Perform routing concatenation on the ODU by associating subnet connection routing, topology, and cross-connection data to obtain the complete routing; 7.13 Based on the ODU end-to-end routing data obtained in 7.12 operation, associate OCH channels and multiplex section data, traverse and analyze which multiplex section channels the service routing passes through, and obtain the set of multiplex section channels occupied by the service Map<V-ETH, List<Map<Section Name, List<λ>>>>. If the ODU routing is not associated with the two ends of the OCH port, filter this ODU and continue to process the next ODU; The 4th type: SDH service associated statistics of the passed multiplex section channels 7.14 Retrieve the virtual port mapping relationship data collected and stored in the database; 7.15 Traverse the virtual port mapping relationship, and extract the wdm physical port + CTP corresponding to the V-SDH virtual port; 7.16 Traverse the list of wdm physical ports + CTPs extracted in 7.15 operation, and perform associated search for subnet connection ODU data; 7.17 Perform routing concatenation on the ODU by associating subnet connection routing, topology, and cross-connection data to obtain the complete routing; 7.18 Based on the ODU end-to-end routing data obtained in 7.17 operation, associate OCH channels and multiplex section data, traverse and analyze which multiplex section channels the service routing passes through, and obtain the set of multiplex section channels occupied by the service Map<V-SDH, List<Map<Section Name, List<λ>>>>. If the ODU routing is not associated with the two ends of the OCH port, filter this ODU and continue to process the next ODU.

[0050] Step 8: Calculate the utilization rate of multiplex section channels in the transmission system 8.1 Extract the transmission system data and traverse the database; 8.2 Extract all multiplex sections according to the transmission system name; 8.3 Traverse the multiplex section list in 8.2 operation. According to the multiplex section name, associate the set of opened channels of the multiplex section in Step 6, and extract the list of opened channels in this multiplex section to obtain the number of opened channels Num1 of the multiplex section; then according to the multiplex section name, associate the set of channels occupied by the 4 types of services in Step 7, so as to obtain the list of occupied channels in the multiplex section and get the number of used channels Num2 of the multiplex section; 8.4 Calculate the utilization rate of multiplex section channels = (Num2 / Num1) · 100%; 8.5 After the traversal of 8.1 - 8.2 operations is completed, the utilization rate results of multiplex section channels in all transmission systems are obtained; 8.6 Save the set of channels opened in the multiplex section in batches in step 6 into the database; The multiplex band channel set occupied by the services in step 7 is batch-saved into the database; The number of channels Num1 opened in the multiplexing section during the operation c is saved in the database; The number of channels Num2 occupied by services in the multiplexing section during the c operation is saved in the database; 8.7 Through the operation of 8.6, you can query the utilization rate of a certain multiplex band channel in a certain system in a certain city in the province, the usage details of the multiplex band channel, and the service list details corresponding to the occupation of the multiplex band channel. On this basis, you can make a visual presentation, so that digital operation support means can be used to monitor and manage the channel resource usage and service occupancy of the transmission system in the transmission network.

[0051] The present application also discloses an automatic analysis and calculation system for OTN channel utilization, including: The acquisition unit is used to acquire OTN transmission system resources and OTN transmission system intranet metadata to build a database; collect internal line resource data through the OTN network management northbound interface and parse and incorporate it into the database; A synthesis unit, used for generating multiplex section data according to the internal line resource data collected by the northbound interface; A mapping unit, used for obtaining a mapping relationship between the multiplex section and the OTN transmission system according to the network metadata and the multiplex section data in the OTN transmission system; The first statistical unit is used to count the list of opened channels according to the database, the multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system; The second statistical unit is used to count the list of occupied multiplexed band channels according to the types of services carried by the OTN transmission system; The calculation storage unit is used to obtain the number of opened channels of the multiplex section according to the list of opened channels and the database, obtain the number of used channels of the multiplex section according to the list of occupied multiplex section channels and the database, calculate the utilization rate of the multiplex section channels according to the number of opened channels of the multiplex section and the number of used channels of the multiplex section; and save the data.

[0052] The present application also discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the automatic analysis and calculation method for OTN channel utilization described in any one of the above items are implemented.

[0053] The present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the automatic analysis and calculation method for OTN channel utilization described in any one of the above are implemented.

[0054] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0055] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0056] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0057] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0058] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for automatically analyzing and calculating OTN channel utilization, characterized in that: include: Obtain OTN transmission system resources and OTN transmission system intranet metadata to build a database; collect internal line resource data through the OTN network management northbound interface and parse and incorporate it into the database; Generate multiplex section data based on the internal line resource data collected by the northbound interface of the OTN network management; According to the network metadata and multiplex section data in the OTN transmission system, the mapping relationship between the multiplex section and the OTN transmission system is obtained; Count the list of opened channels based on the database, multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system; Count the occupied multiplex band channels according to the service types carried by the OTN transmission system; The number of opened channels of the multiplex section is obtained according to the list of opened channels and the database, the number of used channels of the multiplex section is obtained according to the list of occupied multiplex section channels and the database, and the utilization rate of the multiplex section channels is calculated according to the number of opened channels of the multiplex section and the number of used channels of the multiplex section; And save the data.

2. The method for automatically analyzing and calculating OTN channel utilization according to claim 1, characterized in that: The generation of multiplex section data from the internal resource data collected through the northbound interface of the OTN network management specifically includes the following steps: S201: extracting data of type OMS in the subnet connection from the internal resource data collected by the northbound interface of the OTN network management; S202: Determine whether the OMS data is a piece of data in the multiplexing segment between network elements at both ends of the AZ, and the judgment criteria are as follows: 1) The network elements at the A and Z ends are different; 2) The optical network elements to which the A and Z terminals belong are different; 3) The A-end single board is a combiner / demultiplexer board, and the Z-end single board is a combiner / demultiplexer board; or the A-end single board is a comb filter, and the Z-end single board is a comb filter; If all three conditions are met, the current OMS data is a piece of data in the multiplexing segment between the network elements at both ends of the AZ, and the tag is extracted; S203: repeat S202 to extract a piece of data from all multiplex sections that meet the multiplex section condition; S204: Merge one piece of data of all multiplex sections meeting the multiplex section condition in the forward and reverse directions to obtain multiplex section data.

3. The method for automatically analyzing and calculating OTN channel utilization according to claim 1, characterized in that: The list of opened channels is counted based on the database, the multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system, specifically including: S401: extracting OCH data from a database; S402: performing routing concatenation on the OCH data according to the subnet connection routing, cross-connection, and topology data to obtain complete routing data for each OCH data; S403: Obtaining a set of channels opened by the network element according to all OCH complete routing data; S404: Get the multiplex section data, extract the network elements at the A and Z ends of the multiplex section and the set of channels that the network elements have opened, and associate and extract to obtain a set of lists of channels that have been opened for each multiplex section; S405: According to the mapping relationship between the multiplex section and the OTN transmission system and the set of enabled channel numbers of the multiplex section, a list set of enabled channel numbers in all multiplex sections in the OTN transmission system, ie, an enabled channel list, is obtained.

4. The method for automatically analyzing and calculating OTN channel utilization according to claim 1, characterized in that: The OTN transmission system bears service types including: Client service, ODU transparent transmission service, ETH service and SDH service; the method of counting the occupied multiplexed segment channel list according to the OTN bearer service type, when the OTN bearer service type is Client service, specifically includes the following steps: S501: extracting data of the Client type from the database to obtain a list of Client type subnet connection data; S502: According to the Client type subnet connection data list, combined with the subnet connection route, topology, and cross data, route concatenation is performed to obtain the Client service end-to-end route data; S503: According to the end-to-end routing data of the Client service, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the Client service, that is, a list of multiplex segment channels occupied by the Client service is obtained.

5. The method for automatically analyzing and calculating OTN channel utilization according to claim 4, characterized in that: The method of counting the occupied multiplexed segment channel lists according to the service types carried by the OTN transmission system, when the service type carried by the OTN transmission system is an ODU transparent transmission service, specifically includes the following steps: S504: extracting data of type ODU from the database to obtain a subnet connection data list of type ODU; S505: In the ODU type subnet connection data list, if the ports A and Z exist in the Client, filtering continues to process the next ODU data; S506: Repeat S505 to obtain an ODU data set, obtain the mapping relationship of the two-end ports + CTP associated virtual port in the ODU data set, and if the association is successful, remove it; otherwise, retain the ODU object to obtain a list of ODU transparent transmission services that meet the conditions; S507: perform route concatenation on the ODU transparent transmission service list according to the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end routing data; S508: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the ODU transparent transmission service, that is, a list of multiplex segment channels occupied by the ODU transparent transmission service is obtained.

6. The method for automatically analyzing and calculating OTN channel utilization according to claim 4, characterized in that: The method of counting the occupied multiplexed segment channel lists according to the types of services carried by the OTN transmission system, when the type of service carried by the OTN transmission system is an ETH service, specifically includes the following steps: S509: extracting virtual port mapping relationship data in the database; S5010: extract the wdm physical port + CTP list corresponding to the V-ETH virtual port from the virtual port mapping relationship data; S5011: in the wdm physical port + CTP list, associate and extract the subnet connection ODU data; S5012: perform route concatenation on the subnet connection ODU data in combination with the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end route data; S5013: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the ETH service, that is, a list of multiplex segment channels occupied by the ETH service is obtained.

7. The method for automatically analyzing and calculating OTN channel utilization according to claim 4, characterized in that: The method of respectively counting the occupied multiplexed segment channel lists according to the types of services carried by the OTN transmission system, when the type of services carried by the OTN transmission system is an SDH service, specifically comprises the following steps: S5014: Extract virtual port mapping relationship data in the database; S5015: extract the wdm physical port + CTP corresponding to the V-SDH virtual port in the virtual port mapping relationship data to obtain a wdm physical port + CTP list; S5016: associate and search for subnet connection ODU data in the wdm physical port + CTP list; S5017: route and concatenate the ODU data according to the subnet connection route, topology, and cross-connection data to obtain ODU end-to-end route data; S5018: According to the ODU end-to-end routing data, combined with the OCH and multiplex segment data in the database, a set of multiplex segment channels occupied by the SDH service, that is, a list of multiplex segment channels occupied by the SDH service is obtained.

8. An automatic analysis and calculation system for OTN channel utilization, characterized in that: include: An acquisition unit, used for acquiring OTN transmission system resources and OTN transmission system intranet metadata to build a database; Collect internal resource data through the OTN network management northbound interface and analyze and incorporate it into the database; The synthesis unit is used to generate multiplex section data based on the internal line resource data collected by the northbound interface of the OTN network management; A mapping unit, used for obtaining a mapping relationship between the multiplex section and the OTN transmission system according to the network metadata and the multiplex section data in the OTN transmission system; The first statistical unit is used to count the list of opened channels according to the database, the multiplex section data and the mapping relationship between the multiplex section and the OTN transmission system; The second statistical unit is used to count the list of occupied multiplexed band channels according to the types of services carried by the OTN transmission system; A calculation storage unit, used to obtain the number of opened channels of the multiplex section according to the list of opened channels and the database, obtain the number of used channels of the multiplex section according to the list of occupied multiplex section channels and the database, and calculate the utilization rate of the multiplex section channels according to the number of opened channels of the multiplex section and the number of used channels of the multiplex section; And save the data.

9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for automatically analyzing and calculating OTN channel utilization as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for automatically analyzing and calculating OTN channel utilization according to any one of claims 1 to 7.