WO2013071859A1 - 创建多协议标签交换保护环的方法及装置 - Google Patents

创建多协议标签交换保护环的方法及装置 Download PDF

Info

Publication number
WO2013071859A1
WO2013071859A1 PCT/CN2012/084566 CN2012084566W WO2013071859A1 WO 2013071859 A1 WO2013071859 A1 WO 2013071859A1 CN 2012084566 W CN2012084566 W CN 2012084566W WO 2013071859 A1 WO2013071859 A1 WO 2013071859A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
protection ring
label switching
protocol label
switching protection
Prior art date
Application number
PCT/CN2012/084566
Other languages
English (en)
French (fr)
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 WO2013071859A1 publication Critical patent/WO2013071859A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for creating a protection ring of an MPLS (Multiprotocol Label Switching). Background technique
  • Packet Transport Network (PTN, Packet Transport Network) implements connection-oriented service bearer using PWE3 (Pseudo Wire Emulate Edge-to-Edge) technology, and uses multi-protocol labels optimized for telecom bearer networks.
  • Switching MPLS, Mul t iprotocol Label Swi tching
  • A Operat ion, Admini s trat ion and Ma intenance
  • SDH Synchronous Dig i ta l Hierarchy
  • SDH Synchronous Dig i ta l Hierarchy
  • the MPLS protection ring is created in the network construction phase and the network maintenance phase.
  • the current MPLS protection ring is created as follows: The user configures the basic parameters. The user selects the NE according to the connection sequence. After all NEs are selected, configure MPLS protection. Ring resources, complete the creation of the MPLS protection ring.
  • the inventors of the present invention have found that the following problems exist in the process of creating an MPLS protection ring in the prior art: (1) All network elements are manually selected, and the user must clearly understand which network elements the MPLS protection ring passes through. Otherwise, the MPLS protection ring cannot Created successfully. (2) The NE selection order must be consistent with the physical connection order of the NEs. You must select them in the clockwise or counterclockwise direction. Otherwise, the MPLS protection ring cannot be created successfully. (3) The requirements for creating an MPLS protection ring are very high. Users need to understand the principle of the MPLS protection ring. Otherwise, it is difficult for users to create successfully.
  • the MPLS protection ring has low creation efficiency, and the process of selecting the network element is very cumbersome and error-prone (choosing the wrong network element or the order is disordered). After the error, the user finds it difficult to find the error point and affects the user experience. Summary of the invention
  • the embodiment of the invention provides a method for creating a multi-protocol label switching protection ring, which can improve the success rate and efficiency of creating an MPLS protection ring.
  • the invention also provides a corresponding device.
  • a method for creating a multi-protocol label switching protection ring comprising: Receiving a first network element selection instruction of the user, selecting a first network element according to the first network element selection instruction of the user, and acquiring a multi-protocol label switching protection ring including the first network element according to the selected first network element; Obtaining a multi-protocol label switching protection ring including the first network element;
  • a device for creating a multi-protocol label protection ring comprising:
  • a receiving unit configured to receive a first network element selection instruction of the user
  • a selecting unit configured to: after the receiving unit receives the first network element selection instruction of the user, select the first network element according to the first network element selection instruction of the user;
  • An acquiring unit configured to acquire, according to the first network element selected by the selecting unit, a multi-protocol label switching protection ring that includes the first network element;
  • a display unit configured to: after the acquiring unit acquires the multi-protocol label switching protection ring that includes the first network element, display the acquired multi-protocol label switching protection ring that includes the first network element; The unit is further configured to: after the obtained display unit displays the acquired multi-protocol label switching protection ring that includes the first network element, receive a multi-protocol label switching protection ring selection instruction of the user; Selecting a multi-protocol label switching protection ring including the first network element according to a multi-protocol label switching protection ring selection command of the user received by the receiving unit;
  • the display unit is further configured to: highlight a multi-protocol label switching protection ring that includes the first network element selected by the selecting unit;
  • a numbering unit configured to be the network element number in the multi-protocol label switching protection ring that includes the first network element that is highlighted by the display unit.
  • the embodiments of the present invention have the following advantages:
  • the embodiment of the present invention uses the first network element selection instruction of the receiving user, selects the first network element according to the first network element selection instruction of the user, and acquires the multi-protocol label including the first network element according to the selected first network element.
  • Exchanging a protection ring displaying the acquired multi-protocol label switching protection ring including the first network element; receiving a multi-protocol label switching protection ring selection instruction of the user, selecting and highlighting according to the user's multi-protocol label switching protection ring selection instruction Displaying the multi-protocol label switching protection ring that includes the first network element; And is the highlighted network element number in the multi-protocol label switching protection ring that includes the first network element.
  • the method for creating a multi-protocol label switching protection ring does not require the user to manually select each network element, especially when the user does not know the connection relationship of the network element. Next, you also need to select each network element in the order of connection.
  • the method provided by the embodiment of the present invention avoids the cumbersome network element selection process in the prior art, and avoids the problem of low success rate and low efficiency caused by user selection errors.
  • the MPLS protection ring can be created only after the MPLS protection ring that contains the network element is displayed. Effectively improve the success rate and efficiency of creating an MPLS protection ring.
  • FIG. 1 is a schematic diagram of an embodiment of a method for creating a multi-protocol label switching protection ring according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of an application scenario of the present invention.
  • FIG. 3 is another schematic diagram of an embodiment of an application scenario of the present invention.
  • FIG. 4 is a schematic view of an embodiment of the device of the present invention.
  • Figure 5 is a schematic view of another embodiment of the apparatus of the present invention.
  • Figure 6 is a schematic view of another embodiment of the apparatus of the present invention.
  • FIG. 7 is a schematic illustration of another embodiment of the apparatus of the present invention. detailed description
  • the embodiment of the invention provides a method for creating a multi-protocol label switching protection ring, which can improve the success rate and efficiency of creating an MPLS protection ring.
  • the invention also provides a corresponding device.
  • an embodiment of a method for creating a multi-protocol label switching protection ring includes:
  • the first network element selection command is received by the user, and the first network element is selected according to the first network element selection instruction of the user, and the multi-protocol label switching protection ring including the first network element is obtained according to the selected first network element.
  • the creation of the MPLS protection ring is an important task in the network construction phase and the network maintenance phase.
  • the multi-protocol label switching protection ring creation device receives the first network element selection instruction of the user, according to the user's The first network element is selected by a network element selection command, and the multi-protocol label switching protection including the first network element is obtained according to the first network element and based on the network element connection relation database. Ring.
  • the network element connection relation database contains the connection relationship between all network elements and network elements.
  • the network elements are connected by optical fibers.
  • Several network elements form a closed loop through optical fiber connections, that is, an MPLS protection ring.
  • One network element may be Two or more MPLS protection rings are common to each other. Therefore, there may be only one or two or more MPLS protection rings acquired according to the first network element.
  • the MPLS protection ring obtained by the first network element may have only one or two or more MPLS protection rings, and only one MPLS protection ring may be determined. Therefore, the first network that needs to be obtained in the foregoing step 101 is included.
  • One of the MPLS protection rings of the element is selected as the working MPLS protection ring. Before the selection, only the MPLS protection ring including the first network element is displayed for the user to select.
  • the creating device receives the multi-protocol label switching protection ring selection command of the user, and selects a multi-protocol label switching protection ring that includes the first network element according to the multi-protocol label switching protection ring selection command of the user, and the user can select by using a mouse, and select After the multi-protocol label switching protection ring including the first network element, the multi-protocol label switching protection ring including the first network element selected according to the multi-protocol label switching protection ring selection instruction of the user is highlighted. Highlighting specifically includes: highlighting, discoloration display, bold display, or any combination of these. In the embodiment of the present invention, the highlighting manner is not limited. As long as the multi-protocol label switching protection ring including the first network element can be highlighted, any highlighting manner is within the protection scope of the present invention.
  • the device After a multi-protocol label switching protection ring including the first network element is highlighted, the device automatically numbers each of the network elements in the MPLS protection ring that is highlighted by the first network element, and the number is The multi-protocol label switching protection ring including the first network element is used as a multi-protocol label switching protection ring to be created.
  • the embodiment of the present invention uses the first network element selection instruction of the receiving user, selects the first network element according to the first network element selection instruction of the user, and acquires the multi-protocol label including the first network element according to the selected first network element.
  • the switch protection ring is displayed; the obtained multi-protocol label switching protection ring including the first network element is received, and the multi-protocol label switching protection ring selection command of the user is received, and the multi-protocol label switching protection ring selection instruction is selected according to the user.
  • the multi-protocol label switching protection ring including the first network element is highlighted, and is the highlighted network element number in the multi-protocol label switching protection ring that includes the first network element.
  • the method for creating a multi-protocol label switching protection ring does not require the user to manually select each network element, especially when the user does not know the connection relationship of the network element. Next, you also need to select each network element in the order of connection.
  • the method provided by the embodiment of the present invention avoids the cumbersome network element selection process in the prior art, and avoids the problem of low success rate and low efficiency caused by user selection errors.
  • the MPLS protection ring can be created only after the MPLS protection ring that contains the network element is displayed. Effectively improve the success rate and efficiency of creating an MPLS protection ring.
  • the method further includes: receiving a second network element selection instruction of the user, and selecting a second network element according to the second network element selection instruction of the user, where the second network element Any one of the plurality of network elements except the first network element in the multi-protocol label switching protection ring that includes the first network element, and the second network element and the first network element are determined to include the a multi-protocol label switching protection ring of the second network element and the first network element; hiding the multi-protocol label switching protection ring including the first network element that does not include the second network element.
  • the first network element can be used by multiple MPLS protection rings.
  • the probability that the first network element and the second network element are simultaneously occupied by the same MPLS protection ring is greatly reduced. Therefore, the multi-protocol label switching protection ring shown above is displayed. Selecting another network element in the middle will exclude some MPLS protection rings that are displayed in step 102 but will not be used.
  • the method before the obtaining, by the first network element, the multi-protocol label switching protection ring that includes the first network element, the method further includes: according to the first network element, connecting to the network element connection relation database Searching for a multi-protocol label switching protection ring that includes the first network element, where the network element connection relation database includes a connection relationship between all network elements and network elements, and the network elements form a multi-protocol label switching through optical fiber connections. Protection ring.
  • the method further includes: hiding the multi-protocol label switching protection ring that includes the first network element that is not highlighted. After the user selects one of the displayed multi-protocol label switching protection rings, in order to more clearly display the MPLS protection ring selected by the user, other multi-protocol label switching including the first network element that is not highlighted may be hidden. Guarantee Protective ring.
  • the user configures basic attributes of the protection ring, including parameters such as name, switching mode, and bandwidth.
  • the multi-protocol label switching protection ring creation device receives the user's network element selection command, selects the network element E, and obtains the MPLS protection ring including the network element E according to the selected network element E. After the obtained result is displayed, the network element is included.
  • the first MPLS protection ring includes a network LA, a network element B, a network element C, a network element D, and a network element E.
  • the second MPLS protection ring includes a network element E, a network element F, a network element G, and a network element H.
  • the user browses the MPLS protection ring by using a mouse, and the device creates a multi-protocol label switching protection ring selection command of the user, and selects a protection ring according to the user's multi-protocol label exchange protection ring.
  • the command selects a multi-protocol label switching protection ring including the network element E, and highlights a multi-protocol label switching protection ring including the network element E selected according to the multi-protocol label switching protection ring selection instruction of the user.
  • the MPLS protection ring that is browsed will be highlighted, such as displaying the second MPLS protection ring in a highlighted manner; when the second MPLS protection is in the mouse point
  • the device automatically adds the network element on the second MPLS protection ring to the MPLS protection ring to be created, and numbers each network element according to the connection relationship of the network element to complete the creation of the MPLS protection ring.
  • the network element selection instruction of the user is received, and the network element E is selected according to the network element selection instruction of the user, and the multi-protocol label switching protection ring including the network element E is obtained according to the selected network element E; a multi-protocol label switching protection ring including the network element E, receiving a multi-protocol label switching protection ring selection instruction of the user, and selecting a multi-protocol label switching including the E network element according to the multi-protocol label switching protection ring selection instruction of the user a guard ring that highlights a multi-protocol label switching protection ring including the network element E selected according to the multi-protocol label switching protection ring selection command of the user, in the highlighted multi-protocol label switching protection ring NE number.
  • the method for creating a multi-protocol label switching protection ring does not require the user to manually select each network element, especially when the user does not know the connection relationship of the network element. Next, you also need to select each network element in the order of connection.
  • the method provided by the embodiment of the invention avoids the prior art
  • the cumbersome network element selection process during operation avoids the problem of low success rate and low efficiency caused by user selection errors.
  • the MPLS protection ring can be created only after the MPLS protection ring that contains the network element is displayed. Effectively improve the success rate and efficiency of creating an MPLS protection ring.
  • the network element F can be further selected, so that only the second MPLS protection ring can be used as the MPLS protection ring to be created.
  • an embodiment of the apparatus in the embodiment of the present invention includes: a receiving unit 201, a selecting unit 202, an obtaining unit 203, a displaying unit 204, and a numbering unit 205.
  • the receiving unit 201 is configured to receive a first network element selection instruction of the user.
  • the selecting unit 202 is configured to: after the receiving unit 201 receives the first network element selection instruction of the user, select the first network element according to the first network element selection instruction of the user;
  • the obtaining unit 203 is configured to acquire, according to the first network element selected by the selecting unit 202, a multi-protocol label switching protection ring that includes the first network element;
  • the display unit 204 is configured to display, after the obtaining unit 203 acquires the multi-protocol label switching protection ring that includes the first network element, the acquired multi-protocol label switching protection ring that includes the first network element;
  • the receiving unit 201 is further configured to: after the displayed display unit 204 displays the acquired multi-protocol label switching protection ring that includes the first network element, receive a multi-protocol label switching protection ring selection command of the user;
  • the selecting unit 202 is further configured to select a multi-protocol label switching protection ring that includes the first network element according to the multi-protocol label switching protection ring selection command of the user received by the receiving unit 201;
  • the display unit 204 is further configured to highlight a multi-protocol label switching protection ring that includes the first network element selected by the selecting unit 203;
  • the numbering unit 205 is configured to be used for the network element number in the multi-protocol label switching protection ring that is displayed by the display unit 204 and includes the first network element.
  • the receiving unit 201 receives the first network element selection instruction of the user, the selecting unit 202 selects the first network element according to the first network element selection instruction of the user, and the first selection unit 203 selects according to the selection unit 202.
  • the network element acquires a multi-protocol label switching protection ring that includes the first network element; the display unit 204 displays the acquired multi-protocol label switching protection ring that includes the first network element, and the receiving unit 201 receives multiple users.
  • the selection unit 202 Selecting a multi-protocol label switching protection ring including the first network element according to the multi-protocol label switching protection ring selection instruction of the user received by the receiving unit 201, the display unit 204 highlighting the inclusion of the selection unit 203
  • the multi-protocol label switching protection ring of the first network element, the numbering unit 205 is the network element number in the multi-protocol label switching protection ring that is highlighted by the display unit 204 and includes the first network element.
  • the method for creating a multi-protocol label switching protection ring does not require the user to manually select each network element, especially when the user does not know the connection relationship of the network element. Next, you also need to select each network element in the order of connection.
  • the method provided by the embodiment of the present invention avoids the cumbersome network element selection process in the prior art, and avoids the problem of low success rate and low efficiency caused by user selection errors. You only need to select a network element. After the MPLS protection ring that contains the network element is displayed, you can select an MPLS protection ring that contains the network element to create an MPLS protection ring. Effectively improve the success rate and efficiency of creating an MPLS protection ring.
  • another embodiment of the apparatus of the present invention further includes: a determining unit 206 and a hiding unit 207.
  • the receiving unit 201 is further configured to: after the displayed display unit 204 displays the acquired multi-protocol label switching protection ring that includes the first network element, receive a second network element selection instruction of the user;
  • the selecting unit 202 is further configured to select a second network element according to the second network element selection instruction of the user that is received by the receiving unit 201, where the second network element is displayed to include the first network element. Any one of the network elements except the first network element in the multi-protocol label switching protection ring;
  • a determining unit 206 configured to determine, according to the second network element selected by the selecting unit and the first network element, a multi-protocol label switching protection ring that includes the second network element and the first network element;
  • the hiding unit 207 is configured to: after the determining unit 206 determines the multi-protocol label switching protection ring that includes the second network element and the first network element, hiding the displayed information that does not include the second network element includes the Multi-protocol label switching protection ring of the first network element.
  • the receiving unit 201 receives a second network element selection instruction of the user
  • the selecting unit 202 selects a second network element according to the second network element selection instruction of the user received by the receiving unit 201
  • the determining unit 206 determines, according to the second network element selected by the selecting unit and the first network element, that the a multi-protocol label switching protection ring of the second network element and the first network element, the hiding unit 207 hiding the multi-protocol label switching protection including the first network element that does not include the second network element Protective ring.
  • the first network element can be used by multiple MPLS protection rings.
  • the probability that the first network element and the second network element are simultaneously occupied by the same MPLS protection ring is greatly reduced. Therefore, in the selected multi-protocol label switching protection ring. Selecting another network element will exclude some MPLS protection rings that have been displayed but will not be used.
  • another embodiment of the apparatus of the present invention further includes: a lookup unit 208.
  • the searching unit 208 is configured to search, according to the first network element selected by the selecting unit 202, the multi-protocol label switching protection ring that includes the first network element, where the network element is connected to a relational database.
  • the connection relationship between all network elements and network elements constitutes a multi-protocol label switching protection ring.
  • another embodiment of the apparatus of the present invention further includes: the hiding unit 208.
  • the hiding unit 208 is further configured to hide a multi-protocol label switching protection ring that includes the first network element that is not highlighted by the display unit 204.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种创建多协议标签交换保护环的方法,接收用户的第一网元选择指令,根据用户的第一网元选择指令选择第一网元,根据所选择第一网元获取包含所述第一网元的多协议标签交换保护环;显示所获取出的包含所述第一网元的多协议标签交换保护环;接收用户的多协议标签交换保护环选择指令,根据用户的多协议标签交换保护环选择指令选择并突出显示所述包含所述第一网元的多协议标签交换保护环;为所述被突出显示的包含所述第一网元的多协议标签交换保护环中的网元编号。本发明实施例提供的创建多协议标签交换保护环的方法可以提升创建MPLS保护环的成功率和效率。

Description

创建多协议标签交换保护环的方法及装置 技术领域
本发明实施例涉及通信领域,尤其涉及一种创建多协议标签交换 ( MPLS, Multiprotocol Label Switching )保护环的方法及装置。 背景技术
分组传送网 ( PTN, Packet Transport Network ) 利用边缘到边缘的伪线 仿真 ( PWE3, Pseudo Wire Emulat ion Edge-to-Edge )技术实现面向连接的业 务承载, 釆用针对电信承载网优化的多协议标签交换(MPLS , Mul t iprotocol Label Swi tching )转发技术, 配以完善的操作、管理和维护(0AM, Operat ion, Admini s trat ion and Ma intenance )保护倒换机制, 集中了分组传送网和同步 数字传输体制 (SDH , Synchronous Dig i ta l Hierarchy )传送网的优点, 使 PTN网络也具有简单高效的网络级保护, 实现了电信级别的业务。
MPLS 保护环的创建是网络建设阶段和网络维护阶段的一项重要工作; 当 前 MPLS保护环的创建过程为: 用户配置基本参数, 用户按照连接顺序选择网 元, 所有网元选择完后配置 MPLS保护环资源, 完成 MPLS保护环的创建。
本发明的发明人发现,现有技术中 MPLS保护环创建过程中存在以下问题: ( 1 )所有网元都是手工选择, 用户必须清楚了解 MPLS保护环经过哪些网元, 否则, MPLS 保护环无法创建成功。 (2 ) 网元选择顺序必须与网元物理连接顺 序保持一致, 要按照顺时针方向或逆时针方向依次选择, 否则, MPLS 保护环 无法创建成功。 ( 3 )创建 MPLS保护环对用户的技能要求非常高, 用户需了解 MPLS保护环的原理, 否则, 用户很难创建成功。 (4 )现有技术中 MPLS保护环 创建效率低, 选择网元的过程非常繁瑣, 易出错(选错网元或者顺序混乱), 出错后用户很难找到出错点, 影响用户体验。 发明内容
本发明实施例提供了一种创建多协议标签交换保护环的方法,可以提升创 建 MPLS保护环的成功率和效率。 本发明还提供了相应的装置。
本发明实施例提供的技术方案如下:
一种创建多协议标签交换保护环的方法, 包括: 接收用户的第一网元选择指令,根据用户的第一网元选择指令选择第一网 元, 根据所选择第一网元获取包含所述第一网元的多协议标签交换保护环; 显示所获取出的包含所述第一网元的多协议标签交换保护环;
接收用户的多协议标签交换保护环选择指令,根据用户的多协议标签交换 保护环选择指令选择并突出显示所述包含所述第一网元的多协议标签交换保 护环;
为所述被突出显示的包含所述第一网元的多协议标签交换保护环中的网 元编号。
一种创建多协议标签保护环的装置, 包括:
接收单元, 用于接收用户的第一网元选择指令;
选择单元, 用于在所述接收单元接收用户的第一网元选择指令后,根据用 户的第一网元选择指令选择第一网元;
获取单元,用于根据所述选择单元选择的第一网元获取包含所述第一网元 的多协议标签交换保护环;
显示单元,用于在所述获取单元获取包含所述第一网元的多协议标签交换 保护环后, 显示所获取出的包含所述第一网元的多协议标签交换保护环; 所述接收单元,还用于在所述显示单元显示所获取出的包含所述第一网元 的多协议标签交换保护环后, 接收用户的多协议标签交换保护环选择指令; 所述选择单元,还用于根据所述接收单元接收的用户的多协议标签交换保 护环选择指令选择包含所述第一网元的多协议标签交换保护环;
所述显示单元,还用于突出显示所述选择单元选择的包含所述第一网元的 多协议标签交换保护环;
编号单元,用于为所述被所述显示单元突出显示的包含所述第一网元的多 协议标签交换保护环中的网元编号。
从以上技术方案可以看出, 本发明实施例具有以下优点:
本发明实施例釆用接收用户的第一网元选择指令,根据用户的第一网元选 择指令选择第一网元,根据所选择第一网元获取包含所述第一网元的多协议标 签交换保护环; 显示所获取出的包含所述第一网元的多协议标签交换保护环; 接收用户的多协议标签交换保护环选择指令,根据用户的多协议标签交换保护 环选择指令选择并突出显示所述包含所述第一网元的多协议标签交换保护环; 为所述被突出显示的包含所述第一网元的多协议标签交换保护环中的网元编 号。与现有技术中手工创建 MPLS保护环相比,本发明实施例提供的创建多协 议标签交换保护环的方法不需要用户手工选择每一个网元,尤其是在用户不清 楚网元连接关系的情况下,还需要按照连接顺序选择每一个网元。本发明实施 例提供的方法避免了现有技术中繁瑣的网元选择过程,避免用户选择错误导致 的创建成功率和效率低得问题。 只需要用户选择一个网元,在包含所述网元的 MPLS保护环都显示出来后,再选择一个包含所述网元的 MPLS保护环就可以 实现 MPLS保护环的创建。 有效的提升创建 MPLS保护环的成功率和效率。 说明书附图
图 1 为本发明实施例中创建多协议标签交换保护环的方法的一实施例示 意图;
图 2为本发明应用场景实施例中的一示意图;
图 3为本发明应用场景实施例中的另一示意图;
图 4为本发明装置的一实施例示意图;
图 5为本发明装置的另一实施例示意图;
图 6为本发明装置的另一实施例示意图;
图 7为本发明装置的另一实施例示意图。 具体实施方式
本发明实施例提供了一种创建多协议标签交换保护环的方法,可以提升创 建 MPLS保护环的成功率和效率。 本发明还提供了相应的装置。
请参阅图 1 , 本发明提供的创建多协议标签交换保护环的方法的一实施例 包括:
101、 接收用户的第一网元选择指令, 根据用户的第一网元选择指令选择 第一网元,根据所选择第一网元获取包含所述第一网元的多协议标签交换保护 环。
MPLS保护环的创建是网络建设阶段和网络维护阶段的一项重要工作,创 建多协议标签交换保护环时,多协议标签交换保护环创建装置接收用户的第一 网元选择指令, 根据用户的第一网元选择指令选择第一网元, 根据第一网元, 以网元连接关系数据库为基础获取包含所述第一网元的多协议标签交换保护 环。
网元连接关系数据库中包含所有网元和网元之间的连接关系,网元间通过 光纤连接,几个网元通过光纤连接构成了一个闭环,也就是一个 MPLS保护环, 一个网元可能被两个或多个 MPLS保护环所共有,因此根据第一网元获取到的 MPLS保护环可能只有一个, 也可能有两个或多个。
102、 显示所获取出的包含所述第一网元的多协议标签交换保护环。
因根据第一网元获取的 MPLS保护环可能只有一个, 也可能有两个或多 个, 而最终确定下来的 MPLS保护环只能有一个, 所以需要在上述步骤 101 获取出来的包含第一网元的 MPLS保护环中选择一个作为工作的 MPLS保护 环,在选择前只有将每个包含所述第一网元的 MPLS保护环都显示出来才能供 用户选择。
103、 接收用户的多协议标签交换保护环选择指令, 根据用户的多协议标 签交换保护环选择指令选择并突出显示所述包含所述第一网元的多协议标签 交换保护环。
创建装置接收用户的多协议标签交换保护环选择指令,根据用户的多协议 标签交换保护环选择指令选择包含所述第一网元的多协议标签交换保护环,用 户可以通过鼠标进行选择,在选择了包含所述第一网元的多协议标签交换保护 环后 ,突出显示根据所述用户的多协议标签交换保护环选择指令所选择的包含 所述第一网元的多协议标签交换保护环。 突出显示具体包括:高亮显示、 变色 显示、加粗显示或者这几种方式的任意组合。本发明实施例对突出显示方式不 做限定, 只要能突出显示所述包含所述第一网元的多协议标签交换保护环,任 意一种突出显示方式都在本发明的保护范围。
104、 为所述被突出显示的包含所述第一网元的多协议标签交换保护环中 的网元编号。
在一个包含第一网元的多协议标签交换保护环被突出显示后,装置自动为 被突出显示的包含所述第一网元的 MPLS保护环中的每个网元编号,将所述编 号后的所述包含所述第一网元的多协议标签交换保护环做为要创建的多协议 标签交换保护环。
本发明实施例釆用接收用户的第一网元选择指令,根据用户的第一网元选 择指令选择第一网元,根据所选择第一网元获取包含所述第一网元的多协议标 签交换保护环; 显示所获取出的包含所述第一网元的多协议标签交换保护环, 接收用户的多协议标签交换保护环选择指令,根据用户的多协议标签交换保护 环选择指令选择并突出显示包含所述第一网元的多协议标签交换保护环,为所 述被突出显示的包含所述第一网元的多协议标签交换保护环中的网元编号。与 现有技术中手工创建 MPLS保护环相比,本发明实施例提供的创建多协议标签 交换保护环的方法不需要用户手工选择每一个网元,尤其是在用户不清楚网元 连接关系的情况下,还需要按照连接顺序选择每一个网元。本发明实施例提供 的方法避免了现有技术中繁瑣的网元选择过程,避免用户选择错误导致的创建 成功率和效率低得问题。 只需要用户选择一个网元, 在包含所述网元的 MPLS 保护环都显示出来后, 再选择一个包含所述网元的 MPLS 保护环就可以实现 MPLS保护环的创建。 有效的提升创建 MPLS保护环的成功率和效率。
在上述图 1对应的实施例的基础上,在步骤 102之后还包括: 接收用户的 第二网元选择指令,根据用户的第二网元选择指令选择第二网元, 所述第二网 元为所显示出的包含所述第一网元的多协议标签交换保护环中除所述第一网 元外的任意一个网元;根据所述第二网元和第一网元确定包含所述第二网元和 第一网元的多协议标签交换保护环;隐藏不包括第二网元的所述显示出的包含 所述第一网元的多协议标签交换保护环。
第一网元可以被多个 MPLS保护环共同使用,第一网元和第二网元被同一 个 MPLS保护环同时占有的几率就会大大降低,因此在上述显示出的多协议标 签交换保护环中再选择一个网元, 就会排除一些步骤 102显示出的,但又不会 被用到的 MPLS保护环。
在上述实施例基础上,在根据所选择第一网元获取包含所述第一网元的多 协议标签交换保护环前还包括:根据所述第一网元到所述网元连接关系数据库 中查找包含所述第一网元的多协议标签交换保护环,所述网元连接关系数据库 中包含所有网元和网元之间的连接关系,网元间通过光纤连接构成了一个多协 议标签交换保护环。
在上述实施例基础上,在步骤 104之后还可以包括: 隐藏所述没有被突出 显示的的包含所述第一网元的多协议标签交换保护环。在用户选中一个所述显 示出的多协议标签交换保护环后, 为了更清楚的显示用户选中的 MPLS 保护 环,也可以隐藏其他没有被突出显示的包含所述第一网元的多协议标签交换保 护环。
为了便于理解, 下面以一具体应用场景为例,对创建多协议标签交换保护 环的方法进行详细说明, 具体的:
本发明应用场景中的实施例包括:
参阅图 2, 首先, 按照现有技术中的方法, 用户配置保护环的基本属性, 包括名称、 倒换方式、 带宽等参数。 接下来, 多协议标签交换保护环创建装置 接收用户的网元选择指令, 选择网元 E, 根据选择的网元 E获取包含网元 E 的 MPLS保护环, 获取结果显示出来后可知, 包含网元 E的 MPLS保护环有 两个, 分别设为第一 MPLS保护环和第二 MPLS保护环, 第一 MPLS保护环 包括网 L A、 网元 B、 网元 C、 网元 D和网元 E, 第二 MPLS保护环包括网元 E、 网元 F、 网元 G和网元 H。
参阅图 3 , 包含网元 E的两个 MPLS保护环显示出来后, 用户利用鼠标浏 览 MPLS保护环,创建装置接收用户的多协议标签交换保护环选择指令,根据 用户的多协议标签交换保护环选择指令选择包含所述网元 E 的多协议标签交 换保护环,突出显示根据所述用户的多协议标签交换保护环选择指令所选择的 包含所述网元 E的多协议标签交换保护环。从表象上看也就是当用户通过鼠标 浏览 MPLS保护环时, 被浏览到的 MPLS保护环会突出显示出来, 如将第二 MPLS保护环以高亮的方式显示; 当鼠标点中第二 MPLS保护环后, 装置自动 将第二 MPLS保护环上的网元添加到要创建的 MPLS保护环, 并按照网元的 连接关系对每个网元进行编号, 完成 MPLS保护环的创建。
本应用场景中,接收用户的网元选择指令,根据用户的网元选择指令选择 网元 E,根据所选择网元 E获取包含所述网元 E的多协议标签交换保护环;显 示所获取出的包含所述网元 E的多协议标签交换保护环,接收用户的多协议标 签交换保护环选择指令,根据用户的多协议标签交换保护环选择指令选择包含 所述 E网元的多协议标签交换保护环,突出显示根据所述用户的多协议标签交 换保护环选择指令所选择的包含所述网元 E的多协议标签交换保护环,为所述 被突出显示的多协议标签交换保护环中的网元编号。 与现有技术中手工创建 MPLS保护环相比,本发明实施例提供的创建多协议标签交换保护环的方法不 需要用户手工选择每一个网元, 尤其是在用户不清楚网元连接关系的情况下, 还需要按照连接顺序选择每一个网元。本发明实施例提供的方法避免了现有技 术中繁瑣的网元选择过程,避免用户选择错误导致的创建成功率和效率低得问 题。只需要用户选择一个网元,在包含所述网元的 MPLS保护环都显示出来后, 再选择一个包含所述网元的 MPLS保护环就可以实现 MPLS保护环的创建。 有效的提升创建 MPLS保护环的成功率和效率。
实际上,在本应用场景中,在选择网元 E后,还可以再进一步选择网元 F , 这样, 就只剩下第二 MPLS保护环可以作为需要创建的 MPLS保护环。
参阅图 4, 本发明实施例中装置的一实施例包括: 接收单元 201、 选择单 元 202、 获取单元 203、 显示单元 204和编号单元 205。
接收单元 201 , 用于接收用户的第一网元选择指令;
选择单元 202,用于在所述接收单元 201接收用户的第一网元选择指令后, 根据用户的第一网元选择指令选择第一网元;
获取单元 203 , 用于根据所述选择单元 202选择的第一网元获取包含所述 第一网元的多协议标签交换保护环;
显示单元 204 , 用于在所述获取单元 203获取包含所述第一网元的多协议 标签交换保护环后,显示所获取出的包含所述第一网元的多协议标签交换保护 环;
所述接收单元 201 , 还用于在所述显示单元 204显示所获取出的包含所述 第一网元的多协议标签交换保护环后,接收用户的多协议标签交换保护环选择 指令;
所述选择单元 202, 还用于根据所述接收单元 201接收的用户的多协议标 签交换保护环选择指令选择包含所述第一网元的多协议标签交换保护环;
所述显示单元 204, 还用于突出显示所述选择单元 203选择的包含所述第 一网元的多协议标签交换保护环;
编号单元 205 , 用于为所述被所述显示单元 204突出显示的包含所述第一 网元的多协议标签交换保护环中的网元编号。
本发明实施例中,接收单元 201接收用户的第一网元选择指令, 选择单元 202根据用户的第一网元选择指令选择第一网元, 获取单元 203根据所述选择 单元 202选择的第一网元获取包含所述第一网元的多协议标签交换保护环;显 示单元 204显示所获取出的包含所述第一网元的多协议标签交换保护环 ,所述 接收单元 201接收用户的多协议标签交换保护环选择指令, 所述选择单元 202 根据所述接收单元 201 接收的用户的多协议标签交换保护环选择指令选择包 含所述第一网元的多协议标签交换保护环,所述显示单元 204突出显示所述选 择单元 203选择的包含所述第一网元的多协议标签交换保护环, 编号单元 205 为所述被所述显示单元 204 突出显示的包含所述第一网元的多协议标签交换 保护环中的网元编号。与现有技术中手工创建 MPLS保护环相比,本发明实施 例提供的创建多协议标签交换保护环的方法不需要用户手工选择每一个网元, 尤其是在用户不清楚网元连接关系的情况下,还需要按照连接顺序选择每一个 网元。本发明实施例提供的方法避免了现有技术中繁瑣的网元选择过程,避免 用户选择错误导致的创建成功率和效率低得问题。 只需要用户选择一个网元, 在包含所述网元的 MPLS 保护环都显示出来后, 再选择一个包含所述网元的 MPLS保护环就可以实现 MPLS保护环的创建。有效的提升创建 MPLS保护环 的成功率和效率。
在上述实施例基础上, 参阅图 5 , 所述本发明装置的另一实施例还包括: 确定单元 206和隐藏单元 207。
所述接收单元 201 , 还用于在所述显示单元 204显示所获取出的包含所述 第一网元的多协议标签交换保护环后, 接收用户的第二网元选择指令;
所述选择单元 202, 还用于根据所述接收单元 201接收的用户的第二网元 选择指令选择第二网元,所述第二网元为所显示出的包含所述第一网元的多协 议标签交换保护环中除所述第一网元外的任意一个网元;
确定单元 206 , 用于根据所述选择单元选择的第二网元和第一网元确定包 含所述第二网元和第一网元的多协议标签交换保护环;
隐藏单元 207 , 用于在所述确定单元 206确定包含所述第二网元和第一网 元的多协议标签交换保护环后,隐藏不包括第二网元的所述显示出的包含所述 第一网元的多协议标签交换保护环。
在上述实施例的基础上,所述接收单元 201在所述显示单元 204显示所获 取出的包含所述第一网元的多协议标签交换保护环后,接收用户的第二网元选 择指令,所述选择单元 202根据所述接收单元 201接收的用户的第二网元选择 指令选择第二网元,确定单元 206根据所述选择单元选择的第二网元和第一网 元确定包含所述第二网元和第一网元的多协议标签交换保护环, 隐藏单元 207 隐藏不包括第二网元的所述显示出的包含所述第一网元的多协议标签交换保 护环。第一网元可以被多个 MPLS保护环共同使用,第一网元和第二网元被同 一个 MPLS保护环同时占有的几率就会大大降低 ,因此在述选中的多协议标签 交换保护环中再选择一个网元, 就会排除一些已经显示出来,但又不会被用到 的 MPLS保护环。
在上述实施例基础上, 参阅图 6 , 所述本发明装置的另一实施例还包括: 查找单元 208。
查找单元 208 , 用于根据所述选择单元 202选择的第一网元到所述网元连 接关系数据库中查找包含所述第一网元的多协议标签交换保护环,所述网元连 接关系数据库中包含所有网元和网元之间的连接关系构成了一个多协议标签 交换保护环。
在上述实施例基础上, 参阅图 7 , 所述本发明装置的另一实施例还包括: 所述隐藏单元 208。
所述隐藏单元 208 , 还用于隐藏所述显示单元 204没有突出显示的包含所 述第一网元的多协议标签交换保护环。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成 ,该程序可以存储于一种计算机可读存 储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上对本发明所提供的创建多协议标签交换保护环的方法及装置进行了 详细介绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实 施方式及应用范围上均会有改变之处, 因此, 本说明书内容不应理解为对本发 明的限制。

Claims

权 利 要 求
1、 一种创建多协议标签交换保护环的方法, 其特征在于, 包括: 接收用户的第一网元选择指令,根据用户的第一网元选择指令选择第一网 元, 根据所选择第一网元获取包含所述第一网元的多协议标签交换保护环; 显示所获取出的包含所述第一网元的多协议标签交换保护环;
接收用户的多协议标签交换保护环选择指令,根据用户的多协议标签交换 保护环选择指令选择并突出显示所述包含所述第一网元的多协议标签交换保 护环;
为所述被突出显示的包含所述第一网元的多协议标签交换保护环中的网 元编号。
2、 根据权利要求 1所述的多协议标签交换保护环的方法, 其特征在于, 还包括:
将所述编号后的所述包含所述第一网元的多协议标签交换保护环做为要 创建的多协议标签交换保护环。
3、 根据权利要求 1所述的多协议标签交换保护环的方法, 其特征在于, 所述显示所获取出的包含所述第一网元的多协议标签交换保护环后还包括: 接收用户的第二网元选择指令,根据用户的第二网元选择指令选择第二网 元,所述第二网元为所显示出的包含所述第一网元的多协议标签交换保护环中 除所述第一网元外的任意一个网元;
根据所述第二网元和第一网元确定包含所述第二网元和第一网元的多协 议标签交换保护环;
隐藏不包括第二网元的所述显示出的包含所述第一网元的多协议标签交 换保护环。
4、 根据权利要求 1~3任意一项所述的多协议标签交换保护环的方法, 其 特征在于,所述根据所选择第一网元获取包含所述第一网元的多协议标签交换 保护环前还包括:
根据所述第一网元到所述网元连接关系数据库中查找包含所述第一网元 的多协议标签交换保护环,所述网元连接关系数据库中包含所有网元和网元之 间的连接关系, 网元间通过光纤连接构成了一个多协议标签交换保护环。
5、 根据权利要求 1~3任意一项所述的多协议标签交换保护环的方法, 其 特征在于,突出显示根据所述用户的多协议标签交换保护环选择指令所选择的 包含所述第一网元的多协议标签交换保护环后还包括:
隐藏所述没有被突出显示的包含所述第一网元的多协议标签交换保护环。
6、 根据权利要求 1或 2所述的多协议标签交换保护环的方法, 其特征在 于, 所述突出显示具体包括:高亮显示、 变色显示、 加粗显示或者上述各种显 示中的任意两种或三者得组合显示。
7、 一种创建多协议标签保护环的装置, 其特征在于, 包括:
接收单元, 用于接收用户的第一网元选择指令;
选择单元, 用于在所述接收单元接收用户的第一网元选择指令后,根据用 户的第一网元选择指令选择第一网元;
获取单元,用于根据所述选择单元选择的第一网元获取包含所述第一网元 的多协议标签交换保护环;
显示单元 ,用于在所述获取单元获取包含所述第一网元的多协议标签交换 保护环后, 显示所获取出的包含所述第一网元的多协议标签交换保护环; 所述接收单元,还用于在所述显示单元显示所获取出的包含所述第一网元 的多协议标签交换保护环后, 接收用户的多协议标签交换保护环选择指令; 所述选择单元,还用于根据所述接收单元接收的用户的多协议标签交换保 护环选择指令选择包含所述第一网元的多协议标签交换保护环;
所述显示单元,还用于突出显示所述选择单元选择的包含所述第一网元的 多协议标签交换保护环;
编号单元,用于为所述被所述显示单元突出显示的包含所述第一网元的多 协议标签交换保护环中的网元编号。
8、 根据权利要求 7所述的装置, 其特征在于, 还包括:
所述接收单元,还用于在所述显示单元显示所获取出的包含所述第一网元 的多协议标签交换保护环后, 接收用户的第二网元选择指令;
所述选择单元,还用于根据所述接收单元接收的用户的第二网元选择指令 选择第二网元,所述第二网元为所显示出的包含所述第一网元的多协议标签交 换保护环中除所述第一网元外的任意一个网元;
确定单元,用于根据所述选择单元选择的第二网元和第一网元确定包含所 述第二网元和第一网元的多协议标签交换保护环;
隐藏单元, 用于在所述选择单元选择第二网元后, 隐藏不包括第二网元的 所述显示出的包含所述第一网元的多协议标签交换保护环。
9、 根据权利要求 7或 8所述的装置, 其特征在于, 还包括:
查找单元,用于根据所述选择单元选择的第一网元到所述网元连接关系数 据库中查找包含所述第一网元的多协议标签交换保护环 ,所述网元连接关系数 据库中包含所有网元和网元之间的连接关系,网元间通过光纤连接构成了一个 多协议标签交换保护环。
10、 根据权利要求 8所述的装置, 其特征在于, 还包括:
所述隐藏单元,还用于隐藏所述显示单元没有突出显示的包含所述第一网 元的多协议标签交换保护环。
PCT/CN2012/084566 2011-11-14 2012-11-14 创建多协议标签交换保护环的方法及装置 WO2013071859A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011103590632A CN102404209A (zh) 2011-11-14 2011-11-14 创建多协议标签交换保护环的方法及装置
CN201110359063.2 2011-11-14

Publications (1)

Publication Number Publication Date
WO2013071859A1 true WO2013071859A1 (zh) 2013-05-23

Family

ID=45886012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084566 WO2013071859A1 (zh) 2011-11-14 2012-11-14 创建多协议标签交换保护环的方法及装置

Country Status (2)

Country Link
CN (1) CN102404209A (zh)
WO (1) WO2013071859A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404209A (zh) * 2011-11-14 2012-04-04 华为技术有限公司 创建多协议标签交换保护环的方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7168044B1 (en) * 2000-12-22 2007-01-23 Turin Networks Apparatus and method for automatic network connection provisioning
CN101834735A (zh) * 2009-03-11 2010-09-15 北京启明星辰信息技术股份有限公司 一种大规模网络节点拓扑结构的显示方法和显示装置
CN102404209A (zh) * 2011-11-14 2012-04-04 华为技术有限公司 创建多协议标签交换保护环的方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI117078B (fi) * 2003-10-14 2006-05-31 Medicel Oy Suurten informaatioverkkojen visualisointi
CN101702656B (zh) * 2009-11-11 2011-11-30 北京神州泰岳软件股份有限公司 一种基于snmp的mpls-vpn网络拓扑发现方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7168044B1 (en) * 2000-12-22 2007-01-23 Turin Networks Apparatus and method for automatic network connection provisioning
CN101834735A (zh) * 2009-03-11 2010-09-15 北京启明星辰信息技术股份有限公司 一种大规模网络节点拓扑结构的显示方法和显示装置
CN102404209A (zh) * 2011-11-14 2012-04-04 华为技术有限公司 创建多协议标签交换保护环的方法及装置

Also Published As

Publication number Publication date
CN102404209A (zh) 2012-04-04

Similar Documents

Publication Publication Date Title
EP2281366B1 (en) Method and apparatus for providing full logical connectivity in mpls networks
US7436782B2 (en) Full mesh LSP and full mesh T-LDP provisioning between provider edge routers in support of Layer-2 and Layer-3 virtual private network services
US7453888B2 (en) Stackable virtual local area network provisioning in bridged networks
CN108574639A (zh) Evpn报文处理方法、设备及系统
CN108574630A (zh) Evpn报文处理方法、设备及系统
RU2528149C1 (ru) Способ коммутации туннеля и система сервисов многопротокольной коммутации по меткам
US9049148B1 (en) Dynamic forwarding plane reconfiguration in a network device
CN105515802B (zh) 网络虚拟化方法及装置
US20150131672A1 (en) Method, device and system for establishing a pseudo wire
WO2009056039A1 (fr) Procédé et dispositif pour réaliser une distribution automatique d'étiquette de travail qinq terminal à terminal
JP2012507909A (ja) Rsvp−teを用いるシングルルートマルチポイントサービスにおけるマルチキャスト及び双方向ユニキャストのシグナリング
WO2014019402A1 (zh) 网络故障维护中业务路径的显示方法及装置
EP1394998A2 (en) Improved virtual local area network provisioning in bridged networks
WO2015027736A1 (zh) 分层虚拟专用局域网服务的实现方法及装置
US8238265B2 (en) Auto-binding SDP RSVP LSP tunnel
CN102474451A (zh) 连接内层和外层mpls标签
CN113904981B (zh) 一种路由信息处理方法、装置、电子设备和存储介质
WO2011066772A1 (zh) 一种无源光网络业务的配置方法及装置
WO2013097453A1 (zh) 实现以太树业务的方法及运营商边缘设备
Ren et al. Analysis of the new features of openflow 1.4
WO2013071859A1 (zh) 创建多协议标签交换保护环的方法及装置
US20130250962A1 (en) Method and apparatus for label distribution
EP2627037A1 (en) Network configuration method, ring network system, and node
WO2012062106A1 (zh) 线性保护组隧道复用方法和隧道尾节点
US9893930B2 (en) Method and device for processing data forwarding

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: 12850249

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12850249

Country of ref document: EP

Kind code of ref document: A1