Method and device for constructing digital twinborn model of network transmission path

By obtaining network node configuration information, using the deep priority traversal algorithm and the routing object module segmentation mechanism, a digital twin model is built, solving the accuracy problem of transmission network path routing and realizing accurate path restoration and flexible adaptation to multi-level networks.

CN120474933APending Publication Date: 2025-08-12CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510735577.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The existing digital twin models cannot accurately restore the routing of transmission network paths, especially in multi-level and diverse network environments, and there is a lack of a general model to adapt to path routing restore at different levels.

Method used

By obtaining the configuration information of network nodes, using the deep priority traversal algorithm to determine the routing object, and based on the segmentation mechanism of the routing object module, define the routing segment number, routing group number and routing sequence number to build a digital twin model.

Benefits of technology

It realizes accurate path restoration of multi-level transmission networks, enhances the flexibility and adaptability of the model, and adapts to network networking scenarios at different levels, especially modern transmission networks with complex and highly redundant conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120474933A_ABST
    Figure CN120474933A_ABST
Patent Text Reader

Abstract

The invention discloses a digital twinborn model construction method and device for a network transmission path. The method comprises the steps that configuration information of a plurality of network nodes in a target network system is acquired, a plurality of routing objects in the target network system are determined according to the configuration information, and each routing object is a transmission link between two network nodes; determining a plurality of target routing objects corresponding to the target transmission service from the plurality of routing objects, and constructing a target transmission path corresponding to the target transmission service according to the target routing objects; determining attribute information of each target routing object in the target transmission path, wherein the attribute information comprises a routing segment number for reflecting a logic segment, a routing group number of a working mode and a routing serial number of a connection sequence; and constructing a digital twin model corresponding to the target transmission path according to the attribute information of each target routing object. The technical problem that a digital twin model constructed in a related network transmission scene cannot accurately restore a transmission path route is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of transmission network management, and specifically to a method and device for constructing a digital twin model of a network transmission path. Background Art

[0002] The concept of digital twins is widely used across various industries. The digital twin platform for transmission networks aims to accurately restore the physical transmission network, including point objects such as network elements, devices, and ports, as well as line objects such as channel paths. This allows for the precise connection of alarms, performance data, and channels, promoting intelligent network operations. However, the digital twin modeling and restoration of transmission network path routing faces challenges: On the one hand, as a multi-dimensional network, the transmission network consists of multiple layers, each of which serves as a service layer and a client layer. There is a lack of a universal digital model to adapt to path routing restoration at different layers. On the other hand, with the introduction of packet technology, service path routing has become more flexible and diverse, with routing objects expanding to include cross-connections, service layer paths, binding relationships, protection groups, and other types. This requires digital twin models and routing restoration algorithms to adapt to various networking scenarios and achieve rapid end-to-end path restoration.

[0003] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0004] The embodiments of the present application provide a method and device for constructing a digital twin model of a network transmission path, so as to at least solve the technical problem that the digital twin model constructed in the relevant network transmission scenario cannot accurately restore the transmission path routing.

[0005] According to one aspect of an embodiment of the present application, a method for constructing a digital twin model of a network transmission path is provided, including: obtaining configuration information of multiple network nodes in a target network system, and determining multiple routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes; determining multiple target routing objects corresponding to a target transmission service from the multiple routing objects, and constructing a target transmission path corresponding to the target transmission service based on the multiple target routing objects; determining attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number; and constructing a digital twin model corresponding to the target transmission path based on the attribute information of each target routing object.

[0006] Optionally, multiple target routing objects corresponding to the target transmission service are determined from multiple routing objects, and a target transmission path corresponding to the target transmission service is constructed based on the multiple target routing objects, including: determining the starting network node and the ending network node corresponding to the target transmission service; using a depth-first traversal algorithm to analyze the multiple routing objects to determine at least one transmission sub-path connecting the starting network node and the ending network node, wherein each routing object in each transmission sub-path is a target routing object; and combining the various transmission sub-paths into a target transmission path corresponding to the target transmission service.

[0007] Optionally, determining the attribute information of each target routing object in the target transmission path includes: determining multiple routing object modules in the target transmission path, wherein each routing object module includes multiple target routing objects with a preset binding relationship, and the preset binding relationship includes at least one of the following: a cross-connection relationship, a topology connection relationship, a subnet connection relationship, a matrix flow basin segment relationship, a transmission protection group relationship, and a link aggregation group relationship; segmenting the target transmission path according to each routing object module to obtain multiple routing segments; for each target routing object, determining the attribute information of the target routing object according to the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs.

[0008] Optionally, the target transmission path is segmented according to each routing object module to obtain multiple routing segments, including: taking each routing object module as a routing segment; respectively forming all target routing objects before the first routing object module into a routing segment, and forming all target routing objects after the last routing object module into a routing segment; for every two adjacent routing object modules, forming all target routing objects connecting the two adjacent routing object modules into a routing segment; and determining the routing segment number corresponding to each routing segment based on the connection order between each routing segment.

[0009] Optionally, for each target routing object, attribute information of the target routing object is determined based on the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs, including: for each target routing object, determining the routing segment number of the routing segment to which the target routing object belongs as the routing segment number of the target routing object; determining the routing group number of the target routing object based on the working mode of the target routing object in the routing segment to which it belongs, wherein the working mode includes the transmission direction and the protection relationship, and the protection relationship is used to reflect whether the target routing object serves as the main transmission link or the backup transmission link, and different combinations of transmission directions and protection relationships correspond to different routing group numbers; determining the routing sequence number of the target routing object based on the connection order of multiple target routing objects under the routing group number corresponding to the target routing object.

[0010] Optionally, the routing sequence number of the target routing object is determined based on the connection order of multiple target routing objects under the routing group number corresponding to the target routing object, including: when multiple target routing objects under the routing group number corresponding to the target routing object are connected sequentially, determining the routing sequence number of the target routing object based on the order of the target routing object among the multiple target routing objects; when multiple target routing objects under the routing group number corresponding to the target routing object are connected out of order, selecting a preset sequence number from multiple preset sequence numbers without replacement as the routing sequence number of the target routing object.

[0011] Optionally, a digital twin model corresponding to the target transmission path is constructed based on the attribute information of each target routing object, including: organizing the attribute information of each target routing object into a routing model table according to a preset format, wherein the routing model table includes: the routing identifier of the target transmission path, the starting node, the ending node, the routing segment number, the routing group number, and the routing sequence number corresponding to each target routing object; and constructing a digital twin model corresponding to the target transmission path based on the routing model table.

[0012] According to another aspect of an embodiment of the present application, a device for constructing a digital twin model of a network transmission path is also provided, including: an acquisition module for acquiring configuration information of multiple network nodes in a target network system, and determining multiple routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes; a first determination module for determining multiple target routing objects corresponding to a target transmission service from multiple routing objects, and constructing a target transmission path corresponding to the target transmission service based on the multiple target routing objects; a second determination module for determining attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number; a construction module for constructing a digital twin model corresponding to the target transmission path based on the attribute information of each target routing object.

[0013] According to another aspect of an embodiment of the present application, a computer program product is also provided, which includes: a computer program, wherein when the computer program is executed by a processor, it implements the above-mentioned method for constructing a digital twin model of a network transmission path.

[0014] According to another aspect of an embodiment of the present application, an electronic device is also provided, which includes: a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the above-mentioned method for constructing a digital twin model of a network transmission path through the computer program.

[0015] In the embodiment of the present application, by obtaining the configuration information of multiple network nodes in the target network system and determining the routing objects of each level based on this information, a comprehensive modeling of the multi-level transmission network structure is achieved. When determining the path related to a specific business from multiple routing objects, a depth-first traversal algorithm is used to analyze and find the transmission path connecting the start and end network nodes, and a detailed attribute definition is made for the position, working mode (including transmission direction and protection relationship) and connection order of each target routing object in the transmission path, including the routing segment number, routing group number, and routing sequence number of each target routing object. , which introduces a segmentation mechanism based on routing object modules (binding relationships). By segmenting multiple target routing objects with preset binding relationships, the logical structure of the path is further refined, and the flexibility and adaptability of the model are enhanced. For the determination of routing numbers, both ordered connection scenarios and disordered connections (such as four-point tangent cross protection) are taken into account. Finally, the attribute information of all target routing objects is organized into a routing model table in a standardized format, and a digital twin model is constructed based on it, thereby solving the technical problem that the digital twin model constructed in the relevant network transmission scenario cannot accurately restore the transmission path routing. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 This is a flow chart of an optional method for constructing a digital twin model of a network transmission path according to an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of an optional segmentation of routing segment numbers according to an embodiment of the present application;

[0019] Figure 3 is a schematic diagram of an optional segmentation of routing segment numbers according to an embodiment of the present application;

[0020] Figure 4 is a schematic diagram of a digital twin model of an optional network transmission path restoration according to an embodiment of the present application;

[0021] Figure 5 is a schematic diagram of a digital twin model of an optional network transmission path restoration according to an embodiment of the present application;

[0022] Figure 6 is a schematic diagram of a digital twin model of an optional network transmission path restoration according to an embodiment of the present application;

[0023] Figure 7 is a schematic diagram of a digital twin model of an optional network transmission path restoration according to an embodiment of the present application;

[0024] Figure 8 1 is a schematic structural diagram of an optional device for constructing a digital twin model of a network transmission path according to an embodiment of the present application;

[0025] Figure 9 It is a schematic structural diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

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

[0028] Example 1

[0029] According to an embodiment of the present application, a method for constructing a digital twin model of a network transmission path is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0030] Figure 1 This is a flow chart of a method for constructing a digital twin model of a network transmission path according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:

[0031] Step S102, obtaining configuration information of multiple network nodes in the target network system, and determining multiple routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes;

[0032] Step S104, determining a plurality of target routing objects corresponding to the target transmission service from the plurality of routing objects, and constructing a target transmission path corresponding to the target transmission service based on the plurality of target routing objects;

[0033] Step S106: Determine attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number used to reflect the logical segment to which the target routing object belongs in the target transmission path, a routing group number used to reflect the working mode of each target routing object under the same routing segment number, and a routing sequence number used to reflect the connection order of each target routing object under the same routing group number;

[0034] Step S108: construct a digital twin model corresponding to the target transmission path based on the attribute information of each target routing object.

[0035] The following describes the steps of the method for constructing a digital twin model of a network transmission path in combination with the specific implementation process.

[0036] First, configuration information of multiple network nodes in a target network system is obtained, and multiple routing objects in the target network system are determined according to the configuration information, wherein each routing object is a transmission link between two network nodes.

[0037] For example, it integrates with the network management system (NMS) in the target network and obtains the configuration information of network devices through the API or data export interface it provides, which includes key data such as the device's connection status, path settings, and protection mechanisms. Based on the configuration information, it identifies the connection relationship between each device in the network and all possible transmission links. Each link constitutes a routing object, which includes a physical link, logical path, protection path, etc., and assigns corresponding attributes to each routing object.

[0038] In complex transport networks, especially those involving multi-layer architectures such as OTN (Optical Transport Network), SDH (Synchronous Digital Hierarchy), and packet switching networks, the definition of routing objects needs to span multiple network layers. At lower layers, such as the physical link layer, a basic routing object may be a link between a pair of directly connected network devices, such as an optical fiber or a physical port connection. At higher layers, such as the service path layer, a routing object may be a VC-4 path for SDH or an ODU-4 channel path for OTN. In services involving cross-network layers, a routing object may include the binding relationship of multiple layers of links, such as an Ethernet link bound to an SDH or OTN service path.

[0039] After obtaining multiple routing objects, multiple target routing objects corresponding to the target transmission service are determined from the multiple routing objects, and a target transmission path corresponding to the target transmission service is constructed based on the multiple target routing objects. This process can be performed in the following steps:

[0040] Determine the starting network node and the ending network node corresponding to the target transmission service; use a depth-first traversal algorithm to analyze multiple routing objects to determine at least one transmission sub-path connecting the starting network node and the ending network node, wherein each routing object in each transmission sub-path is a target routing object; and combine the various transmission sub-paths into a target transmission path corresponding to the target transmission service.

[0041] For example, by analyzing the service configuration or directly querying the network management system, the starting network node of the target transmission service can be determined, which usually involves the device and port information of the service initiation point. Similarly, the termination network node of the service can be determined through the service configuration or the network management system. In certain scenarios, such as for partially unterminated services, the terminating endpoint can be marked as "NA," indicating that the endpoint is unknown in the current network configuration. Starting from the service's originating network node, a depth-first traversal algorithm is used to traverse all possible routing objects, searching for one or more paths that can reach the terminating network node. The depth-first traversal algorithm explores each branch until no further progress is made, then backtracks, ensuring a comprehensive search. During the depth-first traversal process, each path from the originating node to the terminating node is recorded. These paths consist of a series of continuous routing objects, namely, target routing objects. Due to the characteristics of the depth-first traversal algorithm, multiple different paths may be found. From these multiple paths, the optimal or most suitable path is selected based on certain criteria (such as path length, bandwidth usage, and protection mechanisms). The selected optimal transmission sub-paths are then integrated to form a continuous path from the originating network node to the terminating network node. This sub-path is composed of a series of target routing objects connected in sequence, assigning necessary attribute information to the constructed target transmission path, such as path A end and path Z end.

[0042] Therefore, when designing the digital twin model of the transmission network path, the "routing object" is not limited to a specific network layer, but can include the above-mentioned multiple types of objects according to actual conditions. This multi-level routing object processing strategy enables the model to adapt to different levels of transmission network networking scenarios, such as OTN networks, SDH networks, packet OTN networks, etc., to ensure accurate path restoration and effective management of network resources.

[0043] For example, an OTN service path from device A to device Z may include multiple physical layer fiber optic links, multiple data link layer Ethernet connections, a series of ODUk (Optical Channel Unit level k) service layer paths, and protection groups designed to ensure business continuity. The "routing object" in the digital twin model will cover all these elements and describe their position and role in the path through appropriate attributes (such as path type, routing segment number, group number and sequence number), thereby forming a comprehensive and accurate network path view.

[0044] After obtaining multiple target routing objects, determine the attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number used to reflect the logical segment to which the target routing object belongs in the target transmission path, a routing group number used to reflect the working mode of each target routing object under the same routing segment number, and a routing sequence number used to reflect the connection order of each target routing object under the same routing group number.

[0045] As an optional implementation manner, the attribute information of each target routing object in the target transmission path can be determined by taking the following steps: determining multiple routing object modules in the target transmission path, wherein each routing object module includes multiple target routing objects with preset binding relationships, and the preset binding relationships include at least one of the following: a cross-connection relationship, a topology connection relationship, a subnet connection relationship, a matrix flow basin segment relationship, a transmission protection group relationship, and a link aggregation group relationship; segmenting the target transmission path according to each routing object module to obtain multiple routing segments; for each target routing object, determining the attribute information of the target routing object according to the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs.

[0046] For example, routing object modules with preset binding relationships are identified from the target network system. These binding relationships include but are not limited to cross-connections, topological connections, subnet connections, matrix flow fragments, transmission protection groups, link aggregation groups, etc. Each identified routing object module is used as a dividing point to divide the target transmission path into multiple logical segments, each segment corresponding to a routing segment number (SEG_NO). This step ensures the hierarchical and segmented management of the path, which facilitates the subsequent allocation of group numbers and sequence numbers.

[0047] Among them, as an optional implementation method, the target transmission path is segmented according to each routing object module to obtain multiple routing segments, and the following steps can be taken: each routing object module is regarded as a routing segment; all target routing objects before the first routing object module are respectively formed into a routing segment, and all target routing objects after the last routing object module are respectively formed into a routing segment; for every two adjacent routing object modules, all target routing objects connecting the two adjacent routing object modules are formed into a routing segment; the routing segment number corresponding to each routing segment is determined according to the connection order between each routing segment.

[0048] Figure 2 A routing segment number division result is given, such as Figure 2As shown, the total number of routing segment numbers is 6. The routing objects between network nodes B, C, and F constitute the first routing object module. The routing objects between network nodes C, F, D, and G constitute a cross-connected second routing object module. The routing objects between network nodes D, G, and E constitute the third routing object module. The routing objects between network nodes H, I, C, and J constitute the third routing object module. Each routing object module serves as a routing segment. The routing object between network node A and B before the first routing object module serves as a routing segment. The routing objects between E and H between the third routing object module and the fourth routing object module serve as a routing segment. The segment number of each routing segment increases from left to right according to the connection order. Figure 3 Another segment number division result is given, such as Figure 3 As shown, the routing objects between A, B, C, D and the like constitute the first routing object module, the routing objects between A, E, F, D and the like constitute the second routing object module, and the routing objects between A, G, H, D and the like constitute the third routing object module. Each routing object module is a routing segment, and the corresponding routing segment numbers increase in sequence.

[0049] Among them, as an optional implementation method, for each target routing object, the attribute information of the target routing object is determined based on the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs, and the following steps can be taken: for each target routing object, the routing segment number of the routing segment to which the target routing object belongs is determined as the routing segment number of the target routing object; the routing group number of the target routing object is determined based on the working mode of the target routing object in the routing segment to which it belongs, wherein the working mode includes the transmission direction and the protection relationship, and the protection relationship is used to reflect whether the target routing object serves as the main transmission link or the backup transmission link, and different combinations of transmission directions and protection relationships correspond to different routing group numbers; the routing sequence number of the target routing object is determined based on the connection order of multiple target routing objects under the routing group number corresponding to the target routing object.

[0050] For example, routing group number 1 can be used to represent a routing object whose transmission direction is forward and is the primary transmission link, routing group number 2 can be used to represent a routing object whose transmission direction is reverse and is the primary transmission link, routing group number 3 can be used to represent a routing object whose transmission direction is forward and is the backup transmission link, and routing group number 4 can be used to represent a routing object whose transmission direction is forward and is the backup transmission link.

[0051] As an optional implementation, the routing sequence number of the target routing object is determined based on the connection order of multiple target routing objects under the routing group number corresponding to the target routing object, including: when multiple target routing objects under the routing group number corresponding to the target routing object are connected in sequence, the routing sequence number of the target routing object is determined based on the order of the target routing object among the multiple target routing objects; when multiple target routing objects under the routing group number corresponding to the target routing object are connected out of order, a preset sequence number is selected from multiple preset sequence numbers without replacement as the routing sequence number of the target routing object.

[0052] For example, when the target routing objects are connected in sequence, based on their actual connection order in the network path, the target routing objects are assigned continuous routing numbers, starting from 1 and increasing. When the target routing objects are connected out of order under a routing group number, a random selection mechanism without replacement is adopted to select a unique number from a set of preset numbers for each target routing object, ensuring that the sequence numbers of all routing objects in the same group are different, but do not depend on the specific physical or logical connection order. For routing objects with out of order connection, such as four-point tangent intersection sections, the allocation of sequence numbers is more complicated. Sequence numbers 1 and 0 may appear in the same group at the same time, representing the status of working or protection intersection routing respectively. In this case, the selection of sequence numbers needs to take into account the working status of the intersection to correctly reflect the information of the protection or working path.

[0053] After obtaining the attribute information of the routing object, the digital twin model corresponding to the target transmission path is constructed based on the attribute information of each target routing object. This process can be carried out in the following steps:

[0054] The attribute information of each target routing object is organized into a routing model table according to a preset format, wherein the routing model table includes: the routing identifier of the target transmission path, the starting node, the ending node, the routing segment number, the routing group number, and the routing sequence number corresponding to each target routing object; and a digital twin model corresponding to the target transmission path is constructed based on the routing model table.

[0055] Figure 4What is shown is a schematic diagram of a digital twin model for the restoration of a path with an unterminated protection channel at one end. This type of path means that there is no clear end point definition at one end of the network (in this case, the termination end), while there are specific seven points at the other end. The digital twin model is restored from Table 1. In Table 1, SNC_ID represents the identifier of the service path; SEG_NO represents the routing segment number, which is used to distinguish different routing segments; GRP_NO represents the routing group number, which is used to distinguish different modes such as working paths and protection paths; ORDER_NO represents the routing sequence number in the same group, which is used to describe the connection order between routing objects; A_PTP / Z_PTP respectively represent the starting and ending points of the routing object, that is, the starting network node and end point of this routing object. For an unterminated path, "NA" represents a virtual end point. In Table 1, there is only a routing segment with segment number 1. The routing segment contains four group numbers, among which routing group number 1 represents the routing object with forward transmission direction and the main transmission link, routing group number 2 represents the routing object with reverse transmission direction and the main transmission link, routing group number 3 represents the routing object with forward transmission direction and the backup transmission link, and routing group number 4 represents the routing object with forward transmission direction and the backup transmission link. Therefore, the routing segment only contains routing object modules with protection group relationships, there is only one routing object in routing group numbers 1 and 2, and two routing objects connected in sequence in routing group numbers 3 and 4 respectively. The routing objects in routing group number 1 and routing group number 2 are only different in direction, and the starting network node (A_PTP) and ending network node (Z_PTP) of the corresponding routing objects are the same. The A_PTP and Z_PTP of the routing objects in the routing model table are determined by their corresponding forward transmission direction.

[0056] Table 1

[0057] SNC_ID SEG_NO GRP_NO ORDER_NO A_PTP Z_PTP 0004379F44AC 1 1 1 1EE34A52C2ED NA 0004379F44AC 1 2 1 1EE34A52C2ED NA 0004379F44AC 1 3 1 1EE34A52C2ED 075A227880C5 0004379F44AC 1 3 2 075A227880C5 NA 0004379F44AC 1 4 1 075A227880C5 NA 0004379F44AC 1 4 2 1EE34A52C2ED 075A227880C5

[0058] Figure 5 What is shown is a schematic diagram of a digital twin model for full-end-to-end protection ODUK layer channel path restoration with four-point tangent cross connection. The corresponding routing model table is shown in Table 2. In Table 2, the routing segment numbers range from 1 to 7, indicating that there are 7 routing segments in the transmission path of the digital twin model. Similarly, routing group number 1 indicates that the transmission direction is forward and it is a routing object for the primary transmission link, routing group number 2 indicates that the transmission direction is reverse and it is a routing object for the primary transmission link, routing group number 3 indicates that the transmission direction is forward and it is a routing object for the backup transmission link, and routing group number 4 indicates that the transmission direction is forward and it is a routing object for the backup transmission link. In the routing segments with routing segment numbers 3 and 5, only routing sequence numbers 0 and 1 exist in the same routing group number, indicating that the routing object corresponding to the current routing segment is an unordered connection. Figure 4The routing object module represented by the cross connection is determined in the other routing segments in the order of connection to determine the routing sequence of the routing object.

[0059] Table 2

[0060]

[0061]

[0062] Figure 6 It is a schematic diagram of the digital twin model of SDH high-order channel path routing restoration including MSP protection relationship. The corresponding routing model table is shown in Table 3. In Table 3, the routing segment number ranges from 1 to 5, indicating that there are 5 routing segments in the transmission path of the digital twin model. The routing segment numbers 2 and 4 are respectively a routing object module. All routing objects before the routing object module with routing segment number 2 are a routing segment, and the corresponding routing segment number is 1. All routing objects after the routing object module with routing segment number 4 are a routing segment, and the corresponding routing segment number is 5. The routing object modules with routing segment numbers 2 and 4 are The routing object between them is a routing segment with the routing segment number of 3. This routing segment contains only two routing objects with opposite directions. Routing group number 1 indicates that the transmission direction is forward and it is the primary transmission link. Routing group number 2 indicates that the transmission direction is reverse and it is the primary transmission link. Routing group number 3 indicates that the transmission direction is forward and it is the backup transmission link. Routing group number 4 indicates that the transmission direction is forward and it is the backup transmission link. Since the multiple target routing objects under each routing group number are connected sequentially, the routing sequence number of each routing object is determined according to the order of each routing object.

[0063] Table 3

[0064]

[0065]

[0066] Figure 7This is a schematic diagram of a digital twin model for OCH path routing restoration with a protection relationship. The corresponding routing model table is shown in Table 4. In Table 4, routing segment numbers range from 1 to 3, indicating that there are three routing segments in the transmission path of this digital twin model. Routing segment number 2 is a routing object module. All routing objects before the routing object module with routing segment number 2 are a routing segment, corresponding to routing segment number 1. All routing objects after the routing object module with routing segment number 2 are a routing segment, corresponding to routing segment number 3. In each segment, routing group number 1 represents a routing object with a forward transmission direction and the primary transmission link. Routing group number 2 represents a routing object with a reverse transmission direction and the primary transmission link. Routing group number 3 represents a routing object with a forward transmission direction and the backup transmission link. Routing group number 4 represents a routing object with a forward transmission direction and the backup transmission link. Since multiple target routing objects under each routing group number are connected sequentially, the routing sequence number of each routing object is determined based on the order of each routing object.

[0067] Table 4

[0068]

[0069]

[0070] By segmenting the routing object module and determining the routing segment number based on the connection sequence between each routing segment, and determining the routing group number and routing sequence number based on the working mode and connection relationship, this method achieves fast and accurate end-to-end path restoration. The routing model tables of the network transmission path determined by this method are shown in Tables 1 and 2, thereby obtaining the following table constructed according to Tables 1, 2, 3, and 4, respectively. Figure 4 、 Figure 5 、 Figure 6 、 Figure 7 The digital twin model shown can accurately restore the network transmission path. This method is particularly suitable for modern transmission network environments with high redundancy and complexity.

[0071] In the embodiment of the present application, by obtaining the configuration information of multiple network nodes in the target network system and determining the routing objects of each level based on this information, a comprehensive modeling of the multi-level transmission network structure is achieved. When determining the path related to a specific business from multiple routing objects, a depth-first traversal algorithm is used to analyze and find the transmission path connecting the start and end network nodes, and a detailed attribute definition is made for the position, working mode (including transmission direction and protection relationship) and connection order of each target routing object in the transmission path, including the routing segment number, routing group number, and routing sequence number of each target routing object. , which introduces a segmentation mechanism based on routing object modules (binding relationships). By segmenting multiple target routing objects with preset binding relationships, the logical structure of the path is further refined, and the flexibility and adaptability of the model are enhanced. For the determination of routing numbers, both ordered connection scenarios and disordered connections (such as four-point tangent cross protection) are taken into account. Finally, the attribute information of all target routing objects is organized into a routing model table in a standardized format, and a digital twin model is constructed based on it, thereby solving the technical problem that the digital twin model constructed in the relevant network transmission scenario cannot accurately restore the transmission path routing.

[0072] Example 2

[0073] According to an embodiment of the present application, a digital twin model construction device for a network transmission path for implementing the digital twin model construction method of the network transmission path in Example 1 is also provided. Figure 8 As shown, the digital twin model construction device of the network transmission path includes at least: an acquisition module 81, a first determination module 82, a second determination module 83 and a construction module 84, wherein:

[0074] An acquisition module 81 is configured to acquire configuration information of a plurality of network nodes in a target network system, and determine a plurality of routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes;

[0075] A first determining module 82 is configured to determine a plurality of target routing objects corresponding to a target transmission service from the plurality of routing objects, and to construct a target transmission path corresponding to the target transmission service based on the plurality of target routing objects;

[0076] A second determining module 83 is configured to determine attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number;

[0077] The construction module 84 is used to construct a digital twin model corresponding to the target transmission path according to the attribute information of each target routing object.

[0078] The following describes the functions of each module of the digital twin model construction device for the network transmission path in combination with the specific implementation process.

[0079] The acquisition module acquires configuration information of multiple network nodes in the target network system, and determines multiple routing objects in the target network system according to the configuration information, wherein each routing object is a transmission link between two network nodes.

[0080] After obtaining multiple routing objects, the first determination module determines multiple target routing objects corresponding to the target transmission service from the multiple routing objects, and constructs a target transmission path corresponding to the target transmission service based on the multiple target routing objects. This process can be performed in the following steps:

[0081] Determine the starting network node and the ending network node corresponding to the target transmission service; use a depth-first traversal algorithm to analyze multiple routing objects to determine at least one transmission sub-path connecting the starting network node and the ending network node, wherein each routing object in each transmission sub-path is a target routing object; and combine the various transmission sub-paths into a target transmission path corresponding to the target transmission service.

[0082] After obtaining the plurality of target routing objects, the second determining module determines attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number;

[0083] As an optional implementation manner, the attribute information of each target routing object in the target transmission path can be determined by taking the following steps: determining multiple routing object modules in the target transmission path, wherein each routing object module includes multiple target routing objects with preset binding relationships, and the preset binding relationships include at least one of the following: a cross-connection relationship, a topology connection relationship, a subnet connection relationship, a matrix flow basin segment relationship, a transmission protection group relationship, and a link aggregation group relationship; segmenting the target transmission path according to each routing object module to obtain multiple routing segments; for each target routing object, determining the attribute information of the target routing object according to the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs.

[0084] Among them, as an optional implementation method, the target transmission path is segmented according to each routing object module to obtain multiple routing segments, and the following steps can be taken: each routing object module is regarded as a routing segment; all target routing objects before the first routing object module are respectively formed into a routing segment, and all target routing objects after the last routing object module are respectively formed into a routing segment; for every two adjacent routing object modules, all target routing objects connecting the two adjacent routing object modules are formed into a routing segment; the routing segment number corresponding to each routing segment is determined according to the connection order between each routing segment.

[0085] Among them, as an optional implementation method, for each target routing object, the attribute information of the target routing object is determined based on the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs, and the following steps can be taken: for each target routing object, the routing segment number of the routing segment to which the target routing object belongs is determined as the routing segment number of the target routing object; the routing group number of the target routing object is determined based on the working mode of the target routing object in the routing segment to which it belongs, wherein the working mode includes the transmission direction and the protection relationship, and the protection relationship is used to reflect whether the target routing object serves as the main transmission link or the backup transmission link, and different combinations of transmission directions and protection relationships correspond to different routing group numbers; the routing sequence number of the target routing object is determined based on the connection order of multiple target routing objects under the routing group number corresponding to the target routing object.

[0086] As an optional implementation, the routing sequence number of the target routing object is determined based on the connection order of multiple target routing objects under the routing group number corresponding to the target routing object, including: when multiple target routing objects under the routing group number corresponding to the target routing object are connected in sequence, the routing sequence number of the target routing object is determined based on the order of the target routing object among the multiple target routing objects; when multiple target routing objects under the routing group number corresponding to the target routing object are connected out of order, a preset sequence number is selected from multiple preset sequence numbers without replacement as the routing sequence number of the target routing object.

[0087] After obtaining the attribute information of the routing object, the construction module constructs the digital twin model corresponding to the target transmission path based on the attribute information of each target routing object. This process can be carried out in the following steps:

[0088] The attribute information of each target routing object is organized into a routing model table according to a preset format, wherein the routing model table includes: the routing identifier of the target transmission path, the starting node, the ending node, the routing segment number, the routing group number, and the routing sequence number corresponding to each target routing object; and a digital twin model corresponding to the target transmission path is constructed based on the routing model table.

[0089] It should be noted that the modules in the digital twin model construction device for the network transmission path in the embodiment of the present application correspond one-to-one to the implementation steps of the digital twin model construction method for the network transmission path in Example 1. Since a detailed description has been given in Example 1, some details not reflected in this embodiment can be referred to Example 1 and will not be elaborated on here.

[0090] Example 3

[0091] According to an embodiment of the present application, a computer program product is also provided, which includes a computer program, wherein when the computer program is executed by a processor, it implements the method for constructing a digital twin model of the network transmission path in Example 1.

[0092] According to an embodiment of the present application, a non-volatile storage medium is also provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the method for constructing a digital twin model of the network transmission path in Example 1 by running the computer program.

[0093] According to an embodiment of the present application, a processor is also provided, which is used to run a computer program, wherein the computer program executes the method for constructing a digital twin model of the network transmission path in Example 1 when running.

[0094] According to an embodiment of the present application, an electronic device is also provided, which includes: a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the digital twin model construction method of the network transmission path in Example 1 through the computer program.

[0095] Specifically, the computer program executes the following steps when it is running: obtaining configuration information of multiple network nodes in the target network system, and determining multiple routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes; determining multiple target routing objects corresponding to the target transmission service from the multiple routing objects, and constructing a target transmission path corresponding to the target transmission service based on the multiple target routing objects; determining attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number; and constructing a digital twin model corresponding to the target transmission path based on the attribute information of each target routing object.

[0096] As an optional implementation, the electronic device may be in the form of a mobile terminal, a computer terminal or a similar computing device. Figure 9 The figure shows a hardware structure block diagram of an electronic device for implementing a method for building a digital twin model of a network transmission path. Figure 9 As shown, the electronic device 90 may include one or more (902a, 902b, ..., 902n are used to illustrate) processors 902 (the processor 902 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 904 for storing data, and a transmission device 906 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It will be understood by those skilled in the art that Figure 9 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 9 More or fewer components than shown, or with Figure 9 Different configurations shown.

[0097] It should be noted that the one or more processors 902 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the electronic device 90. As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0098] The memory 904 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for constructing a digital twin model of a network transmission path in the embodiment of the present application. The processor 902 executes various functional applications and data processing by running the software programs and modules stored in the memory 904, that is, implementing the vulnerability detection method of the above-mentioned application. The memory 904 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 904 may further include a memory remotely located relative to the processor 902, and these remote memories may be connected to the electronic device 90 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0099] The transmission device 906 is used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the communication provider of the electronic device 90. In one embodiment, the transmission device 906 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 906 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0100] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 90 .

[0101] The serial numbers of the above embodiments are for description only and do not represent the advantages or disadvantages of the embodiments.

[0102] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0104] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected to achieve the purpose of the present embodiment according to actual needs.

[0105] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code.

[0107] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for constructing a digital twin model of a network transmission path, characterized in that: include: Obtaining configuration information of a plurality of network nodes in a target network system, and determining a plurality of routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes; Determining a plurality of target routing objects corresponding to the target transmission service from the plurality of routing objects, and constructing a target transmission path corresponding to the target transmission service according to the plurality of target routing objects; Determining attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number; Construct a digital twin model corresponding to the target transmission path based on the attribute information of each target routing object.

2. The method according to claim 1, characterized in that Determining a plurality of target routing objects corresponding to the target transmission service from the plurality of routing objects, and constructing a target transmission path corresponding to the target transmission service according to the plurality of target routing objects, including: Determine a starting network node and an ending network node corresponding to the target transmission service; Analyzing the plurality of routing objects using a depth-first traversal algorithm to determine at least one transmission sub-path connecting the starting network node and the ending network node, wherein each routing object in each transmission sub-path is the target routing object; The transmission sub-paths are combined into a target transmission path corresponding to the target transmission service.

3. The method according to claim 1, characterized in that Determining attribute information of each target routing object in the target transmission path includes: Determining a plurality of routing object modules in the target transmission path, wherein each of the routing object modules includes a plurality of target routing objects having a preset binding relationship, and the preset binding relationship includes at least one of the following: a cross-connection relationship, a topology connection relationship, a subnet connection relationship, a matrix flow domain segment relationship, a transmission protection group relationship, and a link aggregation group relationship; Segmenting the target transmission path according to each of the routing object modules to obtain a plurality of routing segments; For each target routing object, the attribute information of the target routing object is determined according to the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs.

4. The method according to claim 3, characterized in that The target transmission path is segmented according to each of the routing object modules to obtain a plurality of routing segments, including: Taking each of the routing object modules as a routing segment; All target routing objects before the first routing object module are grouped into a routing segment, and all target routing objects after the last routing object module are grouped into a routing segment; For every two adjacent routing object modules, all target routing objects connecting the two adjacent routing object modules are combined into a routing segment; The routing segment number corresponding to each routing segment is determined according to the connection sequence between the routing segments.

5. The method according to claim 4, characterized in that For each target routing object, the attribute information of the target routing object is determined according to the routing segment to which the target routing object belongs and the working mode and connection relationship of the target routing object in the routing segment to which it belongs, including: For each target routing object, determining the routing segment number of the routing segment to which the target routing object belongs as the routing segment number of the target routing object; Determining a routing group number of the target routing object based on an operating mode of the target routing object in the corresponding routing segment, wherein the operating mode includes a transmission direction and a protection relationship, and the protection relationship is used to reflect whether the target routing object serves as a primary transmission link or a backup transmission link. Different combinations of transmission directions and protection relationships correspond to different routing group numbers. The routing sequence number of the target routing object is determined according to the connection order of multiple target routing objects under the routing group number corresponding to the target routing object.

6. The method according to claim 5, characterized in that Determining the routing sequence number of the target routing object according to the connection order of multiple target routing objects under the routing group number corresponding to the target routing object includes: In the case where multiple target routing objects under the routing group number corresponding to the target routing object are sequentially connected, determining the routing sequence number of the target routing object according to the order of the target routing object in the multiple target routing objects; In the case that multiple target routing objects under the routing group number corresponding to the target routing object are connected in an unordered manner, a preset sequence number is selected from multiple preset sequence numbers without replacement as the routing sequence number of the target routing object.

7. The method according to claim 1, characterized in that Constructing a digital twin model corresponding to the target transmission path according to the attribute information of each target routing object, including: Arrange the attribute information of each target routing object into a routing model table according to a preset format, wherein the routing model table includes: the routing identifier of the target transmission path, the starting node, the ending node, the routing segment number, the routing group number, and the routing sequence number corresponding to each target routing object; Construct a digital twin model corresponding to the target transmission path based on the routing model table.

8. A device for constructing a digital twin model of a network transmission path, characterized in that: include: an acquisition module, configured to acquire configuration information of a plurality of network nodes in a target network system, and determine a plurality of routing objects in the target network system based on the configuration information, wherein each routing object is a transmission link between two network nodes; A first determining module is configured to determine a plurality of target routing objects corresponding to a target transmission service from the plurality of routing objects, and to construct a target transmission path corresponding to the target transmission service based on the plurality of target routing objects; a second determining module, configured to determine attribute information of each target routing object in the target transmission path, wherein the attribute information includes at least: a routing segment number for reflecting the logical segment to which the target routing object belongs in the target transmission path, a routing group number for reflecting the working mode of each target routing object under the same routing segment number, and a routing sequence number for reflecting the connection order of each target routing object under the same routing group number; A construction module is used to construct a digital twin model corresponding to the target transmission path based on the attribute information of each target routing object.

9. A computer program product, characterized in that include: A computer program, wherein when the computer program is executed by a processor, it implements the method for constructing a digital twin model of a network transmission path as described in any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the method for constructing a digital twin model of a network transmission path according to any one of claims 1 to 7 through the computer program.