Method and system for merging etrees

CN122802822APending Publication Date: 2026-09-22FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611054045.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-15
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0003]为解决一个VLAN接口无法承载多条业务,业务条目数量太多导致操作过程中筛选需要调整的业务耗费大量时间,不通设备间VLAN动作存在差异导致割接后业务不通的问题,本申请通过多条ETREE业务合并成为一条业务,避开了一个VLAN接口无法承载多条业务的限制;选择网元后自动筛选出可以合并的业务对象,有多个可以合并的业务对象用户手动选择需要合并的业务;通过VLAN动作自适应修改,避免了不同设备间的差异导致的割接后业务流不通的问题

Benefits of technology

本申请提供了一种ETREE业务合并方法及系统,包括:根据用户选择的原始网元及目标网元,筛选出ETREE原业务及合并的目标业务;判断ETREE原业务与目标业务的VLAN动作类型是否相同,若相同则直接合并,若不同则将ETREE原业务的叶子节点VLAN动作根据目标业务根节点的VLAN动作类型进行自适应修改;基于修改后的VLAN动作配置,进行隧道层面的路由策略设置;基于配置后的隧道路径,进行路由对比,满足用户要求后完成割接。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802822A_ABST
    Figure CN122802822A_ABST
Patent Text Reader

Abstract

The application discloses an ETREE service merging method and system, and belongs to the technical field of network transmission, and comprises the following steps: according to original network elements and target network elements selected by users, original ETREE services and target services to be merged are screened out; whether the VLAN action types of the original ETREE services and the target services are same is judged, if the VLAN action types are same, the original ETREE services are directly merged, if the VLAN action types are different, the leaf node VLAN action of the original ETREE services is adaptively modified according to the VLAN action type of the root node of the target services; routing strategy setting is performed on the tunnel level based on the modified VLAN action configuration; routing comparison is performed based on the configured tunnel path, and the switchover is completed after the user requirements are met; the limitation that one VLAN interface cannot bear multiple services is avoided; and the problem that the service flow is not smooth after the switchover due to the difference between different devices is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of network transmission technology, and specifically relates to an ETREE service merging method and system. Background Technology

[0002] In existing optical communication network management systems, the original service migration tools suffer from limitations. Due to duplicate VLAN IDs, a single sub-interface cannot support multiple L2VPN (Layer 2 Virtual Private Network) service objects. When migrating multiple E-TREE (Ethernet Tree) services with identical VLAN IDs to the same root node, the traditional method relies on manually deleting each service and adding leaf nodes, a cumbersome and time-consuming process. The lack of dedicated tools in existing systems leads to low service migration efficiency (5-10 minutes per service) and a high error rate (over 15% error rate in manual configuration). This issue poses a risk of network outages, high maintenance costs, and is particularly problematic in large-scale network scenarios where real-time requirements are difficult to meet. Summary of the Invention

[0003] To address the limitations of a single VLAN interface in supporting multiple services, the excessive time spent selecting services for adjustment during operation due to a large number of service entries, and the service disruptions after cutover caused by differences in VLAN actions between different devices, this application circumvents the limitation of a single VLAN interface not being able to support multiple services by merging multiple ETREE services into one service. After selecting a network element, the application automatically filters out service objects that can be merged; if multiple service objects are available for merging, the user can manually select the service to be merged. Through adaptive modification of VLAN actions, the application avoids the problem of service disruptions after cutover caused by differences between different devices.

[0004] This application provides a method for merging ETREE services, including: Based on the original network element and target network element selected by the user, the original ETREE service and the target service to be merged are filtered out. Determine whether the VLAN action types of the original ETREE service and the target service are the same. If they are the same, merge them directly. If they are different, adaptively modify the VLAN action of the leaf node of the original ETREE service according to the VLAN action type of the root node of the target service. Based on the modified VLAN action configuration, configure routing policies at the tunnel layer; Based on the configured tunnel path, a route comparison is performed, and the cutover is completed after meeting the user's requirements.

[0005] Optionally, the filtering uses the same VLAN ID as the merging condition. After selecting the original network element, the original ETREE service is automatically filtered out. After selecting the target network element, the target service with the same VLAN ID as the original ETREE service is automatically filtered out. If there is a unique correspondence between the original ETREE service and the target service, they will be matched automatically; if there are multiple services that can be merged, the user must manually specify them.

[0006] Optionally, the VLAN action types include adding a VLAN layer, deleting a VLAN layer, VLAN pass-through, and VLAN switching.

[0007] Optionally, the step of adaptively modifying the VLAN actions of the leaf nodes of the original ETREE service according to the VLAN action type of the target service node includes: If the VLAN action type of the target service root node is to delete a VLAN, then the ETREE original service leaf node is set to add a VLAN. If the VLAN action type of the target service root node is to add a VLAN layer, then the ETREE original service leaf node is set to delete a VLAN layer. If the VLAN action type of the target service root node is VLAN pass-through or VLAN switching, then the corresponding leaf node of the ETREE original service is set to VLAN pass-through or VLAN switching.

[0008] Optionally, the routing policy settings include: Users manually configure routing policies according to the actual network environment and operation and maintenance needs. The routing policies include adjustment policies and automatic policies. If an adjustment strategy is adopted, the original tunnel will be adjusted to the target network element. If an automatic strategy is adopted, existing idle tunnels will be reused first, otherwise a new tunnel will be created.

[0009] Optionally, the step of performing route comparison and completing the cutover after meeting user requirements includes: Perform a route comparison to determine if the routes before and after the merge meet the user's requirements. If they do, complete the cutover; otherwise, roll back to the state before the cutover.

[0010] Optionally, the rollback is implemented through a transaction mechanism, restoring the leaf node VLAN actions, tunnel paths, and service status of the original ETREE service to their state before the cutover.

[0011] Based on the same inventive concept, this application also provides an ETREE business merging system, comprising: The service filtering module is used to filter out the original ETREE services and the target services to be merged based on the original network element and the target network element selected by the user. The VLAN action matching module is used to determine whether the VLAN action types of the original ETREE service and the target service are the same. If they are the same, they are directly merged. If they are different, the VLAN actions of the leaf nodes of the original ETREE service are adaptively modified according to the VLAN action type of the root node of the target service. The tunnel adjustment module is used to configure routing policies at the tunnel level based on the modified VLAN action configuration. The route comparison module is used to compare routes based on the configured tunnel paths and complete the cutover after meeting the user requirements.

[0012] Optionally, the filtering uses the same VLAN ID as the merging condition. After selecting the original network element, the original ETREE service is automatically filtered out. After selecting the target network element, the target service with the same VLAN ID as the original ETREE service is automatically filtered out. If there is a unique correspondence between the original ETREE service and the target service, they will be matched automatically; if there are multiple services that can be merged, the user must manually specify them.

[0013] Optionally, the VLAN action types include adding a VLAN layer, deleting a VLAN layer, VLAN pass-through, and VLAN switching.

[0014] Optionally, the step of adaptively modifying the VLAN actions of the leaf nodes of the original ETREE service according to the VLAN action type of the target service node includes: If the VLAN action type of the target service root node is to delete a VLAN, then the ETREE original service leaf node is set to add a VLAN. If the VLAN action type of the target service root node is to add a VLAN layer, then the ETREE original service leaf node is set to delete a VLAN layer. If the VLAN action type of the target service root node is VLAN pass-through or VLAN switching, then the corresponding leaf node of the ETREE original service is set to VLAN pass-through or VLAN switching.

[0015] Optionally, the routing policy settings include: Users manually configure routing policies according to the actual network environment and operation and maintenance needs. The routing policies include adjustment policies and automatic policies. If an adjustment strategy is adopted, the original tunnel will be adjusted to the target network element. If an automatic strategy is adopted, existing idle tunnels will be reused first, otherwise a new tunnel will be created.

[0016] Optionally, the step of performing route comparison and completing the cutover after meeting user requirements includes: Perform a route comparison to determine if the routes before and after the merge meet the user's requirements. If they do, complete the cutover; otherwise, roll back to the state before the cutover.

[0017] Optionally, the rollback is implemented through a transaction mechanism, restoring the leaf node VLAN actions, tunnel paths, and service status of the original ETREE service to their state before the cutover.

[0018] Furthermore, this application also provides an electronic device, comprising: at least one processor and a memory; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, an ETREE service merging method as described above is implemented.

[0019] In another aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed, implements an ETREE service merging method as described above.

[0020] Compared with the prior art, this application has the following advantages: This application provides an ETREE service merging method and system, including: filtering the original ETREE service and the target service to be merged based on the original network element and target network element selected by the user; determining whether the VLAN action types of the original ETREE service and the target service are the same; if they are the same, merging them directly; if they are different, adaptively modifying the VLAN action of the leaf node of the original ETREE service according to the VLAN action type of the root node of the target service; setting the routing policy at the tunnel layer based on the modified VLAN action configuration; comparing the routes based on the configured tunnel path, and completing the cutover after meeting the user requirements.

[0021] This application reduces the time for merging a single ETREE service from 5-10 minutes in traditional manual operation to less than 3 seconds (a quantitative improvement of 99%), significantly improving cutover efficiency.

[0022] This application supports batch merging, processing 100+ business transactions in a single operation; the transaction mechanism ensures data consistency and a 100% fault recovery rate. Real-world testing in a 1000-node network showed an 85% improvement in operational efficiency and a significant reduction in network outage risk.

[0023] This application ensures service continuity after the cutover by adaptively modifying the VLAN actions of the leaf nodes, completely avoiding service interruptions caused by manual operation.

[0024] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This application provides a schematic diagram of the ETREE service merging method. Figure 2 This application provides a schematic diagram of the business matching process. Figure 3 This application provides a schematic diagram of the VLAN action matching process. Figure 4 A schematic diagram of the tunnel adjustment process provided in this application is shown; Figure 5 The system architecture diagram of the ETREE service merging system provided in this application is shown. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] Example 1 This application provides a method for merging ETREE services, such as Figure 1 ,include: Step 1: Based on the original network element and target network element selected by the user, filter out the original ETREE service and the target service to be merged; Step 2: Determine whether the VLAN action types of the original ETREE service and the target service are the same. If they are the same, merge them directly. If they are different, adaptively modify the VLAN action of the leaf node of the original ETREE service according to the VLAN action type of the root node of the target service. Step 3: Based on the modified VLAN action configuration, configure the routing policy at the tunnel layer; Step 4: Based on the configured tunnel path, perform route comparison, and complete the cutover after meeting the user requirements.

[0029] Optionally, the filtering in step 1 uses the same VLAN ID as the merging condition. After selecting the original network element, the original ETREE service is automatically filtered out. After selecting the target network element, the target service with the same VLAN ID as the original ETREE service is automatically filtered out. If there is a unique correspondence between the original ETREE service and the target service, they will be matched automatically; if there are multiple services that can be merged, the user must manually specify them.

[0030] Business matching process diagram as follows Figure 2 After selecting the original network element, all ETREE original services are filtered out. The user selects the ETREE original service object to be merged. The user selects the target network element to be merged, and the target network element with the same VLAN ID as the ETREE original service is filtered out. It is determined whether there are multiple mergeable services between the target service and the ETREE original service. If so, the user manually selects the target service. If not, the service correspondence is automatically filled in to complete the service matching.

[0031] Optionally, the VLAN action types in step 2 include adding a VLAN layer, deleting a VLAN layer, VLAN pass-through, and VLAN switching.

[0032] Optionally, in step 2, the VLAN actions of the leaf nodes of the original ETREE service are adaptively modified according to the VLAN action type of the target service node, including: If the VLAN action type of the target service root node is to delete a VLAN, then the ETREE original service leaf node is set to add a VLAN. If the VLAN action type of the target service root node is to add a VLAN layer, then the ETREE original service leaf node is set to delete a VLAN layer. If the VLAN action type of the target service root node is VLAN pass-through or VLAN switching, then the corresponding leaf node of the ETREE original service is set to VLAN pass-through or VLAN switching.

[0033] The VLAN action matching process diagram is as follows: Figure 3The system queries the VLAN actions of the original ETREE service root node and the target service root node, and determines whether the two VLAN actions are the same. If they are the same, they are directly merged. If they are different, the system queries the VLAN actions of the original ETREE service leaf nodes and matches them according to the VLAN action type of the target service root node. If the VLAN action type of the target service root node is to delete a VLAN, the original ETREE service leaf node is set to add a VLAN. If the VLAN action type of the target service root node is to add a VLAN, the original ETREE service leaf node is set to delete a VLAN. If the VLAN action type of the target service root node is VLAN pass-through or VLAN switching, the original ETREE service leaf node is set to VLAN pass-through or VLAN switching accordingly, thus completing the VLAN matching.

[0034] Optionally, the routing policy settings in step 3 include: Users manually configure routing policies according to the actual network environment and operation and maintenance needs. The routing policies include adjustment policies and automatic policies. If an adjustment strategy is adopted, the original tunnel will be adjusted to the target network element. If an automatic strategy is adopted, existing idle tunnels will be reused first, otherwise a new tunnel will be created.

[0035] A schematic diagram of the tunnel adjustment process is shown below. Figure 4 Select an appropriate routing strategy. If the adjustment strategy is selected, the tunnel is adjusted according to the routing constraints set by the user, the original tunnel is reused, and the original tunnel is adjusted to the root node. If the automatic strategy is selected, it is determined whether there is an idle tunnel. If there is an idle tunnel that meets the routing constraints, the idle tunnel is used. If the idle tunnel does not meet the routing constraints or there is no idle tunnel, a new tunnel is created according to the routing constraints set by the user, and the tunnel adjustment is completed.

[0036] Optionally, the step of performing route comparison and completing the cutover after meeting user requirements includes: Perform a route comparison to determine if the routes before and after the merge meet the user's requirements. If they do, complete the cutover; otherwise, roll back to the state before the cutover.

[0037] Optionally, the rollback is implemented through a transaction mechanism, restoring the leaf node VLAN actions, tunnel paths, and service status of the original ETREE service to their state before the cutover.

[0038] Example 2 Based on the same inventive concept, this application also provides an ETREE service merging system, such as... Figure 5 ,include: The service filtering module is used to filter out the original ETREE services and the target services to be merged based on the original network element and the target network element selected by the user. The VLAN action matching module is used to determine whether the VLAN action types of the original ETREE service and the target service are the same. If they are the same, they are directly merged. If they are different, the VLAN actions of the leaf nodes of the original ETREE service are adaptively modified according to the VLAN action type of the root node of the target service. The tunnel adjustment module is used to configure routing policies at the tunnel level based on the modified VLAN action configuration. The route comparison module is used to compare routes based on the configured tunnel paths and complete the cutover after meeting the user requirements.

[0039] Optionally, the filtering uses the same VLAN ID as the merging condition. After selecting the original network element, the original ETREE service is automatically filtered out. After selecting the target network element, the target service with the same VLAN ID as the original ETREE service is automatically filtered out. If there is a unique correspondence between the original ETREE service and the target service, they will be matched automatically; if there are multiple services that can be merged, the user must manually specify them.

[0040] Optionally, the VLAN action types include adding a VLAN layer, deleting a VLAN layer, VLAN pass-through, and VLAN switching.

[0041] Optionally, the step of adaptively modifying the VLAN actions of the leaf nodes of the original ETREE service according to the VLAN action type of the target service node includes: If the VLAN action type of the target service root node is to delete a VLAN, then the ETREE original service leaf node is set to add a VLAN. If the VLAN action type of the target service root node is to add a VLAN layer, then the ETREE original service leaf node is set to delete a VLAN layer. If the VLAN action type of the target service root node is VLAN pass-through or VLAN switching, then the corresponding leaf node of the ETREE original service is set to VLAN pass-through or VLAN switching.

[0042] Optionally, the routing policy settings include: Users manually configure routing policies according to the actual network environment and operation and maintenance needs. The routing policies include adjustment policies and automatic policies. If an adjustment strategy is adopted, the original tunnel will be adjusted to the target network element. If an automatic strategy is adopted, existing idle tunnels will be reused first, otherwise a new tunnel will be created.

[0043] Optionally, the step of performing route comparison and completing the cutover after meeting user requirements includes: Perform a route comparison to determine if the routes before and after the merge meet the user's requirements. If they do, complete the cutover; otherwise, roll back to the state before the cutover.

[0044] Optionally, the rollback is implemented through a transaction mechanism, restoring the leaf node VLAN actions, tunnel paths, and service status of the original ETREE service to their state before the cutover.

[0045] Example 3 Based on the same inventive concept, this application also provides an electronic device. The electronic device of this application includes at least one processor and at least one storage medium electrically connected to each other. The storage medium is electrically connected to the processor, wherein the storage medium stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method described above.

[0046] Example 4 Based on the same inventive concept, this application also provides a storage medium storing instructions executable by at least one processor, the instructions being executed by at least one processor to enable at least one processor to perform the method described above.

[0047] Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for merging ETREE services, characterized in that, include: Based on the original network element and target network element selected by the user, the original ETREE service and the target service to be merged are filtered out. Determine whether the VLAN action types of the original ETREE service and the target service are the same. If they are the same, merge them directly. If they are different, adaptively modify the VLAN action of the leaf node of the original ETREE service according to the VLAN action type of the root node of the target service. Based on the modified VLAN action configuration, configure routing policies at the tunnel layer; Based on the configured tunnel path, a route comparison is performed, and the cutover is completed after meeting the user's requirements.

2. The method according to claim 1, characterized in that, The filtering uses the same VLAN ID as the merging condition. After selecting the original network element, the original ETREE service is automatically filtered out. After selecting the target network element, the target service with the same VLAN ID as the original ETREE service is automatically filtered out. If there is a unique correspondence between the original ETREE service and the target service, they will be matched automatically; if there are multiple services that can be merged, the user must manually specify them.

3. The method according to claim 1, characterized in that, The VLAN action types include adding a VLAN layer, deleting a VLAN layer, VLAN pass-through, and VLAN switching.

4. The method according to claim 3, characterized in that, The step of adaptively modifying the VLAN actions of the leaf nodes of the original ETREE service according to the VLAN action type of the target service node includes: If the VLAN action type of the target service root node is to delete a VLAN, then the ETREE original service leaf node is set to add a VLAN. If the VLAN action type of the target service root node is to add a VLAN layer, then the ETREE original service leaf node is set to delete a VLAN layer. If the VLAN action type of the target service root node is VLAN pass-through or VLAN switching, then the corresponding leaf node of the ETREE original service is set to VLAN pass-through or VLAN switching.

5. The method according to claim 1, characterized in that, The routing policy settings include: Users manually configure routing policies according to the actual network environment and operation and maintenance needs. The routing policies include adjustment policies and automatic policies. If an adjustment strategy is adopted, the original tunnel will be adjusted to the target network element. If an automatic strategy is adopted, existing idle tunnels will be reused first, otherwise a new tunnel will be created.

6. The method according to claim 1, characterized in that, The process of comparing routes and completing the cutover after meeting user requirements includes: Perform a route comparison to determine if the routes before and after the merge meet the user's requirements. If they do, complete the cutover; otherwise, roll back to the state before the cutover.

7. The method according to claim 6, characterized in that, The rollback is achieved through a transaction mechanism, restoring the leaf node VLAN actions, tunnel paths, and service status of the original ETREE service to their state before the cutover.

8. An ETREE service merging system, characterized in that, include: The service filtering module is used to filter out the original ETREE services and the target services to be merged based on the original network element and the target network element selected by the user. The VLAN action matching module is used to determine whether the VLAN action types of the original ETREE service and the target service are the same. If they are the same, they are directly merged. If they are different, the VLAN actions of the leaf nodes of the original ETREE service are adaptively modified according to the VLAN action type of the root node of the target service. The tunnel adjustment module is used to configure routing policies at the tunnel level based on the modified VLAN action configuration. The route comparison module is used to compare routes based on the configured tunnel paths and complete the cutover after meeting user requirements.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the ETREE service merging method according to any one of claims 1-7.

10. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the steps of the ETREE service merging method according to any one of claims 1-7.