A method and apparatus for fault self-recovery based on port redundancy

By creating redundant port groups and allocating logical resources, the system automatically switches to the unused port with the highest bandwidth, thus resolving the service interruption problem caused by device port-level failures and achieving efficient fault self-healing.

CN113918324BActive Publication Date: 2026-05-08CHINA UNITECHS
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITECHS
Filing Date
2021-09-27
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing technologies, device port-level failures can cause widespread service disruptions for ordinary users, and fault repair relies on manual configuration and switching, which is inefficient.

Method used

A fault self-healing method based on port redundancy is adopted, which creates redundant port groups and performs logical resource allocation. When a fault occurs, it automatically switches to the unused port with the largest bandwidth and returns to the original state when the fault is recovered.

Benefits of technology

It enables automatic service switching in the event of a failure, reducing the impact on existing services, improving fault recovery efficiency, and avoiding the inefficiency of manual configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918324B_ABST
    Figure CN113918324B_ABST
Patent Text Reader

Abstract

The application discloses a fault self-recovery method and device based on port redundancy, wherein the method comprises the following steps: creating a redundant port group and performing logical resource allocation; when a port fault occurs, triggering a service self-recovery switching action, scanning other ports in the same port group, arranging the ports which are not enabled for the VLAN in descending order of bandwidth, taking the largest port to switch the service, if the VLAN has been enabled, starting from the upper limit value of the VLAN planning, searching the first VLAN which is not enabled on any other port in reverse order, if multiple ports are scanned, arranging the ports in descending order of bandwidth, and taking the largest port to switch the service; when the port fault is recovered, triggering a service self-recovery rollback work, and performing service rollback. The method and device realize service configuration backup through port-level redundancy, and quickly switch when a fault occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of port-level faults, and in particular to a fault self-healing method and apparatus based on port redundancy. Background Technology

[0002] A port-level failure in a typical device can cause a large-scale service interruption for ordinary users (those who have not subscribed to an SLA (Service Level Agreement) for multi-line access), and fault repair is based on manual configuration and switching. Summary of the Invention

[0003] To address the aforementioned problems in the existing technology, this invention provides a fault self-healing method and apparatus based on port redundancy. Port-level redundancy enables backup of service configurations and allows for rapid switching when a fault occurs.

[0004] To achieve the above objectives, the present invention adopts the following technical solution:

[0005] In one embodiment of the present invention, a fault self-healing method based on port redundancy is proposed, the method comprising:

[0006] Create redundant port groups and allocate logical resources;

[0007] When a port failure occurs, a service self-healing switchover action is triggered. Other ports in the same port group are scanned, and ports that have not enabled the VLAN are sorted from largest to smallest bandwidth. The port with the largest bandwidth is selected for service switching. If the VLAN has been enabled, the first VLAN that has not been enabled on any other port is searched in reverse order starting from the upper limit of the VLAN plan. If multiple ports are scanned, they are sorted from largest to smallest bandwidth, and the port with the largest bandwidth is selected for service switching.

[0008] When a port failure is recovered, the service self-healing rollback is triggered to perform the service rollback.

[0009] Furthermore, a redundant port group includes a unique identifier for the redundant port group and port members in the same group. Port members in the same group include the device where the port is located, the port name, the port bandwidth, and the unique identifier of the port.

[0010] Furthermore, logical resource allocation includes:

[0011] Query port resource allocation information to determine if there are any associated port groups;

[0012] If there is no associated port group, query the resource allocation of a single port and allocate resources by port;

[0013] If there are associated port groups, query the resource allocation of the port groups to determine whether there are conflicts in the logical resources of the same group;

[0014] If a conflict occurs, the remaining available resources for the port are checked to determine if there are any available resources. If there are no available resources, the maximum available resources are allocated. If there are available resources, the conflicting resources for the port are marked and resources are allocated according to the port.

[0015] If there is no conflict, resources are allocated based on the port.

[0016] Furthermore, VLAN allocation in logical resource allocation includes:

[0017] When assigning a VLAN to a member of a port, if the member of the same port has not used the VLAN before, the VLAN is assigned directly and the VLAN is recorded.

[0018] If a member of the same port group has already used the VLAN, skip the VLAN, prioritize other available VLANs for allocation, and record the VLAN.

[0019] If a member of the same port group has already used the VLAN and there are no other available VLANs, a different record will be made during the allocation process.

[0020] Furthermore, business self-healing recovery includes:

[0021] Scan other port members in the same group to find the VLAN record after the service switch;

[0022] On the backup device, use the new VLAN from the VLAN record above as the sub-interface identifier and delete the corresponding sub-interface configuration.

[0023] In one embodiment of the present invention, a fault self-healing device based on port redundancy is also proposed, the device comprising:

[0024] The redundant port group configuration module is used to create redundant port groups and allocate logical resources.

[0025] The service self-healing switching module is used to trigger service self-healing switching when a port failure occurs. It scans other ports in the same port group, sorts the ports that have not enabled the VLAN by bandwidth from largest to smallest, and selects the port with the largest bandwidth for service switching. If the VLAN has been enabled, it starts from the upper limit of the VLAN plan and searches in reverse order for the first VLAN that has not been enabled on any other port. If multiple ports are scanned, they are sorted by bandwidth from largest to smallest and the port with the largest bandwidth is selected for service switching.

[0026] The service self-healing rollback module is used to trigger the service self-healing rollback process and perform service rollback when a port failure is recovered.

[0027] Furthermore, a redundant port group includes a unique identifier for the redundant port group and port members in the same group. Port members in the same group include the device where the port is located, the port name, the port bandwidth, and the unique identifier of the port.

[0028] Furthermore, logical resource allocation includes:

[0029] Query port resource allocation information to determine if there are any associated port groups;

[0030] If there is no associated port group, query the resource allocation of a single port and allocate resources by port;

[0031] If there are associated port groups, query the resource allocation of the port groups to determine whether there are conflicts in the logical resources of the same group;

[0032] If a conflict occurs, the remaining available resources for the port are checked to determine if there are any available resources. If there are no available resources, the maximum available resources are allocated. If there are available resources, the conflicting resources for the port are marked and resources are allocated according to the port.

[0033] If there is no conflict, resources are allocated based on the port.

[0034] Furthermore, VLAN allocation in logical resource allocation includes:

[0035] When assigning a VLAN to a member of a port, if the member of the same port has not used the VLAN before, the VLAN is assigned directly and the VLAN is recorded.

[0036] If a member of the same port group has already used the VLAN, skip the VLAN, prioritize other available VLANs for allocation, and record the VLAN.

[0037] If a member of the same port group has already used the VLAN and there are no other available VLANs, a different record will be made during the allocation process.

[0038] Furthermore, business self-healing recovery includes:

[0039] Scan other port members in the same group to find the VLAN record after the service switch;

[0040] On the backup device, use the new VLAN from the VLAN record above as the sub-interface identifier and delete the corresponding sub-interface configuration.

[0041] In one embodiment of the present invention, a computer device is also proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the aforementioned fault self-healing method based on port redundancy.

[0042] In one embodiment of the present invention, a computer-readable storage medium is also provided, which stores a computer program that performs a fault self-healing method based on port redundancy.

[0043] Beneficial effects:

[0044] 1. This invention has no impact on existing networks when there are no faults.

[0045] 2. When a fault occurs, the present invention can automatically switch and guide services, thereby achieving automatic fault healing.

[0046] 3. Members of the invention can be added flexibly, and bandwidth factors will be comprehensively considered when switching to minimize the impact on existing services. Attached Figure Description

[0047] Figure 1 This is a schematic diagram of a fault self-healing method based on port redundancy according to an embodiment of the present invention.

[0048] Figure 2 This is a schematic diagram of the redundant port group configuration and resource planning process according to an embodiment of the present invention;

[0049] Figure 3 This is a schematic diagram of a resource allocation process according to an embodiment of the present invention;

[0050] Figure 4 This is a schematic diagram of a fault monitoring and self-healing process according to an embodiment of the present invention;

[0051] Figure 5 This is a schematic diagram of a basic access method for Internet leased line service according to an embodiment of the present invention;

[0052] Figure 6 This is a schematic diagram of another basic access method for Internet leased line service according to an embodiment of the present invention;

[0053] Figure 7 This is a schematic diagram of a fault self-healing device based on port redundancy according to an embodiment of the present invention.

[0054] Figure 8 This is a schematic diagram of a computer device structure according to an embodiment of the present invention. Detailed Implementation

[0055] The principles and spirit of the present invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.

[0056] Those skilled in the art will recognize that embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Therefore, this disclosure can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0057] According to an embodiment of the present invention, a fault self-healing method and apparatus based on port redundancy is proposed. During service design, backup channels are fully considered, and ports are associated with redundancy groups to comprehensively consider resource planning.

[0058] The principles and spirit of the present invention will be explained in detail below with reference to several representative embodiments.

[0059] Figure 1 This is a schematic flowchart of a fault self-healing method based on port redundancy according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0060] S1. Create a redundant port group and allocate logical resources;

[0061] like Figure 2 As shown, a redundant port group is created, allowing the addition / removal of group members; the group resource pool is configured, allowing the allocation / reclamation of resources;

[0062] like Figure 3 As shown, the resource allocation process is as follows:

[0063] Query port resource allocation information to determine if there are any associated port groups;

[0064] If there is no associated port group, query the resource allocation of a single port and allocate resources by port;

[0065] If there are associated port groups, query the resource allocation of the port groups to determine whether there are conflicts in the logical resources of the same group;

[0066] If a conflict occurs, the remaining available resources for the port are checked to determine if there are any available resources. If there are no available resources, the maximum available resources are allocated. If there are available resources, the conflicting resources for the port are marked and resources are allocated according to the port.

[0067] If there is no conflict, resources are allocated based on the port.

[0068] S2. When a port failure occurs, a service self-healing handover action is triggered to perform a service switchover.

[0069] like Figure 4 As shown, the fault monitoring function switches services if a fault occurs; otherwise, it checks if the program is interrupted. If the program is not interrupted, fault monitoring continues; otherwise, it terminates.

[0070] S3. When a port failure is recovered, the service self-healing rollback is triggered to perform service rollback.

[0071] like Figure 4 As shown, the fault recovery monitoring will proceed as follows: if the fault is recovered, the service will be rolled back; otherwise, it will determine whether the program was interrupted. If the program was not interrupted, the fault recovery monitoring will continue; otherwise, it will end.

[0072] It should be noted that although the operation of the method of the present invention has been described in a specific order in the above embodiments and figures, this does not require or imply that the operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0073] To provide a clearer explanation of the above-described method for rapidly generating functional configurations based on a novel metropolitan area network topology, a specific embodiment will be used for illustration below. However, it is worth noting that this embodiment is only for better illustrating the present invention and does not constitute an improper limitation of the present invention.

[0074] 1. Redundant port grouping:

[0075] Internet leased line services have the following two basic access methods (ignoring access layer switches and other equipment):

[0076] (1) The user connects to the aggregation switch, and the aggregation switch connects to two different SRs (Service Routers), such as... Figure 5 As shown.

[0077] (2) The user connects to the aggregation switch, and the aggregation switch connects to the same SR (Streaming Service Provider) twice. Figure 6 As shown.

[0078] For the two scenarios mentioned above, the redundant port group structure is designed as follows:

[0079]

[0080] The ID uniquely identifies a group of redundant ports. Members are port members in the same group (port members support both physical Ethernet ports and aggregated Ethernet ports). The device where the port is located, the port name, and the port bandwidth are included in the group for subsequent use. Each port member in the group has a unique group ID (mid) used to uniquely identify the port when switching services.

[0081] 2. Logical resource allocation:

[0082] Internet leased line users typically access SR devices via Layer 2. VLANs are crucial for user identification. When planning and allocating VLANs, the following principles should be followed (using VLAN segment 1001-1999 as an example):

[0083] (1) When assigning a VLAN to a member of a port, if the member of the same port group has not used the VLAN before, the VLAN is assigned directly and the VLAN is recorded. Assuming that VLAN 1001 is assigned to the user accessing GigabitEthernet1 / 0 / 1 on SR-1, the redundant port group structure becomes as follows:

[0084]

[0085]

[0086] (2) When assigning a VLAN to a member of a port, if the member of the same port group has already used the VLAN, then the VLAN is skipped first, and other available VLANs are selected for assignment first, and the VLAN is recorded; assuming that a VLAN is assigned to a user accessing GigabitEthernet1 / 0 / 1 on SR-2, then VLAN 1001 is skipped and VLAN 1002 is assigned directly:

[0087]

[0088]

[0089] (3) When assigning a VLAN to a member of a port, if the member of the same port group has already used the VLAN and there are no other available VLANs, a distinction record is made during the assignment (a hyphen is added before the VLAN name to indicate this distinction); for example, VLAN 1002 is assigned to the user accessing GigabitEthernet1 / 0 / 1 on SR-1:

[0090]

[0091]

[0092] 3. When the fault occurs:

[0093] A port down alarm triggers a service self-healing handover action. Assuming a down alarm occurs on port GigabitEthernet1 / 0 / 1 of SR-1 at this time, the handover process is initiated, migrating users (i.e., VLANs) on a per-user basis, following these principles:

[0094] (1) Scan other ports in the same port group, sort the ports that have not enabled the VLAN from largest to smallest bandwidth, and select the port with the largest bandwidth for service switching;

[0095] (2) Scan other ports in the same group. If the VLAN has been enabled, start from 1999 (the assumed upper limit of VLAN planning) and search in reverse order for the first available VLAN (i.e., not enabled on any other port). If multiple ports are scanned, sort them by bandwidth from largest to smallest and take the port with the largest bandwidth for service switching.

[0096] After completing the above steps, the port redundancy group configuration will change as follows:

[0097]

[0098]

[0099] The VLAN format in "=1101:1001:1001,1002,=1101:-1002:1999" is as follows:

[0100] A field starting with "=" indicates a service that has been switched over in an emergency due to a fault. The format of this field is "="mid:original VLAN:new VLAN. For VLANs that do not change during the switchover, the original VLAN and the new VLAN are the same, for example, "="1101:1001:1001. For VLANs that change during the switchover, the format is "="1101:-1002:1999.

[0101] 4. During fault recovery:

[0102] A port UP alarm triggers a service self-healing rollback action. Taking the GigabitEthernet1 / 0 / 1 port status of SR-1 changing to UP as an example, the standard procedure at this time is:

[0103] (1) Scan other port members in the same group to find VLAN information that starts with "=1101";

[0104] (2) On the backup device (SR-2 in this example), use the new VLAN (i.e., "=1101:1001:1001") as the sub-interface identifier and delete the corresponding sub-interface configuration.

[0105] After completing the above steps, the port redundancy group configuration will revert to its initial state:

[0106]

[0107]

[0108] Based on the same inventive concept, this invention also proposes a fault self-healing device based on port redundancy. The implementation of this device can refer to the implementation of the method described above, and repeated details will not be elaborated further. The term "module" used below can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0109] Figure 7 This is a schematic diagram of a fault self-healing device based on port redundancy according to an embodiment of the present invention. Figure 7 As shown, the device includes:

[0110] The redundant port group configuration module 101 is used to create redundant port groups and allocate logical resources.

[0111] A redundant port group includes a unique identifier for the redundant port group and port members in the same group. Port members in the same group include the device where the port is located, the port name, the port bandwidth, and the unique identifier of the port.

[0112] Logical resource allocation includes:

[0113] Query port resource allocation information to determine if there are any associated port groups;

[0114] If there is no associated port group, query the resource allocation of a single port and allocate resources by port;

[0115] If there are associated port groups, query the resource allocation of the port groups to determine whether there are conflicts in the logical resources of the same group;

[0116] If a conflict occurs, the remaining available resources for the port are checked to determine if there are any available resources. If there are no available resources, the maximum available resources are allocated. If there are available resources, the conflicting resources for the port are marked and resources are allocated according to the port.

[0117] If there is no conflict, resources are allocated based on the port.

[0118] VLAN allocation in logical resource allocation includes:

[0119] When assigning a VLAN to a member of a port, if the member of the same port has not used the VLAN before, the VLAN is assigned directly and the VLAN is recorded.

[0120] If a member of the same port group has already used the VLAN, skip the VLAN, prioritize other available VLANs for allocation, and record the VLAN.

[0121] If a member of the same port group has already used the VLAN and there are no other available VLANs, a different record will be made during the allocation process.

[0122] The service self-healing switching module 102 is used to trigger the service self-healing switching action when a port failure occurs. It scans other ports in the same port group, sorts the ports that have not enabled the VLAN in descending order of bandwidth, and selects the port with the largest bandwidth for service switching. If the VLAN has been enabled, it starts from the upper limit of the VLAN plan and searches in reverse order for the first VLAN that has not been enabled on any other port. If multiple ports are scanned, they are sorted in descending order of bandwidth and the port with the largest bandwidth is selected for service switching.

[0123] The service self-healing rollback module 103 is used to trigger the service self-healing rollback when a port failure is recovered. It scans other port members in the same group to find the VLAN record after the service switch. On the backup device, the new VLAN in the above VLAN record is used as the sub-interface identifier, and the corresponding sub-interface configuration is deleted to perform the service rollback.

[0124] It should be noted that although several modules of the port redundancy-based fault self-healing device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more modules described above can be embodied in a single module. Conversely, the features and functions of a single module described above can be further divided and embodied by multiple modules.

[0125] Based on the aforementioned inventive concept, such as Figure 8 As shown, the present invention also proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and executable on the processor 220. When the processor 220 executes the computer program 230, it implements the aforementioned fault self-healing method based on port redundancy.

[0126] Based on the aforementioned inventive concept, the present invention also proposes a computer-readable storage medium storing a computer program that executes the aforementioned fault self-healing method based on port redundancy.

[0127] The fault self-healing method and device based on port redundancy proposed in this invention have no impact on the existing network when there is no fault; when a fault occurs, it can automatically switch and guide services to achieve automatic fault healing; group members can be flexibly added, and bandwidth factors are comprehensively considered during switching to minimize the impact on existing services.

[0128] While the spirit and principles of the invention have been described with reference to several specific embodiments, it should be understood that the invention is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for ease of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

[0129] Regarding the limitation of the scope of protection of this invention, those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solution of this invention are still within the scope of protection of this invention.

Claims

1. A fault self-healing method based on port redundancy, characterized in that, The method includes: Create redundant port groups and perform logical resource allocation: When assigning a VLAN to a member of a port, if the member of the same group has not used the VLAN, the VLAN is assigned directly and recorded; if the member of the same group has used the VLAN, the VLAN is skipped first, and other available VLANs are selected for allocation and recorded; if the member of the same group has used the VLAN and there are no other available VLANs, a different record is made during allocation. When a port failure occurs, a service self-healing switchover action is triggered. Migration is carried out on a user-by-VLAN basis. Other ports in the same port group are scanned. Ports that have not enabled the VLAN are sorted by bandwidth from largest to smallest. The port with the largest bandwidth is selected for service switching. If the VLAN has already been enabled, the search starts from the upper limit of the VLAN plan and searches in reverse order for the first VLAN that has not been enabled on any other port. If multiple ports are scanned, they are sorted by bandwidth from largest to smallest. The port with the largest bandwidth is selected for service switching. When a port failure is recovered, the service self-healing rollback is triggered to perform the service rollback.

2. The fault self-healing method based on port redundancy according to claim 1, characterized in that, The redundant port group includes a unique identifier for the redundant port group and port members in the same group. Port members in the same group include the device where the port is located, the port name, the port bandwidth, and the unique identifier of the port.

3. The fault self-healing method based on port redundancy according to claim 1, characterized in that, The logical resource allocation includes: Query port resource allocation information to determine if there are any associated port groups; If there is no associated port group, query the resource allocation of a single port and allocate resources by port; If there are associated port groups, query the resource allocation of the port groups to determine whether there are conflicts in the logical resources of the same group; If a conflict occurs, the remaining available resources for the port are checked to determine if there are any available resources. If there are no available resources, the maximum available resources are allocated. If there are available resources, the conflicting resources for the port are marked and resources are allocated according to the port. If there is no conflict, resources are allocated based on the port.

4. The fault self-healing method based on port redundancy according to claim 3, characterized in that, The VLAN allocation in the logical resource allocation includes: When assigning a VLAN to a member of a port, if the member of the same port has not used the VLAN before, the VLAN is assigned directly and the VLAN is recorded. If a member of the same port group has already used the VLAN, skip the VLAN, prioritize other available VLANs for allocation, and record the VLAN. If a member of the same port group has already used the VLAN and there are no other available VLANs, a different record will be made during the allocation process.

5. The fault self-healing method based on port redundancy according to claim 1, characterized in that, The self-healing rollback of the service includes: Scan other port members in the same group to find the VLAN record after the service switch; On the backup device, use the new VLAN from the VLAN record above as the sub-interface identifier and delete the corresponding sub-interface configuration.

6. A fault self-healing device based on port redundancy, characterized in that, The device includes: The redundant port group configuration module is used to create redundant port groups and perform logical resource allocation: When assigning a VLAN to a member of a port, if the member of the same group has not used the VLAN, it is directly assigned and the VLAN is recorded; if the member of the same group has used the VLAN, the VLAN is skipped first, and other available VLANs are selected for allocation, and the VLANs are recorded; if the member of the same group has used the VLAN and there are no other available VLANs, a different record is made during allocation. The service self-healing switching module is used to trigger service self-healing switching when a port failure occurs. It migrates services on a user-by-VLAN basis, scans other ports in the same port group, sorts the ports that do not have the VLAN enabled by bandwidth from largest to smallest, and selects the port with the largest bandwidth for service switching. If the VLAN is already enabled, it starts from the upper limit of the VLAN plan and searches in reverse order for the first VLAN that is not enabled on any other port. If multiple ports are scanned, they are sorted by bandwidth from largest to smallest and the port with the largest bandwidth is selected for service switching. The service self-healing rollback module is used to trigger the service self-healing rollback process and perform service rollback when a port failure is recovered.

7. The fault self-healing device based on port redundancy according to claim 6, characterized in that, The redundant port group includes a unique identifier for the redundant port group and port members in the same group. Port members in the same group include the device where the port is located, the port name, the port bandwidth, and the unique identifier of the port.

8. The fault self-healing device based on port redundancy according to claim 6, characterized in that, The logical resource allocation includes: Query port resource allocation information to determine if there are any associated port groups; If there is no associated port group, query the resource allocation of a single port and allocate resources by port; If there are associated port groups, query the resource allocation of the port groups to determine whether there are conflicts in the logical resources of the same group; If a conflict occurs, the remaining available resources for the port are checked to determine if there are any available resources. If there are no available resources, the maximum available resources are allocated. If there are available resources, the conflicting resources for the port are marked and resources are allocated according to the port. If there is no conflict, resources are allocated based on the port.

9. The fault self-healing device based on port redundancy according to claim 8, characterized in that, The VLAN allocation in the logical resource allocation includes: When assigning a VLAN to a member of a port, if the member of the same port has not used the VLAN before, the VLAN is assigned directly and the VLAN is recorded. If a member of the same port group has already used the VLAN, skip the VLAN, prioritize other available VLANs for allocation, and record the VLAN. If a member of the same port group has already used the VLAN and there are no other available VLANs, a different record will be made during the allocation process.

10. The fault self-healing device based on port redundancy according to claim 6, characterized in that, The self-healing rollback of the service includes: Scan other port members in the same group to find the VLAN record after the service switch; On the backup device, use the new VLAN from the VLAN record above as the sub-interface identifier and delete the corresponding sub-interface configuration.

11. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1-5.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that performs the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Method and device for realizing redundant backup of link aggregation group of manual aggregation

    CN113141268A

  • Business data configuration method, device and equipment and computer storage medium

    CN113225628A