MPLSVPN automatic opening method and device

文档序号:1834590 发布日期:2021-11-12 浏览:6次 中文

阅读说明:本技术 一种mplsvpn自动开通方法及装置 (MPLSVPN automatic opening method and device ) 是由 张志海 潘信宏 唐元 阳佑敏 黄国伦 林和昀 蓝天宝 黄一霖 蔡晓兰 磨唯 李买 于 2021-06-21 设计创作,主要内容包括:本发明公开了一种MPLSVPN自动开通方法及装置。方法包括接入点数据配置和普通点数据配置,根据这两种配置方式进入对应的两种配置流程,然后自动分配、预占、占用MPLSVPN开通所涉及设备的设备信息相关参数,并自动识别匹配不同厂商不同型号网元所对应的MPLSVPN业务开通模板,最后输出配置结果,配置结果为配置成功则完成MPLSVPN自动开通;装置包括发送模块;接收模块;分析模块;配置模块。本发明根据拓扑自动分析出业务路由,业务配置所涉及的网元均已纳管即具备业务开通条件后,自动化完成业务的配置下发,以解决相关技术中MPLSVPN开通需要人工操作的问题。(The invention discloses an MPLSVPN automatic opening method and device. The method comprises the steps of access point data configuration and common point data configuration, entering two corresponding configuration flows according to the two configuration modes, then automatically distributing, pre-occupying and occupying equipment information related parameters of equipment related to MPLSVPN opening, automatically identifying and matching MPLSVPN service opening templates corresponding to different types of network elements of different manufacturers, and finally outputting a configuration result, wherein the MPLSVPN automatic opening is completed if the configuration result is successful; the device comprises a sending module; a receiving module; an analysis module; and configuring the module. The invention automatically analyzes the service route according to the topology, automatically completes the configuration and issuing of the service after the network elements related to the service configuration are managed, namely have the service opening condition, so as to solve the problem that the MPLSVPN opening needs manual operation in the related technology.)

1. An MPLSVPN automatic opening method is characterized by comprising the following steps:

the front-end system sends an MPLSVPN opening work order to an MPLSVPN automatic opening device;

the MPLSVPN automatic opening device receives the work order and the MPLSVPN opening service in the work order;

automatically analyzing equipment related to MPLSVPN opening according to the MPLSVPN opening service topology;

acquiring and storing equipment information of equipment related to the MPLSVPN opening;

selecting a configuration mode according to the equipment information;

and outputting the configuration result as successful configuration or failed configuration.

2. The MPLSVPN automatic opening method according to claim 1, wherein the selecting a configuration mode according to the device information includes:

judging the data type of the equipment information, and selecting access point data configuration if the equipment information is access point data; and if the equipment information is common point data, selecting common point data configuration.

3. The MPLSVPN automatic opening method according to claim 2, wherein the access point data configuration includes checking whether the device information is complete and error-free, and if yes, collecting related parameters of the device information and checking whether all the device information has been managed; if not, the output configuration result fails to output configuration;

acquiring relevant parameters of the equipment information and checking whether all the equipment information is managed, if so, establishing the MPLSVPN opening work order as a new or point-supplementing type work order; if not, the output configuration result fails to output configuration.

4. The MPLSVPN automatic provisioning method of claim 3, wherein after the new or point-supplemented type of work order is created, the MPLSVPN automatic provisioning method further comprises:

checking whether an MSE sub-interface of equipment related to the MPLSVPN opening is available through the MPLSVPN opening work order, and if so, configuring MSE equipment in the equipment; if not, the output configuration result fails to output configuration;

configuring the MSE device comprises checking vrf of the MSE device for existence, and if not, configuring vrf, a sub-interface, a sub-bgp and a static address of the MSE device; if so, outputting the configuration result and failing to configure;

judging whether the configuration vrf, the sub-interfaces, the sub-bgp and the static addresses are successful, if so, completing the MSE equipment configuration and starting to configure OLT equipment in the equipment; if not, the output configuration result fails to output configuration.

5. The MPLSVPN automatic opening method according to claim 4, wherein configuring the OLT device comprises checking whether the Loid of the OLT device already exists, and if not, acquiring the Onouid of the OLT device; if so, outputting the configuration result and failing to configure;

after the obtaining of the Ouid, the method for automatically opening the MPLSVPN further comprises the following steps:

judging whether the Onuid is available, if so, issuing user data of the equipment; if not, the output configuration result fails to output configuration.

6. The MPLSVPN automatic opening method according to claim 5, wherein after the user data is issued, the MPLSVPN automatic opening method further comprises:

judging whether the user data is successfully issued, if so, finishing the configuration of the OLT equipment, and outputting a configuration result to be successfully configured; if not, the output configuration result fails to output configuration.

7. The MPLSVPN automatic opening method according to claim 2, wherein the general point data configuration includes checking whether the device information is complete and error-free, and if yes, determining whether in-library resources of the device are available; if not, the output configuration result fails to output configuration;

judging whether the resources in the library of the equipment are available, and if so, establishing the MPLSVPN opening work order as a new-opening or point-supplementing type work order; if not, the output configuration result fails to output configuration.

8. The MPLSVPN automatic provisioning method of claim 7, wherein after the new or point-supplemented type of work order is created, the MPLSVPN automatic provisioning method further comprises:

opening a work order through the MPLSVPN, and configuring ASBR equipment in the equipment; the configuring the ASBR device comprises checking whether vrf of the ASBR device already exists, and if not, configuring vrf before configuring a subinterface of the ASBR device; if yes, directly configuring the sub-interface;

after the sub-interface is configured, the MPLSVPN automatic opening method further includes:

configuring the bgp of the ASBR equipment, then judging whether the bgp is successfully configured, if so, completing the ASBR equipment configuration, and outputting a configuration result to be successfully configured; if not, the output configuration result fails to output configuration.

9. The MPLSVPN automatic opening method according to claim 3 or claim 7, wherein the collecting of the relevant parameters of the device information mainly adopts two collecting modes, the first mode is to collect the relevant parameters of the device information into a relevant table first, and then read data of the relevant table; the second is to directly acquire the equipment involved in MPLSVPN opening.

10. An automatic turn-on device of MPLSVPN, characterized by comprising:

the transmitting module is used for transmitting the MPLSVPN starting work order to the MPLSVPN automatic starting device;

the receiving module is used for receiving the work order and the MPLSVPN opening service in the work order;

the analyzing module is used for automatically analyzing equipment related to MPLSVPN opening according to the MPLSVPN opening service topology and checking equipment information of the equipment related to the MPLSVPN opening;

and the configuration module is used for collecting relevant parameters of the equipment information, performing overall management, automatically distributing, pre-occupying and occupying relevant logic resource parameters, automatically identifying and matching MPLSVPN service opening templates corresponding to different types of network elements of different manufacturers, and automatically completing the configuration of the MPLSVPN.

Technical Field

The application relates to the technical field of internet, in particular to an MPLSVPN automatic opening method and device.

Background

MPLSVPN (Multi Protocol Label Switching Virtual Private Network) refers to an enterprise IP Private Network constructed on an operator broadband IP Network by using MPLS technology, so as to implement cross-regional, safe, high-speed, reliable data, voice, image Multi-service communication, and combine related technologies such as difference service and traffic engineering, so as to combine reliable performance, good extensibility, rich functions of a public Network with safety, flexibility and high efficiency of a Private Network, thereby providing high-quality service for users.

The mpls vpn configuration is complex, and configuring a Service involves multiple devices such as a BAS (Broadband Access Server/Broadband Remote Access Server), an SR (Service Router), and a switch. The traditional manual mode is used for getting through the equipment configuration one by one, which wastes time and labor. Due to the fact that the number of related service parameters is large, and the problem of unified cooperation of related resource parameters is solved, the complexity of manual configuration is increased, the resource parameters are maintained manually, and the condition of inaccuracy exists, and service configuration issuing is failed.

When the service is manually opened, the front-end service department and the resource department can manually tell Network operators which devices are to be configured by the service, and what are the configured service ports and the configured VLAN (Virtual Local Area Network). Network operators find out the network elements required by service configuration according to network topology, and perform script configuration and issue according to the network element types, the network element roles and the network element models and the service requirements, wherein the issued configuration parameters need manual maintenance.

There is a need for a method to complete the automatic turn-on of MPLSVPN. The automatic opening requirement of the MPLSVPN is met through the mechanism design of business process design, business resource distribution, pre-occupation, occupation and the like.

Disclosure of Invention

The invention mainly aims to provide an MPLSVPN automatic opening method and a device, so as to solve the problem that the MPLSVPN opening in the related technology needs manual operation.

The specific technical scheme of the invention is as follows: an MPLSVPN automatic opening method includes:

the front-end system sends an MPLSVPN opening work order to an MPLSVPN automatic opening device;

the MPLSVPN automatic opening device receives the work order and the MPLSVPN opening service in the work order;

automatically analyzing equipment related to MPLSVPN opening according to the MPLSVPN opening service topology;

acquiring and storing equipment information of equipment related to the MPLSVPN opening;

selecting a configuration mode according to the equipment information;

and outputting the configuration result as successful configuration or failed configuration.

Preferably, the selecting a configuration mode according to the device information includes: judging the data type of the equipment information, and selecting access point data configuration if the equipment information is access point data; and if the equipment information is common point data, selecting common point data configuration.

Further, the access point data configuration includes checking whether the equipment information is complete and error-free, and if so, acquiring relevant parameters of the equipment information and checking whether all the equipment information is managed; if not, the output configuration result fails to output configuration;

acquiring relevant parameters of the equipment information and checking whether all the equipment information is managed, if so, establishing the MPLSVPN opening work order as a new or point-supplementing type work order; if not, the output configuration result fails to output configuration.

Further, after the new issue or the repair point type work order is created, the MPLSVPN automatic opening method further includes:

checking whether an MSE sub-interface of equipment related to the MPLSVPN opening is available through the MPLSVPN opening work order, and if so, configuring MSE equipment in the equipment; if not, the output configuration result fails to output configuration;

configuring the MSE device comprises checking vrf of the MSE device for existence, and if not, configuring vrf, a sub-interface, a sub-bgp and a static address of the MSE device; if so, outputting the configuration result and failing to configure;

judging whether the configuration vrf, the sub-interfaces, the sub-bgp and the static addresses are successful, if so, completing the MSE equipment configuration and starting to configure OLT equipment in the equipment; if not, the output configuration result fails to output configuration.

Further, configuring the OLT device includes checking whether the Loid of the OLT device already exists, and if not, acquiring the online of the OLT device; if so, outputting the configuration result and failing to configure;

after the obtaining of the Ouid, the method for automatically opening the MPLSVPN further comprises the following steps:

judging whether the Onuid is available, if so, issuing user data of the equipment; if not, the output configuration result fails to output configuration.

Further, after the user data is issued, the MPLSVPN automatic opening method further includes:

judging whether the user data is successfully issued, if so, finishing the configuration of the OLT equipment, and outputting a configuration result to be successfully configured; if not, the output configuration result fails to output configuration.

Further, the common point data configuration comprises checking whether the equipment information is complete and correct, and if yes, judging whether resources in a library of the equipment are available; if not, the output configuration result fails to output configuration;

judging whether the resources in the library of the equipment are available, and if so, establishing the MPLSVPN opening work order as a new-opening or point-supplementing type work order; if not, the output configuration result fails to output configuration.

Further, after the new point or patch type work order is created, the MPLSVPN automatic opening method further includes:

opening a work order through the MPLSVPN, and configuring ASBR equipment in the equipment; the configuring the ASBR device comprises checking whether vrf of the ASBR device already exists, and if not, configuring vrf before configuring a subinterface of the ASBR device; if yes, directly configuring the sub-interface;

after the sub-interface is configured, the MPLSVPN automatic opening method further includes:

configuring the bgp of the ASBR equipment, then judging whether the bgp is successfully configured, if so, completing the ASBR equipment configuration, and outputting a configuration result to be successfully configured; if not, the output configuration result fails to output configuration.

Preferably, the collecting of the relevant parameters of the equipment information mainly adopts two collecting modes, wherein the first mode is to collect the relevant parameters of the equipment information into a relevant table and then read the data of the relevant table; the second is to directly acquire the equipment involved in MPLSVPN opening.

The invention also includes a MPLSVPN automatic opening device, including:

the transmitting module is used for transmitting the MPLSVPN starting work order to the MPLSVPN automatic starting device;

the receiving module is used for receiving the work order and the MPLSVPN opening service in the work order;

the analyzing module is used for automatically analyzing equipment related to MPLSVPN opening according to the MPLSVPN opening service topology and checking equipment information of the equipment related to the MPLSVPN opening;

and the configuration module is used for collecting relevant parameters of the equipment information, performing overall management, automatically distributing, pre-occupying and occupying relevant logic resource parameters, automatically identifying and matching MPLSVPN service opening templates corresponding to different types of network elements of different manufacturers, and automatically completing the configuration of the MPLSVPN.

The invention has the following beneficial effects: the device is oriented to the current network resources of the IP network, takes the flow as the drive and takes the automatic means as the hand grip, and creates an MPLSVPN opening high-efficiency and automatic system. The work order processing automation is realized, the manual intervention is changed into automation, and the operation and maintenance efficiency is improved; the resource allocation automation is realized, the automatic allocation of the service opening resources is realized, and the success rate of service opening is improved; the method realizes the automation of business arrangement, realizes the scene of complex business and reduces the dependency of business experts. The service allocation resources are unified with the resources of the existing network, and the availability of the resources of the whole network is ensured by the conversion of the traditional received resource allocation result and the passive resource ratio to the resource allocation main body of the existing network.

Drawings

Fig. 1 is a schematic structural diagram of an embodiment of an MPLSVPN automatic turn-on device.

Fig. 2 is a main flow chart of an embodiment of an MPLSVPN automatic turn-on method.

Fig. 3 is a flowchart 1 of an embodiment of an MPLSVPN automatic turn-on method.

Fig. 4 is a flowchart 2 of an embodiment of an MPLSVPN automatic turn-on method.

Fig. 5 is a flowchart 3 of an implementation example of the MPLSVPN automatic turn-on method.

Detailed Description

The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.

The embodiment of the invention provides an MPLSVPN (Multi Protocol Label Switching Virtual Private Network) automatic opening method and device, as shown in fig. 1, the sequential relationship of modules of the MPLSVPN automatic opening device is as follows:

101: a sending module: and the front-end system sends the MPLSVPN opening work order to the MPLSVPN automatic opening device.

102: a receiving module: and the MPLSVPN automatic opening device receives the work order and the MPLSVPN opening service in the work order.

103: an analysis module: automatically analyzing equipment related to MPLSVPN opening according to the MPLSVPN opening service topology; and checking the equipment information of the equipment related to the MPLSVPN opening.

The Service information includes a Service type, an activation model, a Service operation type, an operation point, an SR (Service Router) device IP (Internet Protocol), an SR device interface IP, user broadband information, an inner VLAN (Virtual Local Area Network), an outer VLAN, an ouid (identifier of UID), a VRF (Virtual Routing Forwarding) name, a VRF description, an RD (Route Distinguisher, Route identifier), an inport rt, and an export rt (Route-Target is carried as an extended group attribute when a prefix is advertised in a vpnv4 Route), and the Service information is not complete or an error is immediately returned to a front end system.

104: a configuration module: collecting relevant parameters of the equipment information and performing overall management; automatically distributing, pre-occupying and occupying relevant logic resource parameters, and automatically identifying and matching MPLSVPN service opening templates corresponding to different types of network elements of different manufacturers; and automatically completing the configuration of the MPLSVPN.

The first method is to collect the relevant parameters of the equipment information into a relevant table and then read the data of the relevant table; the second is to directly acquire the equipment involved in MPLSVPN opening.

Two ways of configuring the MPLSVPN are provided, namely access point data configuration and common point data configuration; the access point data configuration comprises the steps of judging whether all relevant parameters of the equipment information are managed, establishing a new-opened or point-supplemented type work order, configuring an MSE (Multi-Service edge Router) equipment, configuring an OLT (Optical Line Terminal) equipment and outputting a configuration result; the common point data configuration includes judging whether the resources in the library related to the MPLSVPN opening are available, building a new or point-supplementing type work order, configuring ASBR (Autonomous System Boundary Router) equipment, and outputting a configuration result.

As shown in fig. 2, 3, 4 and 5, the detailed flow of the MPLSVPN automatic opening method is as follows:

s201: the front-end system sends an MPLSVPN opening work order to an MPLSVPN automatic opening device; entering S202;

s202: the MPLSVPN automatic opening device receives and stores the information of the MPLSVPN opening work order; entering S203;

the MPLSVPN opening device stores the information of the MPLSVPN opening work order to a storage interface DB;

s203: the MPLSVPN automatic opening device judges whether the configuration type is access point data configuration or common point data configuration; entering S204 if the access point data configuration is judged after the judgment; after the judgment, the ordinary point data configuration is performed, and then the step S211 is entered;

s204: configuring access point data; entering S205;

configuring MPLSVPN, wherein different access scenes relate to a plurality of devices such as ASBR, MSE, OLT, BAS, SR, switches and the like;

the equipment related to MPLSVPN opening of the access point data configuration mode mainly comprises MSE equipment and OLT equipment;

MSE devices include SR (CR) and BAS devices;

the gateway termination of the user with the fixed address is carried out on the SR equipment;

home broadband, iptv, such a dial-up gateway, is in BAS devices;

MSE devices combine the functions of SR and BAS devices.

S205: checking whether the equipment information of the equipment related to the MPLSVPN opening is abnormal or not; if the equipment information is abnormal, the step S209 is entered; the information equipment enters S206 if no abnormity exists;

if the parameters of the equipment information are incomplete or wrong, the response interface effect parameters fail, and the equipment information is judged to be abnormal;

s206: the MPLSVPN automatic opening device checks whether all the equipment information related to the MPLSVPN opening is managed or not through the MPLSVPN opening work order, and if the equipment information is not managed, the step S209 is carried out; entering S207 after the tube is received;

all the equipment information is managed, namely the network elements related to the service configuration are managed, the equipment information has service provisioning conditions, and the MPLSVPN automatic provisioning device receives orders;

s207: establishing a new starting/supplementing point type MPLSVPN starting work order; entering S208;

s208: configuring MSE equipment in equipment related to the MPLSVPN opening; entering S2081;

s2081: checking whether the MSE sub-interface is available; if not, entering S210; if the current time is available, the operation enters S2082;

s2082: checking vrf for the MSE device to be present; if yes, entering S210; otherwise, entering S2083;

s2083: configuring the vrf; entering S2084;

s2084: configuring the sub-interface; entering S2085;

an example of code to configure a subinterface is as follows:

interface GigabitEthernet1/0/2.999

vlan-type dot1q 999

description USER::MPLSVPNCLOUD::B14099999::::ZhongGuoDianXinGuFen.COBJFen.Co

ip binding vpn-instance CTVPN0000001-BJTEL

ip address 10.10.10.1255.255.255.252

s2085: configuring a child bgp (border gateway protocol); entering S2086;

s2086: configuring a static address; if the configuration is failed, the step S210 is entered; entering S2087 if the configuration is successful;

s2087: completing the MSE equipment configuration; proceeding to S209;

s209: configuring OLT equipment in equipment related to the MPLSVPN opening; entering S2091;

s2091: checking whether a local identifier (Logical ONU identifier) already exists; if the current exists, the step S210 is entered; if not, entering S2092;

s2092: acquiring Onuid and judging whether the Onuid is available; if not, entering S210; if yes, go to S2093;

s2093: user data is issued; if the user data fails to be issued, the process goes to S210; if the issuing is successful, entering S2094;

s2094: the OLT equipment configuration is completed; entering S211;

s210: outputting a configuration failure;

s211: the output configuration is successful, and the automatic opening of the MPLSVPN is completed;

s212: common point data configuration; proceeding to S213;

the equipment related to MPLSVPN opening of the common point data configuration mode is mainly ASBR equipment;

s213: checking whether the equipment information of the equipment related to the MPLSVPN opening is abnormal or not; if the equipment information is abnormal, the step S217 is carried out; the information equipment enters S214 if no abnormity exists;

s214: the MPLSVPN automatic opening device checks whether resources in a library of equipment related to MPLSVPN opening are available through the MPLSVPN opening work order, and if the resources are not available, the method enters S217; if available, go to S215;

s215: establishing a new starting/supplementing point type MPLSVPN starting work order; entering S216;

s216: configuring ASBR equipment in equipment related to the MPLSVPN opening; proceeding to S2161;

s2161: checking vrf of the ASBR device for presence; if yes, go to S2163; otherwise, entering S2162;

s2162: configuring the vrf; proceeding to S2163;

s2163: configuring a sub-interface; proceeding to S2164;

s2164: configuring bgp; if the configuration is failed, the step S217 is entered; entering S2165 if the configuration is successful;

s2165: the ASBR equipment is successfully configured; entering S218;

s217: outputting a configuration failure;

s218: and (5) the output configuration is successful, and the automatic opening of the MPLSVPN is completed.

The invention has the following beneficial effects: the MPLSVPN automatic opening method connects all systems related to the opening service flow of the MPLSVPN opening work order in series, the MPLSVPN service circulation and opening do not need manual intervention, the whole flow is automatically completed, and the closed-loop management of the flow is completed through a receipt interface.

In the description of the present invention, it is to be understood that the terms "intermediate", "length", "upper", "lower", "front", "rear", "vertical", "horizontal", "inner", "outer", "radial", "circumferential", and the like, indicate orientations and positional relationships that are based on the orientations and positional relationships shown in the drawings, are used for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and therefore, are not to be construed as limiting the present invention.

In the present invention, unless otherwise expressly stated or limited, the first feature may be "on" the second feature in direct contact with the second feature, or the first and second features may be in indirect contact via an intermediate. "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; may be mechanically coupled, may be electrically coupled or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.

The above description is for the purpose of illustrating embodiments of the invention and is not intended to limit the invention, and it will be apparent to those skilled in the art that any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the invention shall fall within the protection scope of the invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于IPSec协议的多通道智能选路方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!