WO2016202194A1 - Method and apparatus for implementing service immigration - Google Patents

Method and apparatus for implementing service immigration Download PDF

Info

Publication number
WO2016202194A1
WO2016202194A1 PCT/CN2016/085156 CN2016085156W WO2016202194A1 WO 2016202194 A1 WO2016202194 A1 WO 2016202194A1 CN 2016085156 W CN2016085156 W CN 2016085156W WO 2016202194 A1 WO2016202194 A1 WO 2016202194A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
migration
migrated
transition
node
Prior art date
Application number
PCT/CN2016/085156
Other languages
French (fr)
Chinese (zh)
Inventor
林晓翰
彭铁光
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016202194A1 publication Critical patent/WO2016202194A1/en

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

Definitions

  • This document relates to, but is not limited to, network management technology, and more particularly to a method and apparatus for implementing service migration.
  • the carrier needs to ensure stable and continuous service.
  • the network topology is frequently changed, for example, equipment relocation, equipment replacement, board migration and port migration in the node, etc., to ensure that services are not interrupted during network transition, and services need to be migrated to the network after the transition.
  • the service migration method is performed by the technical personnel to modify the service one by one, and each service is re-designated with a routing path to perform service migration.
  • the service migration needs to meet the routing constraint: the network topology before the transition is prohibited, and the network topology after the transition must pass.
  • the related service migration methods have the following problems: 1. In the case of a large amount of traffic, a single modification of the service takes a lot of time and manpower, and cannot meet the time limit of the service migration; 2. The routing constraint of manually modifying the service has a wrong selection. The problem of routing; 3. The problem of the interruption of the associated service due to the omission of the associated service is caused by the failure of the associated service; 4. The device maintenance personnel are easily mishandled and the service is interrupted because there is no indication of which devices, boards or ports need to be relocated.
  • the current network management technology also provides other service migration functions, including: capacity expansion, capacity reduction, service cutover, and intra-network port migration, but the application scope is limited.
  • the capacity expansion is only applicable to the situation where the NE is added.
  • the capacity reduction is only applicable to the network element.
  • the service switching is only applicable to the switching of the specified service.
  • the port migration in the NE is only applicable to the service migration within the same NE.
  • the related service migration method is complicated by different services, and the other business migration functions of the network management technology are processed separately for different types of special situations in terms of time, accuracy, associated service processing, and misoperation.
  • it is not suitable for topology transition, there may be multiple situations of business migration.
  • the embodiments of the present invention provide a method and an apparatus for implementing service migration, which can simplify the process of service migration, and can perform different types of service migration quickly and accurately.
  • the embodiment of the invention provides a method for implementing service migration, including:
  • the query obtains migration related parameter information according to the foreign key of the service that is determined to be migrated;
  • the migration of the service to be migrated is determined.
  • the migration related parameter information includes: determining a working protection relationship of the service to be migrated, and a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
  • the method further includes:
  • the starting node and the terminating node of the route that needs to perform service migration are determined.
  • the method further includes:
  • the information about the completion of the service migration is fed back, and the transition hardware of the topology change is performed on the device, and/or the board, and/or the port involved in the topology change.
  • An embodiment of the present invention further provides an apparatus for implementing service migration, including: a traversal unit, a determining unit, a query unit, a specified constraint unit, and a computing migration unit; wherein
  • the traversal unit is set to start and terminate the route of the service migration according to the need, and traverse all the services of the same start node and the end node before the topology transition;
  • Determining a unit configured to determine a service to be migrated from among all services in which the traversed start node and the terminating node are the same;
  • the query unit is configured to obtain the migration related parameter information according to the foreign key of the service that is determined to be migrated;
  • Specifying a constraint unit configured to specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
  • the migration unit is calculated and set to perform route calculation based on the specified constraint route, and then the migration of the service to be migrated is determined.
  • the query unit is configured as a foreign key of the service that is migrated according to the determining, and the query obtaining includes: determining a working protection relationship of the service to be migrated, a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
  • the migration related parameter information is configured as a foreign key of the service that is migrated according to the determining, and the query obtaining includes: determining a working protection relationship of the service to be migrated, a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
  • the apparatus further includes determining a start and stop unit, configured to determine a start node and a termination node of the route that needs to perform service migration when the network topology changes.
  • the device further includes a prompting hardware transition unit, configured to perform information migration completion after the migration of the determined migration service, and information about the topology transition, and/or the The board, and/or port performs migration processing of the transition hardware.
  • a prompting hardware transition unit configured to perform information migration completion after the migration of the determined migration service, and information about the topology transition, and/or the The board, and/or port performs migration processing of the transition hardware.
  • the technical solution of the embodiment of the present invention includes: starting node and terminating node of a route for performing service migration according to requirements, traversing all services of the same starting node and terminating node before the topology transition; from all the services traversed Determine the service to be migrated. Query the information about the migration-related parameters based on the foreign key of the migrated service. Specify the route constraint of the migrated service to the changed network topology based on the migration-related parameter information, and perform service migration through route calculation.
  • the method of the embodiment of the present invention obtains all the services of the same starting node and the terminating node before the topology transition, determines the service to be migrated from the traversal, and avoids the error of the associated service; and the related parameter information is migrated through the foreign key query, which is fast and accurate.
  • the routing constraint is specified, which reduces the complexity of modifying a single service. Different types of services can be migrated to improve the efficiency of business migration.
  • FIG. 1 is a flowchart of a method for implementing service migration according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an apparatus for implementing service migration according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a method according to a first embodiment of the present invention.
  • FIG. 4(a) is a schematic diagram of a network topology before a port network element changes according to the first embodiment of the present invention
  • 4(b) is a schematic diagram of a network topology after a port network element changes according to the first embodiment of the present invention
  • FIG. 5(a) is a schematic diagram of a network topology before the ring expansion and chaining according to the first embodiment of the present invention
  • FIG. 5(b) is a schematic diagram of a network topology after the ring expansion and chaining according to the first embodiment of the present invention
  • FIG. 6(a) is a schematic diagram of a network topology before the access ring is split according to the first embodiment of the present invention
  • FIG. 6(b) is a schematic diagram of a network topology after the access ring is split according to the first embodiment of the present invention
  • FIG. 7(a) is a schematic diagram of a network topology before an access ring is migrated according to the first embodiment of the present invention
  • FIG. 7(b) is a schematic diagram of a network topology after the access ring is migrated according to the first embodiment of the present invention
  • FIG. 8(a) is a schematic diagram of a network topology before an access chain is migrated according to a first embodiment of the present invention
  • FIG. 8(b) is a schematic diagram of a network topology after the access chain is migrated according to the first embodiment of the present invention
  • FIG. 9(a) is a schematic diagram of a network topology before a chain change loop according to a first embodiment of the present invention.
  • FIG. 9(b) is a schematic diagram of a network topology after chain rerouting according to the first embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing service migration according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 100 Start and terminate the route of the service migration according to the requirement, and traverse all the services of the same start node and the terminating node before the topology transition;
  • the traversal process is mainly for the business data server including all the business information in the network topology, and the business data server is the related server.
  • this step also includes:
  • the starting node of the route that needs to perform the service migration is the starting node in step 100
  • the terminating node of the route that needs to perform the service migration is the terminating node in step 100.
  • the communication carrier determines the start node and the termination node of the route that needs to perform service migration according to the starting point and the end point of the service.
  • the starting point of the service is the starting node of the route that needs to be migrated
  • the end point of the service is the terminating node of the route that needs to perform service migration.
  • Step 101 Determine a service to be migrated from all services in which the traversed start node and the terminating node are the same;
  • the business that determines the migration is mainly determined according to the cost, geographical environment, construction conditions, and the needs of the business itself. For different users, the reference factors are often different, so all the technicians need to traverse.
  • the service performs analysis and judgment, and traverses all the services, which is equivalent to directly or indirectly displaying the above information to the user, or the related art information can be displayed and displayed by the user for viewing by the user, thereby determining the service to be migrated.
  • step 102 the query obtains the migration related parameter information according to the foreign key of the service that is determined to be migrated.
  • the query process is performed on the service data server to obtain the migration related parameter information.
  • the mobility related parameter information includes: determining a working protection relationship of the service to be migrated, a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
  • Step 103 Specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
  • the user displays the migration-related parameter information obtained by the query, and after the route analysis is performed according to the migration-related parameter information, the user inputs the external command to specify the migrated service.
  • the routing is constrained to the network topology after the transition.
  • the route constraint of the migrated service includes the route of the migrated service, or the egress of a certain network element, a board, or a port.
  • Step 104 After performing route calculation according to the specified constraint route, determine the migration of the migrated service.
  • the method of the embodiment of the present invention further includes:
  • the information about the completion of the service migration is processed by the migration hardware of the device, and/or the board, and/or the port involved in the topology change according to the information about the service migration.
  • the information about the completion of the service migration includes the failure of the device, board, or port on the network topology before the transition.
  • the migration of the transition hardware includes: performing the relocation operation of the device, the board, or the port.
  • the method of the present invention obtains all the services of the same starting node and the terminating node before the topology transition, and determines the service to be migrated from the traversal, thereby avoiding the error of the associated service; and the parameter information of the migration through the foreign key query, which is quickly and accurately realized.
  • the specification of routing constraints reduces the complexity of modifying a single service. Different types of services can be migrated to improve the efficiency of business migration.
  • the above method for implementing the service migration can be implemented by a server.
  • FIG. 2 is a structural diagram of an apparatus for implementing service migration according to an embodiment of the present invention. As shown in FIG. 2, the method includes: a traversal unit, a determining unit, a query unit, a specified constraint unit, and a computing migration unit;
  • the traversal unit is set to start and terminate the route of the service migration according to the need, and traverse all the services of the same start node and the end node before the topology transition;
  • the apparatus of the embodiment of the present invention further includes determining a start and stop unit, and setting a start node and a termination node of the route that needs to perform service migration when the network topology changes.
  • Determining a unit configured to determine a service to be migrated from among all services in which the traversed start node and the terminating node are the same;
  • the query unit is configured to obtain the migration related parameter information according to the foreign key of the service that is determined to be migrated;
  • the query unit is configured to: according to the foreign key of the service that is determined to be migrated, the query obtaining includes: determining the work protection relationship of the migrated service, the bandwidth sharing relationship, and the migration related parameter of the bandwidth resource usage rate of the network topology after the service migration. information.
  • Specify a constraint unit which is set to specify the migration industry based on the migration related parameter information obtained by the query.
  • the routing of the traffic is constrained to the network topology after the transition;
  • the migration unit is calculated and set to perform route calculation based on the specified constraint route, and then the migration of the service to be migrated is determined.
  • the device of the present invention further includes a prompting hardware transition unit, configured to perform feedback on the migration of the service after the migration of the service, and the information about the completion of the migration, the device involved in the topology change, and/or the board, and / or port for migration processing of transition hardware.
  • a prompting hardware transition unit configured to perform feedback on the migration of the service after the migration of the service, and the information about the completion of the migration, the device involved in the topology change, and/or the board, and / or port for migration processing of transition hardware.
  • the above device for implementing the service migration can be set in the server.
  • FIG. 3 is a flowchart of a method according to a first embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step 300 When the network topology changes, determine a start node and a termination node of the route that needs to perform service migration.
  • Step 301 Start and terminate the route of the service migration according to the requirement, and traverse all the services of the same start node and the termination node before the service data server topology transition;
  • Step 302 Determine a service to be migrated from all services in which the traversed start node and the terminating node are the same;
  • Step 303 Query, according to the foreign key of the service that is determined to be migrated, obtain the migration related parameter information
  • the information about the migration related parameters includes: determining the working protection relationship of the service to be migrated, the bandwidth sharing relationship, and the bandwidth resource usage rate of the network topology after the service migration.
  • Step 304 Specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
  • Step 305 After performing route calculation according to the specified constraint route, perform migration of the service that determines the migration.
  • the information about the completion of the service migration is processed, and the transition hardware of the topology change is performed on the device, and/or the board, and/or the port involved in the topology change.
  • FIG. 4(a) is a schematic diagram of a network topology before a port network element changes according to the first embodiment of the present invention. As shown in FIG. 4(a), a port connection exists between the network element D and the network element B before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
  • FIG. 4(b) is a schematic diagram of a network topology after a port network element changes according to the first embodiment of the present invention, as shown in FIG. 4(b), between network elements of a network node interface (NNI) of the aggregation ring network.
  • Topology changes.
  • the port connection between the network element D and the network element B is removed.
  • the network topology forms the routing links of the DB and the DBC.
  • the query obtains the parameters related to the migration, and after the constraint routing is performed to calculate the route, the migration of the service to determine the migration is performed.
  • the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing link of the DCB and the DC.
  • FIG. 5(a) is a schematic diagram of a network topology before the ring expansion and chaining according to the first embodiment of the present invention. As shown in FIG. 5(a), there is no loop link between the network element D and the network element B before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
  • FIG. 5(b) is a schematic diagram of a network topology after the ring expansion and chaining according to the first embodiment of the present invention.
  • a new loop is formed between the network element D and the network element B to generate a new network. connection.
  • the network topology forms the routing links of the DCs and the DCs.
  • the query obtains the parameters related to the migration, and the constrained routes are used to calculate the routes.
  • the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing link of the DBC and the DB.
  • FIG. 6(a) is a schematic diagram of a network topology before the access ring is split according to the first embodiment of the present invention. As shown in FIG. 6(a), the network element A, the network element E, the network element B, and the network element C before the transition There is no access link between them. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
  • FIG. 6(b) is a schematic diagram of a network topology after the access ring is split according to the first embodiment of the present invention.
  • the network element A and the network element E, the network element B, and the network element C are added.
  • the network topology before the transition forms the routing links of CE, CE, CEFB, and ECDA.
  • the query obtains the migration related parameter.
  • the migration of the service to be migrated is determined.
  • the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing links of the CBFE, CDAE, CB, and EA.
  • FIG. 7( a ) is a schematic diagram of a network topology before the access ring is migrated according to the first embodiment of the present invention.
  • the network element A and the network element E have an access ring
  • the meta F has a link.
  • the user determines to perform the service migration.
  • FIG. 7(b) is a schematic diagram of a network topology after the access ring is migrated according to the first embodiment of the present invention.
  • the access ring of the network element A and the network element E is migrated to the network element G to the network.
  • the access ring of the element E migrates the link between the network element B and the network element F to the network element F and the network element H.
  • the network topology forms the routing links of AE, BF, GAE, and HBF.
  • the query obtains the parameters related to the migration, and after the constraint routing is performed to calculate the route, the migration of the service to determine the migration is performed. .
  • the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing links of AGE, BHF, GE, and HF.
  • FIG. 8( a ) is a schematic diagram of a network topology before an access chain is migrated according to the first embodiment of the present invention; as shown in FIG. 8( a ), an access link exists between the network element A and the network element D before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
  • FIG. 8(b) is a schematic diagram of a network topology after the access chain is migrated according to the first embodiment of the present invention; as shown in FIG. 8(b), the access link of the network element A and the network element D is migrated to the network element G to the network. Meta D access link.
  • the pre-transition network topology forms the routing links of the DA and the DAG.
  • the query obtains the parameters related to the migration, and after the constraint routing is performed to calculate the route, the migration of the service to determine the migration is performed. After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing link of DGA and DG.
  • FIG. 9(a) is a schematic diagram of a network topology before a link-to-loop in the first embodiment of the present invention. As shown in FIG. 9(a), an access link exists between the network element A and the network element B before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
  • FIG. 9(b) is a schematic diagram of a network topology after the chain is re-routing according to the first embodiment of the present invention.
  • the access link of the network element A and the network element B is changed to the network element A to the network element.
  • D to the access ring of network element C to network element B.
  • the network topology before the transition forms the routing link of AB and BADC.
  • the query obtains the relevant parameters of the migration and formulates the constraint route for routing.
  • a migration of the business for determining the migration is performed.
  • the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing links of ADCB and BC.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.

Abstract

A method and an apparatus for implementing service immigration, comprising: traversing, according to a start node and an end node of a route for which service immigration needs to be performed, all services having the same start node and end node before typology immigration; determining, from all the traversed services, a service to be immigrated; obtaining, through querying, immigration-related parameter information according to a foreign key of the service to be immigrated; and specifying, according to the immigration-related parameter information, a constraint-based route of the service to be immigrated to a network typology after immigration, and immigrating the service by means of route calculation.

Description

一种实现业务迁移的方法及装置Method and device for realizing business migration 技术领域Technical field
本文涉及但不限于网络管理技术,尤指一种实现业务迁移的方法及装置。This document relates to, but is not limited to, network management technology, and more particularly to a method and apparatus for implementing service migration.
背景技术Background technique
随着信息时代的到来,为了让用户享受到高质量的网络,通讯运营商向用户提供端到端的业务服务。运营商在使用网管软件创建端到端的业务后,需要保证业务稳定连续工作。在实际应用中,由于网络拓扑经常发生变迁,例如:设备搬迁、设备替换、节点内的单板迁移和端口迁移等,要保证网络变迁时业务不中断,需要将业务迁移到变迁后可用的网络中。当前,业务迁移的方法主要通过技术人员通过逐条的修改业务,将每条业务重新指定路由路径进行业务迁移,业务迁移需要满足路由约束为:禁止经过变迁前网络拓扑,必须经过变迁后网络拓扑。With the advent of the information age, in order to allow users to enjoy high-quality networks, communication operators provide end-to-end business services to users. After the network management software is used to create end-to-end services, the carrier needs to ensure stable and continuous service. In the actual application, the network topology is frequently changed, for example, equipment relocation, equipment replacement, board migration and port migration in the node, etc., to ensure that services are not interrupted during network transition, and services need to be migrated to the network after the transition. in. Currently, the service migration method is performed by the technical personnel to modify the service one by one, and each service is re-designated with a routing path to perform service migration. The service migration needs to meet the routing constraint: the network topology before the transition is prohibited, and the network topology after the transition must pass.
相关的业务迁移方法存在以下问题:1、在业务量巨大的情况下,单条修改业务要耗费大量的时间和人力,无法满足业务迁移的时限要求;2、人工修改业务的路由约束,存在选错路由的问题;3、人为进行单条业务修改存在关联业务被遗漏而导致关联业务中断的问题;4、没有提示需要搬迁哪些设备、单板或端口,设备维护人员很容易误操作,导致业务中断。当前的网络管理技术还提供了其它业务迁移功能,包括:扩容、缩容、业务割接、网元内端口迁移等,但是应用范围都很受限。扩容只适用于增加网元的情况;缩容只适用于减少网元的情况;业务割接只适用于指定业务的切换;网元内端口迁移只适用于同一网元内部的业务迁移。The related service migration methods have the following problems: 1. In the case of a large amount of traffic, a single modification of the service takes a lot of time and manpower, and cannot meet the time limit of the service migration; 2. The routing constraint of manually modifying the service has a wrong selection. The problem of routing; 3. The problem of the interruption of the associated service due to the omission of the associated service is caused by the failure of the associated service; 4. The device maintenance personnel are easily mishandled and the service is interrupted because there is no indication of which devices, boards or ports need to be relocated. The current network management technology also provides other service migration functions, including: capacity expansion, capacity reduction, service cutover, and intra-network port migration, but the application scope is limited. The capacity expansion is only applicable to the situation where the NE is added. The capacity reduction is only applicable to the network element. The service switching is only applicable to the switching of the specified service. The port migration in the NE is only applicable to the service migration within the same NE.
综上,相关的业务迁移方法由于单条修改业务复杂,在时间、准确性、关联业务处理及误操作的问题,网络管理技术的其他业务迁移功能,只针对不同种类的特殊情况进行分别处理,并不适合拓扑变迁时,可能出现多种情况的业务迁移。In summary, the related service migration method is complicated by different services, and the other business migration functions of the network management technology are processed separately for different types of special situations in terms of time, accuracy, associated service processing, and misoperation. When it is not suitable for topology transition, there may be multiple situations of business migration.
发明内容 Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种实现业务迁移的方法及装置,能够简化业务迁移的过程,能够快速、准确地进行不同种类的业务迁移。The embodiments of the present invention provide a method and an apparatus for implementing service migration, which can simplify the process of service migration, and can perform different types of service migration quickly and accurately.
本发明实施例提供了一种实现业务迁移的方法,包括:The embodiment of the invention provides a method for implementing service migration, including:
根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;Start and terminate the route of the route that needs to be migrated according to the need, and traverse all the services of the same start node and the terminating node before the topology transition;
从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务;Determining the business to be migrated from all the services of the traversed starting node and the terminating node;
根据确定进行迁移的业务的外键,查询获得迁移相关参数信息;The query obtains migration related parameter information according to the foreign key of the service that is determined to be migrated;
根据查询获得的迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中;Specifying the routing constraint of the migrated service to the network topology after the transition according to the migration related parameter information obtained by the query;
根据指定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。After the route calculation is performed according to the specified constraint route, the migration of the service to be migrated is determined.
可选地,迁移相关参数信息包括:确定进行迁移的业务的工作保护关系、和带宽共享关系、和业务迁移后网络拓扑的带宽资源使用率。Optionally, the migration related parameter information includes: determining a working protection relationship of the service to be migrated, and a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
可选地,该方法之前还包括:Optionally, the method further includes:
所述网络拓扑变迁时,确定需要进行业务迁移的路由的所述起始节点和所述终止节点。When the network topology changes, the starting node and the terminating node of the route that needs to perform service migration are determined.
可选地,该方法还包括:Optionally, the method further includes:
完成所述确定进行迁移的业务的迁移后,反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。After the migration of the service to be migrated is completed, the information about the completion of the service migration is fed back, and the transition hardware of the topology change is performed on the device, and/or the board, and/or the port involved in the topology change.
本发明实施例还提供一种实现业务迁移的装置,包括:遍历单元、确定单元、查询单元、指定约束单元和计算迁移单元;其中,An embodiment of the present invention further provides an apparatus for implementing service migration, including: a traversal unit, a determining unit, a query unit, a specified constraint unit, and a computing migration unit; wherein
遍历单元,设置为根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;The traversal unit is set to start and terminate the route of the service migration according to the need, and traverse all the services of the same start node and the end node before the topology transition;
确定单元,设置为从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务; Determining a unit, configured to determine a service to be migrated from among all services in which the traversed start node and the terminating node are the same;
查询单元,设置为根据确定进行迁移的业务的外键,查询获得迁移相关参数信息;The query unit is configured to obtain the migration related parameter information according to the foreign key of the service that is determined to be migrated;
指定约束单元,设置为根据查询获得的迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中;Specifying a constraint unit, configured to specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
计算迁移单元,设置为根据指定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。The migration unit is calculated and set to perform route calculation based on the specified constraint route, and then the migration of the service to be migrated is determined.
可选地,查询单元是设置为,根据所述确定进行迁移的业务的外键,查询获得包括:确定进行迁移的业务的工作保护关系、带宽共享关系和业务迁移后网络拓扑的带宽资源使用率的所述迁移相关参数信息。Optionally, the query unit is configured as a foreign key of the service that is migrated according to the determining, and the query obtaining includes: determining a working protection relationship of the service to be migrated, a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration. The migration related parameter information.
可选地,该装置还包括确定起止单元,设置为网络拓扑变迁时,确定需要进行业务迁移的路由的起始节点和终止节点。Optionally, the apparatus further includes determining a start and stop unit, configured to determine a start node and a termination node of the route that needs to perform service migration when the network topology changes.
可选地,该装置还包括提示硬件变迁单元,设置为完成确定进行迁移的业务的迁移后,反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。Optionally, the device further includes a prompting hardware transition unit, configured to perform information migration completion after the migration of the determined migration service, and information about the topology transition, and/or the The board, and/or port performs migration processing of the transition hardware.
与相关技术相比,本发明实施例技术方案包括:根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;从遍历的所有业务中确定进行迁移的业务;根据进行迁移的业务的外键,查询获得迁移相关参数信息;根据迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中,并通过路由计算进行业务迁移。本发明实施例方法由于遍历获得了拓扑变迁前起始节点和终止节点相同的所有业务,从中确定进行迁移的业务,避免了关联业务的错漏;通过外键查询迁移相关参数信息,快速而准确的实现了路由约束的指定,降低了单条修改业务的复杂度。对不同种类的业务均可进行迁移,提高了业务迁移的效率。Compared with the related art, the technical solution of the embodiment of the present invention includes: starting node and terminating node of a route for performing service migration according to requirements, traversing all services of the same starting node and terminating node before the topology transition; from all the services traversed Determine the service to be migrated. Query the information about the migration-related parameters based on the foreign key of the migrated service. Specify the route constraint of the migrated service to the changed network topology based on the migration-related parameter information, and perform service migration through route calculation. The method of the embodiment of the present invention obtains all the services of the same starting node and the terminating node before the topology transition, determines the service to be migrated from the traversal, and avoids the error of the associated service; and the related parameter information is migrated through the foreign key query, which is fast and accurate. The routing constraint is specified, which reduces the complexity of modifying a single service. Different types of services can be migrated to improve the efficiency of business migration.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例实现业务迁移的方法的流程图;FIG. 1 is a flowchart of a method for implementing service migration according to an embodiment of the present invention;
图2为本发明实施例实现业务迁移的装置的结构程图; 2 is a structural diagram of an apparatus for implementing service migration according to an embodiment of the present invention;
图3为本发明第一实施例的方法流程图;3 is a flow chart of a method according to a first embodiment of the present invention;
图4(a)为本发明第一实施例端口网元变迁前的网络拓扑示意图;4(a) is a schematic diagram of a network topology before a port network element changes according to the first embodiment of the present invention;
图4(b)为本发明第一实施例端口网元变迁后的网络拓扑示意图;4(b) is a schematic diagram of a network topology after a port network element changes according to the first embodiment of the present invention;
图5(a)为本发明第一实施例扩环加链前的网络拓扑示意图;FIG. 5(a) is a schematic diagram of a network topology before the ring expansion and chaining according to the first embodiment of the present invention;
图5(b)为本发明第一实施例扩环加链后的网络拓扑示意图;FIG. 5(b) is a schematic diagram of a network topology after the ring expansion and chaining according to the first embodiment of the present invention;
图6(a)为本发明第一实施例接入环分拆前的网络拓扑示意图;6(a) is a schematic diagram of a network topology before the access ring is split according to the first embodiment of the present invention;
图6(b)为本发明第一实施例接入环分拆后的网络拓扑示意图;FIG. 6(b) is a schematic diagram of a network topology after the access ring is split according to the first embodiment of the present invention;
图7(a)为本发明第一实施例接入环迁移前的网络拓扑示意图;FIG. 7(a) is a schematic diagram of a network topology before an access ring is migrated according to the first embodiment of the present invention;
图7(b)为本发明第一实施例接入环迁移后的网络拓扑示意图;FIG. 7(b) is a schematic diagram of a network topology after the access ring is migrated according to the first embodiment of the present invention;
图8(a)为本发明第一实施例接入链迁移前的网络拓扑示意图;FIG. 8(a) is a schematic diagram of a network topology before an access chain is migrated according to a first embodiment of the present invention;
图8(b)为本发明第一实施例接入链迁移后的网络拓扑示意图;FIG. 8(b) is a schematic diagram of a network topology after the access chain is migrated according to the first embodiment of the present invention;
图9(a)为本发明第一实施例链改环前的网络拓扑示意图;FIG. 9(a) is a schematic diagram of a network topology before a chain change loop according to a first embodiment of the present invention;
图9(b)为本发明第一实施例链改环后的网络拓扑示意图。FIG. 9(b) is a schematic diagram of a network topology after chain rerouting according to the first embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1为本发明实施例实现业务迁移的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for implementing service migration according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
步骤100、根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;Step 100: Start and terminate the route of the service migration according to the requirement, and traverse all the services of the same start node and the terminating node before the topology transition;
本步骤中,遍历拓扑变迁前起始节点和终止节点相同的所有业务。这里,遍历过程主要针对业务数据服务器中包含有网络拓扑中的所有业务信息,业务数据服务器为相关的服务器。In this step, all services with the same starting node and terminating node before the topology transition are traversed. Here, the traversal process is mainly for the business data server including all the business information in the network topology, and the business data server is the related server.
可选的,本步骤之前还包括:Optionally, before this step, it also includes:
网络拓扑变迁时,确定需要进行业务迁移的路由的起始节点和终止节点。 When the network topology changes, determine the start node and the termination node of the route that needs to perform service migration.
其中,需要进行业务迁移的路由的起始节点即步骤100中的起始节点,需要进行业务迁移的路由的终止节点即步骤100中的终止节点。The starting node of the route that needs to perform the service migration is the starting node in step 100, and the terminating node of the route that needs to perform the service migration is the terminating node in step 100.
其中,通讯运营商根据业务的起点和终点,确定需要进行业务迁移的路由的起始节点和终止节点。业务的起点就是需要进行业务迁移的路由的起始节点,业务的终点就是需要进行业务迁移的路由的终止节点。The communication carrier determines the start node and the termination node of the route that needs to perform service migration according to the starting point and the end point of the service. The starting point of the service is the starting node of the route that needs to be migrated, and the end point of the service is the terminating node of the route that needs to perform service migration.
步骤101、从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务;Step 101: Determine a service to be migrated from all services in which the traversed start node and the terminating node are the same;
需要说明的是,确定进行迁移的业务主要根据成本、地理环境、施工条件、业务本身需求等进行判断确定,对于不同用户而言,其参考的因素往往不同,因此需要技术人员对遍历出来的所有业务进行分析判断,遍历出所有业务的同时,相当于向用户直接或间接显示了上述信息,或者本领域技术人员也可以将相关参考信息进行整理显示,供用户查看,进而确定进行迁移的业务。It should be noted that the business that determines the migration is mainly determined according to the cost, geographical environment, construction conditions, and the needs of the business itself. For different users, the reference factors are often different, so all the technicians need to traverse. The service performs analysis and judgment, and traverses all the services, which is equivalent to directly or indirectly displaying the above information to the user, or the related art information can be displayed and displayed by the user for viewing by the user, thereby determining the service to be migrated.
步骤102、根据确定进行迁移的业务的外键,查询获得迁移相关参数信息;这里,查询过程主要针对业务数据服务器进行,获得迁移相关参数信息。In step 102, the query obtains the migration related parameter information according to the foreign key of the service that is determined to be migrated. The query process is performed on the service data server to obtain the migration related parameter information.
可选的,迁移相关参数信息包括:确定进行迁移的业务的工作保护关系、带宽共享关系和业务迁移后网络拓扑的带宽资源使用率。Optionally, the mobility related parameter information includes: determining a working protection relationship of the service to be migrated, a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
步骤103、根据查询获得的迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中;Step 103: Specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
需要说明的是,指定迁移的业务的路由约束到变迁后的网络拓扑主要是向用户显示查询获得的迁移相关参数信息后,用户根据迁移相关参数信息进行路由分析后,输入外部指令指定迁移的业务的路由约束到变迁后的网络拓扑中。It should be noted that after the route constraint of the specified service is changed to the network topology after the transition, the user displays the migration-related parameter information obtained by the query, and after the route analysis is performed according to the migration-related parameter information, the user inputs the external command to specify the migrated service. The routing is constrained to the network topology after the transition.
本步骤中,迁移的业务的路由约束包括迁移的业务的路由必须经过(或禁止经过)某个网元、某块单板、或某个端口等。In this step, the route constraint of the migrated service includes the route of the migrated service, or the egress of a certain network element, a board, or a port.
步骤104、根据指定约束路由进行路由计算后,确定进行迁移的业务的迁移。 Step 104: After performing route calculation according to the specified constraint route, determine the migration of the migrated service.
可选的,完成确定进行迁移的业务的迁移后,本发明实施例方法还包括:Optionally, after the method for determining the migration of the migrated service is completed, the method of the embodiment of the present invention further includes:
反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。The information about the completion of the service migration is processed by the migration hardware of the device, and/or the board, and/or the port involved in the topology change according to the information about the service migration.
其中,业务迁移完成的信息包括:变迁前网络拓扑上的设备、单板或端口已经失效。The information about the completion of the service migration includes the failure of the device, board, or port on the network topology before the transition.
其中,进行变迁硬件的迁移出来包括:进行设备、单板或端口的搬迁操作。The migration of the transition hardware includes: performing the relocation operation of the device, the board, or the port.
本发明方法由于遍历获得了拓扑变迁前起始节点和终止节点相同的所有业务,从中确定进行迁移的业务,避免了关联业务的错漏;通过外键查询迁移相关参数信息,快速而准确的实现了路由约束的指定,降低了单条修改业务的复杂度。对不同种类的业务均可进行迁移,提高了业务迁移的效率。The method of the present invention obtains all the services of the same starting node and the terminating node before the topology transition, and determines the service to be migrated from the traversal, thereby avoiding the error of the associated service; and the parameter information of the migration through the foreign key query, which is quickly and accurately realized. The specification of routing constraints reduces the complexity of modifying a single service. Different types of services can be migrated to improve the efficiency of business migration.
上述实现业务迁移的方法可以通过服务器实现。The above method for implementing the service migration can be implemented by a server.
图2为本发明实施例实现业务迁移的装置的结构程图,如图2所示,包括:遍历单元、确定单元、查询单元、指定约束单元和计算迁移单元;其中,2 is a structural diagram of an apparatus for implementing service migration according to an embodiment of the present invention. As shown in FIG. 2, the method includes: a traversal unit, a determining unit, a query unit, a specified constraint unit, and a computing migration unit;
遍历单元,设置为根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;The traversal unit is set to start and terminate the route of the service migration according to the need, and traverse all the services of the same start node and the end node before the topology transition;
本发明实施例装置还包括确定起止单元,设置为网络拓扑变迁时,确定需要进行业务迁移的路由的起始节点和终止节点。The apparatus of the embodiment of the present invention further includes determining a start and stop unit, and setting a start node and a termination node of the route that needs to perform service migration when the network topology changes.
确定单元,设置为从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务;Determining a unit, configured to determine a service to be migrated from among all services in which the traversed start node and the terminating node are the same;
查询单元,设置为根据确定进行迁移的业务的外键,查询获得迁移相关参数信息;The query unit is configured to obtain the migration related parameter information according to the foreign key of the service that is determined to be migrated;
查询单元是设置为,根据确定进行迁移的业务的外键,查询获得包括:确定进行迁移的业务的工作保护关系、带宽共享关系和业务迁移后网络拓扑的带宽资源使用率的所述迁移相关参数信息。The query unit is configured to: according to the foreign key of the service that is determined to be migrated, the query obtaining includes: determining the work protection relationship of the migrated service, the bandwidth sharing relationship, and the migration related parameter of the bandwidth resource usage rate of the network topology after the service migration. information.
指定约束单元,设置为根据查询获得的迁移相关参数信息指定迁移的业 务的路由约束到变迁后的网络拓扑中;Specify a constraint unit, which is set to specify the migration industry based on the migration related parameter information obtained by the query. The routing of the traffic is constrained to the network topology after the transition;
计算迁移单元,设置为根据指定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。The migration unit is calculated and set to perform route calculation based on the specified constraint route, and then the migration of the service to be migrated is determined.
本发明装置还包括提示硬件变迁单元,设置为完成确定进行迁移的业务的迁移后,反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。The device of the present invention further includes a prompting hardware transition unit, configured to perform feedback on the migration of the service after the migration of the service, and the information about the completion of the migration, the device involved in the topology change, and/or the board, and / or port for migration processing of transition hardware.
上述实现业务迁移的装置可以设置在服务器中。The above device for implementing the service migration can be set in the server.
以下通过具体实施例对本发明方法进行清楚详细的说明,实施例仅用于陈述本发明,并不用于限制本发明方法的保护范围。The method of the present invention is described in detail below by way of specific examples, which are merely used to illustrate the invention and are not intended to limit the scope of the method of the invention.
实施例1Example 1
图3为本发明第一实施例的方法流程图,如图3所示,包括:FIG. 3 is a flowchart of a method according to a first embodiment of the present invention. As shown in FIG. 3, the method includes:
步骤300、网络拓扑变迁时,确定需要进行业务迁移的路由的起始节点和终止节点。Step 300: When the network topology changes, determine a start node and a termination node of the route that needs to perform service migration.
步骤301、根据需要进行业务迁移的路由的起始节点和终止节点,遍历业务数据服务器拓扑变迁前起始节点和终止节点相同的所有业务;Step 301: Start and terminate the route of the service migration according to the requirement, and traverse all the services of the same start node and the termination node before the service data server topology transition;
步骤302、从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务;Step 302: Determine a service to be migrated from all services in which the traversed start node and the terminating node are the same;
步骤303、根据确定进行迁移的业务的外键,查询获得迁移相关参数信息;Step 303: Query, according to the foreign key of the service that is determined to be migrated, obtain the migration related parameter information;
本步骤中,迁移相关参数信息包括:确定进行迁移的业务的工作保护关系、带宽共享关系、业务迁移后网络拓扑的带宽资源使用率。In this step, the information about the migration related parameters includes: determining the working protection relationship of the service to be migrated, the bandwidth sharing relationship, and the bandwidth resource usage rate of the network topology after the service migration.
步骤304、根据查询获得的迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中;Step 304: Specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
步骤305、根据指定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。Step 305: After performing route calculation according to the specified constraint route, perform migration of the service that determines the migration.
步骤306、反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。 In the step 306, the information about the completion of the service migration is processed, and the transition hardware of the topology change is performed on the device, and/or the board, and/or the port involved in the topology change.
以下通过不同种类的拓扑变迁示意说明对本实施例方法进行说明。The method of this embodiment will be described below by means of different kinds of topological transitions.
图4(a)为本发明第一实施例端口网元变迁前的网络拓扑示意图,如图4(a)所示,变迁前网元D和网元B之间存在端口连接。假设变迁时存在需要进行迁移的业务,用户确定进行业务迁移。4(a) is a schematic diagram of a network topology before a port network element changes according to the first embodiment of the present invention. As shown in FIG. 4(a), a port connection exists between the network element D and the network element B before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
图4(b)为本发明第一实施例端口网元变迁后的网络拓扑示意图,如图4(b)所示,汇聚环网络节点接口(NNI,Network Node Interface)端口网元之间发生的拓扑变迁。网元D和网元B之间的端口连接被迁除。变迁前网络拓扑形成DB、DBC的路由链路;根据确定进行迁移的业务的外键,查询获得迁移相关参数信息,制定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。变迁后,保证起始节点和终止节点不变,业务迁移至DCB和DC的路由链路中。FIG. 4(b) is a schematic diagram of a network topology after a port network element changes according to the first embodiment of the present invention, as shown in FIG. 4(b), between network elements of a network node interface (NNI) of the aggregation ring network. Topology changes. The port connection between the network element D and the network element B is removed. Before the transition, the network topology forms the routing links of the DB and the DBC. According to the foreign key of the service that is determined to be migrated, the query obtains the parameters related to the migration, and after the constraint routing is performed to calculate the route, the migration of the service to determine the migration is performed. After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing link of the DCB and the DC.
图5(a)为本发明第一实施例扩环加链前的网络拓扑示意图,如图5(a)所示,变迁前网元D和网元B之间不存在环路链接。假设变迁时存在需要进行迁移的业务,用户确定进行业务迁移。FIG. 5(a) is a schematic diagram of a network topology before the ring expansion and chaining according to the first embodiment of the present invention. As shown in FIG. 5(a), there is no loop link between the network element D and the network element B before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
图5(b)为本发明第一实施例扩环加链后的网络拓扑示意图,如图5(b)所示,网元D和网元B之间形成新的环路,生成新的网络连接。变迁前网络拓扑形成DC、DCB的路由链路;根据确定进行迁移的业务的外键,查询获得迁移相关参数信息,制定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。变迁后,保证起始节点和终止节点不变,业务迁移至DBC和DB的路由链路中。FIG. 5(b) is a schematic diagram of a network topology after the ring expansion and chaining according to the first embodiment of the present invention. As shown in FIG. 5(b), a new loop is formed between the network element D and the network element B to generate a new network. connection. Before the transition, the network topology forms the routing links of the DCs and the DCs. According to the foreign key of the service that is determined to be migrated, the query obtains the parameters related to the migration, and the constrained routes are used to calculate the routes. After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing link of the DBC and the DB.
图6(a)为本发明第一实施例接入环分拆前的网络拓扑示意图,如图6(a)所示,变迁前网元A和网元E、网元B和网元C之间不存在接入链接。假设变迁时存在需要进行迁移的业务,用户确定进行业务迁移。6(a) is a schematic diagram of a network topology before the access ring is split according to the first embodiment of the present invention. As shown in FIG. 6(a), the network element A, the network element E, the network element B, and the network element C before the transition There is no access link between them. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
图6(b)为本发明第一实施例接入环分拆后的网络拓扑示意图,如图6(b)所示,网元A和网元E、网元B和网元C之间添加了新的链接,网元C和网元E原先的链接被迁除。变迁前网络拓扑形成CE、CE、CEFB、ECDA的路由链路;根据确定进行迁移的业务的外键,查询获得迁移相关参数信 息,制定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。变迁后,保证起始节点和终止节点不变,业务迁移至CBFE、CDAE、CB、EA的路由链路中。FIG. 6(b) is a schematic diagram of a network topology after the access ring is split according to the first embodiment of the present invention. As shown in FIG. 6(b), the network element A and the network element E, the network element B, and the network element C are added. With the new link, the original link of network element C and network element E is removed. The network topology before the transition forms the routing links of CE, CE, CEFB, and ECDA. According to the foreign key of the service that is determined to be migrated, the query obtains the migration related parameter. After the constraint routing is performed to perform route calculation, the migration of the service to be migrated is determined. After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing links of the CBFE, CDAE, CB, and EA.
图7(a)为本发明第一实施例接入环迁移前的网络拓扑示意图,如图7(a)所示,变迁前网元A和网元E存在接入环,网元B和网元F存在链接。假设变迁时存在需要进行迁移的业务,用户确定进行业务迁移。FIG. 7( a ) is a schematic diagram of a network topology before the access ring is migrated according to the first embodiment of the present invention. As shown in FIG. 7( a ), before the transition, the network element A and the network element E have an access ring, and the network element B and the network The meta F has a link. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
图7(b)为本发明第一实施例接入环迁移后的网络拓扑示意图,如图7(b)所示,将网元A和网元E的接入环迁移至网元G至网元E的接入环,将网元B和网元F的链接迁移到网元F和网元H之间。变迁前网络拓扑形成AE、BF、GAE、HBF的路由链路;根据确定进行迁移的业务的外键,查询获得迁移相关参数信息,制定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。变迁后,保证起始节点和终止节点不变,业务迁移至AGE、BHF、GE、HF的路由链路中。FIG. 7(b) is a schematic diagram of a network topology after the access ring is migrated according to the first embodiment of the present invention. As shown in FIG. 7(b), the access ring of the network element A and the network element E is migrated to the network element G to the network. The access ring of the element E migrates the link between the network element B and the network element F to the network element F and the network element H. Before the transition, the network topology forms the routing links of AE, BF, GAE, and HBF. According to the foreign key of the service that is determined to be migrated, the query obtains the parameters related to the migration, and after the constraint routing is performed to calculate the route, the migration of the service to determine the migration is performed. . After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing links of AGE, BHF, GE, and HF.
图8(a)为本发明第一实施例接入链迁移前的网络拓扑示意图;如图8(a)所示,变迁前网元A和网元D存在接入链接。假设变迁时存在需要进行迁移的业务,用户确定进行业务迁移。FIG. 8( a ) is a schematic diagram of a network topology before an access chain is migrated according to the first embodiment of the present invention; as shown in FIG. 8( a ), an access link exists between the network element A and the network element D before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
图8(b)为本发明第一实施例接入链迁移后的网络拓扑示意图;如图8(b)所示,将网元A和网元D的接入链接迁移至网元G至网元D的接入链接。变迁前网络拓扑形成DA、DAG的路由链路;根据确定进行迁移的业务的外键,查询获得迁移相关参数信息,制定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。变迁后,保证起始节点和终止节点不变,业务迁移至DGA、DG的路由链路中。FIG. 8(b) is a schematic diagram of a network topology after the access chain is migrated according to the first embodiment of the present invention; as shown in FIG. 8(b), the access link of the network element A and the network element D is migrated to the network element G to the network. Meta D access link. The pre-transition network topology forms the routing links of the DA and the DAG. According to the foreign key of the service that is determined to be migrated, the query obtains the parameters related to the migration, and after the constraint routing is performed to calculate the route, the migration of the service to determine the migration is performed. After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing link of DGA and DG.
图9(a)为本发明第一实施例链改环前的网络拓扑示意图,如图9(a)所示,变迁前网元A和网元B存在接入链接。假设变迁时存在需要进行迁移的业务,用户确定进行业务迁移。FIG. 9(a) is a schematic diagram of a network topology before a link-to-loop in the first embodiment of the present invention. As shown in FIG. 9(a), an access link exists between the network element A and the network element B before the transition. Assuming that there is a service that needs to be migrated during the transition, the user determines to perform the service migration.
图9(b)为本发明第一实施例链改环后的网络拓扑示意图,如图9(b)所示,将网元A和网元B的接入链接变迁为网元A至网元D至网元C至网元B的接入环。变迁前网络拓扑形成AB、BADC的路由链路;根据确定进行迁移的业务的外键,查询获得迁移相关参数信息,制定约束路由进行路由 计算后,进行确定进行迁移的业务的迁移。变迁后,保证起始节点和终止节点不变,业务迁移至ADCB、BC的路由链路中。FIG. 9(b) is a schematic diagram of a network topology after the chain is re-routing according to the first embodiment of the present invention. As shown in FIG. 9(b), the access link of the network element A and the network element B is changed to the network element A to the network element. D to the access ring of network element C to network element B. The network topology before the transition forms the routing link of AB and BADC. According to the foreign key of the service that is determined to be migrated, the query obtains the relevant parameters of the migration and formulates the constraint route for routing. After the calculation, a migration of the business for determining the migration is performed. After the transition, the starting node and the terminating node are guaranteed to be unchanged, and the service is migrated to the routing links of ADCB and BC.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program in a storage and a memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。While the embodiments of the present invention have been described above, the described embodiments are merely for the purpose of understanding the invention and are not intended to limit the invention. Any modification and variation in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
上述技术方案快速而准确的实现了路由约束的指定,降低了单条修改业务的复杂度。对不同种类的业务均可进行迁移,提高了业务迁移的效率。 The above technical solution quickly and accurately implements the designation of routing constraints, which reduces the complexity of modifying a single service. Different types of services can be migrated to improve the efficiency of business migration.

Claims (8)

  1. 一种实现业务迁移的方法,包括:A method of implementing business migration, including:
    根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;Start and terminate the route of the route that needs to be migrated according to the need, and traverse all the services of the same start node and the terminating node before the topology transition;
    从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务;Determining the business to be migrated from all the services of the traversed starting node and the terminating node;
    根据确定进行迁移的业务的外键,查询获得迁移相关参数信息;The query obtains migration related parameter information according to the foreign key of the service that is determined to be migrated;
    根据查询获得的迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中;Specifying the routing constraint of the migrated service to the network topology after the transition according to the migration related parameter information obtained by the query;
    根据指定约束路由进行路由计算后,确定进行迁移的业务的迁移。After the route calculation is performed based on the specified constraint route, the migration of the migrated service is determined.
  2. 根据权利要求1所述的方法,其中,所述迁移相关参数信息包括:确定进行迁移的业务的工作保护关系、和带宽共享关系、和业务迁移后网络拓扑的带宽资源使用率。The method according to claim 1, wherein the migration related parameter information comprises: determining a working protection relationship of the service to be migrated, and a bandwidth sharing relationship, and a bandwidth resource usage rate of the network topology after the service migration.
  3. 根据权利要求1或2所述的方法,该方法之前还包括:The method according to claim 1 or 2, further comprising:
    所述网络拓扑变迁时,确定需要进行业务迁移的路由的所述起始节点和所述终止节点。When the network topology changes, the starting node and the terminating node of the route that needs to perform service migration are determined.
  4. 根据权利要求1或2所述的方法,该方法还包括:The method of claim 1 or 2, further comprising:
    完成所述确定进行迁移的业务的迁移后,反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。After the migration of the service to be migrated is completed, the information about the completion of the service migration is fed back, and the transition hardware of the topology change is performed on the device, and/or the board, and/or the port involved in the topology change.
  5. 一种实现业务迁移的装置,包括:遍历单元、确定单元、查询单元、指定约束单元和计算迁移单元;其中,An apparatus for implementing a service migration, comprising: a traversal unit, a determining unit, a query unit, a specified constraint unit, and a computing migration unit; wherein
    遍历单元,设置为根据需要进行业务迁移的路由的起始节点和终止节点,遍历拓扑变迁前起始节点和终止节点相同的所有业务;The traversal unit is set to start and terminate the route of the service migration according to the need, and traverse all the services of the same start node and the end node before the topology transition;
    确定单元,设置为从遍历的起始节点和终止节点相同的所有业务中确定进行迁移的业务;Determining a unit, configured to determine a service to be migrated from among all services in which the traversed start node and the terminating node are the same;
    查询单元,设置为根据确定进行迁移的业务的外键,查询获得迁移相关 参数信息;The query unit is set to be based on the foreign key of the service that is determined to be migrated, and the query obtains migration related Parameter information;
    指定约束单元,设置为根据查询获得的迁移相关参数信息指定迁移的业务的路由约束到变迁后的网络拓扑中;Specifying a constraint unit, configured to specify, according to the migration related parameter information obtained by the query, a routing constraint of the migrated service to the network topology after the transition;
    计算迁移单元,设置为根据指定约束路由进行路由计算后,进行确定进行迁移的业务的迁移。The migration unit is calculated and set to perform route calculation based on the specified constraint route, and then the migration of the service to be migrated is determined.
  6. 根据权利要求5所述的装置,其中,所述查询单元是设置为,根据所述确定进行迁移的业务的外键,查询获得包括:确定进行迁移的业务的工作保护关系、带宽共享关系和业务迁移后网络拓扑的带宽资源使用率的所述迁移相关参数信息。The apparatus according to claim 5, wherein the query unit is configured as a foreign key of the service that is migrated according to the determining, and the query obtaining comprises: determining a work protection relationship, a bandwidth sharing relationship, and a service of the migrated service. The migration related parameter information of the bandwidth resource usage of the network topology after migration.
  7. 根据权利要求5或6所述的装置,该装置还包括确定起止单元,设置为网络拓扑变迁时,确定需要进行业务迁移的路由的起始节点和终止节点。The apparatus according to claim 5 or 6, further comprising determining a start and stop unit, configured to determine a start node and a termination node of the route requiring service migration when the network topology changes.
  8. 根据权利要求5或6所述的装置,该装置还包括提示硬件变迁单元,设置为完成确定进行迁移的业务的迁移后,反馈业务迁移完成的信息,根据业务迁移完成的信息,对拓扑变迁涉及的设备、和/或单板、和/或端口进行变迁硬件的迁移处理。 The device according to claim 5 or 6, further comprising a prompting hardware transition unit, configured to perform information migration completion after the migration of the migrated service is completed, and the topology change is involved according to the information of the service migration completion The device, and/or the board, and/or the port perform migration processing of the transition hardware.
PCT/CN2016/085156 2015-06-19 2016-06-07 Method and apparatus for implementing service immigration WO2016202194A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510346646.X 2015-06-19
CN201510346646.XA CN106330489A (en) 2015-06-19 2015-06-19 Method and device for achieving business migration

Publications (1)

Publication Number Publication Date
WO2016202194A1 true WO2016202194A1 (en) 2016-12-22

Family

ID=57544936

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085156 WO2016202194A1 (en) 2015-06-19 2016-06-07 Method and apparatus for implementing service immigration

Country Status (2)

Country Link
CN (1) CN106330489A (en)
WO (1) WO2016202194A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901136A (en) * 2019-05-06 2020-11-06 烽火通信科技股份有限公司 Network management service batch cutover method and system based on port replacement and route adjustment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257199B (en) * 2017-07-13 2023-01-03 中兴通讯股份有限公司 Port migration method, device, system and storage medium
CN107508761B (en) * 2017-09-25 2020-01-07 烽火通信科技股份有限公司 Method and system for quickly migrating services in communication system
CN111314802B (en) * 2018-12-12 2023-05-16 中兴通讯股份有限公司 Optical fiber cutting method and device, SDN controller, system and storage medium
CN114095985B (en) * 2020-08-25 2023-10-17 ***通信集团有限公司 Method, device, equipment and computer storage medium for communication service migration
CN114039859B (en) * 2021-11-03 2023-05-30 中盈优创资讯科技有限公司 STN network equipment chain ring changing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1802030A (en) * 2005-01-07 2006-07-12 华为技术有限公司 Service path adjusting and optimizing method
US20110038253A1 (en) * 2009-08-14 2011-02-17 Hitachi, Ltd. Transport control server, transport control system, and backup path setting method
CN102083114A (en) * 2009-11-27 2011-06-01 ***通信集团北京有限公司 Method and device for checking broken station service
CN102325043A (en) * 2011-07-20 2012-01-18 华为技术有限公司 Topology generation method, device and system
CN104168192A (en) * 2014-08-08 2014-11-26 北京邮电大学 Rerouting method and device in fault network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534246B (en) * 2009-03-04 2011-12-21 华为技术有限公司 Method, device and system thereof for migrating VRF
CN101771904B (en) * 2009-12-31 2014-02-12 中兴通讯股份有限公司 Method and system for carrying out service maintenance in smart optical network
US9231877B2 (en) * 2013-09-17 2016-01-05 Adva Optical Networking Se Method and apparatus for scaling traffic engineering routing in a network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1802030A (en) * 2005-01-07 2006-07-12 华为技术有限公司 Service path adjusting and optimizing method
US20110038253A1 (en) * 2009-08-14 2011-02-17 Hitachi, Ltd. Transport control server, transport control system, and backup path setting method
CN102083114A (en) * 2009-11-27 2011-06-01 ***通信集团北京有限公司 Method and device for checking broken station service
CN102325043A (en) * 2011-07-20 2012-01-18 华为技术有限公司 Topology generation method, device and system
CN104168192A (en) * 2014-08-08 2014-11-26 北京邮电大学 Rerouting method and device in fault network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901136A (en) * 2019-05-06 2020-11-06 烽火通信科技股份有限公司 Network management service batch cutover method and system based on port replacement and route adjustment

Also Published As

Publication number Publication date
CN106330489A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016202194A1 (en) Method and apparatus for implementing service immigration
US9825867B2 (en) Supporting software defined networking with application layer traffic optimization
US9602387B2 (en) Network topology optimization
US9288143B2 (en) Data flow path determination
US10033623B2 (en) Multithreaded system and method for establishing network connections
US9729424B2 (en) Defining data flow paths in software-defined networks with application-layer traffic optimization
JP4978872B2 (en) Method and system for performing traffic engineering within a metric routed network
WO2015106618A1 (en) Resource scheduling method and apparatus
CN107332768A (en) A kind of cross-domain path calculation method of multiple domain controller
Vanbever et al. Lossless migrations of link-state IGPs
WO2018010555A1 (en) Northbound interface lte service automatic configuration method, northbound interface apparatus, and storage medium
US20160330106A1 (en) Routing Communication Sessions
EP3136662B1 (en) Construction method, device and system for multi-path forwarding rules
WO2016086709A1 (en) Method and device for implementing capacity planning
CN108476175B (en) Transfer SDN traffic engineering method and system using dual variables
EP2760169A1 (en) Method and apparatus for provisioning a transport service in a multi-domain multi-layer network
EP3041170A1 (en) Network planning method and device
JP5941444B2 (en) Physical resource allocation device
CN111510384B (en) Method, electronic device and computer-readable medium for processing data generated by a service
Hong et al. Effective virtual optical network embedding based on topology aggregation in multi-domain optical networks
JP7282210B2 (en) Network control method, device and system
WO2022119749A1 (en) Telemetry data optimization for path tracing and delay measurement
JP5443511B2 (en) Transport control server, transport control system, and transport control method
EP3425859B1 (en) Multi-layer lsp control method and apparatus
CN113810282B (en) Path determining method, device and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1