OTN service configuration information determination method, server and storage medium

Through the OTN service configuration information determination method, the appropriate ring network or chain service path is detected and selected, which solves the problem that the existing technology is difficult to meet diversified network scenarios, and realizes the efficient activation and fault tolerance of OTN service in complex networks. promote.

CN119012052APending Publication Date: 2024-11-22CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410968462.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing OTN service activation methods are difficult to meet complex networking scenarios and diversified network needs, and cannot cover more diverse network scenarios.

Method used

Provide a method for determining the configuration information of OTN services. By determining the business scenario requirements, service start nodes and network entry nodes of the target OTN services, detecting the service path to be selected, selecting matching ring network or chain service paths, and generating corresponding Configuration information to realize intelligent detection and configuration of ring network service paths.

Benefits of technology

It realizes that the service path to be selected according to the needs of different business scenarios, select appropriate ring network service paths, generate loop configuration information, cover more diverse network scenarios, and improves the efficiency of OTN service activation and network fault tolerance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012052A_ABST
    Figure CN119012052A_ABST
Patent Text Reader

Abstract

The invention relates to an OTN service configuration information determination method, a server and a storage medium. The method comprises the following steps: determining a service scene demand, a service starting node and a network access node of a target OTN service; detecting a to-be-selected service path from the service starting node to the network access node, wherein the port capability of each node in the to-be-selected service path is matched with the service scene requirement of the target OTN service; and if a ring network path exists in the to-be-selected service paths, selecting a ring network service path of the target OTN service from the to-be-selected service paths, and generating loop configuration information of the target OTN service, the loop configuration information comprising related configuration information of each node in the ring network service path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of optical fiber communication in network technology, and in particular to a method, a server and a storage medium for determining configuration information of an OTN service. Background Art

[0002] With the promotion of high-quality OTN private line services, networking scenarios have gradually diversified. At the same time, more small manufacturers of access OTN equipment have been introduced. The increasingly complex networking scenarios and the uneven network management capabilities of various manufacturers have put forward higher requirements for the end-to-end management of private lines.

[0003] Faced with increasingly complex networking scenarios, existing OTN service provisioning methods are gradually unable to meet business needs and are unable to cover more diverse network scenarios. Summary of the invention

[0004] Based on this, it is necessary to provide a method, server, storage medium and program product for determining configuration information of OTN services that can cover more diverse network scenarios in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for determining configuration information of an OTN service, the method comprising:

[0006] Determine the service scenario requirements, service start nodes and network access nodes of the target OTN service;

[0007] Detecting a candidate service path from the service start node to the network access node, wherein the port capability of each node in the candidate service path matches the service scenario requirement of the target OTN service;

[0008] If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected, and loop configuration information of the target OTN service is generated, wherein the loop configuration information includes relevant configuration information of each node in the ring network service path.

[0009] In one embodiment, the detecting a candidate service path from the service start node to the network access node includes:

[0010] Step 1: Obtain the port capability information of the next-level node connected to the current node;

[0011] Step 2: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, then the service path between the next-level node and the current node is stored;

[0012] Step 3: If the next-level node is not connected to the network-entering node, use the next-level node as the current node;

[0013] Execute step 1, step 2 and step 3 in a loop until it is determined that the next-level node is connected to the access node, and then determine the service path to be selected according to all stored service paths;

[0014] Wherein, when the step 1 is executed for the first time, the current node is the service starting node.

[0015] In one of the embodiments, if the port capability information of the next-level node supports the service scenario requirements of the target OTN service, storing the service path between the next-level node and the current node includes:

[0016] If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, and the time slot resource occupancy of the next-level node meets the time slot requirements of the target OTN service, the service path between the next-level node and the current node is stored.

[0017] In one of the embodiments, the time slot resource occupancy condition meets the time slot requirement of the target OTN service, including:

[0018] The time slot resources of the next-level node are not exclusively occupied by other services;

[0019] and / or,

[0020] The idle time slot resources of the next-level node are greater than a preset time slot resource amount, and the preset time slot resource amount is determined based on the time slot demand of the target OTN service.

[0021] In one of the embodiments, if the port capability information of the next-level node supports the service scenario requirements of the target OTN service, after storing the service path between the next-level node and the current node, the method further includes:

[0022] If the time slot resource occupancy of the next-level node does not meet the time slot requirement of the target OTN service, storing the time slot resource occupancy of the next-level node;

[0023] If a ring network path exists in the service paths to be selected, selecting a ring network service path of the target OTN service from the service paths to be selected, and generating loop configuration information of the target OTN service, including:

[0024] If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected according to the time slot resource occupancy of the next-level node, and loop configuration information of the target OTN service is generated.

[0025] In one embodiment, the method further comprises:

[0026] If there is no ring network path in the to-be-selected service path, selecting a chain service path of the target OTN service from the to-be-selected service path, and generating chain configuration information of the target OTN service, wherein the chain configuration information includes relevant configuration information of each node in the chain service path;

[0027] or,

[0028] If there is no ring network path in the to-be-selected service paths, the service start node is re-determined, and the loop configuration information is determined based on the re-determined service start node.

[0029] In one of the embodiments, if there is a ring network path among the service paths to be selected, then after selecting the ring network service path of the target OTN service from the service paths to be selected and generating the loop configuration information of the target OTN service, the method further includes:

[0030] Generate a service creation message for the target OTN service based on the loop service configuration information of the target OTN service;

[0031] Sending the service creation message to each node in the ring network service path, wherein the service creation message carries relevant configuration information of each node;

[0032] If service creation response messages sent by all nodes in the ring network service path are received, it is determined that the target OTN service is created successfully.

[0033] In a second aspect, the present application further provides a server, including a memory, a transceiver, and a processor:

[0034] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of a processor; and a processor for reading the computer program in the memory and performing the following operations:

[0035] Determine the service scenario requirements, service start nodes and network access nodes of the target OTN service;

[0036] Detecting a candidate service path from the service start node to the network access node, wherein the port capability of each node in the candidate service path matches the service scenario requirement of the target OTN service;

[0037] If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected, and loop configuration information of the target OTN service is generated, wherein the loop configuration information includes relevant configuration information of each node in the ring network service path.

[0038] In a third aspect, the present application further provides a server, including:

[0039] An information determination module is used to determine the service scenario requirements, service start node and network access node of the target OTN service;

[0040] A detection module, used to detect a candidate service path from the service start node to the network access node;

[0041] The configuration information determination module is used to select the ring network service path of the target OTN service from the to-be-selected service paths if there is a ring network path in the to-be-selected service paths, and generate the loop configuration information of the target OTN service, wherein the loop configuration information includes the relevant configuration information of each node in the ring network service path.

[0042] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect or any one of its embodiments.

[0043] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method described in the first aspect or any embodiment thereof.

[0044] The above-mentioned method, server and storage medium for determining configuration information of OTN services can determine the service scenario requirements, service starting node and network access node of the target OTN service; detect the service path to be selected from the service starting node to the network access node, and the port capacity of each node in the service path to be selected matches the service scenario requirements of the target OTN service; if there is a ring network path in the service path to be selected, the ring network service path of the target OTN service is selected from the service path to be selected, and the loop configuration information of the target OTN service is generated, and the loop configuration information includes the relevant configuration information of each node in the ring network service path. Through this solution, the service path to be selected can be determined according to different service scenario requirements, and the ring network service path can be selected from it to generate the loop configuration information, thereby realizing the intelligent detection of the ring network service path, and the ring network service path can also cover more diverse network scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] FIG1 is a schematic diagram of a single-ring networking scenario with single-node interconnection;

[0046] FIG2 is a schematic diagram of a dual-node interconnected single-ring networking scenario;

[0047] FIG3 is a schematic diagram of a dual-ring networking scenario;

[0048] FIG4 is a schematic diagram of a ring-belt-chain networking scenario;

[0049] FIG5 is a flow chart of a method for determining configuration information of an OTN service;

[0050] FIG6 is a second flow chart of a method for determining configuration information of an OTN service;

[0051] FIG7 is a flow chart of a method for determining configuration information of an OTN service;

[0052] FIG8 is a fourth flow chart of a method for determining configuration information of an OTN service;

[0053] FIG9 is a schematic diagram of the structure of an electronic device provided by an embodiment;

[0054] FIG10 is a structural block diagram of a server. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0057] With the promotion of high-quality OTN private line services, networking scenarios have become increasingly diversified, and more small manufacturers of access-type OTN equipment have been introduced. The increasingly complex networking scenarios and the uneven network management capabilities of various manufacturers have put forward higher requirements for the end-to-end management of private lines. Faced with increasingly complex networking scenarios, the current OTN service provisioning methods are gradually unable to meet business needs and cannot cover more diverse network scenarios.

[0058] Currently, the OTN service activation method provides an OTN chain service activation method, but this chain service cannot meet complex business needs and cannot cover more diverse network scenarios.

[0059] The OTN network may include OTN chain services and OTN ring network services.

[0060] Among them, OTN ring network business scenarios can be divided into: single ring, dual ring, ring with chain and other networking scenarios. Among them, the typical application scenarios of single ring networking scenarios can include single-ring networking scenarios with single nodes interconnected, and single-ring networking scenarios with dual nodes interconnected.

[0061] Exemplarily, FIG1 is a schematic diagram of a single-ring networking scenario with single-node interconnection.

[0062] As shown in Figure 1, the client side is a box-type access OTN device (referred to as box-type device), and its uplink port is connected to a plug-in board access OTN device (referred to as plug-in card device). Device A, device B, device C, and device D in Figure 1 are all plug-in card devices. These plug-in card devices adopt a ring networking mode. Device B and device C in the loop are through nodes and are not configured with protection. Device A, device B, and device D form a working line, and device A, device C, and device D form a protection line. When a device on the working line fails, the working line will automatically switch to the protection line. Among them, device A in Figure 1 is the starting node, and device D is the access node (also called the access device). Its uplink port is the access port connected to the aggregation node. The aggregation node is connected to the metropolitan area OTN to connect to the core node.

[0063] Exemplarily, FIG2 is a schematic diagram of a single-ring networking scenario with two interconnected nodes.

[0064] As shown in Figure 2, based on the single-node interconnection shown in Figure 1, the access node and the aggregation node are expanded from one group to two groups, which are divided into a working group and a standby group. When the working group operates normally, the access device in the standby group only serves as a pass-through node and is not configured with protection. When the access device of the working group or the aggregation node device fails, the protection group will be automatically enabled. Devices A, B, C, D and E in Figure 2 are all plug-in devices. These plug-in devices adopt a ring networking mode. Devices B and C in the loop are pass-through nodes and are not configured with protection. Devices A, B and D form a working line, and devices A, C and E form a protection line. Among them, devices D and E are connected to different aggregation nodes respectively. The aggregation node is connected to the metropolitan area OTN to connect the core node.

[0065] Taking the 400M to 1G Ethernet service in the OTN premium private line as an example, the networking mode in the single-ring networking scenario of single-node interconnection as shown in Figure 1 is configured, and the connection type and protection type between each card device are shown in Table 1. Table 1 is a 400M~1G Ethernet service single-ring networking configuration table. NNI1 shown in Table 1 is the downlink line side port on the left side of the card device in Figure 1, and NNI2 is the uplink line side port on the right side of the card device. The connection type of 400M to 1G Ethernet services is all Optical Channel Data Unit (ODU) type. The four groups of line side ports of device A and device D are all protected by Optical Channel Data Unit Subnetwork Connection Protection (ODU SNCP). Since the downlink port of device A is connected to a box-type access OTN device, it is protected by Optical Channel Data Unit Subnetwork Connection Protection / Intrinsic monitoring (ODU SNCP / I). The other three groups of ports are protected by Optical Channel Data Unit Subnetwork Connection Protection / Sub-layer monitoring (ODU SNCP / S). Other pass-through nodes are not protected.

[0066] Table 1

[0067]

[0068] Exemplarily, FIG3 is a schematic diagram of a dual-ring networking scenario.

[0069] As shown in Figure 3, the client side is a box-type device, and its uplink port is connected to device A. In this network, device A, device B, device C, device D, device E, device F, and device G are all card-inserted devices, and a ring network can be formed between device A and device G. Among them, device A is the starting node, device G is the access node, and the uplink port of device G is the access port, which is connected to the aggregation node to access the metropolitan area network OTN. Users can add devices B, C, D, E, and F according to the networking diagram of Figure 3. These devices are pass-through nodes and are not configured with protection.

[0070] Taking the Ethernet service below 400M in the OTN premium dedicated line as an example, the dual-ring networking mode shown in Figure 3 is configured. The connection type and protection type between each card device are shown in Table 2. Table 2 is a dual-ring networking configuration table for Ethernet services below 400M. The connection type of Ethernet services below 400M is the Synchronous Digital Hierarchy (SDH) type. Among them, the 4 groups of line side ports of the upper and lower links of devices A and D are protected by Virtual Container Subnetwork Connection Protection (VC SNCP), and the lower link port of device G is protected by VC SNCP. The upper link port is protected by Multiplex Section Protection (MSP) because it is connected to the large network, and other pass-through nodes are not protected.

[0071] Table 2

[0072]

[0073] In the Ethernet service below 400M, there is a special optical modem (fiber optic transceiver) scenario. In the optical modem scenario, the box device in Figure 3 can be replaced with a fiber optic transceiver, and other devices remain unchanged. The connection type and protection type have certain changes, as shown in Table 3. Table 3 is a dual-ring network configuration table for an optical modem scenario for Ethernet service below 400M.

[0074] Table 3

[0075]

[0076] For example, FIG4 is a schematic diagram of a ring-belt-chain networking scenario.

[0077] As shown in Figure 4, the client side is a box-type device, and the uplink port is connected to the card device. Device A, device B, device C, device D, device E and device F are all card devices, and a ring network can be formed between A and F. Among them, device A is the starting node, and devices B, device C, device E and device F are through-nodes, which are not configured with protection. Device F is the access node and its uplink port is the access port, which is connected to the aggregation node to access the metropolitan area network OTN.

[0078] Taking the Ethernet service below 50M in the OTN premium private line as an example, it is configured according to the ring-chain networking mode shown in Figure 4. The connection type and protection type between each card device are shown in Table 4. Table 4 is a ring-chain networking configuration table for Ethernet services below 50M. The connection type of Ethernet services below 50M is SDH type. The 4 groups of line side ports of upper and lower links of device A and device D are all protected by VC SNCP. The lower link port of device G is protected by VC SNCP, and the upper link port is protected by MSP. Other pass-through nodes are not protected.

[0079] Table 4

[0080]

[0081] The method for determining the configuration information of the OTN service provided in the embodiment of the present application can determine the service paths to be selected according to the requirements of different service scenarios, and select the ring network service path therefrom to generate loop configuration information, thereby realizing intelligent detection of the ring network service path, and the ring network service path can also cover more diverse network scenarios.

[0082] The method for determining configuration information of an OTN service provided in the embodiment of the present application can be applied to a server.

[0083] FIG5 is a flow chart of a method for determining configuration information of an OTN service. As shown in FIG5 , the method includes:

[0084] 501. Determine the service scenario requirements, service start node, and network access node of the target OTN service.

[0085] The target OTN service may be any OTN service.

[0086] The service start node and network access node may be any selected OTN equipment, and may be, for example, a plug-in access type OTN equipment.

[0087] In some embodiments, the above service scenario requirements may include, but are not limited to: bandwidth requirements, time slot resource requirements, and one or more service scenario types of the target OTN service.

[0088] 502. Detect a candidate service path from a service start node to a network access node.

[0089] The port capability of each node in the selected service path matches the service scenario requirement of the target OTN service. For example, the port capability of each node can meet the bandwidth requirement and / or time slot resource requirement of the target OTN service.

[0090] In the embodiment of the present application, the network topology between the service start node and the network access node can be intelligently detected to determine the service path to be selected.

[0091] Exemplarily, the above-mentioned intelligent detection mechanism can first obtain the address information of all nodes connected to the current node according to the peer information of the service start node, access the connected nodes according to the address information, and obtain the port capability information and time slot resource occupancy of the connected nodes. If the port capability information supports the service scenario requirements and the time slot resources are sufficient, the node is included in the service path, recorded in a tree structure, and the connected nodes of the node continue to be detected; if the port capability information supports the service scenario requirements, but the time slot resources are insufficient, the time slot resource occupancy of the node is recorded. If the port capability information does not support the service scenario requirements, or the node is connected to the network access device, it means that the current service path has been detected to the end, and the detection of the next node can be entered. When all connected nodes have been detected, all recorded service paths can be summarized to obtain the above-mentioned service path to be selected.

[0092] In the embodiment of the present application, the port capability information may include but is not limited to: supported bandwidth, and / or supported service scenario type, etc.

[0093] In some embodiments, the process of detecting a candidate service path from a service start node to a network access node in 502 in FIG. 5 may include the following steps:

[0094] Step 1: Obtain the port capability information of the next-level node connected to the current node.

[0095] When step 1 is executed for the first time, the current node is the service start node.

[0096] It should be noted that the current node can be connected to multiple next-level nodes, and the following steps 2 and 3 can be executed for each next-level node.

[0097] Step 2: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, the service path between the next-level node and the current node is stored.

[0098] Exemplarily, the port capability information of the above-mentioned next-level node supports the service scenario requirements of the target OTN service, which may include but is not limited to: the bandwidth supported by the next-level node is greater than or equal to the bandwidth required by the target OTN service, and / or the service scenario types supported by the next-level node include the service scenario types corresponding to the target OTN service.

[0099] In some embodiments, if the port capability information of the next-level node supports the service scenario requirements of the target OTN service, and the time slot resource occupancy of the next-level node meets the time slot requirements of the target OTN service, the service path between the next-level node and the current node is stored.

[0100] In some embodiments, the time slot resource occupancy condition meets the time slot requirement of the target OTN service including: the time slot resource of the next-level node is not exclusively occupied by other services;

[0101] In some embodiments, the time slot resource occupancy condition meets the time slot requirement of the target OTN service, including: the idle time slot resources of the next-level node are greater than a preset time slot resource amount, and the preset time slot resource amount is determined based on the time slot requirement of the target OTN service.

[0102] In some embodiments, the time slot resource occupancy condition meets the time slot requirement of the target OTN service, including: the time slot resources of the next-level node are not monopolized by other services, and the idle time slot resources of the next-level node are greater than the preset time slot resource amount, and the preset time slot resource amount is determined based on the time slot requirement of the target OTN service.

[0103] Step 3: If the next-level node is not connected to the network-entering node, the next-level node is used as the current node.

[0104] The steps 1, 2 and 3 are executed in a loop until it is determined that the next-level node is connected to the network access node, and then a service path to be selected is determined according to all stored service paths.

[0105] In some embodiments, the port capability of each node in the to-be-selected service path matches the service scenario requirement of the target OTN service.

[0106] In the above embodiment, a candidate service path that can match the service scenario requirement of the target OTN service can be detected.

[0107] In some embodiments, the port capability of each node in the to-be-selected service path matches the service scenario requirement of the target OTN service, and the time slot resource occupancy of each node meets the time slot requirement of the target OTN service.

[0108] In the above embodiment, a service path to be selected that can match the service scenario requirement of the target OTN service and can ensure sufficient time slot resources for the target OTN service can be detected.

[0109] 503. If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected, and loop configuration information of the target OTN service is generated.

[0110] The loop configuration information includes relevant configuration information of each node in the ring network service path.

[0111] In some embodiments, after the above step 2, if the time slot resource occupancy of the next-level node does not meet the time slot requirement of the target OTN service, the time slot resource occupancy of the next-level node is stored. When the above step 503 is executed, the stored time slot resource occupancy of each node can be considered at the same time to select the ring network service path of the target OTN service from the service paths to be selected. If there is a ring network path in the service paths to be selected, the ring network service path of the target OTN service is selected from the service paths to be selected according to the time slot resource occupancy of the next-level node, and the loop configuration information of the target OTN service is generated.

[0112] It should be noted that, in the embodiment of the present application, when selecting a ring network service path from the candidate service paths, a path consisting of nodes whose unoccupied time slot resources can meet the time slot resource requirements of the target OTN service can be preferentially selected.

[0113] In some embodiments, if there is no ring network path in the selected service path, a chain service path of the target OTN service can be selected from the selected service path, and chain configuration information of the target OTN service can be generated, the chain configuration information including relevant configuration information of each node in the chain service path.

[0114] Exemplarily, FIG6 is a flow chart of a method for determining configuration information of an OTN service. As shown in FIG6 , the method includes:

[0115] 601. Determine the service scenario requirements, service start node, and network access node of the target OTN service.

[0116] 602. Detect a candidate service path from a service start node to a network access node.

[0117] For the relevant description of the above steps 601 and 602, reference may be made to the relevant description of the above steps 501 and 502, which will not be repeated here.

[0118] 603. Determine whether there is a ring network path in the service paths to be selected.

[0119] If there is a ring network path in the service paths to be selected, then continue to execute the following step 604; if there is no ring network path in the service paths to be selected, then continue to execute the following step 605.

[0120] 604 . Select a ring network service path of the target OTN service from the service paths to be selected, and generate loop configuration information of the target OTN service.

[0121] The loop configuration information of the target OTN service includes relevant configuration information of each node in the ring network service path.

[0122] 605. Select a chain service path of the target OTN service from the candidate service paths, and generate chain configuration information of the target OTN service.

[0123] The chain configuration information includes relevant configuration information of each node in the chain service path.

[0124] The configuration information of the above nodes may include but is not limited to at least one of the following:

[0125] The supported bandwidth of the node, the type of the node, the protection type of the node, the service port selected for the target OTN service, and the time slot resources allocated for the target OTN service.

[0126] In the above embodiment, whether a ring network service path or a chain service path is finally selected can be determined based on whether there is a ring network path in the service paths to be selected. The ring network service path is selected first. When there is no ring network path in the service paths to be selected, the chain service path is selected. This can ensure that the corresponding service path is selected for the target OTN service and its configuration information is determined.

[0127] In some embodiments, if there is no ring network path in the service paths to be selected, the service start node is re-determined, and the loop configuration information is determined based on the re-determined service start node.

[0128] Exemplarily, FIG7 is a flow chart of a method for determining configuration information of an OTN service. As shown in FIG7 , the method includes:

[0129] 701. Determine the service scenario requirements, service start node, and network access node of the target OTN service.

[0130] 702. Detect a candidate service path from a service start node to a network access node.

[0131] For the relevant description of the above steps 701 and 702, reference may be made to the relevant description of the above steps 501 and 502, which will not be repeated here.

[0132] 703. Determine whether there is a ring network path in the service paths to be selected.

[0133] If there is a ring network path in the service paths to be selected, then continue to execute the following step 704; if there is no ring network path in the service paths to be selected, then continue to execute the following step 705.

[0134] 704 . Select a ring network service path of the target OTN service from the service paths to be selected, and generate loop configuration information of the target OTN service.

[0135] The loop configuration information of the target OTN service includes relevant configuration information of each node in the ring network service path.

[0136] 705. Re-determine the service start node.

[0137] After executing the above step 705, the above step 702 may be returned to be executed, so that the loop configuration information may be determined based on the re-determined service start node.

[0138] In the above embodiment, when there is no ring network path in the candidate service path, the candidate service path can be re-determined by determining the service start node, and the ring network service path is determined for the target OTN service, and the loop configuration information of the target OTN service is generated.

[0139] In some embodiments, if a ring network path exists in the service paths to be selected, a ring network service path of a target OTN service is selected from the service paths to be selected, and after loop configuration information of the target OTN service is generated, a creation process of the target OTN service may be further performed.

[0140] Exemplarily, after the above steps 503, 604, 605, and 705, the process of creating the target OTN service may be performed.

[0141] Exemplarily, FIG8 is a flowchart of a method for determining configuration information of an OTN service. As shown in FIG8 , the method includes:

[0142] 801. The server determines the service scenario requirements, service start node, and network access node of the target OTN service.

[0143] 802. The server detects a candidate service path from a service start node to a network access node.

[0144] 803. If a ring network path exists in the service paths to be selected, the server selects a ring network service path of the target OTN service from the service paths to be selected, and generates loop configuration information of the target OTN service.

[0145] For the description of the above steps 801 , 802 and 803 , reference may be made to the description of the above steps 501 , 502 and 503 , which will not be repeated here.

[0146] 804. The server generates a service creation message of the target OTN service based on the loop service configuration information of the target OTN service.

[0147] 805. The server sends the service creation message to each node in the ring network service path.

[0148] The service creation message carries relevant configuration information of each node.

[0149] For example, the nodes 1 and 2 in FIG. 8 are for example illustration, and the actual ring network service path may include more or fewer nodes.

[0150] 806. If the server receives service creation response messages sent by all nodes in the ring network service path, it is determined that the target OTN service is created successfully.

[0151] After receiving the service creation message, each node in the ring network service path can perform configuration according to the relevant configuration information for the node carried in the service creation message, and send a service creation response message to the server after the configuration is completed.

[0152] After the server receives the service creation confirmation response message, it can be determined that the target OTN service is created successfully.

[0153] In some embodiments, if the service creation response message sent by some nodes in the ring network service path is not received, it means that the target OTN service creation fails, and the service creation process can be re-performed, and the time slot resources and connection status of each device can be re-confirmed according to the error message of the service creation failure. After ensuring that the target OTN service is successfully created, the service delivery process is performed.

[0154] In the above embodiment, in the OTN transmission network, the ring networking mode can provide more flexible protection for the OTN service compared with the ordinary point-to-point chain networking mode, so that the network has higher fault tolerance and stronger self-healing ability. The ring networking mode is applied to the OTN service, and the end-to-end service path is automatically generated by adjusting the network topology of the OTN equipment, combining the detection and coordination of network equipment resources, so as to realize the automatic opening of the OTN ring network service in a complex network environment, and effectively improve the quality of the OTN high-quality private line service.

[0155] In the above embodiment, the OTN device network topology is combined with the OTN service scenario. Starting from the starting node, the device nodes in the network that support the corresponding service scenario and have the corresponding service resources are quickly traversed, the ring network structure in the network topology is intelligently identified, and suitable service paths are efficiently and accurately planned for different OTN service scenarios, thereby improving the efficiency of OTN service activation.

[0156] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0157] Based on the same technical concept, the embodiment of the present application further provides a server, which can implement the functions involved in the method for determining configuration information of an OTN service in the aforementioned embodiment.

[0158] 9 is a schematic diagram of the structure of an electronic device provided by an embodiment. The electronic device includes: a memory 901, a transceiver 902, and a processor 903, wherein the memory 901, the transceiver 902, and the processor 903 are connected via a bus interface.

[0159] The memory 901 is used to store computer programs; the transceiver 902 is used to send and receive data under the control of the processor 903.

[0160] The processor 903 is configured to read the computer program in the memory 901 and perform the following operations:

[0161] Determine the service scenario requirements, service start nodes and network access nodes of the target OTN service;

[0162] Detecting a candidate service path from the service start node to the network access node, wherein the port capability of each node in the candidate service path matches the service scenario requirement of the target OTN service;

[0163] If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected, and loop configuration information of the target OTN service is generated, wherein the loop configuration information includes relevant configuration information of each node in the ring network service path.

[0164] In one embodiment, the processor 903 is specifically configured to read the computer program in the memory 901 and perform the following operations:

[0165] Step 1: Obtain the port capability information of the next-level node connected to the current node;

[0166] Step 2: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, then the service path between the next-level node and the current node is stored;

[0167] Step 3: If the next-level node is not connected to the network-entering node, use the next-level node as the current node;

[0168] Execute step 1, step 2 and step 3 in a loop until it is determined that the next-level node is connected to the access node, and then determine the service path to be selected according to all stored service paths;

[0169] Wherein, when the step 1 is executed for the first time, the current node is the service starting node.

[0170] In one embodiment, the processor 903 is specifically configured to read the computer program in the memory 901 and perform the following operations:

[0171] If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, and the time slot resource occupancy of the next-level node meets the time slot requirements of the target OTN service, the service path between the next-level node and the current node is stored.

[0172] In one of the embodiments, the time slot resource occupancy condition meets the time slot requirement of the target OTN service, including:

[0173] The time slot resources of the next-level node are not exclusively occupied by other services;

[0174] and / or,

[0175] The idle time slot resources of the next-level node are greater than a preset time slot resource amount, and the preset time slot resource amount is determined based on the time slot demand of the target OTN service.

[0176] In one embodiment, the processor 903 is further configured to read the computer program in the memory 901 and perform the following operations:

[0177] If the time slot resource occupancy of the next-level node does not meet the time slot requirement of the target OTN service, storing the time slot resource occupancy of the next-level node;

[0178] If a ring network path exists in the service paths to be selected, selecting a ring network service path of the target OTN service from the service paths to be selected, and generating loop configuration information of the target OTN service, including:

[0179] If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected according to the time slot resource occupancy of the next-level node, and loop configuration information of the target OTN service is generated.

[0180] In one embodiment, the processor 903 is further configured to read the computer program in the memory 901 and perform the following operations:

[0181] If there is no ring network path in the to-be-selected service path, selecting a chain service path of the target OTN service from the to-be-selected service path, and generating chain configuration information of the target OTN service, wherein the chain configuration information includes relevant configuration information of each node in the chain service path;

[0182] or,

[0183] If there is no ring network path in the to-be-selected service paths, the service start node is re-determined, and the loop configuration information is determined based on the re-determined service start node.

[0184] In one embodiment, the processor 903 is further configured to read the computer program in the memory 901 and perform the following operations:

[0185] Generate a service creation message for the target OTN service based on the loop service configuration information of the target OTN service;

[0186] Sending the service creation message to each node in the ring network service path, wherein the service creation message carries relevant configuration information of each node;

[0187] If service creation response messages sent by all nodes in the ring network service path are received, it is determined that the target OTN service is created successfully.

[0188] In an exemplary embodiment, as shown in FIG10 , a structural block diagram of a server is provided, including:

[0189] The information determination module 1001 is used to determine the service scenario requirements, service start node and network access node of the target OTN service;

[0190] A detection module 1002 is used to detect a candidate service path from the service start node to the network access node;

[0191] The configuration information determination module 1003 is used to select the ring network service path of the target OTN service from the selected service paths if there is a ring network path in the selected service paths, and generate the loop configuration information of the target OTN service, wherein the loop configuration information includes the relevant configuration information of each node in the ring network service path.

[0192] In one embodiment, the detection module 1002 is specifically configured to perform the following steps:

[0193] Step 1: Obtain the port capability information of the next-level node connected to the current node;

[0194] Step 2: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, then the service path between the next-level node and the current node is stored;

[0195] Step 3: If the next-level node is not connected to the network-entering node, use the next-level node as the current node;

[0196] Execute step 1, step 2 and step 3 in a loop until it is determined that the next-level node is connected to the access node, and then determine the service path to be selected according to all stored service paths;

[0197] Wherein, when the step 1 is executed for the first time, the current node is the service starting node.

[0198] In one embodiment, the detection module 1002 is specifically used for:

[0199] If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, and the time slot resource occupancy of the next-level node meets the time slot requirements of the target OTN service, the service path between the next-level node and the current node is stored.

[0200] In one of the embodiments, the time slot resource occupancy condition meets the time slot requirement of the target OTN service, including:

[0201] The time slot resources of the next-level node are not exclusively occupied by other services;

[0202] and / or,

[0203] The idle time slot resources of the next-level node are greater than a preset time slot resource amount, and the preset time slot resource amount is determined based on the time slot demand of the target OTN service.

[0204] In one embodiment, the detection module 1002 is further used for:

[0205] If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, after storing the service path between the next-level node and the current node, if the time slot resource occupancy of the next-level node does not meet the time slot requirements of the target OTN service, storing the time slot resource occupancy of the next-level node;

[0206] If a ring network path exists in the service paths to be selected, selecting a ring network service path of the target OTN service from the service paths to be selected, and generating loop configuration information of the target OTN service, including:

[0207] If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected according to the time slot resource occupancy of the next-level node, and loop configuration information of the target OTN service is generated.

[0208] In one embodiment, the configuration information determination module 1003 is further used to:

[0209] If there is no ring network path in the to-be-selected service path, selecting a chain service path of the target OTN service from the to-be-selected service path, and generating chain configuration information of the target OTN service, wherein the chain configuration information includes relevant configuration information of each node in the chain service path;

[0210] or,

[0211] If there is no ring network path in the to-be-selected service paths, the service start node is re-determined, and the loop configuration information is determined based on the re-determined service start node.

[0212] In one of the embodiments, the server may further include: a service creation module 1004, which is used to, if there is a ring network path in the to-be-selected service path, select the ring network service path of the target OTN service from the to-be-selected service path, and generate the loop configuration information of the target OTN service; then, based on the loop service configuration information of the target OTN service, generate a service creation message for the target OTN service; send the service creation message to each node in the ring network service path, the service creation message carrying relevant configuration information of each node; if a service creation response message sent by all nodes in the ring network service path is received, it is determined that the target OTN service is successfully created.

[0213] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0214] If the above integrated modules are implemented in the form of software function modules and sold or used as independent products, they can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application, 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, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application.

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

[0216] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, all the method steps implemented in the above method embodiment are implemented.

[0217] In one embodiment, a computer program product is provided, including a computer program, which implements all the method steps implemented in the above method embodiment when executed by a processor.

[0218] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0219] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0220] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for determining configuration information of an OTN service, characterized in that: The method comprises: Determine the service scenario requirements, service start nodes and network access nodes of the target OTN service; Detecting a candidate service path from the service start node to the network access node, wherein the port capability of each node in the candidate service path matches the service scenario requirement of the target OTN service; If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected, and loop configuration information of the target OTN service is generated, wherein the loop configuration information includes relevant configuration information of each node in the ring network service path.

2. The method according to claim 1, characterized in that: The detecting a candidate service path from the service start node to the network access node includes: Step 1: Obtain the port capability information of the next-level node connected to the current node; Step 2: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, then the service path between the next-level node and the current node is stored; Step 3: If the next-level node is not connected to the network-entering node, use the next-level node as the current node; Execute step 1, step 2 and step 3 in a loop until it is determined that the next-level node is connected to the access node, and then determine the service path to be selected according to all stored service paths; Wherein, when the step 1 is executed for the first time, the current node is the service starting node.

3. The method according to claim 2, characterized in that If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, storing the service path between the next-level node and the current node includes: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, and the time slot resource occupancy of the next-level node meets the time slot requirements of the target OTN service, the service path between the next-level node and the current node is stored.

4. The method according to claim 3, characterized in that The time slot resource occupancy condition meets the time slot requirement of the target OTN service, including: The time slot resources of the next-level node are not exclusively occupied by other services; and / or, The idle time slot resources of the next-level node are greater than a preset time slot resource amount, and the preset time slot resource amount is determined based on the time slot demand of the target OTN service.

5. The method according to claim 2, characterized in that: If the port capability information of the next-level node supports the service scenario requirements of the target OTN service, after storing the service path between the next-level node and the current node, the method further includes: If the time slot resource occupancy of the next-level node does not meet the time slot requirement of the target OTN service, storing the time slot resource occupancy of the next-level node; If a ring network path exists in the service paths to be selected, selecting a ring network service path of the target OTN service from the service paths to be selected, and generating loop configuration information of the target OTN service, including: If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected according to the time slot resource occupancy of the next-level node, and loop configuration information of the target OTN service is generated.

6. The method according to claim 1, characterized in that The method further comprises: If there is no ring network path in the to-be-selected service path, selecting a chain service path of the target OTN service from the to-be-selected service path, and generating chain configuration information of the target OTN service, wherein the chain configuration information includes relevant configuration information of each node in the chain service path; or, If there is no ring network path in the to-be-selected service paths, the service start node is re-determined, and the loop configuration information is determined based on the re-determined service start node.

7. The method according to claim 1, characterized in that If there is a ring network path among the service paths to be selected, then after selecting the ring network service path of the target OTN service from the service paths to be selected and generating the loop configuration information of the target OTN service, the method further includes: Generate a service creation message for the target OTN service based on the loop service configuration information of the target OTN service; Sending the service creation message to each node in the ring network service path, wherein the service creation message carries relevant configuration information of each node; If service creation response messages sent by all nodes in the ring network service path are received, it is determined that the target OTN service is created successfully.

8. A server, characterized in that: include: Memory, transceiver, processor: The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: Determine the service scenario requirements, service start nodes and network access nodes of the target OTN service; Detecting a candidate service path from the service start node to the network access node, wherein the port capability of each node in the candidate service path matches the service scenario requirement of the target OTN service; If a ring network path exists in the service paths to be selected, a ring network service path of the target OTN service is selected from the service paths to be selected, and loop configuration information of the target OTN service is generated, wherein the loop configuration information includes relevant configuration information of each node in the ring network service path.

9. A server, characterized in that: include: An information determination module is used to determine the service scenario requirements, service start node and network access node of the target OTN service; A detection module, used to detect a candidate service path from the service start node to the network access node; The configuration information determination module is used to select the ring network service path of the target OTN service from the to-be-selected service paths if there is a ring network path in the to-be-selected service paths, and generate the loop configuration information of the target OTN service, wherein the loop configuration information includes the relevant configuration information of each node in the ring network service path.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that The computer program product comprises a computer program, which implements the method according to any one of claims 1 to 7 when executed by a processor.