Methods and apparatus for switching broadband services, and computer-readable storage media
By detecting the link status between the BRAS and the uplink MB and disabling PPPoE services, and clearing online user information, the problem of broadband services not being able to switch automatically was solved, enabling automatic switching when the link is interrupted and improving the user experience.
Patent Information
- Application Number
- CN202211129881.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-09-15
AI Technical Summary
In the event of a complete link failure between the BRAS and the two upstream MBs, existing technology cannot achieve automatic switching of broadband services, resulting in users being unable to use broadband services normally.
By detecting the link status between the BRAS and the uplink MB, when a link interruption is detected, the PPPoE dial-up service is shut down and online user information is cleared. The user's dial-up request is rejected so that another BRAS can respond, thus achieving automatic switching of broadband services.
This feature enables automatic switching of broadband services to another BRAS when the BRAS and the uplink MB link are interrupted, thus avoiding impact on user experience and ensuring that users can use broadband services normally.
Smart Images

Figure CN117750448B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of broadband communication technology, and in particular to a method and apparatus for switching broadband services, and a computer-readable storage medium. Background Technology
[0002] The Broadband Remote Access Server (BRAS), as a core device in the aggregation layer, is a crucial foundational network for internet service operations. It handles user authentication, billing, bandwidth and traffic control, and QoS control, serving as the control point for personal, home, and large customer services. The Optical Line Terminal (OLT) is an important central office device that interconnects with the BRAS to control, manage, and measure the distances of user-end optical network units (ONUs).
[0003] Currently, in a typical broadband network structure, the OLT connects to user equipment downstream and can be interconnected with two BRAS upstream, one as the primary BRAS and the other as the backup BRAS. The two BRAS can be connected to two metropolitan area network core routers (MBs) in different equipment rooms in a delta network configuration. The two MBs can be interconnected with the provincial network core, thereby providing broadband services to users.
[0004] Based on the aforementioned broadband network architecture, in a scenario where one BRAS provides broadband services to users, there is a possibility that all links between that BRAS and the two upstream MBs may be interrupted, causing the BRAS to go out of service. In this case, the BRAS will be unable to provide broadband services to users, and the broadband service needs to be automatically switched to another BRAS. However, currently, there is a lack of an effective technical solution to achieve this goal. Summary of the Invention
[0005] The purpose of this application is to provide a method and apparatus for switching broadband services, as well as a computer-readable storage medium, to solve the problem that broadband services cannot be automatically switched to another BRAS when all links between the BRAS and the two upstream MBs are interrupted.
[0006] To solve the above-mentioned technical problems, this specification is implemented as follows:
[0007] Firstly, a method for switching broadband services is provided, executed by a first BRAS, including:
[0008] Detect the link status between the first BRAS and the uplink MB, wherein the uplink MB includes the first MB and the second MB;
[0009] If it is determined that all links with the uplink MB are interrupted, the PPPoE dialing service is shut down and the online user information under the first BRAS is cleared.
[0010] Upon receiving a user's dialing request, the dialing request is rejected so that a second BRAS can respond to the dialing request.
[0011] Secondly, a broadband service switching device is provided, comprising:
[0012] The detection module detects the link status between the first BRAS and the uplink MB, wherein the uplink MB includes the first MB and the second MB;
[0013] The service processing module, upon determining that all links with the uplink MB are interrupted, shuts down the PPPoE dialing service and clears the online user information under the first BRAS;
[0014] The response module, upon receiving a user's dialing request, refuses to respond to the dialing request so that the second BRAS responds to the dialing request.
[0015] Thirdly, a method for switching broadband services is provided, including:
[0016] Obtain the BGP interrupt alarm information for the first MB and the second MB respectively;
[0017] Determine whether the IP address of the BRAS contained in the BGP interrupt alarm information of the first MB and the second MB is the same IP address;
[0018] If the determination result is yes, the first BRAS corresponding to the IP address is determined to be interrupted and out of service, and the fault information of the first BRAS is generated. The fault information of the first BRAS is used by the AAA system to clear the online user information under the first BRAS.
[0019] Fourthly, a broadband service switching device is provided, comprising:
[0020] The module acquires BGP interrupt alarm information for the first MB and the second MB respectively.
[0021] The judgment module determines whether the IP address of the BRAS contained in the BGP interrupt alarm information of the first MB and the second MB is the same IP address;
[0022] If the determination result is yes, the module determines that the first BRAS corresponding to the IP address has been interrupted and is out of service, and generates fault information for the first BRAS. The fault information of the first BRAS is used by the AAA system to clear the online user information under the first BRAS.
[0023] Fifthly, a method for switching broadband services is provided, including:
[0024] The fault information of the first BRAS is obtained from the fault management system. The fault information of the first BRAS is generated by the fault system based on the BGP interrupt alarm information of the first MB and the second MB respectively when the first BRAS is interrupted and out of service.
[0025] Based on the fault information of the first BRAS, clear the online user information under the first BRAS.
[0026] Sixthly, a broadband service switching device is provided, comprising:
[0027] The acquisition module obtains fault information of the first BRAS from the fault management system. The fault information of the first BRAS is generated by the fault system based on the BGP interrupt alarm information of the first MB and the second MB respectively when the first BRAS is interrupted and out of service.
[0028] The information clearing module clears the online user information under the first BRAS based on the fault information of the first BRAS.
[0029] In a seventh aspect, a broadband service switching device is provided, including a memory and a processor electrically connected to the memory, the memory storing a computer program executable by the processor, the computer program, when executed by the processor, implementing the steps of the method described in the first aspect, or implementing the steps of the method described in the third aspect, or implementing the steps of the method described in the fifth aspect.
[0030] Eighthly, a computer-readable storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the steps of the method described in the first aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fifth aspect.
[0031] In this embodiment, the first BRAS of the two BRASs can detect the link status between itself and the uplink MB. If it is determined that the links between the first BRAS and the two uplink MBs are completely interrupted, the first BRAS can shut down the PPPoE dial-up service and clear the online user information under the first BRAS. Thus, when the first BRAS receives a user's dial-up request, it will refuse to respond to the user's dial-up request because the first BRAS has shut down the PPPoE dial-up service. If the first BRAS refuses to respond to the user's dial-up request, the user's dial-up request will be responded to by the other second BRAS, thereby switching the broadband service to the other BRAS, realizing automatic switching of broadband services, avoiding affecting the user's use of broadband services, and effectively improving the user experience.
[0032] Furthermore, since the first BRAS will clear the online user information under the first BRAS when it determines that the link between the first BRAS and the uplink MB is completely interrupted, that is, the online users under the first BRAS will become offline users, these users can redial normally after going offline, and thus use the broadband service normally. This effectively avoids the problem of these users being unable to redial while still online, which would cause them to be unable to use the broadband service normally. Attached Figure Description
[0033] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0034] Figure 1 This is a network topology diagram of a broadband service according to an embodiment of this application;
[0035] Figure 2 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application;
[0036] Figure 3 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application;
[0037] Figure 4 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application;
[0038] Figure 5 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application;
[0039] Figure 6 This is a schematic diagram of the structure of a broadband service switching device according to an embodiment of this application;
[0040] Figure 7This is a schematic diagram of the structure of a broadband service switching device according to an embodiment of this application;
[0041] Figure 8 This is a schematic diagram of the structure of a broadband service switching device according to an embodiment of this application;
[0042] Figure 9 This is a structural block diagram of a broadband service switching device according to an embodiment of this application;
[0043] Figure 10 This is a schematic diagram of the structure of a broadband service switching system according to an embodiment of this application. Detailed Implementation
[0044] Currently, in a broadband network structure of a metropolitan area network (MAN), the OLT connects to user equipment downstream and can be interconnected with two BRAS upstream. The two BRAS can be connected to two MAN core routers (MB) in different equipment rooms in a delta network configuration. The two MB can be interconnected with the provincial network core.
[0045] like Figure 1 As shown, Figure 1 The diagram illustrates the broadband network architecture between the provincial network, metropolitan area network (MAN), and access network. The access network shows three OLTs, each connected to two ONUs (Optical Network Units). Each ONU connects to two home broadband users. For one OLT, its uplink is connected to BRAS1 and BRAS2 in the MAN. BRAS1's uplink connects to MB1 and MB2 in a delta network configuration, and BRAS2 also connects to MB1 and MB2 in a delta network configuration. MB1 and MB2 are interconnected. MB1's uplink connects to PB1 in the provincial network, and MB2's uplink connects to PB2 in the provincial network. PB1 and PB2 are interconnected, and PB1 is connected to PA1 in the MAN, while PB2 is connected to PA2 in the MAN. PA1 and PA2 are connected to the Authentication, Authorization, Accounting (AAA) system. Figure 1 The connection is shown in a square shape.
[0046] based on Figure 1 The broadband network architecture shown illustrates that when a user needs to access home broadband services, they can send a dial-up request to BRAS1 and BRAS2 via the OLT. BRAS1 and BRAS2 are the primary and backup BRAS, respectively. Here, we assume BRAS1 is the primary BRAS and BRAS2 is the backup BRAS, and BRAS2 is configured to delay its response to dial-up requests. Therefore, when BRAS1 and BRAS2 simultaneously receive the dial-up request, due to BRAS2's delayed response, BRAS1 will respond to the request first, thus providing broadband services to the user.
[0047] In scenarios where broadband services are provided by BRAS1, the link between the OLT and BRAS1 may be interrupted, as may the links between BRAS1 and MB1 and MB2. Specifically, in the case of a link interruption between the OLT and BRAS1, the user's host will go offline and redial. Because the link between the OLT and BRAS1 is interrupted, the host's dial-up request will not reach BRAS1, but only BRAS2. BRAS2 will then delay its response to the dial-up request, thereby establishing a connection with the host and providing broadband services. In this way, in the event of a link interruption between the OLT and BRAS1, broadband services can be automatically switched from BRAS1 to BRAS2, thus avoiding disruption to the user experience and ensuring that users can continue to use broadband services.
[0048] When the links between BRAS1 and its upstream connections MB1 and MB2 are both interrupted, causing BRAS1 to go offline, users can no longer use broadband services. To ensure continued service, users need to redial and switch to BRAS2. However, for BRAS1, since the link between BRAS1 and the OLT remains intact, BRAS1 will not detect the user's offline status; it will still consider the user online. Furthermore, because the links between BRAS1 and MB1 and MB2 are all interrupted, the link between BRAS1 and the AAA system will also be interrupted, causing the AAA system to also be unable to detect the user's offline status. Thus, with both BRAS1 and the AAA system considering the user online, and considering the uniqueness of a user's online status, the user cannot redial, preventing automatic switching to BRAS2. In cases where automatic switching to BRAS2 fails, manual intervention is often required by logging into the AAA system and traveling to the BRAS1 site to manually remove the user's online status. However, this method is time-consuming and labor-intensive, severely impacting user experience.
[0049] Therefore, it is clear that currently, with the links between the BRAS and the two MBs connected to it completely interrupted, it is not possible to automatically switch broadband services to another BRAS.
[0050] To address the aforementioned technical problems, embodiments of this application provide a method and apparatus for switching broadband services, as well as a computer-readable storage medium. In the event that all links between the BRAS and the two upstream MBs are interrupted, the broadband service can be automatically switched to another BRAS. The entire process is executed automatically and does not affect user access.
[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. The drawing numbers in this application are only used to distinguish the various steps in the solution and are not used to limit the execution order of the various steps. The specific execution order is subject to the description in the specification.
[0052] Figure 2 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application. The method can be executed by a first BRAS, which can be either of the two BRASs connected to the OLT. Figure 2 The illustrated embodiments may include the following steps:
[0053] S21: Detect the link status between the first BRAS and the uplink MB, where the uplink MB includes the first MB and the second MB.
[0054] When the first BRAS is interconnected with the uplink MB, the first BRAS can detect the link status between itself and the uplink MB in real time, that is, detect whether the link between the first BRAS and the uplink MB is interrupted. The uplink MB of the first BRAS can include two MBs, which can be referred to here as the first MB and the second MB.
[0055] It should be noted that the first BRAS's detection of the link status between itself and the uplink MB can also refer to detecting the Border Gateway Protocol (BGP) status between them. Specifically, when the first BRAS is interconnected with the uplink MB, it can do so via the BGP protocol. If the BGP connection between the first BRAS and the uplink MB is uninterrupted, the link is considered available (i.e., uninterrupted). Conversely, if the BGP connection is interrupted, the link is considered unavailable (i.e., interrupted). This explanation focuses on detecting the link status between the first BRAS and the uplink MB.
[0056] Optionally, as an embodiment, the first BRAS may include the following steps when detecting the link status with the uplink MB:
[0057] Initiate a ping test to any of the MBs in the upstream network;
[0058] If the ping test fails, initiate another ping test to MB;
[0059] If the test results still show that the ping is unsuccessful, it is determined that the link between the first BRAS and the MB is broken.
[0060] Specifically, for any of the uplink MBs, the first BRAS, when checking the link status with that MB, can initiate a ping test to that MB. The ping test can probe the loop address of that MB. Specifically, when initiating the ping test, the first BRAS can send a data packet to the MB at set intervals (e.g., 1 second), sending one data packet at a time, for a total of N data packets, where N is a positive integer. The specific size can be determined according to actual needs and is not specifically limited here. After sending N data packets, if the number of packet losses is N, i.e., the packet loss rate is 100%, then it can be determined that the ping is unsuccessful (i.e., ping unreachable). In the case of a ping failure, the first BRAS can initiate another ping test to the MB, again sending one data packet at set intervals, for a total of N data packets. After initiating the ping test again, if the test result is still unsuccessful, then it can be determined that the link between the first BRAS and that MB is broken.
[0061] It should be noted that the reason for performing two ping tests when determining whether the link between the first BRAS and the uplink MB is to avoid the inaccuracy of a single ping test result. Of course, in other possible implementations, more ping tests could be performed, and a link failure could be determined only if multiple ping tests fail. This explanation focuses on performing two ping tests. Furthermore, multiple data packets can be sent during each ping test. A ping failure can be determined when the packet loss rate is greater than or equal to 90% or 95% (or other values, depending on actual needs). (In this case, the broadband service provided by the first BRAS can be considered unstable, and switching to another BRAS can be considered). This explanation focuses on determining a ping failure when only one data packet is sent per test and the packet loss rate is 100%.
[0062] After the first BRAS detects the link status with the uplink MB, if the detection result is that the link between the first BRAS and the uplink MB is interrupted, it can execute S22; otherwise, it can continue to execute S21, that is, continue to detect the link status with the uplink MB.
[0063] S22: If it is determined that the links with the uplink MB are all interrupted, shut down the PPPoE dialing service and clear the online user information under the first BRAS.
[0064] If the first BRAS determines that all links with the upstream MB (i.e., the first MB and the second MB) are interrupted, it can shut down the Point-to-Point Protocol over Ethernet (PPPoE) service and clear the online user information under the first BRAS. Specifically, shutting down the PPPoE service means that the first BRAS will not respond to dial-up requests, thus preventing users from being unable to use broadband services after establishing a connection with the first BRAS. Clearing the online user information can be done by deleting the online user information under the first BRAS, changing the user's online status to offline status, thus not affecting these users' ability to redial and switch to another BRAS.
[0065] S23: Upon receiving a user's dialing request, refuse to respond to the dialing request so that the second BRAS can respond to the dialing request.
[0066] The users here can be those whose online information was cleared by the first BRAS in S22, or other users besides these; there are no specific limitations. After the first BRAS closes the PPPoE dial-up service and clears its online user information, it will refuse to respond to a user's dial-up request. Since a user sends a dial-up request to both the first and second BRAS simultaneously when initiating a dial-up request, the second BRAS will respond to the user's dial-up request if the first BRAS refuses to respond, thus switching the broadband service to another BRAS. The second BRAS is either the primary or backup BRAS corresponding to the first BRAS. Specifically, if the first BRAS is the primary BRAS, then the second BRAS is the backup BRAS corresponding to the first BRAS; if the first BRAS is the backup BRAS, then the second BRAS is the primary BRAS corresponding to the first BRAS.
[0067] Optionally, as an example, after switching the broadband service to another BRAS (i.e., the second BRAS), if the link between the first BRAS and the uplink MB is restored, the first BRAS can enable PPPoE dialing service. In this way, when a user's dialing request is received subsequently, the dialing request can be responded to according to normal logic.
[0068] exist Figure 2In the illustrated embodiment, the first BRAS of the two BRASs can detect the link status between itself and the uplink MB. If it is determined that the links between the first BRAS and the two uplink MBs are completely interrupted, the first BRAS can shut down the PPPoE dial-up service and clear the online user information under the first BRAS. Thus, when the first BRAS receives a user's dial-up request, it will refuse to respond to the user's dial-up request because the first BRAS has shut down the PPPoE dial-up service. If the first BRAS refuses to respond to the user's dial-up request, the user's dial-up request will be responded to by the other second BRAS, thereby switching the broadband service to the other BRAS, realizing automatic switching of broadband services, avoiding affecting the user's use of broadband services, and effectively improving the user experience.
[0069] Furthermore, since the first BRAS will clear the online user information under the first BRAS when it determines that the link between the first BRAS and the uplink MB is completely interrupted, that is, the online users under the first BRAS will become offline users, these users can redial normally after going offline, and thus use the broadband service normally. This effectively avoids the problem of these users being unable to redial while still online, which would cause them to be unable to use the broadband service normally.
[0070] Figure 3 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application. The method can be executed by a fault management system, which can be a fault management system for managing broadband networks in the prior art, or a system specifically designed for the broadband service switching method provided in this application embodiment. Figure 3 The illustrated embodiments may include the following steps:
[0071] S31: Obtain the BGP interrupt alarm information for the first MB and the second MB respectively.
[0072] The first MB and the second MB are upstream MBs of the BRAS, meaning that the first MB and the second MB can be connected to multiple BRASs downstream. In this embodiment, when the first MB and the second MB are interconnected with multiple downstream BRASs, the first MB and the second MB can detect the BGP status with each downstream BRAS in real time, that is, detect the link status with each downstream BRAS. When a BGP interruption (i.e., link interruption) is detected with a downstream BRAS, a BGP interruption alarm message can be reported to the fault management system. In this way, the fault management system can obtain BGP interruption alarm messages from the first MB and the second MB respectively.
[0073] It should be noted that in this embodiment, the first MB and the second MB actively detect the BGP status between themselves and the downstream BRAS and report the BGP interruption alarm information to the fault management system when a BGP interruption is detected. Compared with the fault management system actively discovering the link fault between the first MB and the second MB and the downstream BRAS, this can improve the fault detection speed, enabling the fault management system to quickly know the link status between the MB and the BRAS, thereby quickly handling the fault and facilitating the rapid switching of broadband services.
[0074] S32: Determine whether the IP address of the BRAS contained in the BGP interrupt alarm information of the first MB and the second MB is the same IP address.
[0075] The BGP interruption alarm information reported by the first MB may include the IP address of the BRAS, which is the BRAS that caused the BGP interruption with the first MB. Similarly, the BGP interruption alarm information reported by the second MB may also include the IP address of the BRAS, which is the BRAS that caused the BGP interruption with the second MB. After obtaining the BGP interruption alarm information from the first MB and the second MB respectively, the fault management system can determine whether the IP address of the BRAS included in the BGP interruption alarm information of the first MB and the second MB is the same IP address.
[0076] If the determination result is yes, it means that for the same BRAS, all links between it and the upstream MB are interrupted. In this case, S33 can be executed. If no, it means that no BRAS has all links between it and the upstream MB are interrupted. In this case, S33 does not need to be executed. This application embodiment can be described by taking the execution of S33 as an example.
[0077] S33: If the judgment result is yes, determine that the PPPoE dialing service of the first BRAS corresponding to the IP address is unavailable and generate fault information of the first BRAS. The fault information of the first BRAS is used by the AAA system to clear the online user information under the first BRAS.
[0078] If the fault management system determines that the IP address of the BRAS contained in the BGP interruption alarm information of the first MB and the second MB is the same IP address, it can locate the BRAS based on this IP address. This BRAS is the one whose link with the uplink MB is completely interrupted, and can be referred to as the first BRAS. After locating the first BRAS, the fault management system can determine that the first BRAS has been interrupted and is out of service.
[0079] Optionally, as an embodiment, after locating the first BRAS, the fault management system can also initiate a ping test to the first BRAS before determining that the first BRAS has been interrupted and taken out of service. The specific implementation of the ping test can be found above. Figure 2 The specific implementation of the ping test initiated by the first BRAS to the MB in the illustrated embodiment will not be repeated here. If the ping test result is unsuccessful after the fault management system initiates the ping test, it can be determined that the first BRAS has been interrupted and out of service. Thus, based on the preliminary determination of the first BRAS's interruption and outage according to the BGP interruption alarm information of the first MB and the second MB, performing a ping test on the first BRAS can further verify whether the first BRAS has been interrupted and out of service, thereby improving the accuracy of the judgment result.
[0080] Optionally, as an embodiment, after locating the first BRAS, the fault management system can also send a verification request to the resource management system to verify whether the first BRAS is a real BRAS. Specifically, the resource management system can store information such as the identifiers and IP addresses of each device in the broadband network architecture of the metropolitan area network. When the fault management system sends a verification request to the resource management system, it can include the identifier and IP address of the first BRAS in the verification request. After receiving the verification request, the resource management system can check whether the identifier and IP address of the first BRAS in the verification request are stored. If so, it can determine that the first BRAS is a real BRAS device. At this time, the fault management system can determine that the first BRAS is out of service, or initiate a ping test to the first BRAS and determine that the first BRAS is out of service if the test result is unsuccessful. If not, it can determine that the first BRAS is not a real BRAS device. At this time, the fault management system can consider that there is no out-of-service BRAS. Optionally, the fault management system can return to execute S31. Here, we can take the example of the first BRAS being a real device for explanation. Verifying the authenticity of the first BRAS can improve the accuracy of determining whether the first BRAS has been interrupted or terminated.
[0081] After determining that the first BRAS has been interrupted and out of service, the fault management system can also generate fault information for the first BRAS. This fault information can indicate that the first BRAS has been interrupted and out of service, and the fault information may include the IP address of the first BRAS.
[0082] Optionally, as an embodiment, after generating fault information for the first BRAS, the fault management system can send the fault information to the AAA system. Specifically, the fault management system can proactively push the fault information of the first BRAS to the AAA system, or the AAA system can proactively subscribe to the BRAS fault information from the fault management system. In this way, after receiving the subscription message sent by the AAA system, the fault management system can send the fault information of the first BRAS to the AAA system. After obtaining the fault information of the first BRAS from the fault management system, the AAA system can clear the online user information under the first BRAS according to the fault information, that is, delete the online user information under the first BRAS, so that the online users under the first BRAS become offline users, thus not affecting these users' ability to redial and switch to another BRAS.
[0083] exist Figure 3 In the illustrated embodiment, the MB connected to the BRAS uplink can actively detect the BGP status with the downlink BRAS. In the event of a BGP interruption, it reports a BGP interruption alarm to the fault management system. The fault management system can determine whether a BRAS is out of service based on the BGP interruption alarm reported by the MB, and generate corresponding fault information if such a BRAS is confirmed. This allows for rapid and effective monitoring of BRAS outages. By generating corresponding fault information when a BRAS terminal is confirmed to be out of service, the AAA system can easily remove online users under the out-of-service BRAS, allowing these users to redial to another BRAS. This achieves automatic broadband service switching and effectively avoids the problem of users being unable to redial while still online, thus preventing the inability to use broadband services normally.
[0084] Figure 4 This is a flowchart illustrating a broadband service switching method according to an embodiment of this application. The method can be executed by an AAA system, which can also be a prior art system for authenticating, authorizing, and billing broadband networks. Figure 4 The illustrated embodiments may include the following steps:
[0085] S41: Obtain the fault information of the first BRAS from the fault management system. The fault information of the first BRAS is generated by the fault system based on the BGP interrupt alarm information of the first MB and the second MB when the first BRAS is interrupted and out of service.
[0086] When the fault management system determines that the first BRAS is out of service due to an interrupt and generates fault information for the first BRAS based on the BGP interrupt alarm information of the first MB and the second MB respectively, the AAA system can obtain the fault information of the first BRAS from the fault management system. For a detailed implementation of the fault management system determining the first BRAS interrupt outage and generating the fault information based on the BGP interrupt alarm information of the first MB and the second MB, please refer to [link to relevant documentation]. Figure 3 The illustrated embodiment will not be described again here. When the AAA system obtains fault information of the first BRAS from the fault management system, it can either receive fault information actively pushed by the fault management system, or it can actively obtain fault information from the fault management system by sending subscription messages. The fault information of the first BRAS can indicate that the first BRAS has been interrupted and out of service.
[0087] S42: Based on the fault information of the first BRAS, clear the online user information under the first BRAS.
[0088] After receiving fault information from the first BRAS, the AAA system can clear the online user information under the first BRAS based on the fault information, so that these users can redial and switch to another BRAS.
[0089] When the AAA system clears online user information under a first BRAS based on its fault information, specifically, the AAA system can store IP addresses of different BRASs and online user information under each BRAS. The fault information of the first BRAS may contain its IP address. After receiving the fault information, the AAA system can match the IP address in the fault information with pre-stored IP addresses to find the online user information corresponding to that IP address. The found online user information is the online user information under the first BRAS. Then, the AAA system can batch clear the online user information under the first BRAS, changing these users from online to offline.
[0090] exist Figure 4 In the illustrated embodiment, the AAA system can obtain fault information of the interrupted BRAS from the fault management system and clear the online user information under the BRAS according to the fault information. In this way, users under the BRAS whose terminals are out of service can redial to another BRAS, realize automatic switching of broadband services, and effectively avoid the problem of these users being unable to redial while still online, which would cause them to be unable to use broadband services normally.
[0091] To illustrate the broadband service switching method provided in this embodiment of the invention in detail, a specific embodiment will be described below. It will be understood that some steps in this embodiment are similar to those described above. Figures 2 to 4 The steps described in the illustrated embodiments are the same or similar, and relevant descriptions are omitted appropriately to avoid repetition.
[0092] The technical solution provided in this application, when all links between the BRAS and the uplink MB are interrupted, can automatically switch broadband services to another BRAS based on the SAA (Service Assurance Agent) + EHS (Event Handling System) strategy, and in conjunction with the fault management system and AAA system. Specifically, the SAA strategy can automatically detect connectivity between devices, scientifically set packet loss rate thresholds between port interconnections, and promptly report alarms to notify users to take appropriate measures. Based on the SAA + EHS strategy, the BGP status of the uplink MB linked to the BRAS can be tracked in real time. When a BGP interruption is confirmed, and it is verified that both links from the BRAS to the uplink MB are completely broken, actions are executed to shut down the PPPoE service, thereby causing affected users to redial to the other BRAS.
[0093] Configuring an EHS policy can be divided into the following steps:
[0094] Step 1: Configure the EHS execution script.
[0095] Configure a script to disable PPPoE dialing service.
[0096] Step 2: Configure the script name and execute the script.
[0097] Upon receiving a message that a device is offline and cannot be pinged, the PPPoE dialing service is shut down.
[0098] Step 3: Configure logging and associated script strategies.
[0099] Step 4: Configure event handling and invoke the strategy.
[0100] Configure the association between the BRAS and the upstream MB and the calling strategy under event triggering. When the link between the BRAS and the upstream MB is completely interrupted, the BRAS will automatically clear the online information of the users under it. When the offline users dial back to the failed BRAS, the failed BRAS will not respond, but the other cross-connected BRAS will respond.
[0101] Step 5: Configure log-filter to match the corresponding alarm information.
[0102] Based on the above SAA+EHS strategy, the embodiments of this application can be as follows: Figure 5 As shown, Figure 5 The illustrated embodiments may include the following steps:
[0103] S51: BRAS detects the link status between the BRAS and the uplink MB.
[0104] The BRAS here can be either a primary BRAS or a backup BRAS. When checking the link status with the uplink MB, the BRAS can periodically initiate ping tests to the uplink MB. For example, it can be set to ping every 2 minutes. If the first ping fails, a second ping test is initiated. If the second ping fails, the first BRAS can be considered offline. During the ping test, a probe policy can be configured on the first BRAS. This policy tracks the status of BGP neighbors and probes the loop address of the remote uplink MB. For example, the test interval can be set to 1 second, the number of tests to 5, and one packet sent each time. If the packet loss rate is 100%, the ping is considered unsuccessful.
[0105] S52: The BGP status between the upstream MB and the downstream BRAS is detected.
[0106] The uplink MB can utilize the fast convergence feature of the BGP protocol. When a BGP status interruption is detected between the uplink MB and the downlink BRAS, a service unavailability alarm can be generated and the BGP interruption alarm information can be reported to the fault management system.
[0107] S53: In the event that all links between BRAS and the uplink MB are interrupted, BRAS generates ping unreachable and BGP interruption alarms and stores them in the log. The fault management system generates BRAS interruption and service failure alarms. The AAA system obtains BRAS fault information from the fault management system.
[0108] When all uplink links of the BRAS device are interrupted, the BRAS device becomes unmanaged and ceases service. This embodiment integrates a resource management system and a provincial fault management system, and utilizes the fast convergence characteristic of the BGP protocol to generate a service unavailability alarm on the MB device. Specifically, the fault management system backend associates two MB devices configured in pairs within the local city, collects MB alarms via SNMP, and performs detailed analysis on BGP interruption alarms, extracting the IP address of the peer device from the alarm OID. When two MB devices simultaneously experience BGP outage alarms, the fault management system analyzes whether the BGP neighbors of the two MBs point to the same IP. If so, it sends an alarm message to the resource management system via SNMP trap messages. The resource management system analyzes the information of the BRAS device through the alarm message and finds that it is a real device. This generates a single-point configured CMNET metropolitan area network BRAS / SR service unavailability alarm. At the same time, the fault management system can actively initiate a ping test to the BRAS device. If a ping unreachable alarm is received, it can accurately determine that the BRAS device is offline and out of service, and immediately generate a single-point configured CMNET metropolitan area network BRAS node failure and service exit.
[0109] For BRAS, since all uplink connections are interrupted, the BGP protocol between BRAS and the uplink is also interrupted along with the physical link, thus generating ping unreachable and BGP interruption alarms. For AAA systems, if a BRAS outage alarm is generated by the fault management system, BRAS outage information can be obtained from the fault management system.
[0110] S54: The BRAS triggers the operation of shutting down the business interface and clearing online user information based on the log information. The AAA system clears the online user information under the BRAS based on the BRAS service termination information.
[0111] The BRAS device triggers the SAA+EHS mechanism. Based on the BGP status change alarm, it triggers the automatic execution of relevant commands configured in the BRAS device to shut down the PPPoE service configuration and clean up and take offline PPPoE online users under this device. At the same time, the AAA system can resolve the BRAS IP address in the BRAS service termination information and perform aging-out and offline operations on all users connected to that IP address, that is, batch clean up the online user information under the faulty BRAS.
[0112] S55: The user redials back online from another BRAS in the dual-connection system.
[0113] After a user goes offline, they will re-dial. Since the PPPoE service of the faulty BRAS is disabled, the faulty BRAS will not respond to the user's dial-up request. Instead, the other BRAS in the cross-connection will respond to the user's dial-up request. In this way, the user can connect to the other BRAS for authentication and online access.
[0114] S56: The link between BRAS and uplink MB is restored, the BGP protocol is updated, and the operation of starting the service interface is triggered.
[0115] Once the link between the BRAS and the uplink MB is restored, the BGP status changes, and the BRAS can trigger the command configured to automatically enable PPPoE service. At the same time, the fault management system and the AAA system can receive the link restoration information, and users can go online normally from this BRAS.
[0116] This application provides an adaptive method for rapid switching of home broadband services, addressing the problem of users being stuck between the BRAS and AAA systems and unable to automatically switch when a BRAS goes out of service due to a double outage of uplink transmission in extreme cases. Currently, there is no effective automated solution, and user online information is manually cleared during failures. This application deploys an automated SAA+EHS policy on the BRAS to force users offline and prevents them from responding to new user requests, and automatically ages user online information in the AAA authentication system. This allows users to quickly redial to another BRAS, thereby reducing the impact of failures on services. It effectively overcomes the problems of cumbersome processes, reliance on personnel skill levels, and long failure resolution times in existing technologies, promoting the digital transformation of network operation and maintenance, and achieving digitalization, automation, and intelligence.
[0117] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0118] Figure 6 This is a schematic diagram of the structure of a broadband service switching device 60 according to an embodiment of this application. Please refer to... Figure 6 In one software implementation, the broadband service switching device 60 may include: a detection module 61, a service processing module 62, and a response module 63, wherein:
[0119] Detection module 61 detects the link status between the first BRAS and the uplink MB, wherein the uplink MB includes the first MB and the second MB;
[0120] Service processing module 62, upon determining that all links with the uplink MB are interrupted, shuts down the PPPoE dialing service and clears the online user information under the first BRAS;
[0121] The response module 63, upon receiving a user's dialing request, refuses to respond to the dialing request so that the second BRAS responds to the dialing request.
[0122] Optionally, the detection module 61 detects the link status between the first BRAS and the uplink MB, including:
[0123] For any of the uplink MBs, initiate a ping test to that MB;
[0124] If the ping test fails, initiate the ping test again to the MB.
[0125] If the test results still show that the ping is unsuccessful, it is determined that the link between the first BRAS and the MB is interrupted.
[0126] Optionally, the detection module 61 initiates a ping test to the MB, including:
[0127] A data packet is sent to the MB at set intervals, for a total of N data packets;
[0128] If the number of packet losses equals N, the test result is determined to be a ping failure.
[0129] Optionally, the service processing module 62 enables the PPPoE dialing service when the link between the first BRAS and the uplink MB is restored.
[0130] The broadband service switching device 60 provided in this application embodiment can also perform... Figure 2 The method, and the implementation of the broadband service switching device in Figure 2 The functions of the embodiments shown are not described in detail here.
[0131] Figure 7 This is a schematic diagram of the structure of a broadband service switching device 70 according to an embodiment of this application. Please refer to... Figure 7 In one software implementation, the broadband service switching device 70 may include: an acquisition module 71, a judgment module 72, and a determination module 73, wherein:
[0132] Module 71 acquires the BGP interrupt alarm information of the first MB and the second MB respectively;
[0133] The judgment module 72 determines whether the IP address of the BRAS contained in the BGP interrupt alarm information of the first MB and the second MB is the same IP address;
[0134] If the determination result is yes, module 73 determines that the first BRAS corresponding to the IP address has been interrupted and terminated, and generates fault information of the first BRAS. The fault information of the first BRAS is used by the AAA system to clear the online user information under the first BRAS.
[0135] Optionally, the determining module 73, if the determination result is yes, determines that the first BRAS corresponding to the IP address has been interrupted and terminated, including:
[0136] If the judgment result is yes, initiate a ping test to the first BRAS;
[0137] If the test result shows that the ping fails, it is determined that the first BRAS has been interrupted and terminated.
[0138] Optionally, the device further includes a transmitting module 74, which, after the determining module 73 generates the fault information of the first BRAS:
[0139] The fault information of the first BRAS is actively pushed to the AAA system; or,
[0140] Upon receiving a subscription message from the AAA system, the fault information of the first BRAS is sent to the AAA system.
[0141] The broadband service switching device 70 provided in this application embodiment can also perform... Figure 3 The method, and the implementation of the broadband service switching device in Figure 3 The functions of the embodiments shown are not described in detail here.
[0142] Figure 8 This is a schematic diagram of the structure of a broadband service switching device 80 according to an embodiment of this application. Please refer to... Figure 8 In one software implementation, the broadband service switching device 80 may include: an acquisition module 81 and an information clearing module 82, wherein:
[0143] The acquisition module 81 acquires the fault information of the first BRAS from the fault management system. The fault information of the first BRAS is generated by the fault system based on the BGP interrupt alarm information of the first MB and the second MB respectively when the first BRAS is interrupted and out of service.
[0144] The information clearing module 82 clears the online user information under the first BRAS based on the fault information of the first BRAS.
[0145] The broadband service switching device 80 provided in this application embodiment can also perform... Figure 4 The method, and the implementation of the broadband service switching device in Figure 4 The functions of the embodiments shown are not described in detail here.
[0146] Optionally, embodiments of this application also provide a broadband service switching device 90.
[0147] like Figure 9 As shown, the device 90 includes a memory 92 and a processor 94 electrically connected to the memory 92. The memory 92 stores a computer program that can be run on the processor 94. When the computer program is executed by the processor, it implements the various processes of any of the above-described broadband service switching method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0148] This application also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the various processes of any of the above-described broadband service switching method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0149] Optionally, embodiments of this application also provide a broadband service switching system 100.
[0150] like Figure 10 As shown, system 100 includes a first BRAS 110, a second BRAS 120, a first MB 130, a second MB 140, a fault management system 150, and an AAA system 160. The second BRAS 120 is the primary or backup BRAS corresponding to the first BRAS 110. The first MB 130 and the second MB 140 are the uplink MBs of the first BRAS 110 and the second BRAS 120, wherein:
[0151] The first BRAS110 detects the link status between the first BRAS110 and the uplink MB; if it is determined that the links with the uplink MB are all interrupted, the PPPoE dialing service is turned off and the online user information under the first BRAS110 is cleared.
[0152] The first MB130 and the second MB140 detect the BGP status with the downstream BRAS; when the first MB130 and the second MB140 detect a BGP interruption with the downstream BRAS, they generate a BGP interruption alarm message.
[0153] The fault management system 150 obtains the BGP interrupt alarm information of the first MB130 and the second MB140 respectively; determines whether the IP address of the BRAS corresponding to the BGP interrupt alarm information of the first MB130 and the second MB140 is the same IP address; if the determination result is yes, it determines that the first BRAS110 corresponding to the IP address is out of service and generates the fault information of the first BRAS110.
[0154] The AAA system 160 obtains the fault information of the first BRAS 110 from the fault management system 150; and clears the online user information under the first BRAS 110 according to the fault information of the first BRAS 110 so that online users can redial after logging off.
[0155] The first BRAS 110 refuses to respond to the dialing request when it receives the user's dialing request; the second BRAS 120 responds to the dialing request when it receives the dialing request.
[0156] Figure 10 For detailed implementation of each step shown, please refer to [link / reference]. Figures 2 to 4 The specific implementation of the corresponding steps in the illustrated embodiments will not be repeated here.
[0157] In summary, the above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
[0158] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0159] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0160] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A handover method of a broadband service, the method comprising the steps of: Performed by the first BRAS, including: Detect the link status between the first BRAS and the uplink MB, wherein the uplink MB includes the first MB and the second MB; If it is determined that all links with the uplink MB are interrupted, the PPPoE dialing service is shut down and the online user information under the first BRAS is cleared. Upon receiving a user's dialing request, the user refuses to respond to the dialing request so that the second BRAS responds to the dialing request. If the link between the first BRAS and the uplink MB is restored, the PPPoE dialing service is activated.
2. The method of claim 1, wherein, The detection of the link status between the first BRAS and the uplink MB includes: For any of the uplink MBs, initiate a ping test to that MB; If the ping test fails, initiate the ping test again to the MB. If the test results still show that the ping is unsuccessful, it is determined that the link between the first BRAS and the MB is interrupted.
3. The method of claim 2, wherein, The step of initiating a ping test to the MB includes: A data packet is sent to the MB at set intervals, for a total of N data packets; If the number of packet losses equals N, the test result is determined to be a ping failure.
4. A handover method of a broadband service, characterized by, Performed by the fault management system, including: Obtain the BGP interrupt alarm information for the first MB and the second MB respectively; Determine whether the IP address of the BRAS contained in the BGP interrupt alarm information of the first MB and the second MB is the same IP address; If the judgment result is yes, the first BRAS corresponding to the IP address is determined to be interrupted and out of service, and the fault information of the first BRAS is generated. The PPPoE dialing service of the first BRAS is then closed. The fault information of the first BRAS is used by the AAA system to clear the online user information under the first BRAS. If the link between the first BRAS and the uplink MB is restored, the PPPoE dialing service is activated.
5. The method of claim 4, wherein, The step of determining the first BRAS interruption and service termination corresponding to the IP address when the judgment result is yes includes: If the judgment result is yes, initiate a ping test to the first BRAS; If the test result shows that the ping fails, it is determined that the first BRAS has been interrupted and terminated.
6. The method of claim 4, wherein, After generating the fault information of the first BRAS, the method further includes: The fault information of the first BRAS is actively pushed to the AAA system; or, Upon receiving a subscription message from the AAA system, the fault information of the first BRAS is sent to the AAA system.
7. A method of handover of a broadband service, characterized by, Performed by the AAA system, including: The fault information of the first BRAS is obtained from the fault management system. The fault information of the first BRAS is generated by the fault system based on the BGP interrupt alarm information of the first MB and the second MB respectively when the first BRAS is interrupted and out of service. Based on the fault information of the first BRAS, clear the online user information under the first BRAS; Specifically, the PPPoE dialing service of the first BRAS is shut down when the first BRAS is determined to be out of service, and is restarted when the link between the first BRAS and the uplink MB is restored.
8. A broadband service switching device, characterized in that, include: A memory and a processor electrically connected to the memory, the memory storing a computer program executable by the processor, the computer program, when executed by the processor, implementing the steps of the method as claimed in any one of claims 1 to 3, or implementing the steps of the method as claimed in any one of claims 4 to 6, or implementing the steps of the method as claimed in claim 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as claimed in any one of claims 1 to 3, or the steps of the method as claimed in any one of claims 4 to 6, or the steps of the method as claimed in claim 7.
Citation Information
Patent Citations
Message forwarding method and device
CN110022236A
