WO2024001633A1 - Network management method and device, network element, and computer readable storage medium - Google Patents

Network management method and device, network element, and computer readable storage medium Download PDF

Info

Publication number
WO2024001633A1
WO2024001633A1 PCT/CN2023/096777 CN2023096777W WO2024001633A1 WO 2024001633 A1 WO2024001633 A1 WO 2024001633A1 CN 2023096777 W CN2023096777 W CN 2023096777W WO 2024001633 A1 WO2024001633 A1 WO 2024001633A1
Authority
WO
WIPO (PCT)
Prior art keywords
slice
target
network element
service
identifier
Prior art date
Application number
PCT/CN2023/096777
Other languages
French (fr)
Chinese (zh)
Inventor
霍伟娜
舒晔
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024001633A1 publication Critical patent/WO2024001633A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to network management methods, network management devices, network elements, and computer-readable storage media.
  • IGP Interior Gateway Protocol
  • IGP Interior Gateway Protocol
  • Flexible Algorithm (FA or Flex-Algo, Flexible Algotithm) is a soft isolation technology. Different requirements correspond to different algorithms, forming different logical topologies. Flex-Algo technology allows IGP to calculate network paths based on constraints, making utilization of network resources simpler and more flexible. Through the extension of IGP, each node advertises its own Flex-Algo capability in IGP. A single node can be associated with multiple FA algorithms, and the same IGP prefix (prefix) can be associated with multiple Prefix-SIDs.
  • prefix prefix
  • BFD Bidirectional Forwarding Detection
  • an embodiment of the present disclosure provides a network management method, including:
  • the preset correspondence represents the correspondence between the slice identifiers of multiple slices and the address of the target network element.
  • the target slice is a link abnormality detected. of slices.
  • an embodiment of the present disclosure provides a network management device, including:
  • a detection module configured to detect links of multiple slices respectively
  • a switching module configured to switch the services carried by the target slice according to a preset correspondence relationship.
  • the preset correspondence relationship represents the correspondence relationship between the slice identifiers of a plurality of the slices and the target network element address.
  • the target slice is Slice where link abnormality is detected.
  • an embodiment of the present disclosure provides a network element, including:
  • the memory has at least one computer program stored thereon, and when the at least one computer program is executed by the at least one processor, the at least one processor implements the network management method described in the first aspect of the embodiment of the present disclosure.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the network management method described in the first aspect of the embodiment of the present disclosure is implemented.
  • Figure 1A is a schematic diagram of a network topology provided by an embodiment of the present disclosure
  • Figure 1B is a schematic principle diagram of a flexible algorithm based on the network topology shown in Figure 1A provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of the principle of a flexible algorithm provided by an embodiment of the present disclosure
  • Figure 3 is a flow chart of a network management method in an embodiment of the present disclosure
  • Figure 4 is a flow chart of some steps in a network management method in an embodiment of the present disclosure
  • Figure 5 is a flow chart of some steps in a network management method in an embodiment of the present disclosure.
  • Figure 6 is a flow chart of some steps in a network management method in an embodiment of the present disclosure.
  • Figure 7 is a flow chart of some steps in a network management method in an embodiment of the present disclosure.
  • Figure 8 is a block diagram of a network management device in an embodiment of the present disclosure.
  • Figure 9 is a block diagram of a network element in an embodiment of the present disclosure.
  • Figure 10 is a block diagram of a computer-readable storage medium in an embodiment of the present disclosure.
  • Figure 11 is a schematic diagram of a network architecture in an embodiment of the present disclosure.
  • FIG. 1A The principle of Flex-Algo is shown in Figure 1A, Figure 1B and Figure 2.
  • Each node deploys the IGP protocol and enables segment routing (SR, Segment Routing) and Flex-Algo capabilities.
  • FA128 calculates the optimal path as 1-3-5-4-6 based on the minimum delay algorithm
  • FA129 calculates the optimal path as 1-2-3-5-6 based on the maximum bandwidth algorithm.
  • the optimal path calculated by FA130 based on the IGP metric shortest path algorithm is 1-2-4-6.
  • the segment routing global block (SRGB, SR Global Block) of each device is 16000, configure FAID and SID for each FA on each node, and advertise FAID and the corresponding SID in the IGP; in The next hop of the FA128 slice from the N1 node to N6 is N2. Calculate the FA128 slice corresponding to the prefix (6.6.6.6/32) of N6.
  • the outgoing label is the SRGB of N2 plus the SID of the FA128 slice, that is, 16000+806; the same for FA129
  • the calculated outgoing label to prefix (6.6.6.6/32) is 16000+906, and the next hop is N3; FA130 calculates the outgoing label to prefix (6.6.6.6/32) to be 16000+306, and the next hop is N2 .
  • an embodiment of the present disclosure provides a network management method, including steps S1 and S2.
  • the preset correspondence represents the correspondence between the slice identifiers of multiple slices and the address of the target network element.
  • the target slice is the detected link. Unusual slice of road.
  • the embodiments of this disclosure do not place any special limitations on how to detect sliced links. exist
  • the slices are subjected to BFD detection.
  • the network management method when switching the services carried by the target slice according to the preset correspondence relationship, only the services carried by the slice with abnormal link detection are switched, and the services carried by the slice with normal link detection are switched.
  • the services carried will not be switched.
  • the service carried by a slice is a VPN service
  • perform BFD detection on the slice and switch the VPN service carried by the target slice according to the preset corresponding relationship
  • only the VPN service carried by the slice whose BFD session is detected to be down will be switched. If the BFD session detects that the VPN service carried by the normal (up) slice is not switched, the switch will not be performed.
  • switching the services carried by the slice refers to switching the services carried by the slice from the main path to the backup path.
  • the preset corresponding relationship between the slice identifiers of multiple slices and the target network element address is prefabricated.
  • the preset corresponding relationship can be specifically determined based on the preset corresponding relationship.
  • Target slices that require service switching are then switched only to the services carried by the target slice where abnormalities are detected, and services carried by slices with normal links detected are not switched, which is conducive to maintaining network stability and ensuring the optimal path. Forwarding ensures effective isolation of different services.
  • the destination address may be the next hop IP address or the IP address of the destination network element.
  • the embodiments of the present disclosure do not impose special limitations on this.
  • the embodiment of the present disclosure does not place any special limitations on how to switch the services carried by the target slice according to the preset correspondence relationship.
  • the slice identifier and the destination address of the slice are used to detect the links of the slices.
  • the target slice that requires service switching can be determined through the preset correspondence based on the slice identifier and destination address used during detection, and the services carried by the target slice can be further switched.
  • the service carried by a slice is a VPN service
  • perform BFD detection on the slice and create a BFD corresponding to each slice based on the slice ID and destination address of each slice, that is, each BFD has information such as the slice ID and destination address; in the BFD session detection
  • the target slice that requires VPN service switching can be determined through the preset correspondence based on the BFD slice identifier and destination address, and the VPN service can be further switched.
  • switching the services carried by the target slice according to the preset correspondence relationship includes steps S21 and S22.
  • the embodiments of this disclosure do not place special limitations on how to switch the services carried by the target slice based on the slice identifier of the target slice and the target network element address corresponding to the target slice.
  • switching the service carried by the target slice according to the slice identifier of the target slice and the target network element address corresponding to the target slice includes steps S221 to S223.
  • an invalidation identifier is set for the slice identifier of the target slice and the target network element address corresponding to the target slice in the preset correspondence relationship. It indicates that the slice identifier of the target slice and the target network element address corresponding to the target slice are invalid, so that the services carried by the target slice that need to be switched can be sensed, and then the switching of the services carried by the target slice can be triggered.
  • the preset correspondence is stored in the form of a forwarding table.
  • an invalidation flag is set for the slice identifier of the target slice and the target network element address corresponding to the target slice, that is, adding Failure identification.
  • detecting links of multiple slices respectively includes:
  • a bidirectional forwarding detection (BFD) corresponding to each slice is created to detect the link of each slice. Measurement.
  • the embodiment of the present disclosure does not specifically limit the form of the preset correspondence relationship.
  • the network management method before detecting the links of multiple slices respectively, the network management method further includes step S3.
  • prefabricating the preset correspondence relationship in the forwarding table means pre-stored in the forwarding table the slice identifier and the target network element address of the slice, and using "slice identifier + target network element address" as the forwarding index.
  • the destination address may be the next hop IP address or the IP address of the destination network element.
  • the embodiments of the present disclosure do not impose special limitations on this.
  • the target network element address is the next hop IP address
  • the service carried by the slice is VPN service
  • BFD detection is performed on the slice
  • "slice identifier + target network element address" is used as the forwarding index, that is, "slice identifier" + next-hop IP address” as the forwarding index, instead of just the next-hop prefix (i.e. next-hop IP address) as the forwarding index.
  • the BFD session detects down the need can be determined based on the BFD destination address and slice identifier.
  • the target slice for VPN service switching, and only switches the VPN services carried by the target slice, but does not switch the VPN services carried by the slice whose BFD session detects up.
  • the embodiment of the present disclosure does not place special limitations on how to pre-prepare the corresponding relationship between the slice identifier of the slice and the target network element address in the forwarding table.
  • pre-preparing the corresponding relationship between the slice identifiers of multiple slices and the next-hop Internet Protocol (IP) address in the forwarding table includes steps S31 to S33.
  • the service carried by the slice is a VPN service
  • the service instance is a Virtual Routing Forwarding (VRF) instance.
  • VRF Virtual Routing Forwarding
  • steps S31 to S33 may be performed as: receiving a VPN route of the VRF instance, the VPN route carrying the next hop IP address and the color of the VRF instance; according to the VRF instance The mapping relationship between the color and the slice ID of the slice carrying the VRF instance, determining the corresponding relationship between the slice ID of the slice carrying the VRF instance and the next hop IP address; and assigning the slice ID of the slice carrying the VRF instance The corresponding relationship with the next hop IP address is stored in the forwarding table.
  • different VRF instances correspond to different VPN services.
  • the next-hop network element advertises VPN routes, it carries color.
  • Color is used to identify the VRF instance, that is, to identify the VPN service.
  • the color of the VRF instance is mapped to the slice carrying the VPN service of the VRF instance, and a mapping relationship between the color of the VRF instance and the slice identifier of the slice carrying the VRF instance is obtained.
  • the local network element after the local network element receives the VPN route published by the next-hop network element, it can obtain the next-hop IP address and the color of the VRF instance, and according to the mapping relationship between the color and the slice identifier, the next-hop The IP address corresponds to the slice, and the corresponding relationship between the slice identifier and the next hop IP address is obtained and stored in the forwarding table.
  • the network management method further includes:
  • enabling FRR in the local network element enables the VPN routes corresponding to each VRF instance in the local network element to form VPN FRR respectively, so that the slice can be BFD associated with VPN FRR fast switching.
  • the slices are Flexible Algorithm (FA) slices.
  • FA Flexible Algorithm
  • different FA slices calculate optimal paths based on different FA algorithms. For example, calculate the optimal path based on the minimum delay algorithm, calculate the optimal path based on the maximum bandwidth algorithm, or calculate the optimal path based on the IGP metric shortest path algorithm, etc.
  • the embodiments of the present disclosure do not impose special limitations on this.
  • an embodiment of the present disclosure provides a network management device, including a detection module 101 and a switching module 102 .
  • the detection module 101 is configured to detect links of multiple slices respectively.
  • the switching module 102 is configured to switch the services carried by the target slice according to a preset corresponding relationship, which represents the corresponding relationship between the slice identifiers of the plurality of slices and the target network element address, and the target slice is Slice where link abnormality is detected.
  • an embodiment of the present disclosure provides a network element, including:
  • At least one processor 201 At least one processor 201;
  • the memory 202 has at least one computer program stored thereon, and when the at least one computer program is executed by at least one processor, the at least one or more processors implement the network management method described in the first aspect of the embodiment of the present disclosure;
  • At least one I/O interface 203 is connected between the processor and the memory, and is configured to realize information exchange between the processor and the memory.
  • the processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 202 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize processing
  • the information exchange between the device 201 and the memory 202 includes but is not limited to the data bus (Bus) 204 and so on.
  • processor 201 memory 202, and I/O interface 203 are connected to each other and, in turn, to other components of the computing device via bus 204.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the network management described in the first aspect of the embodiment of the present disclosure is implemented. method.
  • BFD-associated VPN FRR fast switching in the FA slice network includes (1) to (11).
  • PE1 and PE2 start the Intermediate System to Intermediate System (ISIS) protocol with PE3, notify the loopback interface address of each node to ISIS, enable the SR capability, and enable FA1 (FAID is 128) and FA2 (FAID is 129) algorithm.
  • ISIS Intermediate System to Intermediate System
  • the slice of FA1 (FAID 128) from PE1 to PE2 and PE3 calculates the optimal path based on the minimum delay algorithm.
  • the outbound interface between PE1 and PE2 is int1, and the outbound interface between PE1 and PE3 is int3.
  • the outbound interface between PE2 and PE3 is int5; the slice of FA2 (FAID is 129) calculates the optimal path based on the maximum bandwidth algorithm.
  • the outbound interface between PE1 and PE2 is int2, and the outbound interface between PE1 and PE3 is int4.
  • the outbound interface between PE2 and PE3 is int6.
  • Multi-Protocol Label Switching MPLS, Multi-Protocol Label Switching
  • Layer 3 VPN Layer 3 VPN
  • CE Customer Edge
  • optionA is used to access the CE node and PE node.
  • VRF128 and VRF129 There are two VRF instances VRF128 and VRF129 on PE1, PE2 and PE3 respectively.
  • PE2 and PE3 publish the VPN route corresponding to VRF128 and carry color 128; publish the VPN route corresponding to VRF129 and carry color 129.
  • PE1 receives the VPN route of VRF128, and the next hops are PE2 and PE3; the next hop of the VPN route of VRF129 received on PE1 is also the loopback interface IP addresses of PE2 and PE3, and FRR is enabled on PE1.
  • the VPN routes corresponding to VRF128 and VRF129 form VPN FRR respectively.
  • the VPN route corresponding to VRF128 and the VPN route corresponding to VRF129 are carried on the slice with FAID of 128 and the slice with FAID of 129 respectively.
  • next hop forwarding table of VPN routes carried in different FA slices stores the corresponding FAID and next hop IP.
  • ISIS SR is deployed between PE1, PE2 and PE3.
  • FA128 and FA129 algorithms are enabled to calculate different network topologies; the SRGB of each node is 16000, and each PE slice FA128 and FA129 deploy different SIDs for the same prefix and publish them to ISIS for flooding.
  • MPLS L3VPN is deployed between PEs, with two VPN instances VRF128 and VRF129. The services corresponding to VRF128 are carried on slice FA128, and the services corresponding to VRF129 are carried on slice FA129.
  • BFD associated VPN FRR fast switching in the FA slice network includes (1) to (9).
  • the loopback interface address of the PE1 node is 1.1.1.1/32
  • the loopback interface address of the PE2 node is 2.2.2.2/32
  • the loopback interface address of the PE3 node is 3.3.3.3/32, all are advertised to the corresponding ISIS instance 100, and the SR capability is enabled, as well as the FA128 and FA129 algorithms.
  • the FA128 slice calculates the optimal path based on the minimum delay algorithm.
  • the outbound interface between PE1 and PE2 is int1, the outbound interface between PE1 and PE3 is int3, and the outbound interface between PE2 and PE3 is int5; FA129 slice
  • the optimal path is calculated based on the maximum bandwidth algorithm.
  • the outbound interface between PE1 and PE2 is int2, the outbound interface between PE1 and PE3 is int4, and the outbound interface between PE2 and PE3 is int6.
  • PE1 calculates the optimal path based on the FA128 algorithm to PE2.
  • the outgoing label of prefix 2.2.2.2/32 is 16802
  • the outgoing label of prefix 3.3.3.3/32 to PE3 is 16803.
  • the outgoing label of PE2 prefix 2.2.2.2/32 is calculated to be 16902, and the outgoing label to PE3 is 16902.
  • the outgoing label of prefix 3.3.3.3/32 is 16903.
  • MPLS L3VPN is deployed between PE1, PE2 and PE3, and 2 VPN instances VRF128 and VRF129 are deployed.
  • PE2 and PE3 are dual-homed to CE2, PE1 is single-homed to CE1, and optionA is used to connect between CE and PE;
  • PE2 and PE3 Publish the VPN route (22.22.22.22/32) corresponding to VRF128 and carry color; publish the VPN route (33.33.33.33/32) corresponding to VRF129 and carry color; the color carried by the VPN route of VRF128 is set to 128, and the VPN route of VRF129 The carried color is set to 129.
  • PE1 receives the VPN route of VRF128 (22.22.22.22/32), and the next hop is PE2 (2.2.2.2) and PE3 (3.3.3.3); PE1 receives the VPN route of VRF129 (33.33.33.33 /32), the next hops are also PE2 (2.2.2.2) and PE3 (3.3.3.3), and the VPN routes (22.22.22.22/32) corresponding to VRF128 and VRF129 form VPN FRR respectively.
  • the next hop of the main VPN route is 2.2.2.2, the public network outgoing label is 16902, and the outgoing interface is int2; the next hop of the backup VPN route is 3.3.3.3, the public network outgoing label is 16903, and the outgoing interface is int4.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store desired information and that can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or devices such as carrier waves or other
  • a transport mechanism such as a modulated data signal that modulates other data in a data signal and may include any information delivery medium.
  • Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that, unless expressly stated otherwise, features, characteristics, and/or elements described in connection with a particular embodiment may be used alone, or may be combined with features, characteristics, and/or elements described in connection with other embodiments. and/or used in combination with components. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Abstract

The present invention provides a network management method, comprising: respectively detecting links of a plurality of slices; and switching, according to a preset corresponding relationship, a service borne by a target slice, the preset corresponding relationship representing a corresponding relationship between slice identifiers of the plurality of slices and target network element addresses, and the target slice being a slice of which a link is detected to be abnormal. The present invention further provides a network management device, a network element, and a computer readable storage medium.

Description

网络管理方法及装置、网元、计算机可读存储介质Network management method and device, network element, computer-readable storage medium
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年6月27日提交的中国专利申请NO.202210737195.2的优先权,该中国专利申请的内容通过引用的方式整体合并于此。This application claims priority from Chinese patent application No. 202210737195.2 filed on June 27, 2022. The content of this Chinese patent application is incorporated herein by reference in its entirety.
技术领域Technical field
本公开涉及通信技术领域,特别涉及网络管理方法、网络管理装置、网元、计算机可读存储介质。The present disclosure relates to the field of communication technology, and in particular to network management methods, network management devices, network elements, and computer-readable storage media.
背景技术Background technique
5G时代,不同行业差异化需求明显,业务类型多,不同业务的需求各有不同,在同一物理网络中需要对不同业务进行有效隔离,满足不同用户的需求。运营商希望能根据自己的需求去定义内部网关协议(IGP,Interior Gateway Protocol)路径的计算规则,如按照最小时延路径转发、最大带宽路径转发等。而IGP的相关算法只能计算到达目的地址的最短路径。当所有报文都选择最短路径时,无法进行流量分担,可能会导致网络拥塞。In the 5G era, different industries have obvious differentiated needs, there are many types of services, and different services have different needs. Different services need to be effectively isolated in the same physical network to meet the needs of different users. Operators hope to define the calculation rules of Interior Gateway Protocol (IGP, Interior Gateway Protocol) paths according to their own needs, such as forwarding according to the minimum delay path, maximum bandwidth path, etc. The related algorithm of IGP can only calculate the shortest path to the destination address. When all packets choose the shortest path, traffic balancing cannot be performed, which may cause network congestion.
灵活算法(FA或Flex-Algo,Flexible Algotithm)是一种软隔离技术。不同的需求对应不同的算法,形成不同的逻辑拓扑。Flex-Algo技术可以允许IGP基于约束计算网络路径,更简单、更灵活地实现网络资源的利用。通过IGP的扩展来实现每个节点在IGP中通告其自身的Flex-Algo能力,单个节点可以关联多个FA算法,同一个IGP前缀(prefix)可以关联多个Prefix-SID。Flexible Algorithm (FA or Flex-Algo, Flexible Algotithm) is a soft isolation technology. Different requirements correspond to different algorithms, forming different logical topologies. Flex-Algo technology allows IGP to calculate network paths based on constraints, making utilization of network resources simpler and more flexible. Through the extension of IGP, each node advertises its own Flex-Algo capability in IGP. A single node can be associated with multiple FA algorithms, and the same IGP prefix (prefix) can be associated with multiple Prefix-SIDs.
双向转发检测(BFD,Bidirectional Forwarding Detection)是用于检测两个网元之间链路或设备故障的网络协议。但是,在Flex-Algo技术中BFD容易造成网络不稳定。 Bidirectional Forwarding Detection (BFD) is a network protocol used to detect link or equipment failures between two network elements. However, BFD in Flex-Algo technology can easily cause network instability.
公开内容public content
第一方面,本公开实施例提供一种网络管理方法,包括:In a first aspect, an embodiment of the present disclosure provides a network management method, including:
对多个切片的链路分别进行检测;以及Detect the links of multiple slices separately; and
根据预设的对应关系对目标切片承载的业务进行切换,所述预设的对应关系表征多个所述切片的切片标识与目标网元地址的对应关系,所述目标切片为检测到链路异常的切片。Switch the services carried by the target slice according to the preset correspondence. The preset correspondence represents the correspondence between the slice identifiers of multiple slices and the address of the target network element. The target slice is a link abnormality detected. of slices.
第二方面,本公开实施例提供一种网络管理装置,包括:In a second aspect, an embodiment of the present disclosure provides a network management device, including:
检测模块,配置为对多个切片的链路分别进行检测;A detection module configured to detect links of multiple slices respectively;
切换模块,配置为根据预设的对应关系对目标切片承载的业务进行切换,所述预设的对应关系表征多个所述切片的切片标识与目标网元地址的对应关系,所述目标切片为检测到链路异常的切片。A switching module configured to switch the services carried by the target slice according to a preset correspondence relationship. The preset correspondence relationship represents the correspondence relationship between the slice identifiers of a plurality of the slices and the target network element address. The target slice is Slice where link abnormality is detected.
第三方面,本公开实施例提供一种网元,包括:In a third aspect, an embodiment of the present disclosure provides a network element, including:
至少一个处理器;以及at least one processor; and
存储器,其上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,使得所述至少一个处理器实现本公开实施例第一方面所述的网络管理方法。The memory has at least one computer program stored thereon, and when the at least one computer program is executed by the at least one processor, the at least one processor implements the network management method described in the first aspect of the embodiment of the present disclosure.
第四方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开实施例第一方面所述的网络管理方法。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the network management method described in the first aspect of the embodiment of the present disclosure is implemented.
附图说明Description of drawings
图1A是本公开实施例提供的一种网络拓扑的示意图;Figure 1A is a schematic diagram of a network topology provided by an embodiment of the present disclosure;
图1B是本公开实施例提供的基于图1A所示的网络拓扑的灵活算法的原理示意图;Figure 1B is a schematic principle diagram of a flexible algorithm based on the network topology shown in Figure 1A provided by an embodiment of the present disclosure;
图2是本公开实施例提供的灵活算法的原理示意图;Figure 2 is a schematic diagram of the principle of a flexible algorithm provided by an embodiment of the present disclosure;
图3是本公开实施例中一种网络管理方法的流程图;Figure 3 is a flow chart of a network management method in an embodiment of the present disclosure;
图4是本公开实施例中一种网络管理方法中部分步骤的流程图;Figure 4 is a flow chart of some steps in a network management method in an embodiment of the present disclosure;
图5是本公开实施例中一种网络管理方法中部分步骤的流程图;Figure 5 is a flow chart of some steps in a network management method in an embodiment of the present disclosure;
图6是本公开实施例中一种网络管理方法中部分步骤的流程图; Figure 6 is a flow chart of some steps in a network management method in an embodiment of the present disclosure;
图7是本公开实施例中一种网络管理方法中部分步骤的流程图;Figure 7 is a flow chart of some steps in a network management method in an embodiment of the present disclosure;
图8是本公开实施例中一种网络管理装置的组成框图;Figure 8 is a block diagram of a network management device in an embodiment of the present disclosure;
图9是本公开实施例中一种网元的组成框图;Figure 9 is a block diagram of a network element in an embodiment of the present disclosure;
图10是本公开实施例中一种计算机可读存储介质的组成框图;Figure 10 is a block diagram of a computer-readable storage medium in an embodiment of the present disclosure;
以及as well as
图11是本公开实施例中一种网络架构的示意图。Figure 11 is a schematic diagram of a network architecture in an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的网络管理方法、网络管理装置、网元、计算机可读存储介质进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the network management method, network management device, network element, and computer-readable storage medium provided by the present disclosure will be described in detail below with reference to the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现,且本公开不应当被解释为限于本文阐述的实施例。提供这些实施例的目的在于使本公开更加透彻和完整,并使本领域技术人员充分理解本公开的范围。Example embodiments will be described more fully below with reference to the accompanying drawings, although they may be embodied in different forms and the disclosure should not be construed as limited to the embodiments set forth herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully understand the scope of the disclosure to those skilled in the art.
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。The embodiments of the present disclosure and the features in the embodiments may be combined with each other without conflict.
如本文所使用的,术语“和/或”包括一个或多个相关列举条目的任何和所有组合。As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在特定特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。The terminology used herein is used to describe particular embodiments only and is not intended to limit the disclosure. As used herein, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, the presence of particular features, integers, steps, operations, elements and/or components is specified but does not exclude the presence or addition of One or more other features, integers, steps, operations, elements, components and/or groups thereof.
除非另外限定,否则本文所用的所有术语(包括技术术语和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。 Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be construed as having idealized or excessive formal meanings unless This article is expressly so qualified.
Flex-Algo的原理如图1A、图1B和图2所示。图1A所示的网络拓扑中存在N1、N2、N3、N4、N5、N6六个节点,每个节点都部署IGP协议并使能分段路由(SR,Segment Routing)和Flex-Algo能力。如图1B所示,FA128基于最小时延算法计算出最优路径为1-3-5-4-6,FA129基于最大带宽算法计算出的最优路径为1-2-3-5-6,FA130基于IGP度量值(metric)最短路径算法计算出的最优路径为1-2-4-6。The principle of Flex-Algo is shown in Figure 1A, Figure 1B and Figure 2. There are six nodes N1, N2, N3, N4, N5, and N6 in the network topology shown in Figure 1A. Each node deploys the IGP protocol and enables segment routing (SR, Segment Routing) and Flex-Algo capabilities. As shown in Figure 1B, FA128 calculates the optimal path as 1-3-5-4-6 based on the minimum delay algorithm, and FA129 calculates the optimal path as 1-2-3-5-6 based on the maximum bandwidth algorithm. The optimal path calculated by FA130 based on the IGP metric shortest path algorithm is 1-2-4-6.
图2中,每台设备的分段路由全局块(SRGB,SR Global Block)为16000,在每个节点上针对每个FA配置FAID和SID,并将FAID和对应的SID在IGP中通告;在N1节点上到N6的FA128切片下一跳为N2,计算FA128切片对应N6的prefix(6.6.6.6/32)的出标签为N2的SRGB加上FA128切片的SID,即,16000+806;FA129同样计算出到prefix(6.6.6.6/32)的出标签为16000+906,下一跳为N3;FA130计算出到prefix(6.6.6.6/32)的出标签为16000+306,下一跳为N2。FA128、FA129和FA130三种算法,分别对应不同路径和转发标签,实现FA切片转发。In Figure 2, the segment routing global block (SRGB, SR Global Block) of each device is 16000, configure FAID and SID for each FA on each node, and advertise FAID and the corresponding SID in the IGP; in The next hop of the FA128 slice from the N1 node to N6 is N2. Calculate the FA128 slice corresponding to the prefix (6.6.6.6/32) of N6. The outgoing label is the SRGB of N2 plus the SID of the FA128 slice, that is, 16000+806; the same for FA129 The calculated outgoing label to prefix (6.6.6.6/32) is 16000+906, and the next hop is N3; FA130 calculates the outgoing label to prefix (6.6.6.6/32) to be 16000+306, and the next hop is N2 . Three algorithms, FA128, FA129 and FA130, respectively correspond to different paths and forwarding labels, to implement FA slice forwarding.
经研究发现,在相关网络中,BFD技术是将虚拟专用网络(VPN,Virtual Private Network)路由下一跳地址作为目的地址进行检测,当到达下一跳的路径发生故障导致下一跳不可达时,BFD会话检测到异常(down),便会将经过该下一跳的所有VPN业务都切换到备份路径。因此,当不同切片经过不同路径到达相同下一跳时,只要有一个切片的BFD会话检测到down,就将全部切片承载的VPN业务都切换到备份路径,从而会导致其他路径的切片承载的VPN业务的错误感知切换,容易造成网络不稳定和非最优路径转发。有鉴于此,第一方面,参照图3,本公开实施例提供一种网络管理方法,包括步骤S1和S2。Research has found that in related networks, BFD technology uses the next hop address of a Virtual Private Network (VPN) route as the destination address for detection. When the path to the next hop fails and the next hop is unreachable, If the BFD session detects an exception (down), all VPN services passing through the next hop will be switched to the backup path. Therefore, when different slices reach the same next hop through different paths, as long as the BFD session of one slice detects down, the VPN services carried by all slices will be switched to the backup path, which will cause the VPN services carried by the slices of other paths to be down. Error-aware switching of services can easily cause network instability and non-optimal path forwarding. In view of this, in the first aspect, referring to FIG. 3 , an embodiment of the present disclosure provides a network management method, including steps S1 and S2.
S1、对多个切片的链路分别进行检测。S1. Detect the links of multiple slices respectively.
S2、根据预设的对应关系对目标切片承载的业务进行切换,所述预设的对应关系表征多个所述切片的切片标识与目标网元地址的对应关系,所述目标切片为检测到链路异常的切片。S2. Switch the services carried by the target slice according to the preset correspondence. The preset correspondence represents the correspondence between the slice identifiers of multiple slices and the address of the target network element. The target slice is the detected link. Unusual slice of road.
本公开实施例对如何对切片的链路进行检测不做特殊限定。在 一些实施方式中,对切片进行BFD检测。The embodiments of this disclosure do not place any special limitations on how to detect sliced links. exist In some embodiments, the slices are subjected to BFD detection.
在本公开提供的网络管理方法中,根据预设的对应关系对目标切片承载的业务进行切换时,只对检测到链路异常的切片承载的业务进行切换,而对检测到链路正常的切片承载的业务则不进行切换。例如,切片承载的业务为VPN业务,对切片进行BFD检测,根据预设的对应关系对目标切片承载的VPN业务进行切换时,只对BFD会话检测到down的切片承载的VPN业务进行切换,对BFD会话检测到正常(up)的切片承载的VPN业务则不进行切换。In the network management method provided by the present disclosure, when switching the services carried by the target slice according to the preset correspondence relationship, only the services carried by the slice with abnormal link detection are switched, and the services carried by the slice with normal link detection are switched. The services carried will not be switched. For example, if the service carried by a slice is a VPN service, perform BFD detection on the slice, and switch the VPN service carried by the target slice according to the preset corresponding relationship, only the VPN service carried by the slice whose BFD session is detected to be down will be switched. If the BFD session detects that the VPN service carried by the normal (up) slice is not switched, the switch will not be performed.
需要说明的是,在本公开中,对切片承载的业务进行切换,是指将切片承载的业务从主路径切换到备份路径。It should be noted that in this disclosure, switching the services carried by the slice refers to switching the services carried by the slice from the main path to the backup path.
本公开提供的网络管理方法中,预制了多个切片的切片标识与目标网元地址的预设的对应关系,当有切片被检测到链路异常时,能够根据预设的对应关系具体确定出需要进行业务切换的目标切片,然后只对检测到异常的目标切片承载的业务进行切换,而对检测到链路正常的切片承载的业务则不进行切换,有利于保持网络稳定,确保最优路径转发,保证了不同业务的有效隔离。In the network management method provided by the present disclosure, the preset corresponding relationship between the slice identifiers of multiple slices and the target network element address is prefabricated. When a link abnormality is detected in a slice, the preset corresponding relationship can be specifically determined based on the preset corresponding relationship. Target slices that require service switching are then switched only to the services carried by the target slice where abnormalities are detected, and services carried by slices with normal links detected are not switched, which is conducive to maintaining network stability and ensuring the optimal path. Forwarding ensures effective isolation of different services.
在本公开实施例中,目的地址可以是下一跳IP地址,也可以是目的网元的IP地址。本公开实施例对此不做特殊限定。In this embodiment of the present disclosure, the destination address may be the next hop IP address or the IP address of the destination network element. The embodiments of the present disclosure do not impose special limitations on this.
本公开实施例对于如何根据预设的对应关系对目标切片承载的业务进行切换不做特殊限定。The embodiment of the present disclosure does not place any special limitations on how to switch the services carried by the target slice according to the preset correspondence relationship.
在一些实施方式中,在对多个切片的链路分别进行检测时,使用切片的切片标识和目的地址对切片的链路进行检测。当检测到链路异常时,能够根据检测时使用的切片标识和目的地址,通过预设的对应关系确定需要进行业务切换的目标切片,并进一步对目标切片承载的业务进行切换。例如,切片承载的业务为VPN业务,对切片进行BFD检测,根据各个切片的切片标识和目的地址创建各个切片对应的BFD,即每个BFD都有切片标识和目的地址等信息;在BFD会话检测到down时,能够根据BFD的切片标识和目的地址,通过预设的对应关系确定需要进行VPN业务切换的目标切片,并进一步对VPN业务进行切换。 In some embodiments, when detecting the links of multiple slices respectively, the slice identifier and the destination address of the slice are used to detect the links of the slices. When a link abnormality is detected, the target slice that requires service switching can be determined through the preset correspondence based on the slice identifier and destination address used during detection, and the services carried by the target slice can be further switched. For example, if the service carried by a slice is a VPN service, perform BFD detection on the slice, and create a BFD corresponding to each slice based on the slice ID and destination address of each slice, that is, each BFD has information such as the slice ID and destination address; in the BFD session detection When down, the target slice that requires VPN service switching can be determined through the preset correspondence based on the BFD slice identifier and destination address, and the VPN service can be further switched.
相应地,在一些实施方式中,参照图4,根据预设的对应关系对目标切片承载的业务进行切换包括步骤S21和S22。Accordingly, in some embodiments, referring to FIG. 4 , switching the services carried by the target slice according to the preset correspondence relationship includes steps S21 and S22.
S21、根据对所述目标切片对应的链路进行检测时使用的切片标识和目的地址,确定所述预设的对应关系中预制的所述目标切片的切片标识和所述目标切片对应的目标网元地址。S21. Based on the slice identifier and destination address used when detecting the link corresponding to the target slice, determine the slice identifier of the target slice prefabricated in the preset correspondence relationship and the target network corresponding to the target slice. Meta address.
S22、根据所述目标切片的切片标识和所述目标切片对应的目标网元地址,对所述目标切片承载的业务进行切换。S22. Switch the service carried by the target slice according to the slice identifier of the target slice and the target network element address corresponding to the target slice.
本公开实施例对如何根据目标切片的切片标识和目标切片对应的目标网元地址,对目标切片承载的业务进行切换不做特殊限定。The embodiments of this disclosure do not place special limitations on how to switch the services carried by the target slice based on the slice identifier of the target slice and the target network element address corresponding to the target slice.
在一些实施方式中,参照图5,根据所述目标切片的切片标识和所述目标切片对应的目标网元地址,对所述目标切片承载的业务进行切换包括步骤S221至S223。In some embodiments, referring to FIG. 5 , switching the service carried by the target slice according to the slice identifier of the target slice and the target network element address corresponding to the target slice includes steps S221 to S223.
S221、在所述预设的对应关系中为所述目标切片的切片标识和所述目标切片对应的目标网元地址设置失效标识。S221. Set an invalidation identifier for the slice identifier of the target slice and the target network element address corresponding to the target slice in the preset correspondence relationship.
S222、根据所述预设的对应关系中的失效标识,确定所述目标切片承载的业务。S222. Determine the service carried by the target slice according to the failure identifier in the preset correspondence relationship.
S223、触发对所述目标切片承载的业务进行切换。S223. Trigger switching of services carried by the target slice.
在本实施方式中,确定了目标切片的切片标识和目标切片对应的目标网元地址之后,在预设的对应关系中为目标切片的切片标识和目标切片对应的目标网元地址设置失效标识,表示该目标切片的切片标识和目标切片对应的目标网元地址失效,从而能够对需要进行切换的目标切片承载的业务进行感知,进而触发对目标切片承载的业务的切换。In this embodiment, after determining the slice identifier of the target slice and the target network element address corresponding to the target slice, an invalidation identifier is set for the slice identifier of the target slice and the target network element address corresponding to the target slice in the preset correspondence relationship. It indicates that the slice identifier of the target slice and the target network element address corresponding to the target slice are invalid, so that the services carried by the target slice that need to be switched can be sensed, and then the switching of the services carried by the target slice can be triggered.
在一些实施方式中,预设的对应关系以转发表的形式存储,在预设的对应关系中为目标切片的切片标识和目标切片对应的目标网元地址设置失效标识,即在转发表中添加失效标识。In some implementations, the preset correspondence is stored in the form of a forwarding table. In the preset correspondence, an invalidation flag is set for the slice identifier of the target slice and the target network element address corresponding to the target slice, that is, adding Failure identification.
相应地,在一些实施方式中,对多个切片的链路分别进行检测包括:Correspondingly, in some implementations, detecting links of multiple slices respectively includes:
根据各个所述切片的切片标识和目的地址,分别创建各个所述切片对应的双向转发检测(BFD),以对各个所述切片的链路进行检 测。According to the slice identifier and destination address of each slice, a bidirectional forwarding detection (BFD) corresponding to each slice is created to detect the link of each slice. Measurement.
本公开实施例对于预设的对应关系的形式不做特殊限定。The embodiment of the present disclosure does not specifically limit the form of the preset correspondence relationship.
在一些实施方式中,参照图6,在对多个切片的链路分别进行检测之前,所述网络管理方法还包括步骤S3。In some embodiments, referring to Figure 6, before detecting the links of multiple slices respectively, the network management method further includes step S3.
S3、在转发表中预制所述预设的对应关系。即,在转发表中存储多个所述切片的切片标识与目标网元地址的对应关系。S3. Pre-prepare the preset corresponding relationship in the forwarding table. That is, the corresponding relationship between the slice identifiers of multiple slices and the target network element addresses is stored in the forwarding table.
在一些实施方式中,在转发表中预制预设的对应关系,是指在转发表中预先存储切片的切片标识与目标网元地址,并将“切片标识+目标网元地址”作为转发索引。In some embodiments, prefabricating the preset correspondence relationship in the forwarding table means pre-stored in the forwarding table the slice identifier and the target network element address of the slice, and using "slice identifier + target network element address" as the forwarding index.
在本公开实施例中,目的地址可以是下一跳IP地址,也可以是目的网元的IP地址。本公开实施例对此不做特殊限定。In this embodiment of the present disclosure, the destination address may be the next hop IP address or the IP address of the destination network element. The embodiments of the present disclosure do not impose special limitations on this.
在一些实施方式中,目标网元地址为下一跳IP地址,切片承载的业务为VPN业务,对切片进行BFD检测,以“切片标识+目标网元地址”为转发索引,就是以“切片标识+下一跳IP地址”作为转发索引,而不是仅以下一跳前缀(即下一跳IP地址)为转发索引,在BFD会话检测到down时,能够根据BFD的目的地址和切片标识,确定需要进行VPN业务切换的目标切片,并只对目标切片承载的VPN业务进行切换,而不对BFD会话检测到up的切片承载的VPN业务进行切换。In some implementations, the target network element address is the next hop IP address, the service carried by the slice is VPN service, BFD detection is performed on the slice, and "slice identifier + target network element address" is used as the forwarding index, that is, "slice identifier" + next-hop IP address" as the forwarding index, instead of just the next-hop prefix (i.e. next-hop IP address) as the forwarding index. When the BFD session detects down, the need can be determined based on the BFD destination address and slice identifier. The target slice for VPN service switching, and only switches the VPN services carried by the target slice, but does not switch the VPN services carried by the slice whose BFD session detects up.
本公开实施例对于如何在转发表中预制切片的切片标识与目标网元地址的对应关系不做特殊限定。The embodiment of the present disclosure does not place special limitations on how to pre-prepare the corresponding relationship between the slice identifier of the slice and the target network element address in the forwarding table.
在一些实施方式中,参照图7,在所述转发表中预制多个所述切片的切片标识与下一跳网际互连协议(IP)地址的对应关系包括步骤S31至S33。In some embodiments, referring to FIG. 7 , pre-preparing the corresponding relationship between the slice identifiers of multiple slices and the next-hop Internet Protocol (IP) address in the forwarding table includes steps S31 to S33.
S31、接收业务路由信息,所述业务路由信息携带目标网元地址和业务实例的标识。S31. Receive service routing information, where the service routing information carries the target network element address and the identifier of the service instance.
S32、根据所述业务实例的标识与承载所述业务实例对应业务的切片的切片标识的映射关系,确定承载所述业务实例对应业务的切片的切片标识与目标网元地址的对应关系。S32. According to the mapping relationship between the identifier of the service instance and the slice identifier of the slice that carries the service corresponding to the service instance, determine the corresponding relationship between the slice identifier of the slice that carries the service corresponding to the service instance and the target network element address.
S33、将承载所述业务实例对应业务的切片的切片标识与目标网元地址的对应关系存储到所述转发表中。 S33. Store the corresponding relationship between the slice identifier of the slice carrying the service corresponding to the service instance and the target network element address in the forwarding table.
本公开实施例对切片承载的业务不做特殊限定。The embodiments of this disclosure do not place special limitations on the services carried by the slices.
在一些实施方式中,切片承载的业务为VPN业务,业务实例为虚拟路由转发(VRF,Virtual Routing Forwarding)实例。In some implementations, the service carried by the slice is a VPN service, and the service instance is a Virtual Routing Forwarding (VRF) instance.
相应地,在一些实施方式中,步骤S31至S33可执行为:接收VRF实例的VPN路由,所述VPN路由携带下一跳IP地址和所述VRF实例的颜色(color);根据所述VRF实例的color与承载所述VRF实例的切片的切片标识的映射关系,确定承载所述VRF实例的切片的切片标识与下一跳IP地址的对应关系;以及将承载所述VRF实例的切片的切片标识与下一跳IP地址的对应关系存储到所述转发表中。Accordingly, in some implementations, steps S31 to S33 may be performed as: receiving a VPN route of the VRF instance, the VPN route carrying the next hop IP address and the color of the VRF instance; according to the VRF instance The mapping relationship between the color and the slice ID of the slice carrying the VRF instance, determining the corresponding relationship between the slice ID of the slice carrying the VRF instance and the next hop IP address; and assigning the slice ID of the slice carrying the VRF instance The corresponding relationship with the next hop IP address is stored in the forwarding table.
在本公开实施例中,不同的VRF实例对应不同的VPN业务。下一跳网元在发布VPN路由时,携带color,color用于标识VRF实例,也即标识VPN业务。在本公开实施例中,将VRF实例的color与承载VRF实例的VPN业务的切片进行映射,得到VRF实例的color与承载VRF实例的切片的切片标识的映射关系。In this embodiment of the present disclosure, different VRF instances correspond to different VPN services. When the next-hop network element advertises VPN routes, it carries color. Color is used to identify the VRF instance, that is, to identify the VPN service. In this embodiment of the present disclosure, the color of the VRF instance is mapped to the slice carrying the VPN service of the VRF instance, and a mapping relationship between the color of the VRF instance and the slice identifier of the slice carrying the VRF instance is obtained.
在本公开实施例中,本地网元接收到下一跳网元发布的VPN路由后,能够获取下一跳IP地址和VRF实例的color,并根据color与切片标识的映射关系,将下一跳IP地址与切片进行对应,得到切片标识与下一跳IP地址的对应关系并存储在转发表中。In this disclosed embodiment, after the local network element receives the VPN route published by the next-hop network element, it can obtain the next-hop IP address and the color of the VRF instance, and according to the mapping relationship between the color and the slice identifier, the next-hop The IP address corresponds to the slice, and the corresponding relationship between the slice identifier and the next hop IP address is obtained and stored in the forwarding table.
在一些实施方式中,所述网络管理方法还包括:In some implementations, the network management method further includes:
使能快速重路由(FRR,Fast Reroute)。Enable fast reroute (FRR, Fast Reroute).
在本公开实施例中,在本地网元中使能FRR,能够使本地网元中的各个VRF实例对应的VPN路由分别形成VPN FRR,从而能够对切片进行BFD关联VPN FRR快切。In the embodiment of the present disclosure, enabling FRR in the local network element enables the VPN routes corresponding to each VRF instance in the local network element to form VPN FRR respectively, so that the slice can be BFD associated with VPN FRR fast switching.
在一些实施方式中,所述切片为灵活算法(FA)切片。In some embodiments, the slices are Flexible Algorithm (FA) slices.
在本公开实施例中,不同FA切片基于不同的FA算法计算最优路径。例如,基于最小时延算法计算最优路径,或基于最大带宽算法计算最优路径,或基于IGP metric最短路径算法计算出最优路径等。本公开实施例对此不做特殊限定。In embodiments of the present disclosure, different FA slices calculate optimal paths based on different FA algorithms. For example, calculate the optimal path based on the minimum delay algorithm, calculate the optimal path based on the maximum bandwidth algorithm, or calculate the optimal path based on the IGP metric shortest path algorithm, etc. The embodiments of the present disclosure do not impose special limitations on this.
第二方面,参照图8本公开实施例提供一种网络管理装置,包括检测模块101和切换模块102。 In the second aspect, referring to FIG. 8 , an embodiment of the present disclosure provides a network management device, including a detection module 101 and a switching module 102 .
检测模块101配置为对多个切片的链路分别进行检测。The detection module 101 is configured to detect links of multiple slices respectively.
切换模块102配置为根据预设的对应关系对目标切片承载的业务进行切换,所述预设的对应关系表征多个所述切片的切片标识与目标网元地址的对应关系,所述目标切片为检测到链路异常的切片。The switching module 102 is configured to switch the services carried by the target slice according to a preset corresponding relationship, which represents the corresponding relationship between the slice identifiers of the plurality of slices and the target network element address, and the target slice is Slice where link abnormality is detected.
第三方面,参照图9,本公开实施例提供一种网元,包括:In the third aspect, referring to Figure 9, an embodiment of the present disclosure provides a network element, including:
至少一个处理器201;at least one processor 201;
存储器202,其上存储有至少一个计算机程序,当至少一个计算机程序被至少一个处理器执行时,使得至少一个或多个处理器实现本公开实施例第一方面所述的网络管理方法;以及The memory 202 has at least one computer program stored thereon, and when the at least one computer program is executed by at least one processor, the at least one or more processors implement the network management method described in the first aspect of the embodiment of the present disclosure; and
至少一个I/O接口203,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。At least one I/O interface 203 is connected between the processor and the memory, and is configured to realize information exchange between the processor and the memory.
处理器201为具有数据处理能力的器件,包括但不限于中央处理器(CPU)等;存储器202为具有数据存储能力的器件,包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)203连接在处理器201与存储器202间,能实现处理器201与存储器202的信息交互,包括但不限于数据总线(Bus)204等。The processor 201 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 202 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I/O interface (read-write interface) 203 is connected between the processor 201 and the memory 202, and can realize processing The information exchange between the device 201 and the memory 202 includes but is not limited to the data bus (Bus) 204 and so on.
在一些实施方式中,处理器201、存储器202和I/O接口203通过总线204相互连接,进而与计算设备的其它组件连接。In some implementations, processor 201, memory 202, and I/O interface 203 are connected to each other and, in turn, to other components of the computing device via bus 204.
第四方面,参照图10,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开实施例第一方面所述的网络管理方法。In the fourth aspect, referring to FIG. 10 , an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the network management described in the first aspect of the embodiment of the present disclosure is implemented. method.
为了使本领域技术人员能够更清楚地理解本公开实施例提供的技术方案,下面通过具体的2个实例,对本公开实施例提供的技术方案进行详细说明:In order to enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present disclosure, the technical solutions provided by the embodiments of the present disclosure are described in detail below through two specific examples:
实例一Example 1
在本实例中,如图11所示,在FA切片网络中BFD关联VPN FRR快速切换包括(1)至(11)。In this example, as shown in Figure 11, BFD-associated VPN FRR fast switching in the FA slice network includes (1) to (11).
(1)在运营商边缘设备(PE,Provider Edge)节点PE1、PE2 和PE3之间起中间系统到中间系统(ISIS,Intermediate System to Intermediate System)协议,将每个节点的环回接口地址通告到ISIS中,并使能SR能力,同时使能FA1(FAID为128)和FA2(FAID为129)的算法。(1) On the operator edge equipment (PE, Provider Edge) nodes PE1 and PE2 Start the Intermediate System to Intermediate System (ISIS) protocol with PE3, notify the loopback interface address of each node to ISIS, enable the SR capability, and enable FA1 (FAID is 128) and FA2 (FAID is 129) algorithm.
(2)对FA1(FAID为128)的切片为每个PE节点的前缀分配SID,所有SID全网唯一;同样,对FA2(FAID为129)切片为每个PE节点的前缀分配SID,所有SID全网唯一;并将Prefix-SID通告到ISIS。(2) For the FA1 (FAID is 128) slice, assign a SID to the prefix of each PE node, and all SIDs are unique in the entire network; similarly, for the FA2 (FAID is 129) slice, assign a SID to the prefix of each PE node, and all SIDs Unique in the entire network; and notifies the Prefix-SID to ISIS.
(3)PE1上到PE2、PE3的FA1(FAID为128)的切片基于最小时延算法计算最优路径,PE1和PE2之间的出接口为int1,PE1和PE3之间的出接口为int3,PE2和PE3之间的出接口为int5;FA2(FAID为129)的切片基于最大带宽算法计算最优路径,PE1和PE2之间的出接口为int2,PE1和PE3之间的出接口为int4,PE2和PE3之间的出接口为int6。(3) The slice of FA1 (FAID 128) from PE1 to PE2 and PE3 calculates the optimal path based on the minimum delay algorithm. The outbound interface between PE1 and PE2 is int1, and the outbound interface between PE1 and PE3 is int3. The outbound interface between PE2 and PE3 is int5; the slice of FA2 (FAID is 129) calculates the optimal path based on the maximum bandwidth algorithm. The outbound interface between PE1 and PE2 is int2, and the outbound interface between PE1 and PE3 is int4. The outbound interface between PE2 and PE3 is int6.
(4)PE1、PE2和PE3之间用环回口部署多协议标签交换(MPLS,Multi-Protocol Label Switching)3层VPN(L3VPN,Layer 3 VPN),PE2和PE3双归到用户网络边缘设备(CE,Customer Edge)节点CE2,PE1单归到CE1,CE节点与PE节点之间采用optionA接入。(4) Use loopback interfaces to deploy Multi-Protocol Label Switching (MPLS, Multi-Protocol Label Switching) Layer 3 VPN (L3VPN, Layer 3 VPN) between PE1, PE2 and PE3. PE2 and PE3 are dual-homed to the user network edge device ( CE, Customer Edge) nodes CE2 and PE1 are single-homed to CE1, and optionA is used to access the CE node and PE node.
(5)PE1、PE2和PE3上分别有2个VRF实例VRF128和VRF129,PE2和PE3上发布对应VRF128的VPN路由并携带color 128;发布对应VRF129的VPN路由并携带color 129。(5) There are two VRF instances VRF128 and VRF129 on PE1, PE2 and PE3 respectively. PE2 and PE3 publish the VPN route corresponding to VRF128 and carry color 128; publish the VPN route corresponding to VRF129 and carry color 129.
(6)将color 128和FAID为128的切片进行映射,color 129和FAID为129的切片进行映射。(6) Map the slices with color 128 and FAID 128, and map the slices with color 129 and FAID 129.
(7)PE1上收到VRF128的VPN路由,下一跳为PE2和PE3;PE1上收到的VRF129的VPN路由,下一跳同样为PE2和PE3的环回口IP地址,PE1上使能FRR,VRF128和VRF129对应的VPN路由分别形成VPN FRR。由(6)中的color和FAID的映射关系,VRF128对应的VPN路由和VRF129对应的VPN路由分别承载于FAID为128的切片和FAID为129的切片。(7) PE1 receives the VPN route of VRF128, and the next hops are PE2 and PE3; the next hop of the VPN route of VRF129 received on PE1 is also the loopback interface IP addresses of PE2 and PE3, and FRR is enabled on PE1. , the VPN routes corresponding to VRF128 and VRF129 form VPN FRR respectively. Based on the mapping relationship between color and FAID in (6), the VPN route corresponding to VRF128 and the VPN route corresponding to VRF129 are carried on the slice with FAID of 128 and the slice with FAID of 129 respectively.
(8)承载于不同FA切片的VPN路由下一跳转发表存储对应的 FAID和下一跳IP。(8) The next hop forwarding table of VPN routes carried in different FA slices stores the corresponding FAID and next hop IP.
(9)在PE1与PE2之间创建对应切片的BFD检测,即,根据FAID和VPN路由的下一跳IP地址创建对应的切片的BFD检测。(9) Create BFD detection of the corresponding slice between PE1 and PE2, that is, create BFD detection of the corresponding slice based on the next hop IP address of the FAID and VPN route.
(10)当PE2到PE1的链路int1和int5都故障,PE1和PE2之间的FAID为128的切片BFD为down,通过该BFD的FAID和目的IP寻找转发表中对应的FAID和下一跳IP进行转发切换,触发承载于FAID为128的切片的所有VPN业务进行快速切换;而承载于FAID为129的切片的VPN业务不会进行快速切换,仍然在VPN主路径进行转发。(10) When both int1 and int5 of the links from PE2 to PE1 fail, and the slice BFD with FAID of 128 between PE1 and PE2 is down, use the FAID and destination IP of the BFD to find the corresponding FAID and next hop in the forwarding table. IP performs forwarding switching, triggering fast switching of all VPN services carried on the slice with FAID of 128; while VPN services carried on the slice of FAID of 129 will not undergo fast switching and are still forwarded on the VPN main path.
(11)当PE2到PE1的链路int2和int6都故障,PE1和PE2之间的FAID为129切片BFD为down,通过该BFD的FAID和目的IP寻找转发表中对应的FAID和下一跳IP进行转发切换,触发承载于FAID为129的切片的所有VPN业务进行快速切换。(11) When both int2 and int6 of the links from PE2 to PE1 fail, the FAID between PE1 and PE2 is 129 and the slice BFD is down. Find the corresponding FAID and next hop IP in the forwarding table through the FAID and destination IP of the BFD. Perform forwarding switching to trigger fast switching of all VPN services carried on the slice with FAID 129.
实例二Example 2
在本实例中,如图11所示,PE1、PE2和PE3之间部署ISIS SR,同时,使能FA128和FA129算法计算出不同的网络拓扑;每个节点的SRGB为16000,每个PE切片FA128和FA129针对同一个前缀部署不同的SID,并发布到ISIS进行泛洪。PE之间部署MPLS L3VPN,2个VPN实例VRF128、VRF129,VRF128对应的业务承载于切片FA128,VRF129对应的业务承载于切片FA129。In this example, as shown in Figure 11, ISIS SR is deployed between PE1, PE2 and PE3. At the same time, FA128 and FA129 algorithms are enabled to calculate different network topologies; the SRGB of each node is 16000, and each PE slice FA128 and FA129 deploy different SIDs for the same prefix and publish them to ISIS for flooding. MPLS L3VPN is deployed between PEs, with two VPN instances VRF128 and VRF129. The services corresponding to VRF128 are carried on slice FA128, and the services corresponding to VRF129 are carried on slice FA129.
在FA切片网络中BFD关联VPN FRR快切包括(1)至(9)。BFD associated VPN FRR fast switching in the FA slice network includes (1) to (9).
(1)在PE1、PE2和PE3之间起ISIS协议,PE1节点的环回接口地址为1.1.1.1/32,PE2节点的环回接口地址为2.2.2.2/32,PE3节点的环回接口地址为3.3.3.3/32,都通告到对应的ISIS实例100中,并使能SR能力,同时使能FA128和FA129算法。(1) Start the ISIS protocol between PE1, PE2 and PE3. The loopback interface address of the PE1 node is 1.1.1.1/32, the loopback interface address of the PE2 node is 2.2.2.2/32, and the loopback interface address of the PE3 node is 3.3.3.3/32, all are advertised to the corresponding ISIS instance 100, and the SR capability is enabled, as well as the FA128 and FA129 algorithms.
(2)对FA128切片为PE1节点的环回接口地址1.1.1.1/32分配SID为801,同样,为PE2节点的环回接口地址2.2.2.2/32分配SID为802,为PE3节点的环回接口地址3.3.3.3/32分配至SID为803;对FA129切片为PE1节点的环回接口地址1.1.1.1/32分配SID为901,同样,为PE2节点的环回接口地址2.2.2.2/32分配SID为 902,为PE3节点的环回接口地址3.3.3.3/32分配SID为903,所有SID全网唯一;并将Prefix-SID通告到ISIS实例100中。(2) For the FA128 slice, assign the SID 801 to the loopback interface address 1.1.1.1/32 of the PE1 node. Similarly, assign the SID 802 to the loopback interface address 2.2.2.2/32 of the PE2 node, and assign the SID 802 to the loopback interface address of the PE3 node. The interface address 3.3.3.3/32 is assigned a SID of 803; the FA129 slice is assigned a SID of 901 for the loopback interface address 1.1.1.1/32 of the PE1 node. Similarly, the loopback interface address 2.2.2.2/32 is assigned for the PE2 node. SID is 902. Assign SID 903 to the loopback interface address 3.3.3.3/32 of the PE3 node. All SIDs are unique in the entire network; and notify the Prefix-SID to ISIS instance 100.
(3)FA128切片基于最小时延算法计算最优路径,PE1和PE2之间的出接口为int1,PE1和PE3之间的出接口为int3,PE2和PE3之间的出接口为int5;FA129切片基于最大带宽算法计算最优路径,PE1和PE2之间的出接口为int2,PE1和PE3之间的出接口为int4,PE2和PE3之间的出接口为int6;PE1上基于FA128算法计算到PE2前缀2.2.2.2/32的出标签为16802,到PE3前缀3.3.3.3/32的出标签为16803;同样,PE1上基于FA129算法计算到PE2前缀2.2.2.2/32的出标签为16902,到PE3前缀3.3.3.3/32的出标签为16903。(3) The FA128 slice calculates the optimal path based on the minimum delay algorithm. The outbound interface between PE1 and PE2 is int1, the outbound interface between PE1 and PE3 is int3, and the outbound interface between PE2 and PE3 is int5; FA129 slice The optimal path is calculated based on the maximum bandwidth algorithm. The outbound interface between PE1 and PE2 is int2, the outbound interface between PE1 and PE3 is int4, and the outbound interface between PE2 and PE3 is int6. PE1 calculates the optimal path based on the FA128 algorithm to PE2. The outgoing label of prefix 2.2.2.2/32 is 16802, and the outgoing label of prefix 3.3.3.3/32 to PE3 is 16803. Similarly, based on the FA129 algorithm on PE1, the outgoing label of PE2 prefix 2.2.2.2/32 is calculated to be 16902, and the outgoing label to PE3 is 16902. The outgoing label of prefix 3.3.3.3/32 is 16903.
(4)PE1、PE2和PE3之间部署MPLS L3VPN,部署2个VPN实例VRF128、VRF129,PE2和PE3双归到CE2,PE1单归到CE1,CE与PE之间采用optionA接入;PE2和PE3上发布对应VRF128的VPN路由(22.22.22.22/32)并携带color;发布对应VRF129的VPN路由(33.33.33.33/32)并携带color;VRF128的VPN路由携带的color设置为128,VRF129的VPN路由携带的color设置为129。(4) MPLS L3VPN is deployed between PE1, PE2 and PE3, and 2 VPN instances VRF128 and VRF129 are deployed. PE2 and PE3 are dual-homed to CE2, PE1 is single-homed to CE1, and optionA is used to connect between CE and PE; PE2 and PE3 Publish the VPN route (22.22.22.22/32) corresponding to VRF128 and carry color; publish the VPN route (33.33.33.33/32) corresponding to VRF129 and carry color; the color carried by the VPN route of VRF128 is set to 128, and the VPN route of VRF129 The carried color is set to 129.
(5)将color 128和切片FA128的FAID(128)进行映射,color129和切片FA129的FAID(129)进行映射。(5) Map color 128 to the FAID (128) of the slice FA128, and map color 129 to the FAID (129) of the slice FA129.
(6)PE1上收到VRF128的VPN路由(22.22.22.22/32),下一跳为PE2(2.2.2.2)和PE3(3.3.3.3);PE1上收到的VRF129的VPN路由(33.33.33.33/32),下一跳同样为PE2(2.2.2.2)和PE3(3.3.3.3),VRF128和VRF129对应的VPN路由(22.22.22.22/32)分别形成VPN FRR。由(5)中的color 128和FAID(128)映射关系,通过color 128+下一跳(2.2.2.2)可知,VRF128对应的VPN路由(22.22.22.22/32)承载于切片FA128,主VPN路由的下一跳为2.2.2.2,公网出标签为16802,出接口为int1;备份VPN路由的下一跳为3.3.3.3,公网出标签为16803,出接口为int3。同样,VRF129对应的VPN路由(22.22.22.22/32)承载于切片FA129,主VPN路由下一跳为2.2.2.2,公网出标签为16902,出接口为int2;备份VPN路由的下一跳为3.3.3.3,公网出标签为16903,出接口为int4。 (6) PE1 receives the VPN route of VRF128 (22.22.22.22/32), and the next hop is PE2 (2.2.2.2) and PE3 (3.3.3.3); PE1 receives the VPN route of VRF129 (33.33.33.33 /32), the next hops are also PE2 (2.2.2.2) and PE3 (3.3.3.3), and the VPN routes (22.22.22.22/32) corresponding to VRF128 and VRF129 form VPN FRR respectively. From the mapping relationship between color 128 and FAID (128) in (5), through color 128 + next hop (2.2.2.2), we can know that the VPN route (22.22.22.22/32) corresponding to VRF128 is carried on slice FA128, the main VPN route The next hop of the backup VPN route is 2.2.2.2, the public network outgoing label is 16802, and the outgoing interface is int1; the next hop of the backup VPN route is 3.3.3.3, the public network outgoing label is 16803, and the outgoing interface is int3. Similarly, the VPN route (22.22.22.22/32) corresponding to VRF129 is carried on slice FA129. The next hop of the main VPN route is 2.2.2.2, the public network outgoing label is 16902, and the outgoing interface is int2; the next hop of the backup VPN route is 3.3.3.3, the public network outgoing label is 16903, and the outgoing interface is int4.
(7)在PE1上对FAID为128、目的IP为2.2.2.2的FA切片进行BFD检测;同样,对FAID为129、目的IP为2.2.2.2的FA切片进行BFD检测。(7) Perform BFD detection on the FA slice with FAID 128 and destination IP 2.2.2.2 on PE1; similarly, perform BFD detection on the FA slice with FAID 129 and destination IP 2.2.2.2.
(8)当PE2到PE1的链路int1和int5都故障,PE1和PE2之间的FA128切片的BFD为down,通过该BFD的FAID(128)和目的IP(2.2.2.2)寻找转发表中对应的FAID+下一跳(128+2.2.2.2)进行转发切换,触发承载于切片FA128的所有VPN业务进行快速切换;对于承载于切片FA129的业务路由(33.33.33.33/32)不进行切换。(8) When both int1 and int5 of the links from PE2 to PE1 fail, the BFD of the FA128 slice between PE1 and PE2 is down, and the corresponding value in the forwarding table is found through the FAID (128) and destination IP (2.2.2.2) of the BFD. FAID + next hop (128+2.2.2.2) performs forwarding switching, triggering fast switching of all VPN services carried on slice FA128; no switching is performed on the service route (33.33.33.33/32) carried on slice FA129.
(9)当PE2到PE1的链路int2和int6都故障,PE1和PE2之间的FA129切片的BFD为down,通过该BFD的FAID(129)和目的IP(2.2.2.2)寻找转发表中对应的FAID+下一跳(129+2.2.2.2)进行转发切换,触发承载于切片FA129的所有VPN业务进行快速切换。(9) When both int2 and int6 of the links from PE2 to PE1 fail, the BFD of the FA129 slice between PE1 and PE2 is down, and the corresponding value in the forwarding table is found through the FAID (129) and destination IP (2.2.2.2) of the BFD. FAID+next hop (129+2.2.2.2) performs forwarding switching, triggering fast switching of all VPN services carried on slice FA129.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器(如中央处理器、数字信号处理器或微处理器)执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它 传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store desired information and that can be accessed by a computer. Additionally, it is well known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules, or devices such as carrier waves or other A transport mechanism such as a modulated data signal that modulates other data in a data signal and may include any information delivery medium.
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则与特定实施例相结合描述的特征、特性和/或元素可单独使用,或可与结合其它实施例描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。 Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a general illustrative sense only and not for purpose of limitation. In some instances, it will be apparent to those skilled in the art that, unless expressly stated otherwise, features, characteristics, and/or elements described in connection with a particular embodiment may be used alone, or may be combined with features, characteristics, and/or elements described in connection with other embodiments. and/or used in combination with components. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims (11)

  1. 一种网络管理方法,包括:A network management method including:
    对多个切片的链路分别进行检测;以及Detect the links of multiple slices separately; and
    根据预设的对应关系对目标切片承载的业务进行切换,其中,所述预设的对应关系表征多个所述切片的切片标识与目标网元地址的对应关系,所述目标切片为检测到链路异常的切片。The services carried by the target slice are switched according to the preset correspondence relationship, wherein the preset correspondence relationship represents the correspondence relationship between the slice identifiers of the multiple slices and the address of the target network element, and the target slice is the detected link. Unusual slice of road.
  2. 根据权利要求1所述的网络管理方法,其中,所述根据预设的对应关系对目标切片承载的业务进行切换包括:The network management method according to claim 1, wherein switching the services carried by the target slice according to the preset corresponding relationship includes:
    根据对所述目标切片对应的链路进行检测时使用的切片标识和目的地址,确定所述预设的对应关系中预制的所述目标切片的切片标识和所述目标切片对应的目标网元地址;以及According to the slice identifier and destination address used when detecting the link corresponding to the target slice, determine the slice identifier of the target slice pre-prepared in the preset correspondence relationship and the target network element address corresponding to the target slice. ;as well as
    根据所述目标切片的切片标识和所述目标切片对应的目标网元地址,对所述目标切片承载的业务进行切换。Switch the service carried by the target slice according to the slice identifier of the target slice and the target network element address corresponding to the target slice.
  3. 根据权利要求2所述的网络管理方法,其中,所述根据所述目标切片的切片标识和所述目标切片对应的目标网元地址,对所述目标切片承载的业务进行切换包括:The network management method according to claim 2, wherein switching the service carried by the target slice according to the slice identifier of the target slice and the target network element address corresponding to the target slice includes:
    在所述预设的对应关系中为所述目标切片的切片标识和所述目标切片对应的目标网元地址设置失效标识;Set an invalidation identifier for the slice identifier of the target slice and the target network element address corresponding to the target slice in the preset correspondence relationship;
    根据所述预设的对应关系中的失效标识,确定所述目标切片承载的业务;以及Determine the service carried by the target slice according to the failure identification in the preset correspondence relationship; and
    触发对所述目标切片承载的业务进行切换。Trigger switching of services carried by the target slice.
  4. 根据权利要求2所述的网络管理方法,其中,所述对多个切片的链路分别进行检测包括:The network management method according to claim 2, wherein the detecting the links of multiple slices respectively includes:
    根据各个所述切片的切片标识和目的地址,分别创建各个所述切片对应的双向转发检测(BFD),以对各个所述切片的链路进行检测。 According to the slice identifier and destination address of each slice, a bidirectional forwarding detection (BFD) corresponding to each slice is created to detect the link of each slice.
  5. 根据权利要求1至4中任意一项所述的网络管理方法,还包括:The network management method according to any one of claims 1 to 4, further comprising:
    在所述对多个切片的链路分别进行检测之前,在转发表中预制所述预设的对应关系。Before detecting the links of multiple slices respectively, the preset corresponding relationship is pre-prepared in the forwarding table.
  6. 根据权利要求5所述的网络管理方法,其中,所述在转发表中预制所述预设的对应关系包括:The network management method according to claim 5, wherein prefabricating the preset corresponding relationship in the forwarding table includes:
    接收业务路由信息,其中,所述业务路由信息携带目标网元地址和业务实例的标识;Receive service routing information, wherein the service routing information carries the target network element address and the identifier of the service instance;
    根据所述业务实例的标识与承载所述业务实例对应业务的切片的切片标识的映射关系,确定承载所述业务实例对应业务的切片的切片标识与目标网元地址的对应关系;以及According to the mapping relationship between the identifier of the service instance and the slice identifier of the slice that carries the service corresponding to the service instance, determine the corresponding relationship between the slice identifier of the slice that carries the service corresponding to the service instance and the target network element address; and
    将承载所述业务实例对应业务的切片的切片标识与目标网元地址的对应关系存储到所述转发表中。The corresponding relationship between the slice identifier of the slice carrying the service corresponding to the service instance and the target network element address is stored in the forwarding table.
  7. 根据权利要求6所述的网络管理方法,其中,所述切片承载的业务为虚拟专用网络(VPN)业务,所述业务实例为虚拟路由转发(VRF)实例。The network management method according to claim 6, wherein the service carried by the slice is a virtual private network (VPN) service, and the service instance is a virtual routing and forwarding (VRF) instance.
  8. 根据权利要求1至4中任意一项所述的网络管理方法,其中,所述目标网元地址为下一跳网际互连协议(IP)地址。The network management method according to any one of claims 1 to 4, wherein the target network element address is a next-hop Internet Protocol (IP) address.
  9. 一种网络管理装置,包括:A network management device, including:
    检测模块,配置为对多个切片的链路分别进行检测;以及a detection module configured to detect links of multiple slices respectively; and
    切换模块,配置为根据预设的对应关系对目标切片承载的业务进行切换,其中,所述预设的对应关系表征多个所述切片的切片标识与目标网元地址的对应关系,所述目标切片为检测到链路异常的切片。A switching module configured to switch services carried by the target slice according to a preset correspondence relationship, wherein the preset correspondence relationship represents the correspondence relationship between the slice identifiers of a plurality of the slices and the target network element address, and the target network element address is The slice is the slice where the link abnormality is detected.
  10. 一种网元,包括: A network element includes:
    至少一个处理器;以及at least one processor; and
    存储器,其上存储有至少一个计算机程序,当所述至少一个计算机程序被所述至少一个处理器执行时,使得所述至少一个处理器实现根据权利要求1至8中任意一项所述的网络管理方法。A memory having at least one computer program stored thereon, which, when executed by the at least one processor, causes the at least one processor to implement the network according to any one of claims 1 to 8 management methods.
  11. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至8中任意一项所述的网络管理方法。 A computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the network management method according to any one of claims 1 to 8 is implemented.
PCT/CN2023/096777 2022-06-27 2023-05-29 Network management method and device, network element, and computer readable storage medium WO2024001633A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210737195.2A CN117354155A (en) 2022-06-27 2022-06-27 Network management method and device, network element and computer readable medium
CN202210737195.2 2022-06-27

Publications (1)

Publication Number Publication Date
WO2024001633A1 true WO2024001633A1 (en) 2024-01-04

Family

ID=89359945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096777 WO2024001633A1 (en) 2022-06-27 2023-05-29 Network management method and device, network element, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN117354155A (en)
WO (1) WO2024001633A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838927A (en) * 2018-08-15 2020-02-25 中国移动通信有限公司研究院 Slice mapping remapping method and access network element
CN113364604A (en) * 2020-03-04 2021-09-07 华为技术有限公司 Communication method, device and system
CN113746649A (en) * 2020-05-14 2021-12-03 华为技术有限公司 Network slice control method and communication device
WO2022011572A1 (en) * 2020-07-14 2022-01-20 Oppo广东移动通信有限公司 Network handover method, device, equipment, and storage medium
CN114339948A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Communication method and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838927A (en) * 2018-08-15 2020-02-25 中国移动通信有限公司研究院 Slice mapping remapping method and access network element
CN113364604A (en) * 2020-03-04 2021-09-07 华为技术有限公司 Communication method, device and system
CN113746649A (en) * 2020-05-14 2021-12-03 华为技术有限公司 Network slice control method and communication device
WO2022011572A1 (en) * 2020-07-14 2022-01-20 Oppo广东移动通信有限公司 Network handover method, device, equipment, and storage medium
CN114339948A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Communication method and communication device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CATT: "Discussion on slice re-mapping due to slice not supported", 3GPP TSG RAN WG3 #110-E, R3-206364, 23 October 2020 (2020-10-23), XP051945828 *

Also Published As

Publication number Publication date
CN117354155A (en) 2024-01-05

Similar Documents

Publication Publication Date Title
JP7387836B2 (en) Transmission route failure handling method, device, and system
CN108702326B (en) Method, device and non-transitory machine-readable medium for detecting SDN control plane loops
US9225629B2 (en) Efficient identification of node protection remote LFA target
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
WO2021258754A1 (en) Message indication method and apparatus, and device and storage medium
US7693047B2 (en) System and method for PE-node protection
RU2704714C1 (en) Technologies using ospf for providing maximum depth of node and/or communication link segment identifier
US20170093611A1 (en) Egress node protection in evpn all-active topology
JP2022186731A (en) Method, device, and system for handling transmission path failure
US9300568B2 (en) Procedure to add alternate paths for IS-IS default route
US20110164508A1 (en) Network relay apparatus, network system, and control method of network relay apparatus
EP3573292A1 (en) Forwarding detection of an aggregated interface
EP1844579A2 (en) System and methods for network path detection
US11646960B2 (en) Controller provided protection paths
CN112868214B (en) Coordinated load transfer OAM records within packets
CN113132235B (en) Data message processing method based on virtual circuit and construction method of forwarding table item
US11546252B2 (en) Fast flooding topology protection
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
WO2020230146A1 (en) Method and apparatus for layer 2 route calculation in a route reflector network device
WO2020244304A1 (en) Method for sending routing information, method and apparatus for routing selection
WO2024001633A1 (en) Network management method and device, network element, and computer readable storage medium
WO2022001274A1 (en) Route generation method and apparatus, and route processing method and apparatus
US10735252B2 (en) Outside router fault detection
US20230126279A1 (en) Fast reroute for bum traffic in ethernet virtual private networks
WO2018033772A1 (en) Advanced forwarding using multi-level fixed stage overlay

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829818

Country of ref document: EP

Kind code of ref document: A1