Service path restoration method and device, electronic equipment and storage medium

By reconstructing the OTN service path layer by layer using the OTN service hierarchy model, the problem of low fault tolerance in traditional OTN service paths is solved, enabling rapid analysis of alarm impact and improving network security and reliability.

CN118214717BActive Publication Date: 2026-01-13INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410308325.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2026-01-13
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

The traditional OTN service path routing concatenation and restoration process is complex, relies on multiple basic data, resulting in low fault tolerance and a high failure rate.

Method used

By acquiring the subnet connection data and routing data of the subnet connection to be restored, the service path is restored layer by layer using the OTN service hierarchy model, including EoS, EoO, SDH and OTN transparent transmission service hierarchy models, and TPL and SIF are spliced ​​layer by layer to form an end-to-end path.

Benefits of technology

It improves the fault tolerance of business path restoration, reduces the dependence on complex basic data, enables rapid analysis of the scope of alarm impact and adjustment, and improves network security and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118214717B_ABST
    Figure CN118214717B_ABST
Patent Text Reader

Abstract

The application provides a service path restoration method device, electronic equipment and storage medium, and belongs to the technical field of communication. The method comprises the following steps: acquiring subnet connection data of a to-be-restored subnet connection; acquiring routing data of the to-be-restored subnet connection based on a resource management global identification code rmUID of the to-be-restored subnet connection; and if there is no data with a routing type of SNL in the routing data, forming a service path of the to-be-restored subnet connection based on an OTN service hierarchy model. The service path restoration method device, electronic equipment and storage medium provided by the application can restore the service path of the subnet connection layer by layer according to the OTN service hierarchy model, realize the end-to-end path of the subnet connection, and improve the fault tolerance of the service path restoration without relying on complex basic data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a service path restoration method apparatus, electronic device, and storage medium. Background Technology

[0002] The transmission operation and maintenance workbench manages the resources and service data of the transmission profession. The resource data mainly relies on the Operation and Maintenance Center (OMC) of each manufacturer to report according to the specifications. After the transmission workbench collects and parses the data, it stores and manages it. The service data is mainly generated through the circuit scheduling process, including Synchronous Digital Hierarchy (SDH) circuits, Packet Transport Network (PTN) circuits, Optical Transport Network (OTN) circuits, Slicing Packet Network (SPN) circuits, etc.

[0003] Traditional OTN service paths rely on verifying the relationship between OTN circuits and optical channels, and then routing the optical channels in series. Specifically, the routing data for the optical channels is not reported by the equipment manufacturer's OMC, requiring periodic concatenation by the upper layer using a concatenation algorithm. However, current concatenation algorithms are complex, relying on numerous basic data (network elements, boards, ports, time slots, signal flow direction, topology connections). The accuracy of any data can affect the routing of the concatenated optical channels, and may even lead to concatenation failure, making it impossible to obtain an end-to-end path. Summary of the Invention

[0004] This invention provides a service path restoration method, device, electronic equipment, and storage medium to address the shortcomings of low fault tolerance in the prior art of restoring service paths via routing concatenation.

[0005] In a first aspect, the present invention provides a method for restoring a business path, comprising:

[0006] Obtain the subnet connection data of the subnet connection to be restored;

[0007] Based on the Resource Management Global Identifier (rmUID) of the subnet connection to be restored, obtain the routing data of the subnet connection to be restored.

[0008] If the routing data does not contain data of type SNL, then the service path of the subnet connection to be restored is formed based on the OTN service hierarchy model.

[0009] According to the present invention, a service path restoration method, after obtaining the routing data of the subnet connection to be restored based on the resource management global identifier (rmUID) of the subnet connection to be restored, further includes:

[0010] If the routing data contains data of type SNL, then the subnet connection corresponding to the SNL type data is taken as a new subnet connection to be restored, and the routing data of the new subnet connection to be restored is obtained, until the routing data no longer contains data of type SNL.

[0011] According to a service path restoration method provided by the present invention, the routing type of the routing data includes subnet connection (SNL), topology connection (TPL), and signal flow direction (SIF).

[0012] According to a service path restoration method provided by the present invention, the step of forming the service path of the subnet connection to be restored based on the OTN service hierarchy model includes:

[0013] Based on the OTN service hierarchy model, TPL and SIF are concatenated sequentially from top to bottom according to the routing sequence number to obtain the service path of the subnet connection to be restored.

[0014] According to a service path restoration method provided by the present invention, the OTN service layer model includes an EoS service layer model, an EoO service layer model, an SDH service layer model, and an OTN transparent transmission service layer model.

[0015] Secondly, the present invention also provides a business path restoration apparatus, comprising:

[0016] The connection data acquisition module is used to acquire the subnet connection data of the subnet connection to be restored;

[0017] The routing data acquisition module is used to acquire the routing data of the subnet connection to be restored based on the resource management global identifier rmUID of the subnet connection to be restored;

[0018] The service path restoration module is used to form the service path of the subnet connection to be restored based on the OTN service hierarchy model if there is no data of route type SNL in the routing data.

[0019] According to a service path restoration apparatus provided by the present invention, the service path restoration apparatus further includes:

[0020] The recursive update module is used to, if the routing data contains data of type SNL, then use the subnet connection corresponding to the SNL type data as the new subnet connection to be restored.

[0021] According to a service path restoration device provided by the present invention, the routing type of the routing data includes subnet connection (SNL), topology connection (TPL), and signal flow direction (SIF).

[0022] According to a service path restoration apparatus provided by the present invention, the step of forming the service path of the subnet connection to be restored based on the OTN service hierarchy model includes:

[0023] Based on the OTN service hierarchy model, TPL and SIF are concatenated sequentially from top to bottom according to the routing sequence number to obtain the service path of the subnet connection to be restored.

[0024] According to a service path restoration device provided by the present invention, the OTN service layer model includes an EoS service layer model, an EoO service layer model, an SDH service layer model, and an OTN transparent transmission service layer model.

[0025] Thirdly, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of any of the above-described service path restoration methods.

[0026] Fourthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the business path restoration method as described above.

[0027] Fifthly, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described business path restoration methods.

[0028] The present invention provides a service path restoration method, apparatus, electronic device, and storage medium, which acquires subnet connection data of the subnet connection to be restored; obtains routing data of the subnet connection to be restored based on the Resource Management Global Identifier (rmUID) of the subnet connection to be restored; if there is no data of routing type SNL in the routing data, a service path of the subnet connection to be restored is formed based on the OTN service hierarchy model. According to the OTN service hierarchy model, the service path of the subnet connection is restored layer by layer, realizing the end-to-end path restoration of the subnet connection without relying on complex basic data, thus improving the fault tolerance of service path restoration. Attached Figure Description

[0029] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0030] Figure 1 This is a flowchart illustrating the business path restoration method provided by the present invention;

[0031] Figure 2 This is a schematic diagram of the OTN service path model provided by the present invention;

[0032] Figure 3 This is a schematic diagram of the path-related data of the subnet connection provided by the present invention;

[0033] Figure 4 This is a schematic diagram of the business path restoration steps provided by the present invention;

[0034] Figure 5 This is a schematic diagram of the business path restoration device provided by the present invention;

[0035] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0036] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0037] It should be noted that in the description of the embodiments of the present invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element. The terms "upper," "lower," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Unless otherwise expressly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly, for example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two elements. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0038] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects; for example, a first object can be one or more. Furthermore, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects have an "or" relationship.

[0039] The following is combined Figures 1-6 This invention describes the service path restoration method and apparatus provided in embodiments of the present invention.

[0040] Figure 1 This is a flowchart illustrating the business path restoration method provided by the present invention, as follows: Figure 1 As shown, including but not limited to the following steps:

[0041] S110, Obtain the subnet connection data of the subnet connection to be restored;

[0042] S120, based on the resource management global identifier rmUID of the subnet connection to be restored, obtain the routing data of the subnet connection to be restored;

[0043] S130, if there is no data of route type SNL in the routing data, then the service path of the subnet connection to be restored is formed based on the OTN service layer model.

[0044] It should be noted that the execution subject of the task construction method provided in this application embodiment can be a server or computer device, such as a tablet computer, laptop computer, ultra-mobile personal computer (UMPC), or netbook.

[0045] Figure 2 This is a schematic diagram of the OTN service path model provided by the present invention, as shown below. Figure 2 As shown, according to the OTN path model recommended by ITU-T G.872, OTN services can be divided into: Client trail: Optical Channel Client Layer Path; ODUk trail: Optical Channel Data Unit Path; OTUk trail: Optical Channel Transport Unit Path; OCh trail: Optical Channel Layer Path; OMStrail: Optical Multiplex Section Path; OTS trail: Optical Transport Section Path (multi-layer path).

[0046] Here, the routing data includes subnet connection (SNL), topology connection (TPL), and signal flow direction (SIF).

[0047] Figure 3 This is a schematic diagram of the path-related data association of the subnet connection provided by the present invention, such as... Figure 3 As shown, the subnet connection data of a certain layer is obtained. The route of the current subnet connection is obtained from the subnet connection and routing data, which may include SNL (Sub NetLink), TPL (Topo Link), and SIF (Signal Flow). The route of the next layer SNL is expanded by iterating layer by layer. The process is recursively repeated until all SNL routes are iterated to only contain TPL. This indicates that the current path has been restored to the lowest layer route, i.e., the end-to-end path.

[0048] The service path for forming the subnet connection to be restored based on the OTN service hierarchy model specifically includes:

[0049] Based on the OTN service hierarchy model, TPL and SIF are concatenated sequentially from top to bottom according to the routing sequence number to obtain the service path of the subnet connection to be restored.

[0050] The service path restoration method provided in this application embodiment obtains subnet connection data of the subnet connection to be restored; obtains routing data of the subnet connection to be restored based on the resource management global identifier (rmUID) of the subnet connection to be restored; if there is no data of route type SNL in the routing data, then a service path of the subnet connection to be restored is formed based on the OTN service hierarchy model. According to the OTN service hierarchy model, the service path of the subnet connection is restored layer by layer, realizing the end-to-end path restoration of the subnet connection without relying on complex basic data, thus improving the fault tolerance of service path restoration.

[0051] In an optional embodiment, after obtaining the routing data of the subnet connection to be restored based on the resource management global identifier (rmUID) of the subnet connection to be restored, the method further includes:

[0052] If the routing data contains data of type SNL, then the subnet connection corresponding to the SNL type data is taken as a new subnet connection to be restored, and the routing data of the new subnet connection to be restored is obtained, until the routing data no longer contains data of type SNL.

[0053] In optional embodiments, the OTN service layer model includes the EoS service layer model, the EoO service layer model, the SDH service layer model, and the OTN transparent transmission service layer model, as shown in Table 1 below.

[0054] Table 1 OTN Business Hierarchy Model

[0055]

[0056]

[0057] Figure 4 This is a schematic diagram of the business path restoration steps provided by the present invention. For ease of understanding, the following is combined with... Figure 4 The preferred method for restoring the business path of the present invention will be described.

[0058] 101. Obtain the subnet connection data (SNL) that needs to be restored.

[0059] 102. Match the subnet connection rmUID obtained through process node 101 with the rmUID of the subnet connection and route (SNT) to obtain the current layer route of the current subnet connection.

[0060] 103. Analyze the subnet connection and routing (SNT) data matched by process node 102 (the routing type will have three types of data: TPL, SIF, and SNL) and analyze whether there is routing data with the routing type "SNL".

[0061] 104. After analyzing the routing data of process node 103, if there is no routing data of type "SNL", it means that the current level of routing has been reached and there is no need to iterate layer by layer. Proceed to process node 106. If there is a route of type "SNL", obtain the rmUID of the current SNL and match the subnet connection and routing (SNT) data again.

[0062] 105. Analyze the subnet connection and routing (SNT) data matched by process node 104 again to see if there is any routing data with the routing type "SNL". If so, proceed to process node 106. Otherwise, continue recursively layer by layer until the matched subnet connection and routing (SNT) data only contains data with the routing type "TPL". This indicates that the current routing has been analyzed to the lowest level and can no longer be analyzed.

[0063] 106. In the analyzed SNT, according to the OTN service hierarchy model, TPL and SIF are concatenated sequentially from top to bottom according to the routing sequence number to form an end-to-end service path, and the process ends.

[0064] In summary, the service path restoration method provided in this application restores the OTN service path layer by layer by collecting subnet connection and routing data, obtaining end-to-end path information for each subnet connection. For sudden device or port alarms, by matching and associating alarm resource objects with restored path nodes, the scope of services affected by the alarm can be quickly analyzed. This allows for timely adjustments and repairs to affected or potentially interrupted services, reducing the risk of service interruption and improving the efficiency of service fault handling. Furthermore, the restored service path allows for co-routing analysis of upper-layer services, identifying various potential problems in the routing, including shared network elements, boards, ports, optical cables, and bearers in primary and backup paths. This facilitates maintenance personnel in promptly identifying current network vulnerabilities, enabling planned and targeted adjustments to the transmission network, strengthening network protection measures, and improving the security and reliability of the transmission network.

[0065] The service path restoration apparatus provided in the embodiments of this application is described below. The service path restoration apparatus described below and the service path restoration method described above can be referred to in correspondence.

[0066] Figure 5 This is a schematic diagram of the business path restoration device provided by the present invention, as shown below. Figure 5 As shown, the service path restoration device includes:

[0067] The connection data acquisition module 510 is used to acquire the subnet connection data of the subnet connection to be restored.

[0068] The routing data acquisition module 520 is used to acquire the routing data of the subnet connection to be restored based on the resource management global identifier rmUID of the subnet connection to be restored;

[0069] The service path restoration module 530 is used to form the service path of the subnet connection to be restored based on the OTN service hierarchy model if there is no data of route type SNL in the routing data.

[0070] Furthermore, the service path restoration device also includes:

[0071] The recursive update module is used to, if the routing data contains data of type SNL, then use the subnet connection corresponding to the SNL type data as the new subnet connection to be restored.

[0072] It should be understood that after the recursive update module takes the subnet connection corresponding to the SNL type data as the new subnet connection to be restored, it returns to the connection data acquisition module 510 to recursively iterate and restore the service path until there is no data of route type SNL in the routing data.

[0073] It should be noted that the service path restoration device provided in this embodiment of the invention can execute the service path restoration method described in any of the above embodiments during specific operation, and this embodiment will not elaborate on this.

[0074] The service path restoration apparatus provided in this application embodiment obtains subnet connection data of the subnet connection to be restored; obtains routing data of the subnet connection to be restored based on the resource management global identifier (rmUID) of the subnet connection to be restored; if there is no data of route type SNL in the routing data, a service path of the subnet connection to be restored is formed based on the OTN service hierarchy model. According to the OTN service hierarchy model, the service path of the subnet connection is restored layer by layer, realizing the end-to-end path restoration of the subnet connection without relying on complex basic data, thus improving the fault tolerance of service path restoration.

[0075] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 6As shown, the electronic device may include a processor 610, a communications interface 620, a memory 630, and a communication bus 640. The processor 610, communications interface 620, and memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a service path restoration method. This method includes: acquiring subnet connection data of the subnet connection to be restored; acquiring routing data of the subnet connection to be restored based on the resource management global identifier (rmUID) of the subnet connection to be restored; and if the routing data does not contain data of route type SNL, forming a service path for the subnet connection to be restored based on the OTN service hierarchy model.

[0076] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0077] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, and when the program instructions are executed by a computer, the computer is able to execute the service path restoration method provided in the above embodiments, the method including: obtaining subnet connection data of the subnet connection to be restored; obtaining routing data of the subnet connection to be restored based on the resource management global identifier rmUID of the subnet connection to be restored; if there is no data of routing type SNL in the routing data, then forming a service path of the subnet connection to be restored based on the OTN service layer model.

[0078] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the service path restoration method provided in the above embodiments. The method includes: obtaining subnet connection data of the subnet connection to be restored; obtaining routing data of the subnet connection to be restored based on the resource management global identifier (rmUID) of the subnet connection to be restored; and if there is no data of routing type SNL in the routing data, forming a service path of the subnet connection to be restored based on the OTN service layer model.

[0079] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0080] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A service path restoration method characterized by, The method comprises: acquiring subnet connection data of a to-be-restored subnet connection; acquiring routing data of the to-be-restored subnet connection based on a resource management global identifier rmUID of the to-be-restored subnet connection; if there is no data of a routing type SNL in the routing data, forming a service path of the to-be-restored subnet connection based on an OTN service hierarchy model; after the step of acquiring the routing data of the to-be-restored subnet connection based on the resource management global identifier rmUID of the to-be-restored subnet connection, the method further comprises: if there is data of the routing type SNL in the routing data, taking a subnet connection corresponding to the SNL type data as a new to-be-restored subnet connection, and acquiring routing data of the new to-be-restored subnet connection until there is no data of the routing type SNL in the routing data; the routing type of the routing data comprises a subnet connection SNL, a topology connection TPL, and a signal flow direction SIF; the step of forming the service path of the to-be-restored subnet connection based on the OTN service hierarchy model comprises: sequentially splicing TPL and SIF according to routing serial numbers from top to bottom based on the OTN service hierarchy model to obtain the service path of the to-be-restored subnet connection.

2. The service path restoration method according to claim 1, wherein The OTN service hierarchy model comprises an EoS service hierarchy model, an EoO service hierarchy model, an SDH service hierarchy model, and an OTN transparent service hierarchy model.

3. A service path restoration apparatus characterized by comprising: The application of the service path restoration method according to claim 1 comprises: a connection data acquisition module configured to acquire subnet connection data of a to-be-restored subnet connection; a routing data acquisition module configured to acquire routing data of the to-be-restored subnet connection based on a resource management global identifier rmUID of the to-be-restored subnet connection; a service path restoration module configured to, if there is no data of a routing type SNL in the routing data, form a service path of the to-be-restored subnet connection based on an OTN service hierarchy model.

4. The service path restoration apparatus according to claim 3, wherein The service path restoration device further comprises: a recursive update module configured to, if there is data of the routing type SNL in the routing data, take a subnet connection corresponding to the SNL type data as a new to-be-restored subnet connection.

5. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the service path restoration method according to any one of claims 1 to 2. 6.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the service path restoration method according to any one of claims 1 to 2.

7. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the service path restoration method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Stream forwarding path restoration method and device

    CN107623629A

  • Path generation method and device in optical transmission network

    CN114301793A