A routing planning method, device and storage medium

By determining multiple target paths in the optical fiber transmission network and selecting the primary path and the backup path, the problem of transmission interruption caused by the same route is solved and the continuity of business data and user experience are ensured.

CN116232985BActive Publication Date: 2024-10-11CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202211666320.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-23
Publication Date
2024-10-11
Estimated Expiration
2042-12-23

AI Technical Summary

Technical Problem

In an optical fiber transmission network, the interruption of one transmission path may cause the interruption of other transmission paths on the same route, affecting the transmission of business data and affecting user experience.

Method used

By determining the source node device and sink node device in the transmission network based on business service information, multiple target paths are determined based on network topology information, and the main path and backup path are selected from these paths according to the preset routing planning strategy to ensure transmission Diversity and independence of paths to avoid the same routing situation.

Benefits of technology

It ensures the continuity of business data transmission. When one transmission path is interrupted, other paths will not be affected, which improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232985B_ABST
    Figure CN116232985B_ABST
Patent Text Reader

Abstract

The present application discloses a routing planning method, device and storage medium, which relate to the field of communication technology and are used to solve the problem of high risk of interruption of transmission paths in general methods. The method includes: based on the business service information of the target business, the source node device and the host node device for transmitting the business data of the target business in the transmission network can be determined. Then, according to the network topology information in the transmission network, multiple target paths between the source node device and the host node device can be determined. Among them, the multiple target paths correspond to multiple different routing directions respectively. Subsequently, according to the preset routing planning strategy, the transmission path of the business data of the target business can be determined from the multiple target paths. The transmission path includes a main path and a backup path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a routing planning method, device and storage medium. Background Art

[0002] In a fiber optic transmission network, multiple transmission paths can be established between network devices to take into account the differences in transmission systems and to ensure the continuity of network services. In actual applications, multiple transmission paths may follow the same routing direction, that is, physically the same routing, such as a multi-core optical cable, a multi-core electrical cable, etc.

[0003] However, when a fiber or cable has a hidden danger, it will also threaten the other cables and fibers in the same route. Therefore, when one transmission path is interrupted, other transmission paths in the same route may also be interrupted, resulting in the inability to transmit business data in the network, affecting the user experience. Summary of the invention

[0004] The present application provides a routing planning method, device and storage medium, which are used to solve the problem of high risk of interruption of transmission paths in general methods.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a routing planning method is provided, including: based on the business service information of the target business, a source node device and a destination node device for transmitting the business data of the target business in the transmission network can be determined. Then, multiple target paths between the source node device and the destination node device can be determined based on the network topology information in the transmission network. Among them, the multiple target paths correspond to multiple different routing directions respectively. Subsequently, according to a preset routing planning strategy, the transmission path of the business data of the target business can be determined from the multiple target paths. The transmission path includes a primary path and a backup path.

[0007] Optionally, the network topology information includes: the connection relationship between node devices in the transmission network, and the routing direction corresponding to each node device; a method for determining multiple target paths between a source node device and a host node device based on the network topology information in the transmission network includes: determining multiple reachable paths between the source node device and the host node device based on the connection relationship between the node devices; and determining multiple paths with different routing directions among the multiple reachable paths as multiple target paths based on the routing direction corresponding to each node device.

[0008] Optionally, a method for determining a transmission path for business data of a target business from multiple target paths according to a preset routing planning strategy includes: allocating resources to the multiple target paths in sequence according to the routing planning strategy; when resource allocation for at least two target paths is successful, determining the at least two target paths as transmission paths.

[0009] Optionally, the routing planning method further includes: acquiring network topology information; establishing a physical topology map in the transmission network based on the network topology information; and the physical topology map is used to display the network topology information.

[0010] In a second aspect, a routing planning device is provided, comprising: a first processing unit; the first processing unit is used to determine, based on the business service information of the target business, a source node device and a destination node device for transmitting business data of the target business in a transmission network; the first processing unit is also used to determine, according to the network topology information in the transmission network, multiple target paths between the source node device and the destination node device; the multiple target paths correspond to multiple different routing directions respectively; the first processing unit is also used to determine, according to a preset routing planning strategy, a transmission path for the business data of the target business from the multiple target paths; the transmission path comprises: a primary path and a backup path.

[0011] Optionally, the network topology information includes: the connection relationship between node devices in the transmission network, and the routing direction corresponding to each node device; the first processing unit is specifically used to: determine multiple target paths between the source node device and the host node device based on the network topology information in the transmission network, including: determining multiple reachable paths between the source node device and the host node device based on the connection relationship between the node devices; and determining multiple paths with different routing directions among the multiple reachable paths as multiple target paths based on the routing direction corresponding to each node device.

[0012] Optionally, the first processing unit is specifically configured to: allocate resources to multiple target paths in sequence according to a routing planning strategy; and when resource allocation to at least two target paths is successful, determine the at least two target paths as transmission paths.

[0013] Optionally, the routing planning device also includes: a second processing unit; the second processing unit is used to obtain network topology information; the second processing unit is also used to establish a physical topology map in the transmission network based on the network topology information; the physical topology map is used to display the network topology information.

[0014] In a third aspect, a routing planning device is provided, comprising a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the routing planning device is running, the processor executes the computer execution instructions stored in the memory, so that the routing planning device executes the routing planning method described in the first aspect.

[0015] The routing planning device may be a network device, or a part of a network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, for example, to obtain, determine, and send the data and / or information involved in the above-mentioned routing planning method. The chip system includes a chip, and may also include other discrete devices or circuit structures.

[0016] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer execution instructions, and when the computer execution instructions are executed on a computer, the computer executes the routing planning method described in the first aspect.

[0017] In a fifth aspect, a computer program product is also provided, which includes computer instructions. When the computer instructions are executed on a routing planning device, the routing planning device executes the routing planning method as described in the first aspect above.

[0018] It should be noted that the above computer instructions may be stored in whole or in part on a first computer-readable storage medium, wherein the first computer-readable storage medium may be packaged together with the processor of the routing planning device, or may be packaged separately from the processor of the routing planning device, which is not limited in this application.

[0019] The description of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect; and the beneficial effects of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0020] In this application, the name of the above-mentioned routing planning device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalent technologies.

[0021] These and other aspects of the present application will become more apparent from the following description.

[0022] The technical solution provided by this application brings at least the following beneficial effects:

[0023] Based on any of the above aspects, the present application provides a routing planning method, which can determine the source node device and the destination node device for transmitting the business data of the target business in the transmission network based on the business service information of the target business. Then, multiple target paths between the source node device and the destination node device can be determined based on the network topology information in the transmission network. Then, according to the preset routing planning strategy, the transmission path of the business data of the target business can be determined from the multiple target paths. Since the multiple target paths correspond to multiple different routing directions, the corresponding transmission physical media are also different, so there is no situation where the multiple target paths have the same route. At the same time, the transmission path includes a main path and a backup path. When one of the transmission paths is interrupted, it will not affect the transmission of business data on the transmission paths corresponding to other routes, thereby ensuring the continuity of business transmission and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of a routing planning system provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of a physical topology diagram provided in an embodiment of the present application;

[0026] Figure 3 A schematic diagram of the hardware structure of a route planning device provided in an embodiment of the present application Figure 1 ;

[0027] Figure 4 A schematic diagram of the hardware structure of a route planning device provided in an embodiment of the present application Figure 2 ;

[0028] Figure 5 A schematic diagram of a routing planning method provided in an embodiment of the present application Figure 1 ;

[0029] Figure 6 A schematic diagram of a routing planning method provided in an embodiment of the present application Figure 2 ;

[0030] Figure 7 A schematic diagram of a breadth-first tree provided in an embodiment of the present application;

[0031] Figure 8 A schematic diagram of a routing planning method provided in an embodiment of the present application Figure 3 ;

[0032] Fig. 9 A schematic diagram of a routing planning method provided in an embodiment of the present application Figure 4 ;

[0033] Fig.10A schematic diagram of a routing planning method provided in an embodiment of the present application Figure 5 ;

[0034] Fig.11 A schematic diagram of the structure of a route planning device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0036] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0037] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution.

[0038] As shown in the background technology, when one transmission path is interrupted, other transmission paths on the same route may also be interrupted, resulting in failure to transmit service data in the network, thus affecting user experience.

[0039] The embodiment of the present application provides a routing planning method, which can determine the source node device and the host node device for transmitting the service data of the target service in the transmission network based on the service service information of the target service. Then, multiple target paths between the source node device and the host node device can be determined based on the network topology information in the transmission network. Then, according to the preset routing planning strategy, the transmission path of the service data of the target service can be determined from the multiple target paths. Since the multiple target paths correspond to multiple different routing directions, the corresponding transmission physical media are also different, so there is no situation where the multiple target paths have the same route. At the same time, the transmission path includes a main path and a backup path. When one of the transmission paths is interrupted, it will not affect the transmission of service data on the transmission paths corresponding to other routes, thereby ensuring the continuity of service transmission and improving the user experience.

[0040] The routing planning method is applicable to a routing planning system. Figure 1 FIG. 1 shows a schematic diagram of the structure of a routing planning system. Figure 1 As shown, the routing planning system includes: a routing planning device 101, and a plurality of node devices in a transmission network (including a node device 102 and a node device 103).

[0041] The routing planning device 101 may be connected to the multiple node devices respectively in a wired or wireless manner.

[0042] Optionally, the routing planning device 101 may be a functional entity, a physical entity may be located on a node device, or may be an independent server or other physical device. The present application does not limit the specific physical form of the routing planning device 101.

[0043] When the routing planning device 101 is an independent physical device, the physical device can be a server in a server cluster (consisting of multiple servers), or a chip in a physical device, or a system on a chip in a physical device, or can be implemented by a virtual machine deployed on a physical machine, which is not limited in this embodiment of the present application.

[0044] In one embodiment, the route planning device 101 is a device required for route planning in a transmission network, and its configuration should meet all requirements for route planning.

[0045] In one embodiment, any node device may be a switch, a router, a routing switch, an integrated access device (IAD), a base station or other device in the network, responsible for data transmission in the transmission network.

[0046] In one embodiment, the transmission network is any transmission network, such as an optical fiber transmission network, which may include multiple transmission systems. The node devices may be connected to each other, and there may be multiple transmission paths between two non-adjacent node devices.

[0047] When planning and constructing the transmission system, comprehensive consideration is given to safety risk factors. The east-west route of the same node equipment will enter and exit from the optical cable bureau shaft in different directions. To improve safety, the transmission system is generally built in the form of a loop. When selecting the carrier optical cable, the same route section of the optical cable will be avoided on the loop.

[0048] As the number of transmission systems increases and optical cable routing resources are limited, node devices can be covered by multiple transmission systems, and the network develops towards a mesh network.

[0049] For example, Figure 2As shown, the transmission network includes: node device A, node device B, node device C, node device D, node device E, node device F, node device G, and node device H.

[0050] The system ring of the first transmission system includes: node device A, node device E, node device D, and node device B.

[0051] The system ring of the second transmission system includes: node device A, node device H, node device F, node device E, and node device C.

[0052] The system ring of the third transmission system includes: node device C, node device E, node device F, node device G, node device D, and node device B.

[0053] Node device A is connected to node device B and node device C through routing direction 1, and is connected to node device E and node device H through routing direction 2. The routing length between node device A and node device B is 40 kilometers (km), the routing length between node device A and node device C is 88km, the routing length between node device A and node device E is 35km, and the routing length between node device A and node device H is 35km.

[0054] Node device B is connected to node device C and node device D through routing direction 1, and is connected to node device A through routing direction 2. The routing length between node device B and node device C is 35 km, and the routing length between node device B and node device D is 60 km.

[0055] Node device C is connected to node device B, node device E, and node device G through routing direction 1, and is connected to node device A and node device D through routing direction 2. The routing length between node device C and node device D is 70 km, the routing length between node device C and node device E is 28 km, and the routing length between node device C and node device G is 30 km.

[0056] Node device D is connected to node device C and node device B through routing direction 1, and is connected to node device E and node device G through routing direction 2. The routing length between node device D and node device E is 60 km, and the routing length between node device D and node device G is 40 km. There is a crossover point between the routing between node device D and node device E, and the routing between node device C and node device G.

[0057] Node device E is connected to node device A and node device C via routing direction 1, and is connected to node device D and node device F via routing direction 2. The routing length between node device E and node device F is 15 km.

[0058] Node device F is connected to node device H through routing direction 1, connected to node device E through routing direction 2, and connected to node device G through routing direction 3. The routing length between node device F and node device G is 20 km, and the routing length between node device F and node device H is 45 km.

[0059] Node device G is connected to node device C and node device F via routing direction 1, and is connected to node device D via routing direction 2.

[0060] Node device H is connected to node device A via routing direction 1 , and is connected to node device F via routing direction 2 .

[0061] Combination Figure 1 The routing planning device 101 and any node device in the routing planning system include Figure 3 or Figure 4 The components included in the communication device shown are described below. Figure 3 and Figure 4 Taking the communication device shown as an example, the hardware structure of the routing planning device 101 and any node device is introduced.

[0062] like Figure 3 , which is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application. The communication device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 can be connected via a bus 24.

[0063] The processor 21 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0064] As an embodiment, the processor 21 may include one or more CPUs, such as Figure 3 CPU 0 and CPU 1 are shown in .

[0065] The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0066] In a possible implementation, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 to store instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the routing planning method provided in the following embodiments of the present invention can be implemented.

[0067] In another possible implementation, the memory 22 may also be integrated with the processor 21 .

[0068] The communication interface 23 is used for the communication device to connect with other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.

[0069] The bus 24 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0070] Figure 4 FIG. 2 shows another hardware structure of the communication device in the embodiment of the present invention. Figure 4 As shown, the communication device may include a processor 31 and a communication interface 32. The processor 31 is coupled to the communication interface 32.

[0071] The functions of the processor 31 may refer to the description of the processor 21. In addition, the processor 31 also has a storage function and can function as the memory 22 described above.

[0072] The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the communication device, or an external interface of the communication device (equivalent to the communication interface 23).

[0073] It should be pointed out that Figure 3 (or Figure 4 ) does not constitute a limitation on the communication device, except Figure 3 (or Figure 4 ) In addition to the components shown in the figure, the communication device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0074] The routing planning method provided by the embodiment of the present application is described in detail below in conjunction with the accompanying drawings. Figure 5 As shown, the route planning method includes:

[0075] S501. A routing planning device determines a source node device and a sink node device for transmitting service data of a target service in a transmission network based on service information of the target service.

[0076] Optionally, the business service information may include a node identifier of a source node device and a node identifier of a sink node device.

[0077] Optionally, the node identifier may include: a segment identifier (SID), an Internet protocol (IP) address, or a media access control (MAC) address, etc.

[0078] In one achievable manner, any device in the transmission network (such as a terminal device or a server device) can send a data transmission message to a node device that establishes a communication connection. The data transmission message is used to send the service data of the target service to another device. At this time, the routing planning device can receive a message sent by the node device requesting to obtain a transmission path, which includes business service information. Then, the routing planning device can determine the node device as a source node device based on the business service information, and determine the node device that establishes a communication connection with another device as a sink node device.

[0079] S502: The routing planning device determines multiple target paths between the source node device and the destination node device according to the network topology information in the transmission network.

[0080] The multiple target paths correspond to multiple different routing directions respectively.

[0081] Optionally, the network topology information may include: connection relationships between node devices in the transmission network, routing directions corresponding to each node device, transmission delays, etc.

[0082] S503: The routing planning device determines a transmission path for the service data of the target service from multiple target paths according to a preset routing planning strategy.

[0083] The transmission path includes: a primary path and a backup path.

[0084] Optionally, the routing planning strategy may include: giving priority to any one of a path with a short path length, giving priority to a path with a small number of node devices, and giving priority to a path with a short transmission delay.

[0085] The technical solution provided by the above embodiment brings at least the following beneficial effects: It can be seen from S501-S503 that the routing planning device can determine the source node device and the host node device for transmitting the service data of the target service in the transmission network based on the service service information of the target service. Then, the routing planning device can determine multiple target paths between the source node device and the host node device according to the network topology information in the transmission network. Next, the routing planning device can determine the transmission path of the service data of the target service from multiple target paths according to the preset routing planning strategy. Since the multiple target paths correspond to multiple different routing directions, the corresponding transmission physical media are also different, so there is no situation where the multiple target paths have the same route. At the same time, the transmission path includes a main path and a backup path. When one of the transmission paths is interrupted, it will not affect the transmission of service data on the transmission paths corresponding to other routes, thereby ensuring the continuity of service transmission and improving the user experience.

[0086] In an optional embodiment, in combination Figure 5 ,like Figure 6 As shown, in the case where the network topology information includes: the connection relationship between the node devices in the transmission network and the routing direction corresponding to each node device, in S502, the method in which the routing planning device determines multiple target paths between the source node device and the sink node device according to the network topology information in the transmission network includes:

[0087] S601: The routing planning device determines multiple reachable paths between a source node device and a destination node device according to a connection relationship between node devices.

[0088] In one practicable manner, the routing planning device may use a commonly used breadth-first search (BFS) search algorithm to determine multiple reachable paths between a source node device and a destination node device according to the connection relationship between the node devices.

[0089] The breadth-first search algorithm explores the connection relationship between node devices in a systematic way, thereby discovering multiple node devices that are reachable from the source node device and calculating the distance from the source node device to the multiple node devices (the number of node devices). The algorithm can also generate a breadth-first tree with the source node device as the root and including all reachable multiple node devices, and determine the shortest path from the source node device to the destination node device from the breadth-first tree, that is, the path containing the minimum number of node devices.

[0090] Exemplary, combined Figure 2 , the preset source node device is node device A, and the sink node device is node device G.

[0091] Among them, the routing planning device determines the breadth-first tree according to the connection relationship between the node devices, such as Figure 7 As shown, node device A can reach node device B, node device C, node device E, and node device H. Node device B can reach node device C and node device D. Node device C can reach node device D, node device E, and node device G. Node device E can reach node device D and node device F. Node device H can reach node device F. Node device D can reach node device G. Node device F can reach node device G.

[0092] Depend on Figure 7 It can be seen that the routing planning device can determine multiple reachable paths between node device A and node device G, including: reachable path 1 (ACG), reachable path 2 (ABDG), reachable path 3 (AHFG), reachable path 4 (AEFG), reachable path 5 (AEDG), and reachable path 6 (ACDG).

[0093] S602: The routing planning device determines, according to the routing direction corresponding to each node device, multiple paths with different routing directions among multiple reachable paths as multiple target paths.

[0094] Specifically, in order to ensure that there is no same route between multiple target paths, that is, the routing directions are the same, it is necessary to perform security verification on multiple reachable paths.

[0095] In one practicable manner, the routing planning device can sort multiple reachable paths according to the routing planning strategy, and then perform security verification on the single reachable paths in turn, screening out single paths with the same routing direction, and further determining whether there are the same routing directions between the reachable paths, so as to obtain multiple paths with different routing directions.

[0096] Combined with the above example, the routing planning device first performs security verification on a single reachable path. The verification result shows that in reachable path 5, the routing direction between node device D and node device E and node device G is the same, which poses a security risk. In reachable path 6, the routing direction between node device C and node device A and node device D is the same, which poses a security risk.

[0097] Then, the routing planning device continues to perform security verification on reachable path 1, reachable path 2, reachable path 3, and reachable path 4. The verification results indicate that reachable path 1 and reachable path 2 have the same routing direction in node device A, reachable path 3 and reachable path 4 have the same routing direction in node device A, and reachable path 1 has the same routing direction as reachable path 3 and reachable path 4 in node device G, respectively.

[0098] It can be seen that the routing direction of reachable path 2 is the same as that of reachable path 3, and the routing direction of reachable path 2 is the same as that of reachable path 4. Therefore, the multiple target paths determined by the routing planning device may include reachable path 2 and reachable path 3, or reachable path 2 and reachable path 4.

[0099] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S601-S602, the routing planning device can determine multiple reachable paths between the source node device and the destination node device according to the connection relationship between the node devices. Then, the routing planning device can determine multiple paths with different routing directions among the multiple reachable paths as multiple target paths according to the routing direction corresponding to each node device. The present application provides a method for a routing planning device to determine multiple target paths, so as to achieve different routing directions between multiple target paths without affecting each other.

[0100] In an optional embodiment, in combination Figure 5 ,like Figure 8 As shown, in S503, the method in which the routing planning device determines the transmission path of the service data of the target service from multiple target paths according to the preset routing planning strategy includes:

[0101] S801. The routing planning device sequentially allocates resources to multiple target paths according to a routing planning strategy.

[0102] Optionally, the resources include network resources used to transmit business data, such as channel resources.

[0103] In one practicable manner, the route planning device may sort multiple target paths according to the route planning strategy, for example, sorting them from small to large according to the path length, and then allocate resources to the target paths in the sequence one by one in combination with the resource information of the transmission system.

[0104] S802: When resource allocation of at least two target paths is successful, the routing planning device determines the at least two target paths as transmission paths.

[0105] Since the primary path and the backup path include at least two paths, when resource allocation of at least two target paths is successful, the primary path and the backup path can be determined in sequence.

[0106] In one practicable manner, when resource allocation to any target path fails, the routing planning device may allocate resources to the next target path in the sequence until resource allocation to at least two target paths succeeds.

[0107] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S801-S802, the routing planning device can allocate resources to multiple target paths in sequence according to the routing planning strategy. When the resource allocation of at least two target paths is successful, the routing planning device can determine the at least two target paths as transmission paths. The present application provides a method for determining a transmission path so that both the main path and the backup path can realize the transmission of business data, further ensuring the security of data transmission.

[0108] In an optional embodiment, if Fig. 9 As shown, the route planning method further includes:

[0109] S901. The routing planning device obtains network topology information.

[0110] In one practicable manner, the routing planning device may periodically poll the network topology information of each node device in the transmission network.

[0111] S902: The routing planning device establishes a physical topology map in the transmission network according to the network topology information.

[0112] Among them, the physical topology map is used to display network topology information.

[0113] Exemplary, combined Figure 2 ,The routing planning device can display the network topology information through the ,physical topology diagram.

[0114] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S901-S902, the routing planning device can obtain network topology information and establish a physical topology map in the transmission network based on the network topology information. The present application provides a method for visually displaying network topology information to make the network topology information more intuitive and facilitate subsequent routing planning.

[0115] Combine the following Fig.10 The routing planning method provided in the embodiment of the present application is described, and the routing planning method includes:

[0116] S1001. The routing planning device determines a source node device and a sink node device based on business service information.

[0117] S1002: The routing planning device obtains network topology information.

[0118] S1003: The routing planning device establishes a physical topology map in the transmission network according to the network topology information.

[0119] S1004: The routing planning device determines multiple reachable paths between the source node device and the destination node device.

[0120] S1005: The routing planning device determines whether the reachable path passes the security verification based on the physical topology map.

[0121] When the reachable path fails the security verification, S1004 is repeatedly executed.

[0122] When the reachable path passes the security verification, multiple target paths are determined and S1006 is executed.

[0123] S1006: The routing planning device determines whether resource allocation is successful based on resource information of the transmission system.

[0124] When resources of at least two target paths are allocated successfully, execute S1007.

[0125] When resource allocation of at least two target paths fails, S1004 is repeatedly executed.

[0126] S1007: The routing planning device completes routing planning and updates resource information of the transmission system.

[0127] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0128] The embodiment of the present application can divide the functional modules of the routing planning device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0129] like Fig.11 The figure is a schematic diagram of the structure of a route planning device provided in an embodiment of the present application. The route planning device can be used to execute Figure 5 , Figure 6 , Figure 8 , Fig. 9 and Fig.10 The route planning method shown. Fig.11 The route planning device shown includes: a first processing unit 1101 .

[0130] The first processing unit 1101 is used to determine a source node device and a sink node device for transmitting service data of a target service in a transmission network based on the service service information of the target service.

[0131] The first processing unit 1101 is further used to determine multiple target paths between the source node device and the destination node device according to the network topology information in the transmission network; the multiple target paths correspond to multiple different routing directions respectively.

[0132] The first processing unit 1101 is further configured to determine a transmission path for service data of a target service from a plurality of target paths according to a preset routing planning strategy; the transmission path includes a primary path and a backup path.

[0133] Optionally, the network topology information includes: the connection relationship between node devices in the transmission network, and the routing direction corresponding to each node device; the first processing unit 1101 is specifically used to: determine multiple target paths between the source node device and the host node device based on the network topology information in the transmission network, including: determining multiple reachable paths between the source node device and the host node device based on the connection relationship between the node devices; and determining multiple paths with different routing directions among the multiple reachable paths as multiple target paths based on the routing direction corresponding to each node device.

[0134] Optionally, the first processing unit 1101 is specifically configured to: allocate resources to multiple target paths in sequence according to a routing planning strategy; and when resource allocation to at least two target paths is successful, determine the at least two target paths as transmission paths.

[0135] Optionally, the route planning device further includes: a second processing unit 1102.

[0136] The second processing unit 1102 is used to obtain network topology information. The second processing unit 1102 is also used to establish a physical topology map in the transmission network according to the network topology information. The physical topology map is used to display the network topology information.

[0137] An embodiment of the present application also provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes the routing planning method provided in the above embodiment.

[0138] The embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the routing planning method provided in the above embodiment.

[0139] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented using software, the functions may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium may be any available medium that a general or special-purpose computer can access.

[0140] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0141] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0142] In addition, each functional unit in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. 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 readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the usual technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a disk, or an optical disk.

[0143] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A routing planning method, characterized in that: include: Based on the business service information of the target business, determine a source node device and a sink node device for transmitting business data of the target business in a transmission network; Determine, according to network topology information in the transmission network, a plurality of target paths between the source node device and the sink node device; The multiple target paths correspond to multiple different routing directions respectively; The network topology information includes: the connection relationship between the node devices in the transmission network, and the routing direction corresponding to each node device; The determining, according to the network topology information in the transmission network, a plurality of target paths between the source node device and the sink node device comprises: Determine the connection relationship between the node devices according to a breadth-first search algorithm, and determine multiple reachable paths between the source node device and the sink node device; According to the routing direction corresponding to each node device, determining, among the multiple reachable paths, multiple paths with different routing directions as the multiple target paths; Sorting the multiple target paths according to the routing planning strategy to determine a sorting sequence of the multiple target paths; Based on the sorting sequence and the resource information, sequentially allocating resources to the multiple target paths; When resource allocation of at least two target paths is successful, the at least two target paths are determined as transmission paths; the transmission paths include: a primary path and a backup path; When resource allocation of any target path fails, resource allocation is performed on the next target path of the any target path based on the sorting sequence until resource allocation of at least two target paths succeeds.

2. The routing planning method according to claim 1, characterized in that: Also includes: Acquiring the network topology information; Establishing a physical topology map in the transmission network according to the network topology information; The physical topology map is used to display the network topology information.

3. A route planning device, characterized in that: include: a first processing unit; The first processing unit is used to determine, based on the business service information of the target business, a source node device and a sink node device for transmitting business data of the target business in the transmission network; The first processing unit is further configured to determine a plurality of target paths between the source node device and the sink node device according to network topology information in the transmission network; The multiple target paths correspond to multiple different routing directions respectively; The network topology information includes: the connection relationship between the node devices in the transmission network, and the routing direction corresponding to each node device; the first processing unit is specifically used to: The determining, according to the network topology information in the transmission network, a plurality of target paths between the source node device and the sink node device comprises: Determine the connection relationship between the node devices according to a breadth-first search algorithm, and determine multiple reachable paths between the source node device and the sink node device; According to the routing direction corresponding to each node device, the multiple paths with different routing directions among the multiple reachable paths are determined as the multiple target paths; the first processing unit is specifically used to: Sorting the multiple target paths according to the routing planning strategy to determine a sorting sequence of the multiple target paths; Based on the sorting sequence and resource information, resources are sequentially allocated to the multiple target paths; the resources include: channel resources; When resource allocation of at least two target paths is successful, the at least two target paths are determined as transmission paths; the transmission paths include: a primary path and a backup path; When resource allocation of any target path fails, resource allocation is performed on the next target path of the any target path based on the sorting sequence until resource allocation of at least two target paths succeeds.

4. The route planning device according to claim 3, characterized in that: Also includes: a second processing unit; The second processing unit is used to obtain the network topology information; The second processing unit is further used to establish a physical topology map in the transmission network according to the network topology information; the physical topology map is used to display the network topology information.

5. A route planning device, characterized in that: It includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the routing planning device is running, the processor executes the computer execution instructions stored in the memory, so that the routing planning device executes the routing planning method as described in any one of claims 1-2.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer is enabled to execute the routing planning method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • A service protection method and access device

    CN102282805A

  • Transmission path determining method and device

    CN109495352A

  • Risk separation protection way-finding method and system for stability control service

    CN111342889A

  • Path calculation method and system

    CN112866835A

  • Double-route planning method, device and system for power business

    CN114615184A