WO2016177039A1 - 隧道的调整方法及装置 - Google Patents

隧道的调整方法及装置 Download PDF

Info

Publication number
WO2016177039A1
WO2016177039A1 PCT/CN2016/074853 CN2016074853W WO2016177039A1 WO 2016177039 A1 WO2016177039 A1 WO 2016177039A1 CN 2016074853 W CN2016074853 W CN 2016074853W WO 2016177039 A1 WO2016177039 A1 WO 2016177039A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
information
type
tunnels
migration
Prior art date
Application number
PCT/CN2016/074853
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 WO2016177039A1 publication Critical patent/WO2016177039A1/zh

Links

Images

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

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for adjusting a tunnel.
  • the tunnel After the network topology changes, the tunnel must be modified accordingly.
  • the single tunnel modification function can be adjusted one by one, and the time and labor consumption cannot meet the engineering network transformation.
  • the invention provides a method and a device for adjusting a tunnel, so as to solve at least the problem that the tunnel modification function of the single technology is adjusted one by one, and the time and labor consumption cannot meet the progress requirement of the engineering network transformation.
  • a method for adjusting a tunnel including: when a network topology changes, acquiring a first type of tunnel before the network topology changes and a change of the network topology a second type of tunnel; determining, according to the change information of the second type of tunnels with respect to the first type of tunnels, a plurality of tunnels to be migrated; and transmitting the migration information of the multiple tunnels to the multiple tunnels Each device, wherein the migration information is information required by the respective devices when performing tunnel reconfiguration.
  • the migration information includes at least: a communication protocol used in the reconfiguration process.
  • the method before the migrating information of the multiple tunnels is sent to each device that the multiple tunnels pass, the method includes: sending the migration information to a database; and acquiring the current information from the database. Migration information used when the tunnel is reconfigured.
  • the communication protocol includes at least one of the following: an Operation Management (OAM) protocol, a Quality of Service (QOS) protocol, and a Technologe Network Program (TNP) protocol.
  • OAM Operation Management
  • QOS Quality of Service
  • TNP Technologe Network Program
  • the method further includes: when the each device fails to perform tunnel modification, outputting and displaying Indicates the failure of the tunnel.
  • the configuration information of the first type of tunnel where the configuration information is at least
  • the method includes: routing information, protection information; determining a route of the second type of tunnel and a shortest idle route, and outputting the migration information according to the route and the shortest idle route.
  • a tunnel adjustment apparatus including: an acquisition module, configured to acquire a first type of tunnel and the network before the network topology changes when a network topology changes a second type of tunnel after the topology is changed; the determining module is configured to determine, according to the change information of the second type of tunnel relative to the first type of tunnel, a plurality of tunnels to be migrated; the first sending module is set to The migration information of the multiple tunnels is sent to each device that the multiple tunnels pass through, where the migration information is information required by the respective devices when performing tunnel modification.
  • the migration information includes at least: a communication protocol used in the reconfiguration process.
  • the device further includes: a second sending module, configured to send the migration information to a database; and the first acquiring module is configured to obtain, when acquiring the tunnel modification from the database Migration information used.
  • a second sending module configured to send the migration information to a database
  • the first acquiring module is configured to obtain, when acquiring the tunnel modification from the database Migration information used.
  • the communication protocol includes at least one of the following: an operation management system OAM protocol, a quality of service QOS protocol, and a network technology project TNP protocol.
  • the device further includes: a display module, configured to output and display indication information for indicating that the tunnel fails when the tunneling fails.
  • a display module configured to output and display indication information for indicating that the tunnel fails when the tunneling fails.
  • the device further includes: a second acquiring module, configured to acquire configuration information of the first type of tunnel, where the configuration information at least includes: routing information, protection information; and an output module configured to determine the The route of the second type of tunnel and the shortest idle route output the migration information according to the route and the shortest idle route.
  • a second acquiring module configured to acquire configuration information of the first type of tunnel, where the configuration information at least includes: routing information, protection information; and an output module configured to determine the The route of the second type of tunnel and the shortest idle route output the migration information according to the route and the shortest idle route.
  • the first type of tunnel and the network topology structure before the network topology change occurs, and the second type of tunnel is changed according to the second type of tunnel.
  • the change information of the tunnel determines the multiple tunnels to be migrated; the migration information of the multiple tunnels is sent to each device through which the multiple tunnels pass, and the related technologies are simply adjusted by the single tunnel modification function.
  • the human consumption can not meet the requirements of the progress of the engineering network transformation, thereby greatly shortening the time of manually calculating the tunnel routing and tunnel configuration, improving the efficiency of network maintenance, and realizing the automation of batch matching and batch delivery.
  • FIG. 1 is a flow chart of adjusting a tunnel according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of an adjustment device for a tunnel according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram (1) of a tunnel adjusting apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a tunnel adjusting device according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram (3) of a tunnel adjusting apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a method for adaptively adjusting a tunnel under network transition in the related art
  • FIG. 7 is a schematic diagram of adjustment of a tunnel according to an embodiment of the present invention.
  • FIG. 8 is an adjustment frame diagram of a tunnel according to an embodiment of the present invention.
  • FIG. 9 is a flow chart (1) of adjusting a tunnel according to an embodiment of the present invention.
  • FIG. 10 is a flowchart (2) of tunnel adjustment according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of adjusting a tunnel according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 When the network topology changes, obtain the first type of tunnel and the second type of tunnel after the network topology changes.
  • Step S104 Determine, according to the change information of the second type tunnel with respect to the first type tunnel, multiple tunnels that need to be migrated;
  • Step S106 The migration information of the multiple tunnels is sent to each device that the multiple tunnels pass through, where the migration information is information required by each device when performing tunnel modification.
  • the first type of tunnels and the second type of tunnels before and after the network topology change are obtained, and multiple tunnels to be migrated are determined, and the migration information of multiple tunnels is sent to each device through which multiple tunnels pass.
  • the tunnels are batch-provisioned and delivered in batches.
  • it is necessary to manually analyze the topology of the network to change the topology manually analyze the tunnel carried by the topology, analyze the available routes after the transition of the tunnel, and then modify the tunnel, and finally modify the process of each device passing through the tunnel.
  • the step solves the problem that the related technology relies solely on a single tunnel modification function, and the time and labor consumption cannot meet the progress requirements of the engineering network transformation, thereby achieving the automation effect of providing batch modification and batch delivery of the tunnel.
  • the migration information involved in the above step S106 includes at least: a communication protocol used in the reconfiguration process. Through the protocol, the automatic modification of the tunnel can be realized without manual participation, thereby greatly shortening the time for manually calculating the tunnel routing and tunnel configuration, and improving the efficiency of network maintenance.
  • the migration information of the multiple tunnels is sent to each device that passes through the multiple tunnels
  • the migration information is sent to the database, and the tunnel modification is obtained from the database. Migration information used at the time of the match.
  • the communication protocol used in the reconfiguration process includes at least one of the following: an operation management system OAM protocol, a quality of service QOS protocol, and a network technology project TNP protocol.
  • the device after the migration information of the multiple tunnels is sent to each device that the multiple tunnels pass through, when the tunnel modification fails, the device outputs and displays an indication for indicating that the tunnel fails. information.
  • the user can know the migration result of the tunnel in real time.
  • the configuration information of the first type of tunnel is obtained, where the configuration information includes at least: routing information, protection information, and a route and a shortest idle route of the second type of tunnel.
  • the migration information is output according to the route and the shortest idle route.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, disk).
  • the optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in various embodiments of the present invention.
  • a tunnel adjusting device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: an obtaining module 22, configured to acquire a first before a network topology change occurs when a network topology changes.
  • the second type of tunnel is changed after the class tunnel and the network topology are changed.
  • the determining module 24 is configured to determine, according to the change information of the second type of tunnel, the plurality of tunnels to be migrated, and the first sending module.
  • the device sends the migration information of the multiple tunnels to each device that passes through the multiple tunnels, where the migration information is information required by the respective devices when performing tunnel modification.
  • the migration information in the foregoing optional embodiment at least includes: a communication protocol used in the reconfiguration process.
  • FIG. 3 is a block diagram (1) of a structure of an apparatus for adjusting a tunnel according to an embodiment of the present invention.
  • the apparatus further includes a second sending module 32, configured to send the migration information to a database;
  • the module 34 is configured to obtain the migration information used in the current tunnel reconfiguration from the database.
  • the communication protocol used in the reconfiguration process includes at least one of the following: an operation management system OAM protocol, a quality of service QOS protocol, and a network technology project TNP protocol.
  • FIG. 4 is a structural block diagram (2) of a tunnel adjusting apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus further includes a display module 42 configured to output and display for when each device fails to perform tunnel modification. Indicates the indication that the tunnel failed.
  • the apparatus further includes a second obtaining module 52 configured to acquire configuration information of a first type of tunnel, where the configuration information is At least: routing information, protection information; an output module 54, configured to determine a route of the second type of tunnel and a shortest idle route, according to the route and the most The short idle route outputs the migration information.
  • a second obtaining module 52 configured to acquire configuration information of a first type of tunnel, where the configuration information is At least: routing information, protection information
  • an output module 54 configured to determine a route of the second type of tunnel and a shortest idle route, according to the route and the most The short idle route outputs the migration information.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the migration information of the multiple tunnels is sent to each device that the multiple tunnels pass through, where the migration information is information required when each device performs tunnel modification.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes the above S1, S2 and S3 according to the stored program code in the storage medium.
  • the adjustment device of the tunnel in the optional embodiment of the present invention includes the following three modules: a topology transition parameter input module, a tunnel impact analysis and recalculation module, and a tunnel automatic configuration delivery module.
  • the network maintenance operator specifies the network topology before the transition and the network topology after the transition.
  • FIG. 6 is a schematic diagram of a method for adaptively adjusting a tunnel under network transition in the related art.
  • the current situation is to manually check the topology that needs to be changed in the network transition, manually analyze the tunnel carried in the topology, analyze the available route after the transition of the tunnel, and then modify the tunnel. Finally, the process of modifying each device passing through the tunnel is modified one by one.
  • FIG. 7 is a schematic diagram of adjustment of a tunnel according to an embodiment of the present invention. As shown in step S702 to step S706 of FIG. 7 , after the user inputs the network topology before and after the transition, the system automatically analyzes the recalculation, and then automatically configures each device by batch. the process of.
  • FIG. 8 is a diagram of an adjustment frame of a tunnel according to an embodiment of the present invention. As shown in FIG. 8, the frame diagram includes three functional modules, a topology transition parameter input module 82, a tunnel analysis analysis and recalculation module 84, and automatic tunnel configuration. The module 86 is delivered.
  • the user After the tunnel adaptive adjustment system is started, the user enters the scenario of tunnel migration, for example, expansion chain addition, access ring splitting, or transition between NNI port network elements of the aggregation ring.
  • the user inputs the pre-transition tunnel and the post-change tunnel.
  • the system calls the module algorithm of tunnel impact analysis and recalculation, and analyzes the configuration of the pre-transition tunnel, including routing and protection information. Then calculate the shortest idle route that can carry the tunnel in the transitioned route.
  • the tunnel migration list of each network element involved in the tunnel reconfiguration is given. According to the actual situation, the user selects the tunnel to be migrated for modification.
  • the network element tunnel of the involved tunnel is migrated into a single data storage.
  • the system obtains the protocol required for the tunnel reconfiguration from the protocol pool, including the OAM, QOS, and TNP. If the data fails to be sent to the device, the system returns to the database and the user is prompted to deliver the data. After the data is delivered to the device, the tunnel migration process is terminated. At this point, the flow of the tunnel adaptive adjustment system and method under the network transition ends.
  • FIG. 9 is a flow chart (1) of adjusting a tunnel according to an embodiment of the present invention. As shown in FIG. 9, the process includes the following steps:
  • Step S902 selecting a scenario for tunnel migration
  • Step S904 input a pre-transition sequence and a post-transition sequence
  • Step S906 the system invokes a module algorithm for tunnel impact analysis and recalculation, and analyzes the configuration of the tunnel before the transition, including routing and protection information, and then calculates the shortest idle route of the tunnel that can be carried in the transitioned route;
  • Step S908 outputting a tunnel migration order of each network element involved in the tunnel reconfiguration
  • step S910 the user selects a tunnel to be migrated for modification according to the actual situation
  • Step S912 the network element tunnel of the involved tunnel is migrated into a single data storage
  • Step S914 obtaining an operation plan from the data path
  • Step S916 deleting, modifying, and creating a tunnel from the protocol pool
  • step S918 the system obtains the protocol required for the tunnel reconfiguration from the protocol pool, including the OAM, QOS, TNP and other delivering devices.
  • step S920 it is determined whether the data is successfully delivered. If the data is delivered to the device successfully, the tunnel migration process ends. If no, the process returns to step S912 to prompt the user to fail to deliver.
  • the transition scenario between the NEs of the aggregation ring NNI port Take the transition scenario between the NEs of the aggregation ring NNI port as an example.
  • the network topology between the BC devices is adjusted to the network topology between the BCDs.
  • the system automatically analyzes the route and bearer topology of the tunnels as BCD, and gives four tunnels that can be migrated in batches.
  • the user selects 2 pieces to send to the device.
  • the scenario where the user selects the tunnel migration is the transition between the NEs of the aggregation ring NNI port.
  • the system displays the configuration of the tunnel migration scenario on the interface. Click Next. The user selects this scenario.
  • the system obtains the OAM and TNP protocols required to reconfigure the tunnel in the tunnel migration list from the protocol pool, and sends the OAM and TNP protocols to the BCD device in the order of the migration order.
  • the failure information is returned to the database, and the client displays that the tunnel migration failed.
  • the adapter is called, the corresponding BCD device type is found, and the corresponding adapter container is found by the device type, and then the corresponding device is found, and the service is delivered. After the device is delivered, the device returns information to the database, indicating that the tunnel migration is complete.
  • FIG. 10 is a flowchart (2) of tunnel adjustment according to an embodiment of the present invention. As shown in FIG. 10, the process includes the following steps:
  • step S1002 the user selects a tunnel migration scenario as a transition between network elements of the aggregation ring NNI port;
  • Step S1004 the user selects a pre-transition sequence (link between B and D devices) and a post-transition sequence (link between B and C and D);
  • step S1006 the system automatically gives a tunnel migration list (four tunnels that can be migrated);
  • Step S1008 the user selects a tunnel (2) that needs to be changed
  • Step S1010 The user selects to send a migration operation.
  • Step S1012 the data is entered into the database DB;
  • step S1014 the system needs to create, delete, and modify tunnel operations for three network elements.
  • step S1016 the protocol required for configuring the tunnel, such as OAM and QOS, is obtained from the protocol pool;
  • Step S1018 the queue sent by the three network element commands is given
  • Step S1020 it is determined whether the pre-calculation is successful, if yes, step S1022 is performed, and if not, step S1012 is performed;
  • step S1022 the device is delivered.
  • the first type of tunnel and the second type of tunnel after the network topology change when the network topology changes, the first type of tunnel and the second type of tunnel after the network topology change occurs, and the second type of tunnel is changed according to the second type of tunnel.
  • the change information of the first type of tunnel determines the multiple tunnels to be migrated; the migration information of the multiple tunnels is sent to each device that the plurality of tunnels pass through, and the related technology directly relies on a single tunnel modification.
  • the functions are adjusted one by one, and the time and labor consumption can not meet the requirements of the progress of the engineering network transformation.
  • the time for manually calculating the tunnel routing and tunnel configuration is greatly shortened, and the efficiency of network maintenance is improved, and batch modification and batching can be provided.
  • the automation effect of the hair when the network topology changes, the first type of tunnel and the second type of tunnel after the network topology change occurs, and the second type of tunnel is changed according to the second type of tunnel.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or make multiple modules or steps into a single The integrated circuit module is implemented. Thus, the invention is not limited to any specific combination of hardware and software.
  • the present invention relates to the field of communications, and provides a method and an apparatus for adjusting a tunnel.
  • the method includes: changing a first type of tunnel and a network topology structure before a network topology change occurs when a network topology changes.
  • the second type of tunnels are determined; the plurality of tunnels to be migrated are determined according to the change information of the second type of tunnels relative to the first type of tunnels; and the migration information of the multiple tunnels is sent to each device that the multiple tunnels pass through, It solves the problem that the related technology relies solely on a single tunnel modification function, and the time and labor consumption cannot meet the progress requirements of the engineering network transformation, thereby greatly shortening the time for manually calculating the tunnel routing and tunnel configuration, and improving the network maintenance. Efficiency, the automation effect of batch adaptation and batch delivery.

Landscapes

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

Abstract

本发明提供了一种隧道的调整方法及装置,其中,该方法包括:采用在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;依据第二类隧道相对于第一类隧道的变化信息确定需要迁移的多个隧道;将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备。通过本发明解决了相关技术中单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求的问题,进而大幅缩短人工计算隧道路由和隧道配置的时间,提升了网络维护的效率,实现了批量改配和批量下发的自动化。

Description

隧道的调整方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种隧道的调整方法及装置。
背景技术
相关技术中,网络拓扑发生变迁后,隧道也要随之进行改配,在现网隧道量巨大的情况下,单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求,因此需要网管提供一些批量改配的自动化功能。
而针对上述问题,相关技术中并没有提供有效的解决方案。
发明内容
本发明提供了一种隧道的调整方法及装置,以至少解决相关技术中单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求的问题。
根据本发明的一个方面,提供了一种隧道的调整方法,包括:在网络拓扑结构发生变化时,获取所述网络拓扑结构发生变化前的第一类隧道和所述网络拓扑结构发生变化后的第二类隧道;依据所述第二类隧道相对于所述第一类隧道的变化信息确定需要迁移的多个隧道;将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备,其中,所述迁移信息为所述各个设备在进行隧道改配时所需要的信息。
可选地,所述迁移信息至少包括:改配过程中使用的通信协议。
可选地,将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备之前,包括:将所述迁移信息下发到数据库中;从所述数据库中获取本次进行隧道改配时所使用的迁移信息。
可选地,所述通信协议至少包括以下至少之一:操作管理系统(Operation And Management,OAM)协议,服务质量(Quality of Service,QOS)协议,网络技术项目(Technologe Network Program,TNP)协议。
可选地,将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备之后,还包括:在所述各个设备进行隧道改配失败时,输出并显示用于指示进行隧道失败的指示信息。
可选地,依据所述第二类隧道相对于所述第一类隧道的变化信息确定需要迁移的多个隧道之前,包括:获取所述第一类隧道的配置信息,其中所述配置信息至少包括:路由信息,保护信息;确定所述第二类隧道的路由和最短空闲路由,根据所述路由和最短空闲路由输出所述迁移信息。
根据本发明的另一方面,提供了一种隧道的调整装置,包括:获取模块,设置为在网络拓扑结构发生变化时,获取所述网络拓扑结构发生变化前的第一类隧道和所述网络拓扑结构发生变化后的第二类隧道;确定模块,设置为依据所述第二类隧道相对于所述第一类隧道的变化信息确定需要迁移的多个隧道;第一下发模块,设置为将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备,其中,所述迁移信息为所述各个设备在进行隧道改配时所需要的信息。
可选地,所述迁移信息至少包括:改配过程中使用的通信协议。
可选地,所述装置还包括:第二下发模块,设置为将所述迁移信息下发到数据库中;第一获取模块,设置为从所述数据库中获取本次进行隧道改配时所使用的迁移信息。
可选地,所述通信协议至少包括以下至少之一:操作管理系统OAM协议,服务质量QOS协议,网络技术项目TNP协议。
可选地,所述装置还包括:显示模块,设置为在所述各个设备进行隧道改配失败时,输出并显示用于指示进行隧道失败的指示信息。
可选地,所述装置还包括:第二获取模块,设置为获取所述第一类隧道的配置信息,其中所述配置信息至少包括:路由信息,保护信息;输出模块,设置为确定所述第二类隧道的路由和最短空闲路由,根据所述路由和最短空闲路由输出所述迁移信息。
通过本发明,采用在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;依据该第二类隧道相对于该第一类隧道的变化信息确定需要迁移的多个隧道;将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备,解决了相关技术中单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求的问题,进而大幅缩短人工计算隧道路由和隧道配置的时间,提升了网络维护的效率,实现了批量改配和批量下发的自动化。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的隧道的调整流程图;
图2是根据本发明实施例的隧道的调整装置结构框图;
图3是根据本发明实施例的隧道的调整装置结构框图(一);
图4是根据本发明实施例的隧道的调整装置结构框图(二);
图5是根据本发明实施例的隧道的调整装置结构框图(三);
图6是相关技术中网络变迁下隧道自适应调整方法示意图;
图7是根据本发明实施例的隧道的调整示意图;
图8是根据本发明实施例的隧道的调整框架图;
图9是根据本发明实施例的隧道的调整流程图(一);
图10是根据本发明实施例的隧道调整流程图(二)。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明实施例。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种隧道的调整方法,图1是根据本发明实施例的隧道的调整流程图,如图1所示,该流程包括如下步骤:
步骤S102,在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;
步骤S104,依据第二类隧道相对于第一类隧道的变化信息确定需要迁移的多个隧道;
步骤S106,将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备,其中,迁移信息为各个设备在进行隧道改配时所需要的信息。
通过上述步骤,获取网络拓扑结构发生变化前后的第一类隧道和第二类隧道,确定需要迁移的多个隧道并将多个隧道的迁移信息下发到多个隧道所经过的各个设备,实现了网络拓扑发生变化后隧道批量改配和批量下发。相比于相关技术,从人工检查网络变迁需要变动的拓扑,人工分析拓扑上承载的隧道,分析隧道的变迁后可用的路由后改配隧道,最后逐一修改隧道经过的每一个设备的过程,上述步骤解决了相关技术中单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求的问题,进而达到了可以提供隧道批量改配和批量下发的自动化效果。
上述步骤S106中涉及的迁移信息至少包括:改配过程中使用的通信协议。通过该协议可以实现对隧道的自动改配,而无需人工参与,进而达到了大幅缩短人工计算隧道路由和隧道配置的时间,提升网络维护的效率。
在一个可选实施例中,将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备之前,将该迁移信息下发到数据库中,从该数据库中获取本次进行隧道改配时所使用的迁移信息。
在一个可选实施例中,改配过程中使用的通信协议至少包括以下至少之一:操作管理系统OAM协议,服务质量QOS协议,网络技术项目TNP协议。
在一个可选实施例中,将多个隧道的迁移信息下发至该多个隧道所经过的各个设备之后,在各个设备进行隧道改配失败时,输出并显示用于指示进行隧道失败的指示信息。通过该方法用户可以实时了解隧道的迁移结果。
在一个可选实施例中,在上述步骤S104之前,获取该第一类隧道的配置信息,其中该配置信息至少包括:路由信息,保护信息,确定该第二类隧道的路由和最短空闲路由,根据该路由和最短空闲路由输出该迁移信息。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
在本实施例中还提供了一种隧道的调整装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的隧道的调整装置结构框图,如图2所示,该装置包括:获取模块22,设置为在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;确定模块24,设置为依据该第二类隧道相对于该第一类隧道的变化信息确定需要迁移的多个隧道;第一下发模块26,设置为将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备,其中,该迁移信息为该各个设备在进行隧道改配时所需要的信息。
可选地,上述可选实施例中的迁移信息至少包括:改配过程中使用的通信协议。
图3是根据本发明实施例的隧道的调整装置结构框图(一),如图3所示,该装置还包括第二下发模块32,设置为将迁移信息下发到数据库中;第一获取模块34,设置为从数据库中获取本次进行隧道改配时所使用的迁移信息。
在一个可选的实施例中,改配过程中使用的通信协议至少包括以下至少之一:操作管理系统OAM协议,服务质量QOS协议,网络技术项目TNP协议。
图4是根据本发明实施例的隧道的调整装置结构框图(二),如图4所示,该装置还包括显示模块42,设置为在各个设备进行隧道改配失败时,输出并显示用于指示进行隧道失败的指示信息。
图5是根据本发明实施例的隧道的调整装置结构框图(三),如图5所示,该装置还包括第二获取模块52,设置为获取第一类隧道的配置信息,其中该配置信息至少包括:路由信息,保护信息;输出模块54,设置为确定该第二类隧道的路由和最短空闲路由,根据该路由和最 短空闲路由输出该迁移信息。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;
S2,依据该第二类隧道相对于该第一类隧道的变化信息确定需要迁移的多个隧道;
S3,将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备,其中,该迁移信息为各个设备在进行隧道改配时所需要的信息。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述S1,S2和S3。
针对相关技术中存在的上述问题,下面结合具体的可选实施例进行说明,在下述可选实施例中结合了上述可选实施例及其可选实施方式。
为实现上述发明目的,本发明可选实施例采用以下技术方案:
本发明可选实施例中的隧道的调整装置包括以下3个模块:拓扑变迁参数输入模块、隧道影响分析和重计算模块、隧道自动配置下发模块。
本发明可选实施例中隧道的调整方法,其步骤包括:
1、网络维护操作员指定变迁前的网络拓扑和变迁后的网络拓扑。
2、系统获取变迁拓扑后,进行隧道的影响分析和重计算,给出相应的操作方案后入库。
3、调用隧道自动配置模块,按照引擎的调度,从协议池捞取对应的协议,改配隧道,最后下发创建的设备。
下面将结合附图对本发明可选实施例自动单机分布式部署方法进行说明。
图6是相关技术中网络变迁下隧道自适应调整方法示意图。如图6中的步骤S602至步骤S606所示,现状是从人工检查网络变迁需要变动的拓扑,人工分析拓扑上承载的隧道,分析隧道的变迁后可用的路由后改配隧道。最后逐一修改隧道经过的每一个设备的过程。图7是根据本发明实施例的隧道的调整示意图,如图7的步骤S702至步骤S706所示,用户输入变迁前后的网络拓扑后,系统自动分析重计算,再通过批量自动配置到每一个设备的过程。
图8是根据本发明实施例的隧道的调整框架图,如图8所示,该框架图中包括3个功能模块,拓扑变迁参数输入模块82,隧道解析分析和重计算模块84,隧道自动配置下发模块86。
网络变迁下隧道自适应调整系统启动后,用户输入隧道迁移的场景,比如,扩环加链、接入环拆分或者汇聚环NNI端口网元间变迁。用户输入变迁前隧道和变迁后隧道。系统调用隧道影响分析和重计算的模块算法,系统分析变迁前隧道的配置情况,包括路由和保护等信息。然后计算变迁后的路由中可承载隧道的最短空闲路由。最后给出隧道改配需要涉及到的每个网元的隧道迁移单。用户根据实际情况,选择需要迁移的隧道进行改配。涉及的隧道改配的网元隧道迁移单数据入库。系统从协议池中,获取隧道改配需要的协议,包括OAM,QOS,TNP等下发设备。数据下给设备失败,返回数据库入库,提示用户下发失败,数据下发给设备成功后,结束隧道迁移流程。至此,网络变迁下隧道自适应调整系统和方法流程结束。
图9是根据本发明实施例的隧道的调整流程图(一)。如图9所示,该流程包括如下步骤:
步骤S902,选择隧道迁移的场景;
步骤S904,输入变迁前序列和变迁后序列;
步骤S906,系统调用隧道影响分析和重计算的模块算法,系统分析变迁前隧道的配置情况,包括路由和保护等信息,然后计算变迁后的路由中可承载隧道的最短空闲路由;
步骤S908,输出隧道改配需要涉及到的每个网元的隧道迁移单;
步骤S910,用户根据实际情况,选择需要迁移的隧道进行改配;
步骤S912,涉及的隧道改配的网元隧道迁移单数据入库;
步骤S914,从数据路获取操作方案;
步骤S916,从协议池捞取协议删除、修改、创建隧道;
步骤S918,系统从协议池中,获取隧道改配需要的协议,包括OAM,QOS,TNP等下发设备。
步骤S920,判断数据下发是否成功,如果数据下发给设备成功后,结束隧道迁移流程,如果否,返回步骤S912,提示用户下发失败。
至此,网络变迁下隧道自适应调整流程结束。
以汇聚环NNI端口网元间变迁场景为例,经过BC网元间有4条隧道。将BC设备之间的网络拓扑调整为BCD之间的网络拓扑,系统自动分析给出后隧道经过的路由和承载的拓扑为BCD,并给出可以批量迁移4条隧道。用户选择2条下发给设备。启动网络变迁下隧道自适应调整系统,用户选取隧道迁移的场景为汇聚环NNI端口网元间变迁,系统在界面展现这种隧道迁移场景的配置介绍,点击下一步,用户选择在这种场景下变迁前BC之间的网络拓扑,变迁后BCD之间的网络拓扑,点击下一步,系统自动分析用户输入的的变迁前网络拓扑上承载的经过的隧道,包括中间经过BC网络拓扑的隧道和以BC为上下点的终结隧道以及承载的 保护隧道,再重新查找变迁后网络拓扑上,可承载隧道的网络路由,并计算出最短的路径,最后输入隧道迁移单,在界面显示出了经过在BC之间的4条受影响的隧道的名称,和隧道的起始点的端口。用户根据自己的需要选择需要迁移的2条隧道。点击下一步,用户选择的这2条改配隧道和对应的隧道迁移单数据入库。系统从协议池中获取隧道迁移单中改配隧道需要的OAM和TNP协议,按照迁移单的顺序下发给BCD设备。当预计算失败,返回失败信息给数据库,并在客户端显示,隧道迁移失败。如果预计算成功,调用适配器,找到对应的BCD设备类型,再通过设备类型找到对应的适配器容器,再找到对应的设备,下发业务。下发设备后,设备返回信息给数据库,提示隧道迁移完成。
图10是根据本发明实施例的隧道调整流程图(二),如图10所示,该流程包括如下步骤:
步骤S1002,用户选取隧道迁移场景为汇聚环NNI端口网元间变迁;
步骤S1004,用户选取变迁前序列(B和D设备间链路)和变迁后序列(B和C和D之间的链路);
步骤S1006,系统自动给出隧道迁移单(4条可以迁移的隧道);
步骤S1008,用户选择需要变迁的隧道(2条);
步骤S1010,用户选择下发迁移操作;
步骤S1012,数据入数据库DB;
步骤S1014,系统给出需要对3个网元进行创建、删除、修改隧道操作;
步骤S1016,从协议池捞取OAM,QOS等配置隧道所需协议;
步骤S1018,给出对3个网元命令下发的队列;
步骤S1020,判断预计算是否成功,如果是,执行步骤S1022,如果否,执行步骤S1012;
步骤S1022,下发设备。
综上所述,通过本发明,采用在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;依据该第二类隧道相对于该第一类隧道的变化信息确定需要迁移的多个隧道;将该多个隧道的迁移信息下发至该述多个隧道所经过的各个设备,解决了相关技术中单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求的问题,进而达到了大幅缩短人工计算隧道路由和隧道配置的时间,提升网络维护的效率,可以提供批量改配和批量下发的自动化效果。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个 集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明涉及通信领域,提供了一种隧道的调整方法及装置,其中,该方法包括:采用在网络拓扑结构发生变化时,获取网络拓扑结构发生变化前的第一类隧道和网络拓扑结构发生变化后的第二类隧道;依据第二类隧道相对于第一类隧道的变化信息确定需要迁移的多个隧道;将该多个隧道的迁移信息下发至该多个隧道所经过的各个设备,解决了相关技术中单纯依靠单条的隧道修改功能一一调整,时间和人力消耗都无法满足工程网络改造的进度要求的问题,进而大幅缩短人工计算隧道路由和隧道配置的时间,提升了网络维护的效率,实现了批量改配和批量下发的自动化效果。

Claims (12)

  1. 一种隧道的调整方法,包括:
    在网络拓扑结构发生变化时,获取所述网络拓扑结构发生变化前的第一类隧道和所述网络拓扑结构发生变化后的第二类隧道;
    依据所述第二类隧道相对于所述第一类隧道的变化信息确定需要迁移的多个隧道;
    将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备,其中,所述迁移信息为所述各个设备在进行隧道改配时所需要的信息。
  2. 根据权利要求1所述的方法,其中,所述迁移信息至少包括:改配过程中使用的通信协议。
  3. 根据权利要求2所述的方法,其中,将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备之前,包括:
    将所述迁移信息下发到数据库中;
    从所述数据库中获取本次进行隧道改配时所使用的迁移信息。
  4. 根据权利要求2所述的方法,其中,所述通信协议至少包括以下至少之一:操作管理系统OAM协议,服务质量QOS协议,网络技术项目TNP协议。
  5. 根据权利要求1所述的方法,其中,将所述多个隧道的迁移信息下发至所述多个隧道所经过的各个设备之后,还包括:
    在所述各个设备进行隧道改配失败时,输出并显示用于指示进行隧道失败的指示信息。
  6. 根据权利要求1所述的方法,其中,依据所述第二类隧道相对于所述第一类隧道的变化信息确定需要迁移的多个隧道之前,包括:
    获取所述第一类隧道的配置信息,其中所述配置信息至少包括:路由信息,保护信息;
    确定所述第二类隧道的路由和最短空闲路由,根据所述路由和最短空闲路由输出所述迁移信息。
  7. 一种隧道的调整装置,包括:
    获取模块,设置为在网络拓扑结构发生变化时,获取所述网络拓扑结构发生变化前的第一类隧道和所述网络拓扑结构发生变化后的第二类隧道;
    确定模块,设置为依据所述第二类隧道相对于所述第一类隧道的变化信息确定需要迁移的多个隧道;
    第一下发模块,设置为将所述多个隧道的迁移信息下发至所述多个隧道所经过的各 个设备,其中,所述迁移信息为所述各个设备在进行隧道改配时所需要的信息。
  8. 根据权利要求7所述的装置,其中,所述迁移信息至少包括:改配过程中使用的通信协议。
  9. 根据权利要求8所述的装置,其中,所述装置还包括:
    第二下发模块,设置为将所述迁移信息下发到数据库中;
    第一获取模块,设置为从所述数据库中获取本次进行隧道改配时所使用的迁移信息。
  10. 根据权利要求8所述的装置,其中,所述通信协议至少包括以下至少之一:操作管理系统OAM协议,服务质量QOS协议,网络技术项目TNP协议。
  11. 根据权利要求7所述的装置,其特征在于,所述装置还包括:
    显示模块,设置为在所述各个设备进行隧道改配失败时,输出并显示用于指示进行隧道失败的指示信息。
  12. 根据权利要求7所述的装置,其中,所述装置还包括:
    第二获取模块,设置为获取所述第一类隧道的配置信息,其中所述配置信息至少包括:路由信息,保护信息;
    输出模块,设置为确定所述第二类隧道的路由和最短空闲路由,根据所述路由和最短空闲路由输出所述迁移信息。
PCT/CN2016/074853 2015-07-01 2016-02-29 隧道的调整方法及装置 WO2016177039A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510379366.9 2015-07-01
CN201510379366.9A CN106330517B (zh) 2015-07-01 2015-07-01 隧道的调整方法及装置

Publications (1)

Publication Number Publication Date
WO2016177039A1 true WO2016177039A1 (zh) 2016-11-10

Family

ID=57217461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074853 WO2016177039A1 (zh) 2015-07-01 2016-02-29 隧道的调整方法及装置

Country Status (2)

Country Link
CN (1) CN106330517B (zh)
WO (1) WO2016177039A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855456B (zh) * 2018-08-20 2022-09-30 阿里巴巴集团控股有限公司 网络变更的方法及设备
CN111193944B (zh) * 2019-12-17 2023-06-06 视联动力信息技术股份有限公司 一种子设备号配置方法、装置及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060013125A1 (en) * 2004-07-15 2006-01-19 Jean-Philippe Vasseur Dynamic forwarding adjacency
CN101640637A (zh) * 2009-08-31 2010-02-03 中兴通讯股份有限公司 一种基于流量工程的资源预留协议隧道管理方法及系统
CN101789879A (zh) * 2009-12-30 2010-07-28 中兴通讯股份有限公司 一种关联链路的动态维护方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394303B (zh) * 2007-09-19 2012-01-11 中兴通讯股份有限公司 一种路径批量调整方法和系统
CN101577657B (zh) * 2008-05-08 2012-05-23 华为技术有限公司 一种建立隧道的方法以及实现隧道建立的系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060013125A1 (en) * 2004-07-15 2006-01-19 Jean-Philippe Vasseur Dynamic forwarding adjacency
CN101640637A (zh) * 2009-08-31 2010-02-03 中兴通讯股份有限公司 一种基于流量工程的资源预留协议隧道管理方法及系统
CN101789879A (zh) * 2009-12-30 2010-07-28 中兴通讯股份有限公司 一种关联链路的动态维护方法及装置

Also Published As

Publication number Publication date
CN106330517A (zh) 2017-01-11
CN106330517B (zh) 2020-10-02

Similar Documents

Publication Publication Date Title
CN107666412B (zh) 服务功能链的虚拟网络功能部署方法
US10721315B1 (en) Developing and implementing migration sequences in data communication networks
Gharbaoui et al. Demonstration of latency-aware and self-adaptive service chaining in 5G/SDN/NFV infrastructures
JP6133224B2 (ja) 仮想ネットワークサービス構築システム
JP2014535197A (ja) 光配信ネットワーク管理方法及びシステム
CN107741950A (zh) 数据同步任务的处理方法、装置、处理器及服务端
JP6914456B1 (ja) ネットワークスライスを確立するための方法と管理およびオーケストレーションシステム
US20180351825A1 (en) Dynamic graph-based structure for representing a communications network
CN109756357A (zh) 一种网络切片生成方法和装置、及终端
WO2015110020A1 (zh) 基于开放流的组表处理方法、装置及组表配置单元
WO2016177039A1 (zh) 隧道的调整方法及装置
CN104852833A (zh) Linux系统中网络协议栈管理方法及系统
CN113256095A (zh) 可拖拽配置的敏捷流程服务构建方法、系统、设备及介质
JP2015204584A (ja) 分散型制御装置
EP1368733B1 (en) Method for optimizing software distribution in large communication networks
CN106506182A (zh) 一种配置ptn业务的方法及系统
CN101459468B (zh) 光层波长端到端调度方法和装置
CN103096361A (zh) 一种无线局域网系统中性能统计数据的交互方法及装置
CN103401791B (zh) 一种边界端口的识别方法和设备
US10200445B2 (en) Method for analyzing performance of network application program in software defined networking environment, apparatus therefor, and computer program therefor
EP4142220A1 (en) Method and apparatus for evaluating network operation impact, and device
CN110855541B (zh) 一种环状网络设备裂环方法及装置
CN105591773B (zh) 一种创建业务与增量发现并发处理的方法、装置和系统
US10623304B2 (en) Configuring optical networks using a joint configuration model
US10348559B2 (en) Method for creating port group on SDN, SDN controller, and network system

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

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

Country of ref document: EP

Kind code of ref document: A1