A method and device for adjusting balance of BRAS access users
By defining fault and patrol trigger conditions in BRAS equipment and adjusting user access, the problems of uneven user access and faults are solved, network stability and efficiency are improved, fault recovery is quickly restored, and maintenance management is simplified.
Patent Information
- Application Number
- CN202211539602.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-02
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-12-02
AI Technical Summary
In broadband access server (BRAS) devices, uneven user access results in poor network stability and low efficiency, and there are problems with faults and traffic exceeding limits, affecting user service quality.
By defining OLT direct-mounted BRAS link failure, single CGN board or dual CGN board failure and patrol trigger conditions, adjust the number of users in pairs of service subinterfaces under BRAS, and use the user equalization module to check and adjust to ensure that the number of users is equalized , switch users and verify load rate and traffic peaks to achieve self-healing adjustment.
Significantly reduce network risks, ensure production safety, quickly recover faults, simplify maintenance management, and improve the stability of network conditions accumulation.
Smart Images

Figure CN116016003B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network maintenance, and in particular to a method and a device for adjusting the balance of BRAS-based access users. Background Art
[0002] Broadband access server (BRAS) is a new access gateway for broadband network applications. It is located at the edge layer of the backbone network and can complete the network logic access, service control and routing forwarding of user bandwidth. Most BRAS devices are deployed in pairs. The user broadband access rule is to access the corresponding BRAS based on the manual division of VLAN segments. There are hidden dangers such as uneven load of access users, poor stability and low efficiency of user access to the network. It is found that BRAS failures and traffic overloads affect the user's perception of service quality, and it is necessary to adjust the balance of BRAS access users. Summary of the invention
[0003] In view of the above situation, the present invention provides a method and device based on BRAS access user balance adjustment, based on fault and inspection triggering methods, combined with expert experience, to achieve BRAS access user balance adjustment function, greatly reduce network risks, and ensure production safety.
[0004] To achieve the above object, the present invention adopts the following technical solutions:
[0005] In one embodiment of the present invention, a method for adjusting the balance of BRAS access users is proposed, and the method includes:
[0006] The defined OLT-BRAS link fault trigger condition triggers the adjustment of the number of users on the service sub-interface under the paired BRAS.
[0007] Through the defined single CGN card or dual CGN card fault triggering conditions, the number of users of the service sub-interface under the paired BRAS is adjusted according to the CGN card load rate of the paired BRAS;
[0008] Through the defined inspection trigger conditions, the self-healing adjustment is first triggered according to the defined self-healing adjustment conditions, and then the number of users of the service sub-interface under the paired BRAS is adjusted according to the peak traffic of the upstream and downstream ports of the paired BRAS.
[0009] Furthermore, the number of users of the service sub-interface under the paired BRAS is adjusted, including:
[0010] Check the number of users corresponding to the service sub-interfaces under the paired BRAS through the OLT directly connected BRAS user balancing module and compare them;
[0011] If the difference ratio of the number of users of the service sub-interfaces under the paired BRAS exceeds 20% and the total number of users exceeds 500, the user will be kicked out;
[0012] After the operation is completed, the OLT directly connected to the BRAS user balancing module checks at the set interval whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment under the service sub-interface of the paired BRAS is within 5%;
[0013] If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 10%, otherwise continue to check;
[0014] If it is within 10%, the adjustment is completed, otherwise the adjustment continues.
[0015] Furthermore, through the defined single CGN board failure trigger condition, the number of users of the service sub-interface under the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including:
[0016] Call the single CGN fault user balancing module through the defined single CGN board fault trigger condition;
[0017] Check the CGN card status of the other BRAS in the paired BRAS through the single CGN fault user balancing module;
[0018] If the CGN board status of the BRAS in the paired BRAS is registered and normal, then check the CGN board load rate of the BRAS in the paired BRAS;
[0019] If the CGN board load rate of the paired BRAS is less than 50%, 50% of the users of the service sub-interface of the BRAS with a single CGN failure will be switched to the service sub-interface of the BRAS;
[0020] After the switch is completed, the single CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS exceeds 90%. If it is within 90%, the adjustment is completed.
[0021] Furthermore, through the defined dual CGN board failure triggering condition, the number of users of the service sub-interface under the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including:
[0022] Call the dual CGN fault user balancing module through the defined dual CGN board fault trigger condition;
[0023] Check the status of the CGN board of the other paired BRAS directly connected to the OLT through the dual CGN fault user balancing module;
[0024] If the CGN board status of the paired BRAS is registered and normal, check the CGN board load rate of the paired BRAS;
[0025] If the load rate of the CGN board in the paired BRAS is less than 50%, the lock domain will close the service sub-interface under the paired BRAS with the double CGN board failure, and switch all users to the service sub-interface under the paired BRAS;
[0026] After the switch is completed, the dual CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS is lower than 50%. If it is higher than 50%, the adjustment is completed, otherwise the adjustment continues.
[0027] Furthermore, according to the peak traffic of the upstream and downstream ports of the paired BRAS, the number of users of the service sub-interface under the paired BRAS is adjusted, including:
[0028] Checking, through the BRAS upstream traffic early warning adjustment module or the BRAS downstream traffic early warning adjustment module, whether the peak traffic ratio of all upstream or downstream ports of the other BRAS in the paired BRAS exceeds 45%;
[0029] If the peak traffic ratio of all uplink or downlink ports of the other BRAS in the paired BRAS is lower than 45%, the number of users to be adjusted is calculated and adjusted according to the principle of decreasing to 55%;
[0030] After the adjustment is completed, the BRAS upstream traffic warning adjustment module or the BRAS downstream traffic warning adjustment module checks whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment of the service sub-interface under the paired BRAS is within 5% according to the set interval;
[0031] If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 20%, otherwise continue to check;
[0032] If it is within 20%, the adjustment is completed, otherwise the adjustment continues.
[0033] In one embodiment of the present invention, a device for adjusting the balance of BRAS-based access users is also proposed, and the device includes:
[0034] The link failure triggers the user balance adjustment module, which is used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS according to the defined OLT direct BRAS link failure trigger condition;
[0035] The card failure triggers the user balance adjustment module, which is used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS according to the CGN card load rate of the paired BRAS through the defined single CGN card or dual CGN card failure trigger condition;
[0036] The inspection-triggered user balancing adjustment module is used to trigger self-healing adjustment according to the defined self-healing adjustment conditions through the defined inspection trigger conditions, and then adjust the number of users on the service sub-interface under the paired BRAS according to the peak traffic of the upstream and downstream ports of the paired BRAS.
[0037] Furthermore, the number of users of the service sub-interface under the paired BRAS is adjusted, including:
[0038] Check the number of users corresponding to the service sub-interfaces under the paired BRAS through the OLT directly connected BRAS user balancing module and compare them;
[0039] If the difference ratio of the number of users of the service sub-interfaces under the paired BRAS exceeds 20% and the total number of users exceeds 500, the user will be kicked out;
[0040] After the operation is completed, the OLT directly connected to the BRAS user balancing module checks at the set interval whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment under the service sub-interface of the paired BRAS is within 5%;
[0041] If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 10%, otherwise continue to check;
[0042] If it is within 10%, the adjustment is completed, otherwise the adjustment continues.
[0043] Furthermore, through the defined single CGN board failure trigger condition, the number of users of the service sub-interface under the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including:
[0044] Call the single CGN fault user balancing module through the defined single CGN board fault trigger condition;
[0045] Check the CGN card status of the other BRAS in the paired BRAS through the single CGN fault user balancing module;
[0046] If the CGN board status of the BRAS in the paired BRAS is registered and normal, then check the CGN board load rate of the BRAS in the paired BRAS;
[0047] If the CGN board load rate of the paired BRAS is less than 50%, 50% of the users of the service sub-interface of the BRAS with a single CGN failure will be switched to the service sub-interface of the BRAS;
[0048] After the switch is completed, the single CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS exceeds 90%. If it is within 90%, the adjustment is completed.
[0049] Furthermore, through the defined dual CGN board failure triggering condition, the number of users of the service sub-interface under the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including:
[0050] Call the dual CGN fault user balancing module through the defined dual CGN board fault trigger condition;
[0051] Check the status of the CGN board of the other paired BRAS directly connected to the OLT through the dual CGN fault user balancing module;
[0052] If the CGN board status of the paired BRAS is registered and normal, check the CGN board load rate of the paired BRAS;
[0053] If the load rate of the CGN board in the paired BRAS is less than 50%, the lock domain will close the service sub-interface under the paired BRAS with the double CGN board failure, and switch all users to the service sub-interface under the paired BRAS;
[0054] After the switch is completed, the dual CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS is lower than 50%. If it is higher than 50%, the adjustment is completed, otherwise the adjustment continues.
[0055] Furthermore, according to the peak traffic of the upstream and downstream ports of the paired BRAS, the number of users of the service sub-interface under the paired BRAS is adjusted, including:
[0056] Checking, through the BRAS upstream traffic early warning adjustment module or the BRAS downstream traffic early warning adjustment module, whether the peak traffic ratio of all upstream or downstream ports of the other BRAS in the paired BRAS exceeds 45%;
[0057] If the peak traffic ratio of all uplink or downlink ports of the other BRAS in the paired BRAS is lower than 45%, the number of users to be adjusted is calculated and adjusted according to the principle of decreasing to 55%;
[0058] After the adjustment is completed, the BRAS upstream traffic warning adjustment module or the BRAS downstream traffic warning adjustment module checks whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment of the service sub-interface under the paired BRAS is within 5% according to the set interval;
[0059] If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 20%, otherwise continue to check;
[0060] If it is within 20%, the adjustment is completed, otherwise the adjustment continues.
[0061] In one embodiment of the present invention, a computer device is also proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the aforementioned BRAS-based access user balance adjustment when executing the computer program.
[0062] In one embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores a computer program for executing BRAS-based access user balance adjustment.
[0063] Beneficial effects:
[0064] 1. The present invention uses a fault detection and inspection method to discover problems, and can quickly restore faults and eliminate network risk hazards.
[0065] 2. The method of the present invention is simple to implement and does not require high network conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a schematic diagram of the processing flow of the fault triggering of the present invention;
[0067] Figure 2 It is a schematic diagram of the processing flow of the inspection trigger of the present invention;
[0068] Figure 3 It is a schematic diagram of the structure of the device for adjusting the balance of BRAS access users according to the present invention;
[0069] Figure 4 It is a schematic diagram of the computer device structure of the present invention. DETAILED DESCRIPTION
[0070] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0071] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a device, apparatus, node, method or computer program product. Therefore, the present disclosure may be implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0072] The implementation mode of the present invention proposes a method and device for BRAS access user balance adjustment, defines relevant trigger condition checks based on equipment failures and problems found during equipment inspections, sets relevant rule adjustment measures based on expert experience, and the program automatically determines and executes, and performs relevant checks after execution, thereby achieving the function of balancing access users of paired BRAS.
[0073] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
[0074] The present invention proposes a method for adjusting the balance of users accessing BRAS. The method for adjusting the balance of users accessing BRAS can be triggered by two scenarios: failure (alarm) and inspection.
[0075] 1. Process Introduction - Fault Trigger (such as Figure 1 shown):
[0076] 1. Failure of the link between OLT and BRAS
[0077] Step 1: Trigger conditions
[0078] The recovery time after a link failure of the port directly connected to the OLT BRAS is more than 60 minutes.
[0079] Step 2: OLT directly connected to BRAS user balancing module - check
[0080] (1) According to the bas-interface (BRAS interface) of the BRAS to which the service belongs, use the command (disbas-interfaceEth-TrunkXX.XXXXX|includeAccess number) to check the number of users corresponding to the service sub-interface under the paired BRAS;
[0081] (2) Compare the difference ratio of the number of users of the service sub-interfaces under the paired BRAS interfaces. If the difference ratio (BRAS1-BRAS2) exceeds 20% and the total number of users (BRAS1+BRAS2) is greater than 500, call the OLT direct BRAS user balancing module for adjustment; otherwise, no adjustment is required.
[0082] Step 3: OLT directly connected to BRAS user balancing module - adjustment
[0083] Enter the paired BRAS operation interface and, through the AAA authentication function, kick out the user operation based on the interface of the BRAS to which the service belongs.
[0084] At the same time, enter the paired BRAS and perform the following operations:
[0085] system-viewimmediately #V8 version#Enter the operation interface
[0086] system-view #V6 version#Enter the operation interface
[0087] aaa #Enter the aaa interface (authentication, authorization, and billing functions)
[0088] cutaccess-userinterfaceEth-TrunkXX.XXXXX#Kick out the user.
[0089] Step 4: OLT directly connected to BRAS user balancing module - verification (user balancing result verification)
[0090] After the adjustment operation is completed in step 3, enter the paired BRAS and use the command (disbas-interfaceEth-TrunkXX.XXXXX|includeAccessnumber) to check the number of users every five minutes.
[0091] Verification: The difference between the total number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment (BRAS1+BRAS2) and the total number of users of the service sub-interfaces under the paired BRAS interfaces before adjustment (BRAS1+BRAS2) shall be maintained within 5%.
[0092] If it is not reached (more than 5%), continue the cyclic check (step 2: OLT directly connected to BRAS user balancing module - check). If it is not restored after more than 10 minutes, send a notification and intervene manually.
[0093] Already reached (within 5%), continue to verify that the difference ratio of the number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment (BRAS1-BRAS2) remains within 10%.
[0094] Judgment: Whether the number of users under the service sub-interface corresponding to the OLT directly connected BRAS is balanced. If the difference ratio of the number of users under the service sub-interface of the paired BRAS interface after adjustment (BRAS1-BRAS2) still exceeds 10%, continue to call the OLT directly connected BRAS user balancing module for adjustment, up to 3 cycles (the number can be negotiated).
[0095] If it has been reached (within 10%), the OLT directly connected to the BRAS user balancing module completes the adjustment. If it has not been reached (more than 10%), a notification is sent for manual intervention.
[0096] 2. Board failure: The user can register but cannot access the Internet. The CGN (Carrier-Grade Address Translation) board is faulty.
[0097] Step 1: Trigger conditions
[0098] (1) Trigger the self-healing function based on the "CGN board alarm" alarm on IPNET (IP network management).
[0099] (2) Judgment: Single CGN board failure, check the single CGN board load rate
[0100] If (currentreceivepacketbitspeed(bps)(current receive packet bit rate)+currenttransmitpacketbitspeed(bps)(current output packet bit rate)) / single CGN board load capacity (obtain the single CGN board effective load capacity through the displaynatstatistics payload command) exceeds 90%, call the single CGN fault user balancing module.
[0101] (3) Judgment: Dual CGN board failure
[0102] If currentreceivepacketbitspeed(bps)+currenttransmit packetbitspeed(bps) is 0, call the dual CGN fault user balancing module.
[0103] Step 2: Single CGN fault user balancing module
[0104] Step 2.1: Check the single CGN fault user balancing module
[0105] (1) Check the CGN board status and CGN load rate of BRAS2 in the paired BRAS;
[0106] (2) Determine that the CGN board status of BRAS2 in the paired BRAS is 'Registered' and 'Normal';
[0107] (3) Check the CGN load rate of BRAS2 in the paired BRAS
[0108] If (currentreceivepacketbitspeed(bps)+currenttransmitpacketbitspeed(bps)) / single CGN board load capacity is less than 50%, call the single CGN fault user balancing module for adjustment.
[0109] Step 2.2: Single CGN Failure User Balancing Module - Adjustment
[0110] (1) Select a sub-interface in the paired BRAS whose total number of users under the service sub-interface of BRAS1 and the total number of users to be adjusted are within 10% (multiple sub-interfaces can be accumulated);
[0111] (2) Determine the adjustment sub-interface and switch 50% of the users of the service sub-interface under BRAS1 in the paired BRAS to BRAS2;
[0112] (3) Perform user adjustments.
[0113] Step 2.3: Single CGN fault user balancing module - verification
[0114] Polling recalls step 2.2: Single CGN failure user balancing module - check;
[0115] The CGN board load rate of the paired BRAS is still 90%, so a notification is sent and manual intervention is required.
[0116] Step 3: Dual CGN Failure User Balancing Module
[0117] Step 3.1: Dual CGN Failure User Balancing Module - Check
[0118] (1) Check the CGN board status and CGN load rate of other paired BRASs directly connected to the OLT;
[0119] (2) Determine that the CGN board status of the paired BRAS is 'Registered' and 'Normal';
[0120] (3) Check the CGN load rate of the paired BRAS;
[0121] If (currentreceivepacketbitspeed(bps)+currenttransmitpacketbitspeed(bps)) / single CGN board load capacity is less than 50%, call the dual CGN fault user balancing module for adjustment.
[0122] Step 3.2: Dual CGN Failure User Balancing Module - Adjustment
[0123] Lock the domain (change the home broadband user domain status on the BRAS to locked mode) to close the service sub-interface under the paired BRAS with dual CGN board failure, and switch all users to the service sub-interface under the paired BRAS.
[0124] Step 3.3: Double CGN Failure User Balancing Module - Verification
[0125] (1) Check the CGN load rate of the paired BRAS after adjustment;
[0126] If (currentreceivepacketbitspeed(bps)+currenttransmitpacketbitspeed(bps)) / single CGN board load capacity is less than 50%, go to step 3.2: Dual CGN fault user balancing module - adjustment.
[0127] 2. Process Introduction - Inspection Trigger (such as Figure 2 shown):
[0128] Step 1: Trigger conditions
[0129] According to IPNET's 5-minute granularity monitoring of BRAS port traffic, if the traffic exceeds 65%, the OLT traffic warning adjustment module will be called.
[0130] Determine the traffic limit category based on the port description:
[0131] (1) Description containing "UT%" is judged as BRAS uplink traffic warning: priority - low;
[0132] (2) Description containing "DT%" is judged as BRAS downlink SW traffic warning: priority - medium;
[0133] (3) If the description contains "%OLT%", it is judged as an OLT directly connected to BRAS traffic warning; priority: high.
[0134] Step 2: OLT traffic warning adjustment module
[0135] Step 2.1: OLT traffic warning adjustment module - check (check the self-healing adjustment conditions)
[0136] According to the BRAS-group group conditions (paired BRAS backup group information, for example, Yangfushan-group1 contains two BRASs (BRAS1 and BRAS2)) and the OLT uplink list table of the directly mounted BRAS, check on IPNET whether the service sub-interface traffic of BRAS2 in the paired BRAS is within 1%-45% (when this condition is triggered, it is assumed that BRAS1 has a traffic warning, so the traffic situation of BRAS2 equipment is detected).
[0137] ① If it is within 1%-45%, proceed to step (2) BRAS traffic check.
[0138] ② If it is lower than 1%, it is considered to be a possible port failure, and you should log in to the BRAS2 device to check the port status.
[0139] ③ If it is higher than 45%, it is judged that the overall traffic may be too high, and a notification is sent, manual intervention is required, and subsequent OLT link expansion and optimization are performed.
[0140] (2) BRAS traffic inspection
[0141] The IPNET port is used to detect whether the peak traffic ratio of all the uplink ports of BRAS2 in the paired BRAS exceeds 50%.
[0142] ① If it is higher than 50%, a notification will be sent for manual access. If the overall traffic of the paired BRAS is too high, please handle it.
[0143] ② If it is lower than 50%, the OLT traffic warning adjustment module is called for adjustment.
[0144] Step 2.2: OLT traffic warning adjustment module - adjustment
[0145] (1) The OLT queries the number of users under the paired BRAS.
[0146] (2) Enter the paired BRAS to perform user balancing adjustment operations.
[0147] Step 2.3: OLT traffic warning adjustment module - verification (user balancing result verification)
[0148] After the adjustment is completed, enter the paired BRAS and use the command to check the number of users every five minutes.
[0149] Verification: The difference between the total number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment (BRAS1+BRAS2) and the total number of users of the service sub-interfaces under the paired BRAS interfaces before adjustment (BRAS1+BRAS2) shall be maintained within 5%.
[0150] If it is not reached (more than 5%), continue the cyclic inspection (step 2.1: OLT traffic warning adjustment module - inspection). If it is still not restored after more than 10 minutes, send a notification and intervene manually.
[0151] Already reached (within 5%), continue to verify that the difference ratio of the number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment (BRAS1-BRAS2) remains within 10%.
[0152] Judgment: Is the number of users under the service sub-interface corresponding to the OLT directly connected to the BRAS even?
[0153] If the difference ratio of the number of users of the service sub-interfaces under the paired BRAS interfaces (BRAS1-BRAS2) still exceeds 10% after adjustment, the OLT traffic warning adjustment module will continue to be called for adjustment, with a maximum of 3 cycles (the number can be further negotiated).
[0154] If it has been reached (within 10%), the OLT traffic early warning adjustment module completes the adjustment. If it has not been reached (more than 10%), a notification is sent for manual intervention.
[0155] Step 3: BRAS Downstream Traffic Warning Adjustment Module
[0156] Step 3.1: BRAS Downstream Traffic Warning Adjustment Module - Check
[0157] Determine whether the adjustment conditions are met:
[0158] (1) According to the member relationship between the sub-interface group from SW to BRAS and the physical port (the relationship between the switch and BRAS, collected by BRAS equipment), determine whether the SW sub-interface status is normal and whether the difference ratio between the sub-interface Eth-trunk traffic and the traffic of the member physical port exceeds 10%.
[0159] If it exceeds 10%, a notification will be sent for manual access. Please handle the unbalanced sub-interface traffic.
[0160] If it is lower than 10%, it is judged that the flow rate is too high and the next step of inspection is carried out.
[0161] (2) Whether the traffic of BRAS2 port in the paired BRAS is less than 45%.
[0162] Check on IPNET whether the peak traffic ratio of the downstream port of BRAS2 (the port with the description containing "DT%") in the paired BRAS in the same time period is lower than 45%.
[0163] If it exceeds 45%, a notification will be sent for manual access. If the paired BRAS downstream traffic is too high, please handle it.
[0164] If it is lower than 45%, it is judged to be adjustable and the next step of inspection is carried out.
[0165] (3) Is the traffic from SW to BRAS2 port less than 45%?
[0166] Check on IPNET whether the peak traffic ratio of the downstream port of BRAS2 (the port with the description containing "DT%") in the paired BRAS in the same time period is lower than 45%.
[0167] If it exceeds 45%, a notification will be sent for manual access. If the paired BRAS downstream traffic is too high, please handle it.
[0168] If it is lower than 45%, it is determined to be adjustable, and the BRAS downlink traffic early warning adjustment module is called to make adjustments.
[0169] Step 3.2: BRAS Downstream Traffic Warning Adjustment Module - Adjustment
[0170] According to the principle of reducing to 55%, the number of users needs to be adjusted according to the traffic calculation (user model: 2M traffic per user);
[0171] (1) Based on the current traffic - 55%, the traffic value is obtained, and the number of users that need to be adjusted is calculated using the 2M per user model.
[0172] (2) Log in to the device to obtain the current number of users.
[0173] (3) Determine the traffic shaping sub-interface.
[0174] (4) Perform user adjustments.
[0175] (5) Enter BRAS1 and remove the user.
[0176] Step 3.3: BRAS Downstream Traffic Warning Adjustment Module - Verification
[0177] (1) After the adjustment is completed, the number of users on the service sub-interfaces of the paired BRAS shall be checked every 5 minutes.
[0178] (2) Check whether the difference ratio of the number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment (BRAS1-BRAS2) is less than 20%, and whether the difference ratio of the total number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment and the total number of users of the service sub-interfaces under the paired BRAS interfaces before adjustment remains within 5%.
[0179] (3) Check on IPNET whether the uplink and downlink traffic of the paired BRAS is less than 60%.
[0180] Step 4: BRAS Uplink Traffic Warning Adjustment Module
[0181] Step 4.1: BRAS Uplink Traffic Warning Adjustment Module - Check
[0182] Determine whether the adjustment conditions are met:
[0183] (1) Determine whether the traffic exceeds the limit due to a fault based on whether there is port traffic imbalance (the difference between the traffic value of a single port and the average traffic value of all upstream ports is greater than 10%) among all the upstream ports of the BRAS (ports described as "UT%") during the same period.
[0184] If it exceeds 10%, a notification will be sent for manual access. Please handle the unbalanced sub-interface traffic.
[0185] If it is lower than 10%, it is judged that the flow rate is too high and the next step of inspection is carried out.
[0186] (2) Is the traffic on BRAS2 port in the paired BRAS lower than 45%?
[0187] Check on IPNET whether the peak traffic ratio of the uplink port of BRAS2 (the port with description containing "UT%") in the paired BRAS in the same time period is lower than 45%.
[0188] If it exceeds 45%, a notification will be sent for manual access. If the paired BRAS upstream traffic is too high, please handle it.
[0189] If it is lower than 45%, it is judged to be adjustable and the next step of inspection is carried out.
[0190] (3) Is the traffic from SW to BRAS2 less than 45%?
[0191] Check on IPNET whether the peak traffic ratio of the uplink port of BRAS2 (the port with description containing "UT%") in the paired BRAS in the same time period is lower than 45%.
[0192] If it exceeds 45%, a notification will be sent for manual access. If the paired BRAS upstream traffic is too high, please handle it.
[0193] If it is lower than 45%, it is determined to be adjustable, and the BRAS uplink traffic early warning adjustment module is called to make adjustments.
[0194] Step 4.2: BRAS Uplink Traffic Warning Adjustment Module - Adjustment
[0195] According to the principle of reducing to 55%, the number of users needs to be adjusted according to the traffic calculation (user model: 2M traffic per user)
[0196] (1) Based on the current traffic - 55%, the traffic value is obtained, and the number of users that need to be adjusted is calculated using the 2M per user model.
[0197] (2) Log in to the device to obtain the current number of users.
[0198] (3) Determine the traffic shaping sub-interface.
[0199] (4) Perform user adjustments.
[0200] (5) Enter BRAS1 and remove the user.
[0201] Step 4.3: BRAS Uplink Traffic Warning Adjustment Module - Verification
[0202] (1) After the adjustment is completed, the number of users on the service sub-interfaces of the paired BRAS shall be checked every 5 minutes.
[0203] (2) Check whether the difference ratio of the number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment (BRAS1-BRAS2) is less than 20%, and whether the difference ratio of the total number of users of the service sub-interfaces under the paired BRAS interfaces after adjustment and the total number of users of the service sub-interfaces under the paired BRAS interfaces before adjustment remains within 5%.
[0204] (3) Check on IPNET whether the uplink and downlink traffic of the paired BRAS is less than 60%.
[0205] As of the end of October 2022, the above solution has completed the installation, deployment and debugging of the existing CMNET environment of Zhejiang Mobile Operator, and the system has been put into trial operation, which has greatly simplified the user's daily maintenance management and optimization analysis work.
[0206] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0207] Based on the same inventive concept, the present invention also proposes a device for adjusting the balance of BRAS access users. The implementation of the device can refer to the implementation of the above method, and the repeated parts will not be repeated. The term "module" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0208] Figure 3 FIG. 1 is a schematic diagram of the structure of the device for adjusting the balance of BRAS access users according to the present invention. Figure 3 As shown, the device comprises:
[0209] The link failure triggering user balance adjustment module 101 is used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS according to the defined OLT directly connected BRAS link failure triggering condition, including:
[0210] Check the number of users corresponding to the service sub-interfaces under the paired BRAS through the OLT directly connected BRAS user balancing module and compare them;
[0211] If the difference ratio of the number of users of the service sub-interfaces under the paired BRAS exceeds 20% and the total number of users exceeds 500, the user will be kicked out;
[0212] After the operation is completed, the OLT directly connected to the BRAS user balancing module checks at the set interval whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment under the service sub-interface of the paired BRAS is within 5%;
[0213] If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 10%, otherwise continue to check;
[0214] If it is within 10%, the adjustment is completed, otherwise the adjustment continues.
[0215] The card failure triggers the user balance adjustment module 102, which is used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS according to the CGN card load rate of the paired BRAS through a defined single CGN card, including:
[0216] Call the single CGN fault user balancing module through the defined single CGN board fault trigger condition;
[0217] Check the CGN card status of the other BRAS in the paired BRAS through the single CGN fault user balancing module;
[0218] If the CGN board status of the BRAS in the paired BRAS is registered and normal, then check the CGN board load rate of the BRAS in the paired BRAS;
[0219] If the CGN board load rate of the paired BRAS is less than 50%, 50% of the users of the service sub-interface of the BRAS with a single CGN failure will be switched to the service sub-interface of the BRAS;
[0220] After the switch is completed, the single CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS exceeds 90%. If it is within 90%, the adjustment is completed.
[0221] The card failure triggers the user balance adjustment module 102, which is also used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS according to the CGN card load rate of the paired BRAS through the defined dual CGN card, including:
[0222] Call the dual CGN fault user balancing module through the defined dual CGN board fault trigger condition;
[0223] Check the status of the CGN board of the other paired BRAS directly connected to the OLT through the dual CGN fault user balancing module;
[0224] If the CGN board status of the paired BRAS is registered and normal, check the CGN board load rate of the paired BRAS;
[0225] If the load rate of the CGN board in the paired BRAS is less than 50%, the lock domain will close the service sub-interface under the paired BRAS with the double CGN board failure, and switch all users to the service sub-interface under the paired BRAS;
[0226] After the switch is completed, the dual CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS is lower than 50%. If it is higher than 50%, the adjustment is completed, otherwise the adjustment continues.
[0227] The inspection-triggered user balancing adjustment module 103 is used to trigger the self-healing adjustment according to the defined self-healing adjustment conditions through the defined inspection trigger conditions, and then adjust the number of users of the service sub-interface under the paired BRAS according to the peak traffic of the upstream and downstream ports of the paired BRAS, including:
[0228] According to the defined self-healing adjustment conditions, self-healing adjustment is performed through the OLT traffic early warning adjustment module;
[0229] Checking, through the BRAS upstream traffic early warning adjustment module or the BRAS downstream traffic early warning adjustment module, whether the peak traffic ratio of all upstream or downstream ports of the other BRAS in the paired BRAS exceeds 45%;
[0230] If the peak traffic ratio of all uplink or downlink ports of the other BRAS in the paired BRAS is lower than 45%, the number of users to be adjusted is calculated and adjusted according to the principle of decreasing to 55%;
[0231] After the adjustment is completed, the BRAS upstream traffic warning adjustment module or the BRAS downstream traffic warning adjustment module checks whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment of the service sub-interface under the paired BRAS is within 5% according to the set interval;
[0232] If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 20%, otherwise continue to check;
[0233] If it is within 20%, the adjustment is completed, otherwise the adjustment continues.
[0234] It should be noted that although several modules of the apparatus for adjusting the balance of BRAS access users are mentioned in the above detailed description, this division is only exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules for embodiment.
[0235] Based on the above invention concept, Figure 4 As shown, the present invention also proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and executable on the processor 220, and when the processor 220 executes the computer program 230, the aforementioned method for adjusting the balance of users accessed based on BRAS is implemented.
[0236] Based on the aforementioned inventive concept, the present invention further proposes a computer-readable storage medium, which stores a computer program for executing the aforementioned BRAS-based access user balance adjustment.
[0237] The method and device for adjusting the balance of BRAS access users proposed in the present invention are convenient tools for Internet administrators to manage ultra-large-scale networks, which significantly improve the efficiency of daily operation and maintenance work and meet the needs of lean operation and management. Through fault and inspection methods, problems can be discovered and faults can be quickly restored in this way to eliminate network risks. The method is simple to implement and does not require high accumulation of network conditions.
[0238] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements contained in the spirit and scope of the attached claims.
[0239] Regarding the limitation of the protection scope of the present invention, those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.
Claims
1. A method for adjusting the balance of BRAS access users, characterized in that: The method includes: Through the defined OLT direct-hanging BRAS link failure triggering condition, the number of users of the service sub-interface under the paired BRAS is triggered to be adjusted; the number of users of the service sub-interface under the paired BRAS is adjusted, including: checking the number of users corresponding to the service sub-interface under the paired BRAS through the OLT direct-hanging BRAS user balancing module and comparing them; if the difference ratio of the number of users of the service sub-interface under the paired BRAS exceeds 20% and the total number of users exceeds 500, the user is kicked out; after the operation is completed, according to the set interval time, the OLT direct-hanging BRAS user balancing module is used to check whether the difference ratio of the adjusted total number of users of the service sub-interface under the paired BRAS and the total number of users before the adjustment is within 5%; if it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interface under the paired BRAS is within 10%, otherwise continue to check; if it is within 10%, complete the adjustment, otherwise continue to adjust; Through the defined single CGN card or dual CGN card fault triggering conditions, the number of users of the service sub-interface under the paired BRAS is adjusted according to the CGN card load rate of the paired BRAS; Through the defined inspection trigger conditions, the self-healing adjustment is first triggered according to the defined self-healing adjustment conditions, and then the number of users of the service sub-interface under the paired BRAS is adjusted according to the peak traffic of the upstream and downstream ports of the paired BRAS.
2. The method for adjusting the balance of BRAS access users according to claim 1, characterized in that: Through the defined single CGN board failure trigger condition, the number of users on the service sub-interface of the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including: Call the single CGN fault user balancing module through the defined single CGN board fault trigger condition; Check the CGN card status of the other BRAS in the paired BRAS through the single CGN fault user balancing module; If the CGN board status of the BRAS in the paired BRAS is registered and normal, then check the CGN board load rate of the BRAS in the paired BRAS; If the CGN board load rate of the paired BRAS is less than 50%, 50% of the users of the service sub-interface of the BRAS with a single CGN failure will be switched to the service sub-interface of the BRAS; After the switch is completed, the single CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS exceeds 90%. If it is within 90%, the adjustment is completed.
3. The method for adjusting the balance of BRAS access users according to claim 1, characterized in that: Through the defined dual CGN board fault triggering conditions, the number of users on the service sub-interfaces of the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including: Call the dual CGN fault user balancing module through the defined dual CGN board fault trigger condition; Check the status of the CGN board of the other paired BRAS directly connected to the OLT through the dual CGN fault user balancing module; If the CGN board status of the paired BRAS is registered and normal, check the CGN board load rate of the paired BRAS; If the load rate of the CGN board in the paired BRAS is less than 50%, the lock domain will close the service sub-interface under the paired BRAS with the double CGN board failure, and switch all users to the service sub-interface under the paired BRAS; After the switch is completed, the dual CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS is lower than 50%. If it is higher than 50%, the adjustment is completed, otherwise the adjustment continues.
4. The method for adjusting the balance of BRAS access users according to claim 1, characterized in that: According to the peak traffic of the upstream and downstream ports of the paired BRAS, the number of users of the service sub-interfaces under the paired BRAS is adjusted, including: Checking, through the BRAS upstream traffic early warning adjustment module or the BRAS downstream traffic early warning adjustment module, whether the peak traffic ratio of all upstream or downstream ports of the other BRAS in the paired BRAS exceeds 45%; If the peak traffic ratio of all uplink or downlink ports of the other BRAS in the paired BRAS is lower than 45%, the number of users to be adjusted is calculated and adjusted according to the principle of decreasing to 55%; After the adjustment is completed, the BRAS upstream traffic warning adjustment module or the BRAS downstream traffic warning adjustment module checks whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment of the service sub-interface under the paired BRAS is within 5% according to the set interval; If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 20%, otherwise continue to check; If it is within 20%, the adjustment is completed, otherwise the adjustment continues.
5. A device for adjusting the balance of BRAS-based access users, characterized in that: The device includes: The link failure triggers the user balance adjustment module, which is used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS through the defined OLT direct-hanging BRAS link failure triggering condition; the adjustment of the number of users of the service sub-interface under the paired BRAS includes: checking the number of users corresponding to the service sub-interface under the paired BRAS through the OLT direct-hanging BRAS user balance module and comparing them; if the difference ratio of the number of users of the service sub-interface under the paired BRAS exceeds 20% and the total number of users exceeds 500, the user is kicked out; after the operation is completed, according to the set interval time, the OLT direct-hanging BRAS user balance module is used to check whether the difference ratio of the adjusted total number of users of the service sub-interface under the paired BRAS and the total number of users before the adjustment is within 5%; if it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interface under the paired BRAS is within 10%, otherwise continue to check; if it is within 10%, complete the adjustment, otherwise continue to adjust; The board failure triggers the user balance adjustment module, which is used to trigger the adjustment of the number of users of the service sub-interface under the paired BRAS according to the CGN board load rate of the paired BRAS through the defined single CGN board or dual CGN board failure trigger conditions; The inspection-triggered user balancing adjustment module is used to trigger self-healing adjustment according to the defined self-healing adjustment conditions through the defined inspection trigger conditions, and then adjust the number of users on the service sub-interface under the paired BRAS according to the peak traffic of the upstream and downstream ports of the paired BRAS.
6. The device for adjusting the balance of BRAS-based access users according to claim 5, characterized in that: Through the defined single CGN board failure trigger condition, the number of users on the service sub-interface of the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including: Call the single CGN fault user balancing module through the defined single CGN board fault trigger condition; Check the CGN card status of the other BRAS in the paired BRAS through the single CGN fault user balancing module; If the CGN board status of the BRAS in the paired BRAS is registered and normal, then check the CGN board load rate of the BRAS in the paired BRAS; If the CGN board load rate of the paired BRAS is less than 50%, 50% of the users of the service sub-interface of the BRAS with a single CGN failure will be switched to the service sub-interface of the BRAS; After the switch is completed, the single CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS exceeds 90%. If it is within 90%, the adjustment is completed.
7. The device for adjusting the balance of BRAS-based access users according to claim 5, characterized in that: Through the defined dual CGN board fault triggering conditions, the number of users on the service sub-interfaces of the paired BRAS is adjusted according to the CGN board load rate of the paired BRAS, including: Call the dual CGN fault user balancing module through the defined dual CGN board fault trigger condition; Check the status of the CGN board of the other paired BRAS directly connected to the OLT through the dual CGN fault user balancing module; If the CGN board status of the paired BRAS is registered and normal, check the CGN board load rate of the paired BRAS; If the load rate of the CGN board in the paired BRAS is less than 50%, the lock domain will close the service sub-interface under the paired BRAS with the double CGN board failure, and switch all users to the service sub-interface under the paired BRAS; After the switch is completed, the dual CGN fault user balancing module checks whether the CGN board load rate of the paired BRAS is lower than 50%. If it is higher than 50%, the adjustment is completed, otherwise the adjustment continues.
8. The device for adjusting the balance of BRAS-based access users according to claim 5, characterized in that: According to the peak traffic of the upstream and downstream ports of the paired BRAS, the number of users of the service sub-interfaces under the paired BRAS is adjusted, including: Checking, through the BRAS upstream traffic early warning adjustment module or the BRAS downstream traffic early warning adjustment module, whether the peak traffic ratio of all upstream or downstream ports of the other BRAS in the paired BRAS exceeds 45%; If the peak traffic ratio of all uplink or downlink ports of the other BRAS in the paired BRAS is lower than 45%, the number of users to be adjusted is calculated and adjusted according to the principle of decreasing to 55%; After the adjustment is completed, the BRAS upstream traffic warning adjustment module or the BRAS downstream traffic warning adjustment module checks whether the difference ratio between the total number of users after adjustment and the total number of users before adjustment of the service sub-interface under the paired BRAS is within 5% according to the set interval; If it is within 5%, continue to check whether the difference ratio of the adjusted number of users of the service sub-interfaces under the paired BRAS is within 20%, otherwise continue to check; If it is within 20%, the adjustment is completed, otherwise the adjustment continues.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 4.