User backup method, device, system, equipment, medium and program product
The control plane device performs user backup based on the real-time migration priority and idle ratio of the faulty user online port, solving the disconnection problem caused by user online port failure and improving the reliability of the vBRAS system.
Patent Information
- Application Number
- CN202310835114.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2043-07-07
AI Technical Summary
In a virtualized broadband remote access server system, a user online port failure causes users to be disconnected, affecting normal business operations and reducing system reliability.
The control plane device responds to the fault information of the forwarding plane device, obtains the faulty user online port, and performs user backup based on the real-time migration priority and idle ratio of the normal user online port, thereby achieving user migration of the faulty user online port.
It improves the flexibility of control plane equipment, avoids user disconnection, ensures the normal processing of user services, and improves the reliability of the vBRAS system.
Smart Images

Figure CN116915586B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a user backup method, apparatus, system, device, medium, and program product. Background Art
[0002] With the construction of new metropolitan area networks, virtualized broadband remote access server (vBRAS) systems are gradually being deployed. The unique forwarding and control separation technology of the vBRAS system can provide unified operation, maintenance and management for users to ensure the normal operation of each user's business.
[0003] In related technologies, a vBRAS system within a metropolitan area network includes a control plane device and multiple forwarding plane devices, and each forwarding plane device is configured with a user online port. Each user online port corresponds to multiple user physical interfaces to implement user service processing.
[0004] However, in the related art, once a user online port fails, the user will be disconnected, affecting the normal processing of user services, thereby reducing the reliability of the vBRAS system. Summary of the Invention
[0005] Based on this, it is necessary to provide a user backup method, device, system, equipment, medium and program product to address the above technical problems, which greatly improves the flexibility of control plane equipment, ensures the normal handling of user services, and thus improves the reliability of the vBRAS system.
[0006] In a first aspect, an embodiment of the present application provides a user backup method, applied to a control plane device, the method comprising:
[0007] In response to the fault information of the target forwarding plane device, obtaining the faulty user online port on the target forwarding plane device;
[0008] According to the faulty user online port, obtain the real-time migration priority of multiple normal user online ports corresponding to the control plane device;
[0009] User backup is performed on the faulty user access port based on the real-time migration priority and the real-time idle ratio of each normal user access port.
[0010] In one embodiment, obtaining the faulty user online port on the target forwarding plane device includes:
[0011] Determine the current fault type of the target forwarding plane device based on the fault information;
[0012] According to a preset correspondence between the fault type and the online port identifier, the user online port represented by the online port identifier corresponding to the current fault type is determined as the faulty user online port.
[0013] In one embodiment, obtaining, based on identification information of a faulty user online port, real-time migration priorities of multiple normal user online ports corresponding to a control plane device includes:
[0014] Obtain identification information of the faulty user's online port;
[0015] Determine, from among multiple normal user online ports, based on the identification information of the faulty user online port, a first normal user online port in the target forwarding plane device, a second normal user online port in another forwarding plane device in the resource pool to which the target forwarding plane device belongs, and a third normal user online port in another resource pool other than the resource pool to which the target forwarding plane device belongs;
[0016] It is determined that the real-time migration priorities of the first normal user online interface, the second normal user online interface, and the third normal user online interface are sequentially reduced.
[0017] In one embodiment, user backup for a faulty user access port is performed based on the real-time migration priority and the real-time idle ratio of each normal user access port, including:
[0018] Determine at least one backup user online interface based on the real-time migration priority of each normal user online interface;
[0019] Determine the real-time idle ratio of each backup user access port based on the real-time idle ratio of each normal user access port;
[0020] Perform user backup for the faulty user online port based on the real-time idle ratio of each backup user online port.
[0021] In one embodiment, determining at least one backup user online interface based on the real-time migration priority of each normal user online interface includes:
[0022] Obtain the remaining service carrying capacity of each normal user access port and the service carrying capacity of the faulty user access port;
[0023] At least one backup user access port is determined according to the real-time migration priority of each normal user access port, the remaining service carrying capacity of each normal user access port, and the service carrying capacity of the faulty user access port.
[0024] In one embodiment, obtaining the remaining service carrying capacity of each normal user online port includes:
[0025] Obtain the remaining user carrying capacity and remaining broadband carrying capacity of each normal user online port based on the rated user carrying capacity, rated broadband carrying capacity, real-time user carrying capacity, and real-time broadband carrying capacity of each normal user online port;
[0026] The remaining user carrying capacity and the remaining broadband carrying capacity of each normal user online port are determined as the service remaining carrying capacity of each normal user online port.
[0027] In one embodiment, determining at least one backup user access port based on the real-time migration priority of each normal user access port, the remaining service carrying capacity of each normal user access port, and the service carrying capacity of the faulty user access port includes:
[0028] Based on the remaining service carrying capacity of each normal user access port, the remaining service carrying capacity is accumulated in descending order of their real-time migration priority until the total accumulated remaining service carrying capacity exceeds the service carrying capacity of the faulty user access port. The normal user access ports corresponding to the total remaining service carrying capacity are then determined as backup user access ports.
[0029] In one embodiment, the remaining service carrying capacity is accumulated in descending order of the real-time migration priority of each normal user access port until the total accumulated remaining service carrying capacity is greater than the service carrying capacity of the faulty user access port, including:
[0030] Obtain the total remaining service capacity of all normal user online interfaces with the highest real-time migration priority;
[0031] When the total remaining service carrying capacity is less than the service carrying capacity of the faulty user's online port, continue to obtain the total remaining service carrying capacity of each normal user online port with the highest real-time migration priority and each normal user online port with the second highest real-time migration priority, and so on, until it is determined that the total remaining service carrying capacity is greater than the service carrying capacity of the faulty user's online port.
[0032] In one embodiment, performing user backup for a failed user access port based on the real-time idle ratio of each backup user access port includes:
[0033] Obtain the service load allocation of each backup user access port based on the real-time idle ratio of each backup user access port and the service load of the faulty user access port;
[0034] Perform user backup for a faulty user's online port based on the service carrying capacity of each backup user's online port.
[0035] In one embodiment, obtaining a service load allocation amount for each backup user access port based on a real-time idle ratio of each backup user access port and a service load of a failed user access port includes:
[0036] Determine the total comprehensive real-time idle ratios corresponding to the backup user online ports based on the real-time idle ratios of the backup user online ports;
[0037] Determine the allocation ratio of each backup user online port based on the real-time idle ratio of each backup user online port and the sum of the comprehensive real-time idle ratios;
[0038] According to the allocation ratio of each backup user online port, the service carrying capacity of the faulty user online port is divided to obtain the service carrying allocation capacity of each backup user online port.
[0039] In one embodiment, performing user backup for a failed user access port according to the service carrying allocation of each backup user access port includes:
[0040] Determine the forwarding plane device to which each backup user online port belongs;
[0041] The service bearer allocation amount of the corresponding backup user access port is sent to each forwarding plane device to instruct each forwarding plane device to migrate the service bearer amount of the faulty user access port to the corresponding backup user access port according to the service bearer allocation amount, so as to perform user backup for the faulty user access port.
[0042] In a second aspect, an embodiment of the present application further provides a user backup method, which is applied to a target forwarding plane device, and the method includes:
[0043] Send fault information to the control plane device; the fault information is used to instruct the control plane device to obtain the real-time migration priorities of multiple normal user online ports corresponding to the control plane device based on the faulty user online port on the target forwarding plane device, so as to perform user backup for the faulty user online port based on the real-time migration priority of each normal user online port and the real-time idle ratio of each normal user online port.
[0044] In one embodiment, the method further comprises:
[0045] Receive the service bearer allocation of the target user access port sent by the control plane device; the target user access port is the user access port of the target forwarding plane device among the multiple backup user access ports; the multiple backup user access ports are determined by the control plane device based on the real-time migration priority and real-time idle ratio of each normal user access port;
[0046] According to the service bearer allocation amount of the target user access port, services of the service bearer amount of the faulty user access port equal to the service bearer allocation amount are allocated to the target user access port.
[0047] In one embodiment, the method further comprises:
[0048] Generate a user forwarding table entry based on the service bearer allocation of the target user's online port; the user forwarding table entry includes user information of the service bearers supported by the target user's online port;
[0049] Send the user forwarding entry to the corresponding routing device, instructing the routing device to send the user service corresponding to the user information to the target user online port for processing.
[0050] In a third aspect, an embodiment of the present application further provides a user backup device, the device comprising:
[0051] A fault response module, configured to obtain a faulty user online port on the target forwarding plane device in response to fault information of the target forwarding plane device;
[0052] A priority acquisition module is used to obtain the real-time migration priorities of multiple normal user online ports corresponding to the control plane device according to the faulty user online port;
[0053] The user backup module is used to perform user backup of a faulty user online port according to the real-time migration priority of each normal user online port and the real-time idle ratio of each normal user online port.
[0054] In a fourth aspect, an embodiment of the present application further provides a user backup device, the device comprising:
[0055] The fault sending module is configured to send fault information to the control plane device; the fault information is used to instruct the control plane device to obtain the real-time migration priorities of multiple normal user online ports corresponding to the control plane device based on the faulty user online port on the target forwarding plane device, so as to perform user backup for the faulty user online port based on the real-time migration priority of each normal user online port and the real-time idle ratio of each normal user online port.
[0056] In a fifth aspect, an embodiment of the present application further provides a user backup system, the system comprising a control plane device and a forwarding plane device;
[0057] A control plane device, configured to execute the steps of the method in any one of the embodiments of the first aspect above;
[0058] A forwarding plane device, configured to execute the steps of the method in any one of the embodiments of the second aspect above.
[0059] In a sixth aspect, embodiments of the present application further provide a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first to second aspects are implemented.
[0060] In the seventh aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect to the second aspect are implemented.
[0061] In an eighth aspect, an embodiment of the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the first to second aspects.
[0062] The user backup method, apparatus, system, device, medium, and program product described above, in response to fault information from a target forwarding plane device, obtains the faulty user access port on the target forwarding plane device. Then, based on the faulty user access port, they obtain the real-time migration priorities of multiple normal user access ports corresponding to the control plane device. Finally, based on the real-time migration priorities and real-time idle ratios of each normal user access port, they perform user backup for the faulty user access port. This is equivalent to the control plane device evaluating normal user access ports in real time based on the faulty user access port in the event of a user access port failure, obtaining the real-time migration priorities of each normal user access port. This determined real-time migration priorities truly and objectively reflect the location correlation between different normal user access ports and the faulty user access port, facilitating the flexible migration of users from the faulty user access port to normal user access ports. On this basis, combined with the real-time idle ratio and real-time migration priority of each normal user online port, the normal user online ports that need user backup and the user backup volume of each normal user online port are determined, and user backup of the faulty user online ports is carried out in a timely manner. This largely avoids users on the faulty user online ports from being disconnected and ensures the normal processing of user services. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A schematic diagram of the structure of a virtualized broadband remote access server system in one embodiment;
[0064] Figure 2 1 is a flow chart of a user backup method according to an embodiment;
[0065] Figure 3 Schematic diagram of a flow chart of the steps of determining an online port in one embodiment;
[0066] Figure 4 A flowchart of the steps for determining the priority of live migration in one embodiment is shown;
[0067] Figure 5 A flowchart of user backup execution steps in one embodiment;
[0068] Figure 6 A schematic flow chart of a step of determining an online port in another embodiment;
[0069] Figure 7 Schematic diagram of a process for obtaining remaining carrying capacity in one embodiment;
[0070] Figure 8 Schematic diagram of a flow chart of a step of obtaining remaining carrying capacity in another embodiment;
[0071] Figure 9 A flowchart of user backup execution steps in another embodiment;
[0072] Figure 10 A schematic flow chart of a step of determining the allocation amount in one embodiment;
[0073] Figure 11 A flowchart of user backup execution steps in another embodiment;
[0074] Figure 12 is a flowchart of a user backup method in another embodiment;
[0075] Figure 13 is a flowchart of a user backup method in another embodiment;
[0076] Figure 14 is a flowchart of a user backup method in another embodiment;
[0077] Figure 15 A schematic structural diagram of a virtualized broadband remote access server system in another embodiment;
[0078] Figure 16 is a structural block diagram of a user backup device in one embodiment;
[0079] Figure 17 FIG. 4 is a structural block diagram of a user backup device in another embodiment. DETAILED DESCRIPTION
[0080] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0081] A user backup method provided in an embodiment of the present application can be applied to an application scenario in which a control plane device reallocates a new user online port to a user on the failed forwarding plane device when a failure occurs on the forwarding plane device. Of course, it can also be applied to other scenarios.
[0082] The application scenario diagram of a user backup method provided by an embodiment of the present application may be a scenario where a virtualized broadband remote access server (vBRAS) system fails, such as Figure 1 As shown, Figure 1 The internal structure diagram of the vBRAS system 01 includes a control plane device 10 and multiple forwarding plane devices 20. Figure 1 Forwarding plane device 20 includes four forwarding plane devices. In the vBRAS system, control plane device 01 can also allocate multiple forwarding plane devices 20 to the same resource pool or different forwarding plane device resource pools based on the location of each forwarding plane device. For example, forwarding plane device 1 and forwarding plane device 2 can be bound to the first resource pool, and forwarding plane device 3 and forwarding plane device 4 can be bound to the second resource pool. Control plane device 10 is communicatively connected to forwarding plane device 1, forwarding plane device 2, forwarding plane device 3, and forwarding plane device 4 in the forwarding plane devices 20. Each forwarding plane device 20 can also include multiple user access ports, each of which is bound to one or more physical ports.
[0083] By deploying the vBRAS system in local area networks (LANs) such as metropolitan area networks (MANs), utilizing the vBRAS system's unique control and forwarding separation technology, and cooperating with the control plane (CP) and user plane (UP) devices in the vBRAS, centralized management and control of users can be achieved.
[0084] In actual applications, if a forwarding plane device fails, user traffic is typically forwarded through other forwarding plane devices to ensure normal service operation, avoid user disconnection, and maintain vBRAS system reliability. It should be noted that this process of forwarding user traffic through other forwarding plane devices to ensure normal service operation is seamless for users and is also known as user backup migration.
[0085] In the related art, during the user backup process, it is usually necessary to pre-configure forwarding plane devices across the machine frame, and the user online ports within the same forwarding plane device back up each other. At the same time, it is necessary to reserve the performance of the user online port so that when a user online port fails, the users carried by the failed user online port are migrated to the designated reserved user online port. Naturally, it is also necessary to have sufficient resources on the reserved user online port to carry the users and their business traffic of the migrated failed user online port.
[0086] In this case, if the pre-configured forwarding plane device cannot support users connected to the faulty user access port, users will be disconnected and will need to redial their connection. To ensure normal service operation, the forwarding plane device must be expanded. However, in related technologies, when expanding forwarding plane devices at the chassis level, the backup relationship must be reconfigured.
[0087] Based on this, taking into account factors such as the user backup configuration method in related technologies being relatively complex and redundant, and the user backup migration method being relatively simple, an embodiment of the present application provides a user backup method, which develops the computing power of the control plane device to a certain extent, and mobilizes user migration through the control plane device. The control plane device obtains the real-time migration priority of multiple normal user online ports based on the identification information of the faulty user online port, and migrates the users of the faulty user online port to the normal user online port based on the real-time migration priority and real-time idle ratio of the normal user online port, thereby realizing user backup of the faulty online port. While improving the flexibility of the control plane device, it largely avoids the disconnection of users on the faulty user online port, thereby ensuring the normal handling of user services.
[0088] It should be noted that the beneficial effects or technical problems solved by the embodiments of the present application are not limited to this one, but may also include other implicit or related problems. For details, please refer to the description of the following embodiments.
[0089] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0090] In one embodiment, Figure 2 As shown, a user backup method is provided, which is applied to Figure 1 The control plane device in the example is used to illustrate the process, including the following steps:
[0091] S201 : In response to fault information of a target forwarding plane device, obtain a faulty user online port on the target forwarding plane device.
[0092] The forwarding plane device includes multiple user online ports, and each user online port includes one or more physical interfaces.
[0093] In actual applications, the control plane device maintains real-time communication connections with multiple forwarding plane devices, so that the control device can send instructions to each forwarding plane device, such as user table entries; and each forwarding plane device can send fault information of each forwarding plane device to the control plane device, such as board failure, port failure, link failure or entire device failure of the forwarding plane device.
[0094] At the same time, each forwarding plane device can also send real-time status information of each user online port on the forwarding plane device to the control plane device, such as the number of users carried by each user online port, the amount of carried bandwidth, the occupied network-side bandwidth of the forwarding plane device, and the occupied capacity of the forwarding plane device, so that the control plane device can obtain the real-time status information of each user online port and maintain the normal operation of user services on each user online port based on the real-time status information.
[0095] In this embodiment of the present application, the forwarding plane device that sends the fault information is determined as the target forwarding plane device. When the fault information is received from the target forwarding plane device, the control plane device determines the user access port of the target forwarding plane device affected by the fault information as the faulty user access port based on the fault information.
[0096] Optionally, the fault information of the target forwarding plane device carries the user access port and the fault severity of the user access port. The control plane device extracts the fault severity of the user access port carried in the fault information based on the fault information, and determines the user access port whose fault severity is greater than a preset threshold as the faulty user access port.
[0097] S202 : According to the faulty user online port, obtain the real-time migration priorities of multiple normal user online ports corresponding to the control plane device.
[0098] It should be noted that in actual applications, control plane devices usually divide multiple forwarding plane devices into one resource pool based on location. One control plane device corresponds to multiple resource pools, that is, the control plane device manages the user online ports of the forwarding plane devices in multiple resource pools.
[0099] For example, when a vBRAS system is deployed in a metropolitan area network (MAN), the control plane device in the vBRAS system divides multiple forwarding plane devices in the same cell into a resource pool. The control plane device manages the user online ports of multiple forwarding plane devices in multiple resource pools across the entire MAN.
[0100] If the faulty user access port is identified, services carried on the faulty user access port need to be migrated to normal user access ports. Normal user access ports refer to all user access ports corresponding to the control plane device, excluding the faulty user access port.
[0101] During user service migration, services carried by the faulty user access port are migrated to different, functioning user access ports. Due to the location correlation between the faulty and functioning user access ports, the corresponding traffic migration and the extent of the change in forwarding plane device status may vary. Specifically, the closer the faulty and functioning user access ports are, the smaller the traffic migration and the extent of the change in forwarding plane device status.
[0102] In this case, in order to minimize traffic calls and changes in the forwarding plane device status, an embodiment of the present application divides multiple normal user online ports according to the location correlation between multiple normal user online ports and faulty user online ports, and obtains the real-time migration priority of each normal user online port.
[0103] Among them, the real-time migration priority of the normal user online port represents the sorting priority of the normal user online port. In the embodiment of the present application, the carried services of the faulty user online port are migrated to the normal user online port in order of real-time priority from high to low.
[0104] S203 , performing user backup of the faulty user online interface according to the real-time migration priority of each normal user online interface and the real-time idle ratio of each normal user online interface.
[0105] The real-time idle ratio of each normal user access port represents the idle state of each normal user access port. In this embodiment of the present application, services carried by the faulty user access port are migrated to normal user access ports in descending order of the real-time idle ratio.
[0106] In this embodiment of the present application, the backup user access ports that need to share the service load of the faulty user access port, as well as the service load allocation amount of each backup user access port, are determined based on the real-time migration priority and real-time idle ratio of each normal user access port.
[0107] Optionally, the backup user online port that needs to share the service load of the faulty user online port is determined based on the real-time migration priority of each normal user online port, and the service load allocation amount on the backup user online port is determined based on the real-time idle ratio of each normal user online port.
[0108] Optionally, the backup user online port that needs to share the service load of the faulty user online port is determined based on the real-time idle ratio of each normal user online port, and the service load allocation on the backup user online port is determined based on the real-time migration priority of each normal user online port.
[0109] The user backup method in the embodiments of the present application responds to fault information from a target forwarding plane device by obtaining a faulty user access port on the target forwarding plane device. Then, based on the identification information of the faulty user access port, it obtains the real-time migration priorities of multiple normal user access ports corresponding to the control plane device. Finally, based on the real-time migration priorities and real-time idle ratios of each normal user access port, user backup is performed for the faulty user access port. This is equivalent to the control plane device evaluating each normal user access port in real time based on the identification information of the faulty user access port in the event of a user access port failure, obtaining the real-time migration priority of each normal user access port. This determined real-time migration priority truly and objectively reflects the location correlation between different normal user access ports and the faulty user access port, facilitating the flexible migration of users of the faulty user access port to normal user access ports. On this basis, combined with the real-time idle ratio and real-time migration priority of each normal user online port, the normal user online ports that need user backup and the user backup volume of each normal user online port are determined, and user backup of the faulty user online ports is carried out in a timely manner. This largely avoids users on the faulty user online ports from being disconnected and ensures the normal processing of user services.
[0110] The preceding embodiment describes the basis for determining the faulty user access port, namely, determining the faulty user access port based on the fault information of the target forwarding plane device. Based on this, the following describes the specific steps for determining the faulty user access port when fault information is obtained, using an embodiment.
[0111] In one embodiment, Figure 3 As shown in the figure, obtain the faulty user online interface on the target forwarding plane device, including:
[0112] S301: Determine the current fault type of the target forwarding plane device according to the fault information.
[0113] The fault information includes a series of information about the target forwarding plane device fault, such as the fault time, fault cause, fault impact range, and fault type. The fault type can be a card fault, port fault, link fault, or entire device fault.
[0114] Optionally, the fault type at the current moment is filtered out from the fault information of the target forwarding plane device according to the fault time, and the filtered fault type is determined as the current fault type of the target forwarding plane device.
[0115] Optionally, from the fault information of the target forwarding plane device, according to the fault impact range, a fault type having a fault impact range greater than a preset impact range is screened out, and the screened out fault type is determined as the current fault type of the target forwarding plane device.
[0116] It should be noted that the current fault type may include one fault or multiple faults.
[0117] S302 : According to a preset correspondence between the fault type and the online port identifier, determine the user online port represented by the online port identifier corresponding to the current fault type as the faulty user online port.
[0118] The online port identifier is marked by the control plane device according to the position relationship of the online port, and is used to distinguish the positions of different online ports on the target forwarding plane device.
[0119] In the embodiment of the present application, due to different fault types, the number of user online ports affected by the fault is also different, that is, one fault type may correspond to one online port identifier or multiple online port identifiers.
[0120] Optionally, the correspondence between the fault type and the online port identifier is pre-stored in the control plane device. When the current fault type of the target forwarding plane device is determined, the fault online port identifier is determined by one or more online port identifiers corresponding to the current fault type, and the corresponding fault user online port is determined from the target forwarding plane device based on the fault online port identifier.
[0121] In the embodiment of the present application, the correspondence between the fault type and the online port identifier is pre-stored in the control plane device, and the method of determining the online port of the faulty user is determined in combination with the current fault type in the fault information, thereby fully utilizing the powerful computing power and storage capacity of the control plane device and releasing the computing power of the control plane device to the greatest extent.
[0122] When obtaining a faulty user access port, it's also necessary to determine a normal user access port for user backup and the priority of each normal user access port to facilitate user migration for the faulty user access port. Based on this, the following describes, using an embodiment, the steps for obtaining the real-time migration priority of a normal user access port when obtaining a faulty user access port.
[0123] In one embodiment, Figure 4 As shown, according to the identification information of the faulty user online port, the real-time migration priority of multiple normal user online ports corresponding to the control plane device is obtained, including:
[0124] S401: Obtain identification information of a faulty user online port.
[0125] In the embodiment of the present application, the control plane device marks the location information of each user access port in each forwarding plane device, and allocates a set of identification information to each user access port.
[0126] For any user access port, the corresponding identification information includes the port ID of the user access port, the frame ID of the forwarding plane device where the user access port is located, and the pool ID of the resource pool where the user access port is located. It can be seen that the identification information corresponding to each user access port is unique.
[0127] Naturally, the identification information of the faulty user online port includes the port ID of the faulty user online port, the chassis ID of the forwarding plane device to which the faulty user online port belongs, and the pool ID of the resource pool to which the faulty user online port belongs.
[0128] The identification information of each normal user online port includes the port ID of each normal user online port, the chassis ID of the forwarding plane device to which each normal user online port belongs, and the pool ID of the resource pool to which each normal user online port belongs.
[0129] S402: Based on the identification information of the faulty user access port, determine, from among multiple normal user access ports, a first normal user access port in a target forwarding plane device, a second normal user access port in another forwarding plane device in a resource pool to which the target forwarding plane device belongs, and a third normal user access port in another resource pool other than the resource pool to which the target forwarding plane device belongs.
[0130] It should be noted that the control plane device manages and marks the user access ports of multiple forwarding plane devices, including the target forwarding plane device. Accordingly, the control plane device marks all user access ports, including the faulty user access port, and stores the identification information of all user access ports. In other words, the control plane device stores the identification information of the faulty user access port and the identification information of all normal user access ports.
[0131] Based on the identification information of the faulty user access port, the port ID of the faulty user access port, the frame ID of the faulty user access port (the target forwarding plane device), and the pool ID of the faulty user access port (the resource pool to which the target forwarding device belongs) are obtained. Then, combined with the identification information of multiple normal user access ports, the forwarding plane device and resource pool to which each normal user access port belongs are determined. A normal user access port on the target forwarding plane device is determined as a first normal user access port; a normal user access port within the resource pool to which the target forwarding device belongs but outside the target forwarding plane device is determined as a second normal user access port; and a normal user access port outside the target forwarding device is determined as a third normal user access port.
[0132] S403 : Determine the real-time migration priorities of the first normal user online interface, the second normal user online interface, and the third normal user online interface in descending order.
[0133] The real-time migration priority of the first, second, and third normal user access ports is determined based on the location association between the faulty user access port and the first, second, and third normal user access ports. The closer the location association, the higher the real-time migration priority of the corresponding normal user access port.
[0134] In an embodiment of the present application, the real-time migration priority of normal user online ports is divided into three levels based on the identification information of the faulty user online port: the real-time priority of the first normal user online port located in the same target forwarding plane device as the faulty user online port is set to the highest priority; the real-time priority of the first normal user online port located in the same resource pool as the faulty user online port and not in a different forwarding plane device is set to the second highest priority; and the real-time priority of the third normal user online port located in a different resource pool from the faulty user online port is set to the lowest priority.
[0135] The embodiment of the present application takes into account the positional association between a faulty user access port and multiple normal user access ports. Based on the identification information of the faulty user access port, the multiple normal user access ports are divided into three types: a first normal user access port, a second normal user access port, and a third normal user access port. Different real-time migration priorities are determined for different types of normal user access ports to differentiate the priorities of the faulty user access port when migrating to different types of normal user access ports. This improves the flexibility of user backup for the faulty user access ports to a certain extent.
[0136] By obtaining the real-time migration priorities of the faulty user access ports and the normal user access ports, the traffic carried by the faulty access port can be migrated to the normal user access ports, completing the user backup process for the faulty user access port. Based on this, the specific steps of user backup are described below using an embodiment.
[0137] In one embodiment, Figure 5 As shown in the figure, based on the real-time migration priority and the real-time idle ratio of each normal user online interface, user backup is performed for the faulty user online interface, including:
[0138] S501 : Determine at least one backup user online interface based on the real-time migration priority of each normal user online interface.
[0139] Each normal user access port is used as a candidate user access port to share the traffic carried by the faulty user access port. One or more backup user access ports are determined from the multiple candidate user access ports in descending order of their real-time migration priority.
[0140] In an embodiment of the present application, all normal user online ports of the control plane device are graded: the real-time migration priority of each normal user online port on the target forwarding plane device is the same, which is the highest priority; the real-time migration priority of each normal user online port outside the target forwarding plane device and within the resource pool to which the target forwarding device belongs is the same, which is the second highest priority; the real-time migration priority of each normal user online port outside the resource pool to which the target forwarding device belongs is the same, which is the lowest priority.
[0141] Optionally, a normal user online port with the highest priority, that is, each normal user online port on the target forwarding plane device to which the faulty user online port belongs, is determined as a backup user online port.
[0142] Optionally, a normal user online port with the highest priority and a normal user online port with the second highest priority, that is, each normal user online port in the resource pool to which the faulty user online port belongs, is determined as a backup user online port.
[0143] Optionally, the highest-priority normal user access port, the second-highest-priority normal user access port, and the lowest-priority normal user access port, that is, all normal user access ports corresponding to the control plane device, are determined as backup user access ports.
[0144] S502 : Determine the real-time idle ratio of each backup user online port according to the real-time idle ratio of each normal user online port.
[0145] The backup user access ports are obtained from the normal user access ports. That is, the normal user access ports include the backup user access ports. Correspondingly, the real-time idle ratio of each normal user access port also includes the real-time idle ratio of each backup user access port.
[0146] Optionally, the control plane device maintains a real-time idle table of all user access ports (both faulty and normal). This idle table includes identification information and real-time idle ratios for all user access ports. When a backup user access port is identified, the real-time idle ratio of the backup user access port is retrieved from the idle table based on the backup port's identification information.
[0147] S503: Perform user backup of the faulty user online interface according to the real-time idle ratio of each backup user online interface.
[0148] The migration priority of each backup user access port is determined based on the real-time idle ratio of each backup user access port. The migration traffic volume of each backup user access port is determined based on the migration priority and the traffic carried by the faulty user access port, and user backup is performed on the faulty user access port.
[0149] In an embodiment of the present application, a user allocation rule for a control plane device is formulated based on the real-time migration priority of each normal user access port and the real-time idle ratio of each backup user access port. This rule instructs each backup user access port to back up users of a faulty user access port. This improves the flexibility of the control plane device while ensuring that users of the faulty user access port do not go offline to the greatest extent, thereby improving the reliability of the system where the user access port resides.
[0150] Next, a possible implementation method of "determining at least one backup user online port based on the real-time migration priority of each normal user online port" in the above embodiment S501 is described. Figure 6 As shown in the figure, the steps for determining the backup user online interface include:
[0151] S601: Obtain the remaining service carrying capacity of each normal user access port and the service carrying capacity of each faulty user access port.
[0152] Optionally, the control plane device maintains an idle table that includes the remaining service load of each normal user access port and the service load of each faulty user access port. The remaining service load of each normal user access port and the service load of each faulty user access port can then be directly read from the idle table.
[0153] S602 : Determine at least one backup user access port according to the real-time migration priority of each normal user access port, the remaining service carrying capacity of each normal user access port, and the service carrying capacity of the faulty user access port.
[0154] In this embodiment, the number of backup user access ports can be one, that is, all service carrying capacity of the faulty user access port is migrated to one normal user access port; or it can be multiple, that is, the service carrying capacity of the faulty user access port is migrated to multiple normal user access ports respectively.
[0155] Optionally, a normal user online port corresponding to a service remaining carrying capacity greater than the service carrying capacity of the faulty user online port is determined as a candidate user online port, the real-time migration priority of the candidate user online port is determined according to the real-time migration priority of each normal user online port, and the candidate user online port with the highest real-time migration priority is determined as the backup user online port.
[0156] In the embodiment of the present application, a backup user access port is determined based on the real-time migration priority, remaining service carrying capacity, and service carrying capacity of each normal user access port. If the backup user access port can carry the service carrying capacity of the faulty user access port, the service carrying capacity of the faulty user access port is entirely migrated to the backup user access port. This largely preserves the binding relationship between the service carrying capacities of the faulty user access ports and reduces the migration burden of user backup.
[0157] Optionally, based on the remaining service carrying capacity of each normal user online port, the remaining service carrying capacity is accumulated in sequence according to the real-time migration priority of each normal user online port from high to low, until the total accumulated remaining service carrying capacity is greater than the service carrying capacity of the faulty user online port, and the normal user online ports corresponding to the total remaining service carrying capacity are determined as backup user online ports.
[0158] In the embodiment of the present application, a backup user access port is determined based on the real-time migration priority of a normal user access port, the remaining service carrying capacity of the normal user access port, and the service carrying capacity of a faulty user access port. Taking into account multiple factors that affect the efficiency of migrating the service carrying capacity of the faulty user access port, while the backup user access port supports the service carrying capacity of the faulty user access port, the normal user access port with the highest real-time migration priority is preferentially selected for user backup, thereby reducing traffic mobilization and device status changes.
[0159] The following describes a possible step to obtain the remaining service capacity of each normal user online port. Figure 7 , Figure 7 A schematic diagram of the process of obtaining the remaining service carrying capacity of each normal user online port includes the following steps:
[0160] S701 : Obtain the remaining user carrying capacity and remaining broadband carrying capacity of each normal user online port according to the rated user carrying capacity, rated broadband carrying capacity, real-time user carrying capacity, and real-time broadband carrying capacity of each normal user online port.
[0161] Optionally, the rated user carrying capacity, rated broadband carrying capacity, real-time user carrying capacity and real-time broadband carrying capacity of each user online port can be stored in the status table maintained by the control plane device in the aforementioned embodiment, and the real-time user carrying capacity and real-time broadband carrying capacity are maintained in real time by the control plane device by synchronously monitoring the actual status information of each user online port to improve the calculation efficiency of the remaining service carrying capacity.
[0162] Optionally, the rated user carrying capacity and rated broadband carrying capacity of each user online port may be pre-stored in the memory of the control plane device, and the real-time user carrying capacity and real-time broadband carrying capacity of each user online port may be obtained by calling sensors for real-time monitoring.
[0163] For any normal user access port, the rated user carrying capacity of the normal user access port is subtracted from the real-time user carrying capacity of the normal user access port, and the obtained subtraction result is the remaining user carrying capacity of the normal user access port.
[0164] The calculation method for obtaining the remaining user carrying capacity is the same as that for obtaining the remaining user carrying capacity. The rated broadband carrying capacity of the normal user's online port is subtracted from the real-time broadband carrying capacity of the normal user's online port. The obtained subtraction result is the remaining broadband carrying capacity of the normal user's online port.
[0165] S702: Determine the remaining user bearer capacity and the remaining broadband bearer capacity of each normal user online port as the service remaining bearer capacity of each normal user online port.
[0166] For any normal user online port, the remaining user bearer capacity and the remaining broadband bearer capacity of the normal user online port are summed up to obtain the service remaining bearer capacity of the normal user online port.
[0167] In the embodiment of the present application, the remaining user carrying capacity of each normal user online port is determined based on the rated user carrying capacity and the real-time user carrying capacity, and the remaining broadband carrying capacity of each normal user online port is determined based on the rated user carrying capacity and the real-time broadband carrying capacity. This is equivalent to taking into account that the real-time user carrying capacity and the real-time broadband carrying capacity of each user online port are continuously changing in actual applications. Based on this, the remaining user carrying capacity and the remaining broadband carrying capacity determined by the real-time user carrying capacity and the real-time broadband carrying capacity are also more accurate, and then the remaining service carrying capacity determined based on the remaining user carrying capacity and the remaining broadband carrying capacity is also more accurate.
[0168] The following describes an achievable acquisition step for the aforementioned embodiment of "accumulating the remaining service carrying capacity in order of the real-time migration priority of each normal user access port from high to low, until the total accumulated remaining service carrying capacity is greater than the service carrying capacity of the faulty user access port" through an embodiment. Figure 8 , the method for obtaining the service carrying capacity includes the following steps:
[0169] S801: Obtain the total remaining service carrying capacity of all normal user online interfaces with the highest real-time migration priority.
[0170] S802. When the total remaining service carrying capacity is less than the service carrying capacity of the faulty user online port, continue to obtain the total remaining service carrying capacity of each normal user online port with the highest real-time migration priority and each normal user online port with the second highest real-time migration priority, and so on, until it is determined that the total remaining service carrying capacity is greater than the service carrying capacity of the faulty user online port.
[0171] For example, the total remaining service load of all normal user online ports with the highest real-time migration priority is: 2609 remaining user sessions, 173G remaining broadband load; the total remaining service load of all normal user online ports with the second highest real-time migration priority is: 4620 remaining user sessions, 247G remaining broadband load; the total remaining service load of all normal user online ports with the lowest real-time migration priority is: 9200 remaining user sessions, 499G remaining broadband load.
[0172] If the service carrying capacity of the faulty user access port is 465 user sessions and 116G broadband carrying capacity, and the total remaining service carrying capacity of the normal user access port with the highest real-time migration priority is greater than the service carrying capacity of the faulty user access port, the normal user access port with the highest real-time migration priority will be determined as the backup user access port.
[0173] If the service carrying capacity of the faulty user access port is 685 user sessions and 171 GB of broadband carrying capacity, then the remaining service carrying capacity of the normal user access port with the highest real-time migration priority can carry the user sessions of the faulty user access port, but cannot carry the broadband carrying capacity of the faulty user access port. In other words, the remaining service carrying capacity of the normal user access port with the highest real-time migration priority is less than the service carrying capacity of the faulty user access port. In this case, the remaining service carrying capacity of the normal user access port with the highest real-time migration priority and the remaining service carrying capacity of the normal user access port with the second highest real-time migration priority are accumulated. The total remaining service carrying capacity is 7329 (2609 + 4620) remaining user sessions and 420 (173 + 247) GB of remaining broadband carrying capacity. Obviously, this combined remaining service carrying capacity is greater than the service carrying capacity of the faulty user access port. Therefore, the normal user access ports with the highest real-time migration priority and the normal user access ports with the second highest real-time migration priority are determined as backup user access ports.
[0174] In the embodiment of the present application, the sum of the remaining service carrying capacity of each normal user online port is obtained in descending order of real-time migration priority until the sum of the remaining service carrying capacity is greater than the service carrying capacity of the faulty user online port. That is, in the process of determining the backup user online port, the normal user online port with the highest real-time migration priority will be selected for user backup to minimize traffic mobilization and device status changes.
[0175] Next, a possible implementation method of "performing user backup of a failed user online port according to the real-time idle ratio of each backup user online port" in the aforementioned embodiment S503 is described. Figure 9 As shown in the figure, the user backup steps for a faulty user online interface include:
[0176] S901 : Obtain a service carrying allocation of each backup user access port according to the real-time idle ratio of each backup user access port and the service carrying capacity of the faulty user access port.
[0177] The allocation ratio of each backup user access port is obtained according to the real-time idle ratio of each backup user access port, and the service carrying allocation amount of each backup user access port is calculated according to the allocation ratio and the service carrying amount of the faulty user access port.
[0178] It should be noted that during user backup, the number of users and bandwidth carried by each normal user online port are interrelated. Therefore, when determining the service bearer allocation amount, the number of users carried can be considered for allocation.
[0179] Optionally, for any backup user online port, the cumulative result of the real-time idle ratio of the backup user online port and the preset idle ratio weight is used as the allocation ratio of the backup user online port, and the business load allocation amount corresponding to the allocation ratio is calculated based on the allocation ratio and the business load capacity of the faulty user online port.
[0180] In practical applications, when determining the allocation ratio for each backup user access port, the method of determining the allocation ratio based on the preset idle ratio is independent of interference from other backup user access ports and is not affected by each other. Alternatively, the idle ratios of each backup user access port can be combined to determine the total idle ratio of all backup user access ports. The allocation ratio for each backup user access port can then be determined as the ratio of the idle ratio of each backup user access port to the total idle ratio.
[0181] Optionally, for a method of introducing the total idle ratio to determine the service bearer allocation amount, such as Figure 10 As shown, according to the real-time idle ratio of each backup user access port and the service carrying capacity of the faulty user access port, the service carrying capacity allocation of each backup user access port is obtained, including:
[0182] S1001 : Determine the total real-time idle ratio corresponding to each backup user online port according to the real-time idle ratio of each backup user online port.
[0183] The real-time idle ratios of the backup user online ports are accumulated and calculated, and the accumulated result is the total real-time idle ratio.
[0184] S1002 : Determine the allocation ratio of each backup user online port according to the real-time idle ratio and the sum of the real-time idle ratios of each backup user online port.
[0185] For any backup user access port, the allocation ratio of the backup user access port is calculated by dividing the real-time idle ratio of the backup user access port by the total real-time idle ratio.
[0186] S1003 , dividing the service carrying capacity of the faulty user access port according to the allocation ratio of each backup user access port, and obtaining the service carrying allocation capacity of each backup user access port.
[0187] For any backup user access port, the allocation ratio of the backup user access port is multiplied by the service carrying capacity of the faulty user access port to obtain the service carrying allocation capacity of the backup user access port.
[0188] In the embodiment of the present application, based on the total real-time idle ratio, the allocation ratio of each backup user access port is determined according to the allocation ratio of the real-time idle ratio of each backup user access port to the total real-time idle ratio, so as to better reflect the actual working status of the backup user access ports.
[0189] S902: Perform user backup for the failed user online interface according to the service carrying allocation of each backup user online interface.
[0190] The service load allocation of each backup user online port is sent to the forwarding plane device to which the backup user online port belongs. The forwarding plane device publishes routes based on the received service load allocation, guiding the user service traffic of the failed user online port to migrate to the backup user online port, realizing user backup.
[0191] Optionally, based on the identification information of each backup user online port, the forwarding plane device to which each backup user online port belongs is determined, and based on the service carrying allocation amount of each backup user online port, the user table entry of each backup user online port is determined; then, the user table entry of the corresponding backup user online port is issued to the forwarding plane device to which each backup user online port belongs, so as to instruct each forwarding plane device to generate a forwarding table entry based on the user table entry of the backup user online port, guide traffic migration, and realize user backup and migration.
[0192] In the embodiment of the present application, user backup of the faulty user online port is performed based on the real-time idle ratio of each backup user online port and the service load allocation of each backup user online port. This is equivalent to considering multiple factors that actually affect the user migration efficiency during the user backup process, thereby improving the user backup efficiency to a certain extent.
[0193] Next, an embodiment is used to describe a possible implementation method of "performing user backup for a failed user access port according to the service carrying capacity allocation of each backup user access port". Figure 11 As shown, the following steps are included:
[0194] S1101: Determine the forwarding plane device to which each backup user online port belongs.
[0195] The forwarding plane device to which the backup user online port belongs may be the target forwarding plane device to which the failed user online port belongs, or may be another forwarding plane device except the target forwarding plane device among the multiple forwarding plane devices corresponding to the control plane device.
[0196] S1102: Send the service bearer allocation of the corresponding backup user access port to each forwarding plane device to instruct each forwarding plane device to migrate the service bearer of the faulty user access port to the corresponding backup user access port according to the service bearer allocation, so as to perform user backup for the faulty user access port.
[0197] Based on the identification information of each backup user access port, the forwarding plane device to which each backup user access port belongs is determined. The service load allocation for each backup user access port is sent to the forwarding plane device of each backup user access port, guiding the user traffic migration of the failed user access port to achieve user backup and migration.
[0198] In the embodiment of the present application, a corresponding service load allocation is sent to the forwarding plane device to which each backup user access port belongs. The user services carried by the faulty user access port are shared by multiple user access ports. While ensuring that the user services of the faulty user access port are not disconnected, the working status balance and rationality of the multiple user access ports in the system where the faulty user access port is located are improved to a certain extent.
[0199] In one embodiment, a user backup method is provided, the method comprising the following steps:
[0200] (1) In response to the fault information of the target forwarding plane device, determine the current fault type of the target forwarding plane device according to the fault information.
[0201] (2) According to the preset correspondence between the fault type and the online port identifier, the user online port represented by the online port identifier corresponding to the current fault type is determined as the faulty user online port.
[0202] (3) Obtain the identification information of the faulty user's online port.
[0203] (4) Based on the identification information of the faulty user online port, determine from multiple normal user online ports a first normal user online port in the target forwarding plane device, a second normal user online port in another forwarding plane device in the resource pool to which the target forwarding plane device belongs, and a third normal user online port in another resource pool except the resource pool to which the target forwarding plane device belongs.
[0204] (5) Determine the real-time migration priorities of the first normal user online port, the second normal user online port, and the third normal user online port in descending order.
[0205] (6) Obtain the remaining user carrying capacity and remaining broadband carrying capacity of each normal user online port based on the rated user carrying capacity, rated broadband carrying capacity, real-time user carrying capacity, and real-time broadband carrying capacity of each normal user online port.
[0206] (7) The remaining user carrying capacity and the remaining broadband carrying capacity of each normal user online port are determined as the service remaining carrying capacity of each normal user online port.
[0207] (8) The real-time user carrying capacity and real-time broadband carrying capacity of the faulty user online port are used as the service carrying capacity of the faulty user online port.
[0208] (9) According to the remaining service load of each normal user online port, the total remaining service load of each normal user online port with the highest real-time migration priority is obtained.
[0209] (10) When the sum of the remaining service carrying capacity is less than the service carrying capacity of the faulty user online port, the sum of the remaining service carrying capacity of each normal user online port with the highest real-time migration priority and each normal user online port with the second highest real-time migration priority is obtained, and so on, until it is determined that the sum of the remaining service carrying capacity is greater than the service carrying capacity of the faulty user online port, and at least one backup user online port is determined.
[0210] (11) According to the real-time idle ratio of each backup user online port, the total real-time idle ratio corresponding to each backup user online port is determined.
[0211] (12) Determine the allocation ratio of each backup user online port based on the real-time idle ratio and the total real-time idle ratio of each backup user online port.
[0212] (13) According to the allocation ratio of each backup user access port, the service carrying capacity of the faulty user access port is divided to obtain the service carrying allocation capacity of each backup user access port.
[0213] (14) Determine the forwarding plane device to which each backup user online port belongs.
[0214] (15) Sending the service load allocation of the corresponding backup user access port to each forwarding plane device to instruct each forwarding plane device to migrate the service load of the faulty user access port to the corresponding backup user access port according to the service load allocation, so as to perform user backup for the faulty user access port.
[0215] In this embodiment of the present application, in response to fault information from a target forwarding plane device, the faulty user access port on the target forwarding plane device is obtained. Then, based on the faulty user access port, the real-time migration priorities of multiple normal user access ports corresponding to the control plane device are obtained. Finally, user backup of the faulty user access port is performed based on the real-time migration priorities and real-time idle ratios of each normal user access port. This is equivalent to the control plane device evaluating normal user access ports in real time based on the faulty user access port in the event of a user access port failure, and obtaining the real-time migration priorities of each normal user access port. This determined real-time migration priority truly and objectively reflects the location correlation between different normal user access ports and the faulty user access port, facilitating the flexible migration of users from the faulty user access ports to normal user access ports. Based on this, the real-time idle ratios and real-time migration priorities of each normal user access port are combined to determine the normal user access ports requiring user backup and the user backup quantity for each normal user access port. This allows for timely user backup of the faulty user access port, significantly preventing users on the faulty user access port from being disconnected and ensuring the normal processing of user services.
[0216] The above is an explanation of the relevant embodiments with the control plane device as the execution subject. On this basis, the embodiments of the present application also provide embodiments corresponding to the above processes with the forwarding plane device as the execution subject. Since all the implementation principles and detailed processes of the following embodiments with the forwarding plane device as the execution subject, as well as the technical effects that can be achieved are the same as those of the above embodiments with the control plane device as the execution subject, for the sake of brevity and clarity, the following embodiments will not be described one by one. The implementation process and implementation effects of each embodiment can be found in the description of the above embodiments. Below, the embodiments of the user backup method are described with the forwarding plane device as the execution subject.
[0217] In one embodiment, Figure 12 As shown, a user backup method is provided, which is applied to Figure 1 The forwarding plane device in the embodiment of the present invention comprises:
[0218] S1201: Send fault information to the control plane device. The fault information is used to instruct the control plane device to obtain the real-time migration priorities of multiple normal user online ports corresponding to the control plane device based on the faulty user online port on the target forwarding plane device, so as to perform user backup for the faulty user online port based on the real-time migration priority of each normal user online port and the real-time idle ratio of each normal user online port.
[0219] In actual applications, control plane devices communicate with forwarding plane devices in real time. Various faults may occur in forwarding plane devices, and the type and timing of the faults are uncertain.
[0220] If a forwarding plane device fails, information related to the failure in multiple dimensions, such as failure time, failure type, and failure-associated ports, is summarized to generate failure information, which is then sent to the control plane device to instruct it to handle the failure information.
[0221] The control plane device processes fault information by obtaining the faulty user access port affected by the fault information, determining one or more backup user access ports and the service load allocation for each backup user access port based on the user service load of the faulty user access port, and then sending the service load allocation for each backup user access port to the forwarding plane device to which each backup user access port belongs to bear the service load of the faulty user access port.
[0222] It should be emphasized that the control plane devices in the embodiments of the present application are deployed in a unified manner and are responsible for user access control and policies; the forwarding plane devices are deployed in a decentralized manner and are responsible for forwarding user service traffic.
[0223] Among them, the control plane device is responsible for determining the service bearer allocation amount of each backup user online port and sending it to the corresponding forwarding plane device. The forwarding plane device is responsible for receiving the service bearer allocation amount of each backup user online port sent by the control plane device and performing specific user service forwarding migration, etc.
[0224] In an embodiment of the present application, a forwarding plane device sends fault information to a control plane device. The fault information instructs the control plane device to obtain the real-time migration priorities of multiple normal user access ports corresponding to the control plane device based on the faulty user access port on the target forwarding plane device. This allows the control plane device to perform user backup for the faulty user access port based on the real-time migration priorities and real-time idle ratios of each normal user access port. In this method, if a user access port fails, the fault information is sent to the control plane device. The control plane device evaluates the normal user access ports in real time based on the faulty user access port and obtains the real-time migration priorities of each normal user access port. The real-time migration priorities determined in this manner can truly and objectively reflect the location correlation between different normal user access ports and the faulty user access port, facilitating the flexible migration of users of the faulty user access port to normal user access ports. On this basis, combined with the real-time idle ratio and real-time migration priority of each normal user online port, the normal user online ports that need user backup and the user backup volume of each normal user online port are determined, and user backup of the faulty user online ports is carried out in a timely manner. This largely avoids users on the faulty user online ports from being disconnected and ensures the normal processing of user services.
[0225] In addition, compared to the method of performing user backup by pre-configuring redundant and complex user online ports of forwarding plane devices in related technologies, the backup user online port in the embodiment of the present application can be a normal user online port on the same forwarding plane device as the faulty user online port, or a normal user online port on a different forwarding plane device from the faulty user online port. Therefore, by performing user backup according to the backup user online port in the embodiment of the present application, not only is it unnecessary to introduce pre-configured user online ports, but it can also maximize the use of normal user online ports on the forwarding plane device to achieve user backup. In summary, the user backup method provided by the embodiment of the present application has high flexibility, and saves configuration resources while ensuring the normal operation of user services.
[0226] In one embodiment, Figure 13 As shown, the method further includes:
[0227] S1301: Receive a service bearer allocation for a target user access port sent by a control plane device; the target user access port is a user access port belonging to a target forwarding plane device among multiple backup user access ports; the multiple backup user access ports are determined by the control plane device based on the real-time migration priority and real-time idle ratio of each normal user access port.
[0228] S1302 : Allocate services of the same amount as the service bearer allocation amount of the faulty user access port to the target user access port according to the service bearer allocation amount of the target user access port.
[0229] In the embodiment of the present application, the target forwarding plane device determines, based on the service carrying allocation amount of each target user online port, that each target user online port on the target forwarding plane device needs to carry the user service of the faulty user online port, and migrates the user service to the corresponding target user online port. The user service of the faulty user online port equal to the service carrying allocation amount is backed up to ensure that some user services on the faulty user online port are not disconnected.
[0230] In one embodiment, Figure 14 As shown, the method further includes:
[0231] S1401 : Generate a user forwarding entry based on the service bearer allocation of the target user's online port; the user forwarding entry includes user information of the service bearers supported by the target user's online port.
[0232] Based on the service carrying capacity allocated to each backup user access port, the system obtains the user service information required to be carried by each backup user access port, namely the user table entry. Then, the information of the failed user access port and the backup user access port is marked in the user table entry to generate a user forwarding entry.
[0233] S1402: Send a user forwarding entry to a corresponding routing device, instructing the routing device to send the user service corresponding to the user information to a target user online port for processing.
[0234] The user forwarding entry is sent to the routing device corresponding to the user service on the faulty user online port, instructing the routing device to send the user service corresponding to the user information to the target user online port for processing.
[0235] In the embodiment of the present application, the target forwarding plane device receives the service carrying capacity sent by the control plane device, and the forwarding plane device publishes the route to achieve user backup for the failed user online port. This user backup method fully utilizes the characteristics of the decentralized deployment of forwarding plane devices and the centralized deployment of control plane devices in the "forwarding and control separation technology", thereby improving user backup efficiency.
[0236] In one embodiment, a user backup method is provided, which is applied to a forwarding plane device. The method includes:
[0237] (1) Sending fault information to the control plane device; the fault information is used to instruct the control plane device to obtain the real-time migration priorities of multiple normal user online ports corresponding to the control plane device based on the faulty user online port on the target forwarding plane device, so as to perform user backup of the faulty user online port based on the real-time migration priority of each normal user online port and the real-time idle ratio of each normal user online port.
[0238] (2) Receive the service load allocation of the target user online port sent by the control plane device; the target user online port is the user online port of the target forwarding plane device among the multiple backup user online ports; the multiple backup user online ports are determined by the control plane device based on the real-time migration priority and real-time idle ratio of each normal user online port.
[0239] (3) According to the service carrying allocation amount of the target user's online port, the services of the faulty user's online port equal to the service carrying allocation amount are allocated to the target user's online port.
[0240] (4) Generate a user forwarding table entry based on the service bearer allocation of the target user's online port; the user forwarding table entry includes user information of the service bearers supported by the target user's online port.
[0241] (5) Send the user forwarding entry to the corresponding routing device, instructing the routing device to send the user service corresponding to the user information to the target user online port for processing.
[0242] In an embodiment of the present application, a forwarding plane device sends fault information to a control plane device. The fault information instructs the control plane device to obtain the real-time migration priorities of multiple normal user access ports corresponding to the control plane device based on the faulty user access port on the target forwarding plane device. This allows the control plane device to perform user backup for the faulty user access port based on the real-time migration priorities and real-time idle ratios of each normal user access port. In this method, if a user access port fails, the fault information is sent to the control plane device. The control plane device evaluates the normal user access ports in real time based on the faulty user access port and obtains the real-time migration priorities of each normal user access port. The real-time migration priorities determined in this manner can truly and objectively reflect the location correlation between different normal user access ports and the faulty user access port, facilitating the flexible migration of users of the faulty user access port to normal user access ports. On this basis, combined with the real-time idle ratio and real-time migration priority of each normal user online port, the normal user online ports that need user backup and the user backup volume of each normal user online port are determined, and user backup of the faulty user online ports is carried out in a timely manner. This largely avoids users on the faulty user online ports from being disconnected and ensures the normal processing of user services.
[0243] In order to further demonstrate the reliability of the user backup method provided by the embodiment of the present application, the user backup method in the vBRAS system is described below through an embodiment in the case of a failure information of the forwarding plane device. Figure 1 In the vBRAS system architecture shown in FIG, each user online port is numbered, such as Figure 15 shown.
[0244] Figure 15 The vBRAS system shown in FIG includes two resource pools, each resource pool includes two forwarding plane devices, and each forwarding plane device has three user online ports (BAS ports).
[0245] When all forwarding plane devices are in normal status, the control plane devices will distribute the online users evenly across different user access ports based on load balancing. At the same time, they will generate the system initial idle ratio table shown in Table 1, monitor the operating status of each user access port in real time, and dynamically adjust the idle ratio table in real time to maintain the idle ratio table.
[0246] In addition, the control plane device will also mark the port ID, chassis ID and pool ID of each user online port based on the location information.
[0247] Table 1
[0248]
[0249] In Table 1, U represents the rated user carrying capacity of the user access port (Session), P represents the rated bandwidth carrying capacity of the user access port (G), M represents the network-side bandwidth of the user access port (Session), N represents the NAT board capacity of the user access port (Session), u represents the real-time user carrying capacity of the user access port (Session), p represents the real-time bandwidth carrying capacity of the user access port (G), m represents the real-time network-side bandwidth of the user access port (Session), and n represents the real-time NAT board capacity of the user access port (Session). The real-time idle ratio is calculated as follows:
[0250] Real-time idle ratio = ((U / u)-1)*((P / p)-1)*((M / m)-1)*((N / n)-1)
[0251] The above expressions show that the smaller the real-time user carrying capacity u, the smaller the real-time bandwidth carrying capacity p, the smaller the real-time entire frame network-side bandwidth m, or the smaller the real-time entire frame NAT board capacity, the larger the corresponding idle ratio and the higher the migration priority.
[0252] It should be emphasized that the embodiment of the present application does not restrict the expression of the real-time idle ratio, provided that the smaller the real-time bearer traffic volume, the larger the idle ratio value, and the higher the migration priority. In some embodiments, the expression of the real-time idle ratio can also be as follows:
[0253] Real-time idle ratio = (1-(u / U))*(1-(p / P))*(1-(m / M))*(1-(u / N))
[0254] When the control plane device determines that BAS 3 of UP 1 in Pool 1 fails, the control plane device obtains the remaining carrying capacity of BAS 1 and BAS 2 on UP1 in Pool 1 in Table 1, specifically including the remaining user carrying capacity and the remaining broadband carrying capacity, and determines whether BAS 1 and BAS 2 on UP1 are greater than the original user carrying capacity and broadband carrying capacity flow on BAS_3 on UP1 based on the remaining carrying capacity.
[0255] If the remaining carrying capacity of BAS 1 and BAS 2 on UP1 is greater than the original user carrying capacity and broadband carrying capacity flow on BAS_3 on UP1, the real-time idle ratio of BAS 1 and BAS 2 on UP1 is used to calculate how many users each should share.
[0256] Specifically, the user allocation amount allocated to BAS 1 is: 465 / (9.73+7.98)*9.73=255, and the user allocation amount allocated to BAS_2 is: 465 / (9.73+7.98)*7.98=210.
[0257] After the allocation is completed, the control plane device will modify the content of the above Table 1 accordingly to generate Table 2. Table 2 is the idle ratio table of the online port of a faulty user in the vBRAS system. As can be seen from Table 2, the idle ratios of the remaining BAS ports on UP1 in Pool 1 have all decreased.
[0258] Synchronously, the control plane device sends the user information table entry originally belonging to BAS_3 on UP1 in Pool 1 to UP1 in Pool 1. UP1 in Pool 1 generates a forwarding table entry and sends it to BAS 1 and BAS 2 in UP1 in Pool 1, guiding the migration of user traffic on BAS_3 on UP1 in Pool 1 to minimize traffic mobilization and device status changes. This includes eliminating the need to regenerate NAT table entries and republish network-side routes.
[0259] Table 2
[0260]
[0261]
[0262] Furthermore, if BAS 1 of UP1 in Pool 1 also fails, the control plane device obtains the remaining carrying capacity of BAS 2 on UP1 in Pool 1 in Table 2, specifically including the remaining user carrying capacity and the remaining broadband carrying capacity, and determines whether BAS 2 on UP1 is greater than the original user carrying capacity and broadband carrying capacity flow on BAS 1 on UP1 based on the remaining carrying capacity.
[0263] Obviously, the remaining broadband carrying capacity of UP1 in Pool 1 is insufficient to carry all users on BAS 1 of UP1 in Pool 1. Therefore, inter-chassis user migration is required.
[0264] At this time, the total idle ratio of UP2 in Pool 1 is 5.62+5.19+4.79=15.6, and the idle ratio of BAS_2 on UP1 in Pool 1 is 1.17. Based on the above real-time idle ratio, the allocation ratio of the three BAS ports on UP2 in Pool 1 and the allocation ratio of the BAS 2 port on UP1 in Pool 1 are determined, and the user allocation amount is determined based on the allocation ratio and the real-time number of users of BAS 2 on UP1 in Pool 1, that is, the user allocation amount of BAS 2 in UP1 in Pool 1 is: 705 / (15.6+1.17)*1.17=49; the user allocation amount of BAS_1 in UP2 in Pool 1 is: 705 / (15.6+1.17)*5.62=236, the user allocation amount of BAS_2 in UP2 in Pool 1 is: 705 / (15.6+1.17)*5.19=218, and the user allocation amount of BAS_3 in UP2 in Pool 1 is: 705 / (15.6+1.17)*4.79=202.
[0265] After the allocation is completed, the control plane device will modify the content of the above Table 2 accordingly to generate Table 3. Table 3 is the idle ratio table of the two faulty user online ports in the vBRAS system. As can be seen from Table 3, the real-time number of users carried by each BAS port on UP1 and UP2 in Pool 1 has increased, and the real-time idle ratio of each BAS port has decreased.
[0266] Synchronously, the control-plane device generates user entry 1 for UP1 in Pool 1 and user entry 2 for UP2 in Pool 1 from the user entry originally on BAS_2 in UP1 in Pool 1. User entry 1 is delivered to UP1 in Pool 1, and user entry 2 is delivered to UP2 in Pool 1. UP1 in Pool 1 generates a forwarding entry and delivers it to BAS_2 in UP1 in Pool 1. UP2 in Pool 1 generates a forwarding entry and delivers it to BAS_1, BAS_2, and BAS_3 in UP2 in Pool 1. This guides the migration of user traffic on BAS_2 in UP1 in Pool 1. The network side of the forwarding-plane device publishes routes and guides the traffic to complete the migration.
[0267] Table 3
[0268]
[0269] Similarly, when inter-pool backup is required, users who need to be migrated are allocated proportionally based on the idle ratio.
[0270] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0271] Based on the same inventive concept, embodiments of the present application also provide a user backup device for implementing the aforementioned user backup method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more user backup device embodiments provided below can be found in the above-described limitations of the user backup method and will not be further elaborated here.
[0272] In one embodiment, Figure 16 As shown, a user backup device is provided, including: a fault response module 1601, a priority acquisition module 1602 and a user backup module 1603, wherein:
[0273] A fault response module 1601 is configured to obtain a faulty user online port on the target forwarding plane device in response to the fault information of the target forwarding plane device;
[0274] The priority acquisition module 1602 is configured to acquire, based on the faulty user online port, the real-time migration priorities of multiple normal user online ports corresponding to the control plane device;
[0275] The user backup module 1603 is configured to perform user backup for a faulty user online port according to the real-time migration priority of each normal user online port and the real-time idle ratio of each normal user online port.
[0276] In one embodiment, the fault response module 1601 includes a type acquisition unit and a fault determination unit, wherein:
[0277] A type acquisition unit, configured to determine a current fault type of a target forwarding plane device based on the fault information;
[0278] The fault determining unit is configured to determine, according to a preset correspondence between the fault type and the online port identifier, a user online port represented by the online port identifier corresponding to the current fault type as a faulty user online port.
[0279] In one embodiment, the priority acquisition module 1602 includes an identification acquisition unit, an online port screening unit, and a priority determination unit, wherein:
[0280] An identification acquisition unit, used to acquire identification information of a faulty user online port;
[0281] an online port screening unit, configured to determine, from a plurality of normal user online ports, a first normal user online port in a target forwarding plane device, a second normal user online port in another forwarding plane device in a resource pool to which the target forwarding plane device belongs, and a third normal user online port in another resource pool other than the resource pool to which the target forwarding plane device belongs, based on identification information of the faulty user online port;
[0282] The priority determination unit is configured to determine the real-time migration priorities of the first normal user online interface, the second normal user online interface, and the third normal user online interface in descending order.
[0283] In one embodiment, the user backup module 1603 includes an online port determination unit, an idle ratio determination unit, and a faulty user backup unit, wherein:
[0284] an online port determining unit, configured to determine at least one backup user online port based on the real-time migration priority of each normal user online port;
[0285] an idle ratio determining unit, configured to determine the real-time idle ratio of each backup user access port according to the real-time idle ratio of each normal user access port;
[0286] The faulty user backup unit is used to perform user backup of the faulty user online ports according to the real-time idle ratio of each backup user online port.
[0287] In one embodiment, the online port determination unit includes a first acquisition subunit and a first determination subunit, wherein:
[0288] The first acquisition subunit is used to obtain the remaining service carrying capacity of each normal user online port and the service carrying capacity of the faulty user online port;
[0289] The first determining subunit is configured to determine at least one backup user access port according to the real-time migration priority of each normal user access port, the remaining service carrying capacity of each normal user access port, and the service carrying capacity of the faulty user access port.
[0290] In one embodiment, the first acquisition subunit is further configured to obtain the remaining user carrying capacity and remaining broadband carrying capacity of each normal user online port based on the rated user carrying capacity, rated broadband carrying capacity, real-time user carrying capacity, and real-time broadband carrying capacity of each normal user online port; and determine the remaining user carrying capacity and remaining broadband carrying capacity of each normal user online port as the service remaining carrying capacity of each normal user online port.
[0291] In one embodiment, the first determination subunit is further used to accumulate the service residual carrying capacity of each normal user online port in descending order of the real-time migration priority of each normal user online port according to the service residual carrying capacity, until the total accumulated service residual carrying capacity is greater than the service carrying capacity of the faulty user online port, and determine the normal user online ports corresponding to the total service residual carrying capacity as the backup user online ports.
[0292] In one embodiment, the first determination subunit is further configured to obtain the sum of the remaining service carrying capacities of all normal user online ports with the highest real-time migration priority; if the sum of the remaining service carrying capacities is less than the service carrying capacity of the faulty user online port, the first determination subunit is configured to continue obtaining the sum of the remaining service carrying capacities of all normal user online ports with the highest real-time migration priority and all normal user online ports with the second highest real-time migration priority, and so on, until it is determined that the sum of the remaining service carrying capacities is greater than the service carrying capacity of the faulty user online port.
[0293] In one embodiment, the faulty user backup unit includes a second acquisition subunit and a first backup subunit, wherein:
[0294] The second acquisition subunit is used to obtain the service carrying allocation of each backup user online port according to the real-time idle ratio of each backup user online port and the service carrying capacity of the faulty user online port;
[0295] The first backup subunit is configured to perform user backup of a faulty user online port according to the service carrying allocation amount of each backup user online port.
[0296] In one embodiment, the second acquisition subunit is further configured to determine, based on the real-time idle ratios of the backup user access ports, a sum of the real-time idle ratios corresponding to the backup user access ports; determine an allocation ratio for each backup user access port based on the real-time idle ratios of the backup user access ports and the sum of the real-time idle ratios; and divide the service carrying capacity of the faulty user access ports based on the allocation ratios of the backup user access ports to obtain a service carrying capacity allocation for each backup user access port.
[0297] In one embodiment, the first backup sub-unit is further used to obtain the forwarding plane device to which each backup user online port belongs, and send the service carrying allocation amount of the corresponding backup user online port to each forwarding plane device, so as to instruct each forwarding plane device to migrate the service carrying amount of the faulty user online port to the corresponding backup user online port according to each service carrying allocation amount, so as to perform user backup of the faulty user online port.
[0298] In one embodiment, Figure 17 As shown, a user backup device is provided, including: a fault sending module 1701, wherein:
[0299] Fault sending module 1701 is configured to send fault information to the control plane device. The fault information instructs the control plane device to obtain the real-time migration priorities of multiple normal user access ports corresponding to the control plane device based on the faulty user access port on the target forwarding plane device, so as to perform user backup for the faulty user access port based on the real-time migration priority and real-time idle ratio of each normal user access port. In one embodiment, the user backup apparatus further includes an allocation amount receiving module and a service allocation module, wherein:
[0300] an allocation quantity receiving module, configured to receive a service bearer allocation quantity for a target user access port sent by a control plane device; the target user access port is a user access port belonging to a target forwarding plane device among multiple backup user access ports; the multiple backup user access ports are determined by the control plane device based on the real-time migration priority and real-time idle ratio of each normal user access port;
[0301] The service allocation module is used to allocate services of the same amount as the service carrying allocation amount of the faulty user online port to the target user online port according to the service carrying allocation amount of the target user online port.
[0302] In one embodiment, the user backup device further includes a table entry generation module and a route publishing module, wherein:
[0303] The entry generation module is used to generate a user forwarding table entry according to the service bearer allocation of the target user's online port; the user forwarding table entry includes user information of the service bearer supported by the target user's online port;
[0304] The routing publishing module is used to send the user forwarding table entry to the corresponding routing device, instructing the routing device to send the user service corresponding to the user information to the target user online port for processing.
[0305] Each module in the user backup device described above may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0306] In one embodiment, the present application also provides a user backup system, which includes a control plane device and a forwarding plane device; the control plane device is used to implement any method step in each embodiment of the user backup method in the above embodiments with the control plane device as the execution subject; the forwarding plane device is used to implement any method step in each embodiment of the user backup method in the above embodiments with the forwarding plane device as the execution subject.
[0307] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the technical solution of the user backup method provided in any of the above embodiments when executing the computer program.
[0308] The computer device provided in the above embodiment has an implementation principle and technical effects similar to those of the above method embodiment, and will not be described in detail here.
[0309] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the technical solution of the user backup method provided in any of the above embodiments is implemented.
[0310] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effects are similar to those of the above method embodiment, and will not be repeated here.
[0311] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the technical solution of the user backup method provided in any of the above embodiments is implemented.
[0312] The above embodiment provides a computer program product, whose implementation principle and technical effects are similar to those of the above method embodiment, and will not be repeated here.
[0313] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0314] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0315] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A user backup method, characterized in that: Applied to a control plane device, the method includes: In response to the fault information of the target forwarding plane device, obtaining the faulty user online port on the target forwarding plane device; Obtaining a real-time migration priority for each of the normal user access ports based on a position correlation between the faulty user access port and multiple normal user access ports corresponding to the control plane device; setting the real-time migration priority of a first normal user access port located on the same target forwarding plane device as the faulty user access port as the highest priority; setting the real-time migration priority of a second normal user access port located in the same resource pool as the faulty user access port but on a different forwarding plane device as the second highest priority; and setting the real-time migration priority of a third normal user access port located in a different resource pool from the faulty user access port as the lowest priority. Based on the real-time migration priority of each normal user access port and the real-time idle ratio of each normal user access port, a backup user access port that needs to share the service load of the faulty user access port and a service load allocation amount for each backup user access port are determined, and user backup of the faulty user access port is performed.
2. The method according to claim 1, characterized in that The obtaining of the faulty user online port on the target forwarding plane device includes: Determining a current fault type of the target forwarding plane device according to the fault information; According to a preset correspondence between the fault type and the online port identifier, the user online port represented by the online port identifier corresponding to the current fault type is determined as the faulty user online port.
3. The method according to claim 1, characterized in that The acquiring, based on the position correlation between the faulty user access port and a plurality of normal user access ports corresponding to the control plane device, a real-time migration priority of each normal user access port includes: Obtaining identification information of the faulty user online port; Determine, from the plurality of normal user access ports, based on the identification information of the faulty user access port, a first normal user access port in the target forwarding plane device, a second normal user access port in another forwarding plane device in the resource pool to which the target forwarding plane device belongs, and a third normal user access port in another resource pool other than the resource pool to which the target forwarding plane device belongs; Determine the real-time migration priorities of the first normal user online interface, the second normal user online interface, and the third normal user online interface in descending order.
4. The method according to any one of claims 1 to 3, characterized in that The step of determining, based on the real-time migration priority of each normal user access port and the real-time idle ratio of each normal user access port, a backup user access port that needs to share the service load of the faulty user access port and a service load allocation amount for each backup user access port, and performing user backup for the faulty user access port includes: Determining at least one backup user online interface based on the real-time migration priority of each of the normal user online interfaces; Determining the real-time idle ratio of each backup user access port according to the real-time idle ratio of each normal user access port; The service carrying allocation amount of each backup user access port is determined according to the real-time idle ratio of each backup user access port, and user backup of the faulty user access port is performed.
5. The method according to claim 4, characterized in that The determining of at least one backup user online interface based on the real-time migration priority of each normal user online interface includes: Obtaining the remaining service carrying capacity of each of the normal user access ports and the service carrying capacity of the faulty user access port; The at least one backup user access port is determined according to the real-time migration priority of each normal user access port, the remaining service carrying capacity of each normal user access port, and the service carrying capacity of the faulty user access port.
6. The method according to claim 5, characterized in that The obtaining of the remaining service carrying capacity of each normal user online port includes: Obtaining the remaining user carrying capacity and remaining broadband carrying capacity of each normal user access port according to the rated user carrying capacity, rated broadband carrying capacity, real-time user carrying capacity, and real-time broadband carrying capacity of each normal user access port; The remaining user carrying capacity and the remaining broadband carrying capacity of each of the normal user online ports are determined as the service remaining carrying capacity of each of the normal user online ports.
7. The method according to claim 5, characterized in that The determining, based on the real-time migration priority of each normal user access port, the remaining service carrying capacity of each normal user access port, and the service carrying capacity of the faulty user access port, the at least one backup user access port includes: Based on the remaining service carrying capacity of each normal user access port, the remaining service carrying capacity is accumulated in descending order of the real-time migration priority of each normal user access port until the total accumulated remaining service carrying capacity exceeds the service carrying capacity of the faulty user access port. Then, each normal user access port corresponding to the total remaining service carrying capacity is determined as the backup user access port.
8. The method according to claim 7, characterized in that The step of sequentially accumulating the remaining service carrying capacity according to the real-time migration priority of each of the normal user online ports from high to low until the total accumulated remaining service carrying capacity is greater than the service carrying capacity of the faulty user online port includes: Obtain the total remaining service capacity of all normal user online interfaces with the highest real-time migration priority; When the sum of the remaining service carrying capacity is less than the service carrying capacity of the faulty user online port, the sum of the remaining service carrying capacity of each normal user online port with the second highest real-time migration priority and each normal user online port with the lowest real-time migration priority is continuously obtained until it is determined that the sum of the remaining service carrying capacity is greater than the service carrying capacity of the faulty user online port.
9. The method according to claim 4, characterized in that The determining of the service carrying allocation amount of each backup user access port according to the real-time idle ratio of each backup user access port, and performing user backup of the faulty user access port, includes: Obtaining a service carrying allocation amount for each backup user access port according to a real-time idle ratio of each backup user access port and a service carrying amount of the faulty user access port; User backup of the faulty user access port is performed according to the service carrying allocation amount of each backup user access port.
10. The method according to claim 9, characterized in that The acquiring, according to the real-time idle ratio of each backup user access port and the service carrying capacity of the faulty user access port, a service carrying allocation capacity of each backup user access port includes: Determining a sum of the real-time idle ratios corresponding to the backup user access ports according to the real-time idle ratios of the backup user access ports; determining an allocation ratio of each backup user access port according to the real-time idle ratio of each backup user access port and the sum of the real-time idle ratios; The service carrying capacity of the faulty user access port is divided according to the allocation ratio of each backup user access port to obtain the service carrying allocation capacity of each backup user access port.
11. The method according to claim 9, characterized in that The performing user backup of the faulty user access port according to the service carrying allocation amount of each backup user access port includes: Determine the forwarding plane device to which each backup user online port belongs; The service carrying capacity allocation of the corresponding backup user access port is sent to each forwarding plane device to instruct each forwarding plane device to migrate the service carrying capacity of the faulty user access port to the corresponding backup user access port according to the service carrying capacity allocation, so as to perform user backup for the faulty user access port.
12. A user backup method, characterized in that: Applied to a target forwarding plane device, the method includes: Fault information is sent to a control plane device; the fault information is used to instruct the control plane device to obtain real-time migration priorities of multiple normal user access ports corresponding to the control plane device based on a position correlation between the faulty user access port on the target forwarding plane device and multiple normal user access ports corresponding to the control plane device, so as to determine, based on the real-time migration priorities and real-time idle ratios of each normal user access port, a backup user access port that needs to share the service load of the faulty user access port and a service load allocation amount for each backup user access port, thereby performing user backup for the faulty user access port; wherein the real-time migration priority of a first normal user access port located on the same target forwarding plane device as the faulty user access port is set to the highest priority; the real-time migration priority of a second normal user access port located in the same resource pool as the faulty user access port but on a different forwarding plane device is set to the second highest priority; and the real-time migration priority of a third normal user access port located in a different resource pool from the faulty user access port is set to the lowest priority.
13. The method according to claim 12, characterized in that The method further comprises: receiving a service bearer allocation amount of a target user access port sent by the control plane device; the target user access port is a user access port belonging to the target forwarding plane device among multiple backup user access ports; the multiple backup user access ports are determined by the control plane device based on the real-time migration priority and real-time idle ratio of each of the normal user access ports; According to the service bearer allocation amount of the target user access port, services of the service bearer amount of the faulty user access port equal to the service bearer allocation amount are allocated to the target user access port.
14. The method according to claim 13, wherein: The method further comprises: Generate a user forwarding table entry according to the service bearer allocation of the target user online port; the user forwarding table entry includes user information of the service bearer supported by the target user online port; The user forwarding entry is sent to a corresponding routing device, instructing the routing device to send the user service corresponding to the user information to the target user online port for processing.
15. A user backup device, characterized in that: The device comprises: a fault response module, configured to obtain a faulty user online port on the target forwarding plane device in response to fault information of the target forwarding plane device; A priority acquisition module is configured to acquire the real-time migration priority of each normal user access port based on the position correlation between the faulty user access port and multiple normal user access ports corresponding to the control plane device; the real-time migration priority of a first normal user access port located on the same target forwarding plane device as the faulty user access port is set to the highest priority; the real-time migration priority of a second normal user access port located in the same resource pool as the faulty user access port but on a different forwarding plane device is set to the second highest priority; and the real-time migration priority of a third normal user access port located in a different resource pool from the faulty user access port is set to the lowest priority; The user backup module is configured to determine, based on the real-time migration priority of each normal user access port and the real-time idle ratio of each normal user access port, a backup user access port that needs to share the service load of the faulty user access port, and a service load allocation amount for each backup user access port, thereby performing user backup for the faulty user access port.
16. A user backup device, characterized in that: The device comprises: A fault sending module is configured to send fault information to a control plane device; the fault information is configured to instruct the control plane device to obtain real-time migration priorities of multiple normal user access ports corresponding to the control plane device based on a position correlation between the faulty user access port on a target forwarding plane device and multiple normal user access ports corresponding to the control plane device, thereby determining backup user access ports that need to share the service load of the faulty user access port and the service load allocation amount of each backup user access port based on the real-time migration priority and the real-time idle ratio of each normal user access port, and performing user backup for the faulty user access port; wherein the real-time migration priority of a first normal user access port located on the same target forwarding plane device as the faulty user access port is set to the highest priority; the real-time migration priority of a second normal user access port located in the same resource pool as the faulty user access port but on a different forwarding plane device is set to the second highest priority; and the real-time migration priority of a third normal user access port located in a different resource pool from the faulty user access port is set to the lowest priority.
17. A user backup system, characterized in that: The system includes a control plane device and a plurality of forwarding plane devices; The control plane device is configured to perform the steps of the method according to any one of claims 1 to 11; Each of the forwarding plane devices is configured to execute the steps of the method according to any one of claims 12 to 14.
18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 14 are implemented.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.
Citation Information
Patent Citations
Communication method and related equipment
CN114079613A