A method for processing user online and related device
Patent Information
- Application Number
- CN202110281152.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-16
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2041-03-16
AI Technical Summary
但是,如果在物理链路未发生故障,而发生第三方认证服务器故障等场景中,如果作为主用设备的BRAS依旧按照目前的接入接口上配置的时延和VRRP优先级响应用户上线请求,则会发生用户在所选择的主用设备上线发生失败的现象
[0038] In this embodiment, the first BRAS determines the user online failure rate corresponding to the first access interface. When the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, it dynamically adjusts the response threshold of the first access interface from a first value to a second value. This results in the response speed corresponding to responding to user online requests according to the adjusted second value being slower than the response speed corresponding to responding to user online requests according to the first value. Thus, when the first BRAS receives a user online request, it will not prioritize responding to the user online request; instead, the second BRAS will prioritize responding to the user online request through the second access interface. In this way, the user equipment can receive the response message from the second BRAS, thereby accessing the network from the second BRAS with a lower user online failure rate, improving the success rate of user online access and greatly enhancing the user experience.
Smart Images

Figure CN115150256B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, specifically to a user online processing method and related apparatus. Background Technology
[0002] A broadband remote access server (BRAS) is an access gateway for broadband network applications. It is located at the edge of the network and acts as a bridge between the network and user equipment, mainly responsible for controlling the access of user equipment.
[0003] Existing BRAS can be categorized into cold standby and hot standby solutions based on service requirements to respond to user online requests. The cold standby solution primarily involves no synchronization of user entry information between the primary and backup BRAS. When a user detects a failure in the primary BRAS, they need to redial to establish the user entry information on the backup BRAS before accessing the network. The hot standby solution utilizes a standby BRAS with identical configuration to the primary BRAS for backup. User entry information is synchronized between the primary and standby BRAS in real time. If the primary BRAS experiences a link failure or device failure, the standby BRAS is promoted to the primary BRAS, thus responding to user online requests. It's important to understand that in a cold standby solution, the response time of different BRASs to user device MAC addresses is primarily controlled by the latency of odd-numbered media access control (MAC) addresses and even-numbered MAC addresses configured on the access interface. Alternatively, it's based on the priority of the Virtual Router Redundancy Protocol (VRRP) bound to the access interface to determine which device can act as the primary BRAS and respond to user online requests. In a hot standby solution, the primary / standby relationship between devices is negotiated based on VRRP priority to enable rapid switchover to the backup BRAS in the event of a link failure or a primary BRAS failure.
[0004] While existing BRASs support both cold and hot standby user access schemes, their response to user login requests relies on the latency and VRRP priority configured on the BRAS's access interface to control which BRAS a user accesses the network from. This addresses login failures caused by BRAS or link failures. However, in scenarios where the physical link is intact but a third-party authentication server fails, if the primary BRAS continues to respond to user login requests using the current latency and VRRP priority configured on its access interface, users may fail to log in on the selected primary device. Therefore, current cold and hot standby schemes cannot resolve login failures caused by non-link failures, resulting in a poor user experience. Summary of the Invention
[0005] This application provides a user access processing method and related apparatus. By dynamically adjusting the primary device used to respond to user access requests based on the user access failure rate corresponding to the access interface, the system can respond to user access requests in a timely manner even in the event of a series of non-link failures such as third-party authentication server failures, thereby improving the user access success rate.
[0006] In a first aspect, embodiments of this application provide a user access processing method, which may include: a first broadband remote access server (BRAS) determining a user online failure rate corresponding to a first access interface on the first BRAS; when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, wherein the response speed corresponding to responding to a user online request according to the first value is faster than the response speed corresponding to responding to the user online request according to the second value.
[0007] In this way, a higher user online failure rate means a lower probability of successful online access for the user device through the access interface corresponding to the current BRAS. In this case, it needs to access the network from another BRAS, which then responds to the user's online request. Therefore, compared to the first BRAS, which is currently the primary device, always responding to user online requests using the initial response value (hereinafter referred to as the first value) configured by the response threshold of the first access interface, in this embodiment, the first BRAS determines the user online failure rate corresponding to the first access interface. When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, it dynamically adjusts the response threshold of the first access interface from the first value to a second value. This makes the response speed when responding to user online requests according to the adjusted second value slower than the response speed when responding according to the first value. Furthermore, this makes the response speed of the second BRAS, which was originally the backup device, faster when responding to user online requests according to the value corresponding to the response threshold of the second access interface than the response speed of the first BRAS when responding according to the second value. In this way, when the first BRAS receives a user's online request, it will not prioritize responding to the request. Instead, the second BRAS will respond to the request first through the second access interface. This allows the user equipment to receive the response message from the second BRAS and access the network through the second BRAS, which has a lower online failure rate. In other words, by dynamically adjusting the primary device used to respond to user online requests based on the online failure rate corresponding to the access interface, even in the event of non-link failures such as third-party authentication server malfunctions, the system can still respond to user online requests promptly, improving the success rate of online access and significantly enhancing the user experience.
[0008] Optionally, in some examples, after the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, the processing method further includes: when the user online failure rate corresponding to the first access interface is less than the second threshold, the first BRAS adjusts the response threshold of the first access interface back from the second value to the first value, wherein the second threshold is less than the first threshold; the first BRAS responds to the user online request through the first access interface based on the first value.
[0009] In this way, when the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, the first BRAS adjusts the response threshold of the first access interface from the first value to the second value. Therefore, when a user online request is received, instead of prioritizing the response to the user online request, it further determines whether the user online failure rate corresponding to the first access interface is less than the second threshold. If the user online failure rate corresponding to the first access interface is less than the second threshold, the response threshold of the first access interface is adjusted from the second value back to the first value, and the user online request is continued to be responded to based on the first value. This not only improves the success rate of user online and greatly enhances the user experience, but also enriches the use cases.
[0010] Optionally, in other examples, the response threshold of the first access interface includes a first response delay; the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, including: the first BRAS adjusts the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
[0011] In this manner, since the response threshold can include response latency, the response threshold of the first access interface can include a first response latency. Therefore, when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, the first BRAS can adjust the first response latency of the first access interface from a first latency value to a second latency value, and the adjusted second latency value is greater than the first latency value. In this way, the first BRAS can delay its response to the user online request based on the second latency value. Furthermore, since the adjusted second latency value is greater than the value corresponding to the second response latency of the second access interface in the second BRAS, the second BRAS, upon receiving a user online request from the user equipment, can prioritize responding to the user online request based on the value corresponding to the second response latency of the second access interface.
[0012] Optionally, in other examples, the first response latency includes the latency corresponding to the media storage control MAC address. It should be noted that this MAC address can be, but is not limited to, odd-numbered or even-numbered MAC addresses, and the latency corresponding to the MAC address can be, but is not limited to, the latency corresponding to odd-numbered or even-numbered MAC addresses. The latency corresponding to an odd-numbered MAC address described herein can be understood as the latency value used to respond to a user online request sent by a user device with an odd-numbered MAC address when the user device's MAC address is odd. Similarly, the latency corresponding to an even-numbered MAC address described herein can be understood as the latency value used to respond to a user online request sent by a user device with an even-numbered MAC address when the user device's MAC address is even.
[0013] Optionally, in other examples, the response threshold includes the Virtual Router Redundancy Protocol (VRRP) priority, and the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, including: the first BRAS adjusts the VRRP priority bound to the first access interface from the first priority to the second priority, where the first priority is higher than the second priority.
[0014] In this manner, since the response threshold can include VRRP priority, when the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, the first BRAS can specifically adjust the VRRP priority bound to the first access interface from the first priority to the second priority, and the adjusted second priority is lower than the first priority. Thus, the first BRAS can refuse to respond to the user online request based on the second priority. Furthermore, when the VRRP priority of the second access interface in the second BRAS is the third priority, the adjusted second priority is lower than the third priority. Therefore, after receiving a user online request from the user equipment, the second BRAS can prioritize responding to the user online request based on the third priority corresponding to the second access interface.
[0015] Optionally, in other examples, the first BRAS determines the user online failure rate corresponding to the first access interface on the first BRAS, including: the first BRAS determines the number of dial-up failures and the total number of dial-ups for users who went online through the first access interface; the first BRAS determines the user online failure rate corresponding to the first access interface based on the number of dial-up failures and the total number of dial-ups.
[0016] Optionally, in other examples, after the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, the processing method further includes: the first BRAS sending a processing message to the second BRAS, the processing message being used to instruct the second BRAS to respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value.
[0017] Optionally, in other examples, the processing method also includes: the first BRAS configuring a first threshold or a second threshold via command-line instructions.
[0018] Secondly, embodiments of this application provide a first broadband remote access server (BRAS), which may include: a determining unit, configured to determine the user online failure rate corresponding to a first access interface on the first BRAS; an adjusting unit, configured to adjust the response threshold of the first access interface from a first value to a second value when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, wherein the response speed corresponding to responding to the user online request based on the first value is faster than the response speed corresponding to responding to the user online request based on the second value. Optionally, in some other examples, the first BRAS may further include a response unit; the adjusting unit is further configured to: after adjusting the response threshold of the first access interface from the first value to the second value, when the user online failure rate corresponding to the first access interface is less than the second threshold, adjust the response threshold of the first access interface back from the second value to the first value, wherein the second threshold is less than the first threshold; and a response unit, configured to respond to the user online request through the first access interface according to the first value.
[0019] Optionally, in other examples, the response threshold of the first access interface includes a first response delay; the adjustment unit is used to: adjust the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
[0020] Optionally, in some other examples, the first response delay includes the delay corresponding to the MAC address.
[0021] Optionally, in other examples, the response threshold includes a VRRP priority adjustment unit for: adjusting the VRRP priority bound to the first access interface from a first priority to a second priority, where the first priority is higher than the second priority.
[0022] Optionally, in other examples, the determining unit is used to: determine the number of failed dialing attempts and the total number of dialing attempts by users who went online through the first access interface; and determine the user online failure rate corresponding to the first access interface based on the number of failed dialing attempts and the total number of dialing attempts.
[0023] Optionally, in other examples, the first BRAS further includes a sending unit; the sending unit is configured to send a processing message to the second BRAS after adjusting the response threshold of the first access interface from a first value to a second value, the processing message being configured to instruct the second BRAS to respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value.
[0024] Optionally, in other examples, the first BRAS also includes a configuration unit for configuring a first threshold or a second threshold via command-line instructions.
[0025] Thirdly, embodiments of this application provide a user access processing system, which may include a first BRAS and a second BRAS; wherein, the first BRAS may be used to: determine the user online failure rate corresponding to a first access interface on the first BRAS; when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, adjust the response threshold of the first access interface from a first value to a second value, and the response speed corresponding to responding to the user online request based on the first value is faster than the response speed corresponding to responding to the user online request based on the second value; the second BRAS is used to: respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value, and slower than the response speed of the first BRAS responding to the user online request based on the first value.
[0026] Optionally, in some examples, the response threshold of the first access interface includes a first response delay; the first BRAS is further configured to adjust the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
[0027] Optionally, in some examples, the response threshold includes the Virtual Router Redundancy Protocol (VRRP) priority;
[0028] The first BRAS is also used to adjust the VRRP priority bound to the first access interface from a first priority to a second priority, wherein the first priority is higher than the second priority.
[0029] Optionally, in some examples, the first BRAS is used to: determine the number of failed dialing attempts and the total number of dialing attempts by users who went online through the first access interface; and determine the user online failure rate corresponding to the first access interface based on the number of failed dialing attempts and the total number of dialing attempts.
[0030] Optionally, in some examples, the first BRAS is further configured to send a processing message to the second BRAS after adjusting the response threshold of the first access interface from a first value to a second value; the second BRAS is configured to: receive the processing message; and respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value.
[0031] Fourthly, embodiments of this application provide a first BRAS, which may include: a memory for storing computer-readable instructions. It may also include a processor coupled to the memory for executing the computer-readable instructions in the memory, thereby causing the first BRAS to perform the methods described in the first aspect or any possible implementation thereof.
[0032] Fifthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform a method as described in the first aspect or any possible implementation thereof.
[0033] In a sixth aspect, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to perform a method as described in the first aspect or any possible implementation thereof.
[0034] A seventh aspect of this application provides a chip system that may include a processor for supporting a first BRAS in implementing the functions involved in the methods described in the first aspect or any possible implementation of the first aspect.
[0035] Optionally, in conjunction with the seventh aspect above, in a first possible implementation, the chip system may further include a memory for storing program instructions and data necessary for the first BRAS. This chip system may be composed of chips or may include chips and other discrete devices. The chip system may include application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices. Furthermore, the chip system may also include interface circuits, etc.
[0036] The technical effects achieved by the second to seventh aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect, and will not be repeated here.
[0037] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0038] In this embodiment, the first BRAS determines the user online failure rate corresponding to the first access interface. When the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, it dynamically adjusts the response threshold of the first access interface from a first value to a second value. This results in the response speed corresponding to responding to user online requests according to the adjusted second value being slower than the response speed corresponding to responding to user online requests according to the first value. Thus, when the first BRAS receives a user online request, it will not prioritize responding to the user online request; instead, the second BRAS will prioritize responding to the user online request through the second access interface. In this way, the user equipment can receive the response message from the second BRAS, thereby accessing the network from the second BRAS with a lower user online failure rate, improving the success rate of user online access and greatly enhancing the user experience. Attached Figure Description
[0039] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application.
[0040] Figure 1 This is a schematic diagram of a network architecture provided in an embodiment of this application;
[0041] Figure 2 This is a flowchart illustrating a user access processing method provided in an embodiment of this application;
[0042] Figure 3 This is a flowchart illustrating another user access processing method provided in an embodiment of this application;
[0043] Figure 4 This is a flowchart illustrating another user access processing method provided in an embodiment of this application;
[0044] Figure 5 This application provides a schematic diagram of the structure of a first BRAS.
[0045] Figure 6 This application provides another schematic diagram of the structure of a first BRAS.
[0046] Figure 7 This application provides a schematic diagram of the structure of a user access processing system according to an embodiment;
[0047] Figure 8 This is a schematic diagram of the hardware structure of the communication device in the embodiments of this application. Detailed Implementation
[0048] This application provides a user access processing method and related apparatus. By dynamically adjusting the primary device used to respond to user access requests based on the user access failure rate corresponding to the access interface, the system can respond to user access requests in a timely manner even when the third-party authentication server fails, thereby improving the user access success rate.
[0049] 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, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0050] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that implementations of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion. In this application, “at least one” means one or more, and “more than one” means two or more. “And / or” describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship. “At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can be expressed as: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be a single item or multiple items. It is worth noting that "at least one of a kind" can also be interpreted as "one item or multiple items".
[0051] A BRAS (Broadband Access Controller Area Network) is an access gateway for broadband network applications. Located at the network edge, it acts as a bridge between the network and user equipment, primarily controlling user equipment access. Therefore, the BRAS plays a crucial role in user equipment network access. However, while existing BRASs support both cold and hot standby user access schemes, their response to user online requests relies on the latency and VRRP priority configured on the BRAS's access interface to control which BRAS the user accesses from, thus mitigating online failures due to BRAS or link failures. However, in scenarios where the physical link is intact but non-link failures occur, such as a third-party authentication server failure, if the primary BRAS continues to respond to user online requests using the current latency and VRRP priority configured on its access interface, user online failures may still occur on the selected primary BRAS. Therefore, responding to user online requests according to current cold and hot standby schemes cannot resolve online failures caused by non-link failures, resulting in a poor user experience.
[0052] Therefore, in order to solve the problems caused by the aforementioned technologies, respond to user online requests in a timely manner, and improve the user online experience. Figure 1 A schematic diagram of a network architecture provided in an embodiment of this application is shown. Figure 1 It can be seen that this network architecture includes at least two BRAS (BRAS). Figure 1 Taking only the first BRAS and the second BRAS as examples), user equipment, and at least one data subscriber line access multiplexer (DSLAM) Figure 1 Taking only the first DSLAM and the second DSLAM as examples, and at least one switch ( Figure 1 (Taking only the first and second switches as examples), third-party authentication servers, etc.
[0053] Users can generate online requests through their user equipment and connect to the first DSLAM and the second DSLAM. These online requests can then be transparently transmitted through the first switch to the first BRAS and the second BRAS, or through the second switch to the first BRAS and the second BRAS. In this way, the first BRAS, the second BRAS, and a third-party authentication server can handle user authentication, authorization, accounting, forwarding control management, and other functions, thereby enabling the user equipment to access the network.
[0054] It should be noted that the first BRAS and the second BRAS described are two backup devices for each other. The described third-party authentication server may include, but is not limited to, a remote authentication dial-in user service (RADIUS) server, etc., without limitation here. In addition, the user devices described above include, but are not limited to, mobile terminals, tablets, personal digital assistants (PDAs), in-vehicle computers, personal computers (PCs), smart devices, etc.
[0055] based on Figure 1 In the provided network architecture, the first BRAS pre-configures the response threshold of its first access interface to an initial response value, such as 1; the second BRAS also pre-configures the response threshold of its second access interface to another initial response value, such as 2. If the first BRAS is the primary device, then value 1 can be configured to be less than value 2. Thus, when a user device broadcasts a user online request to both the first and second BRAS, the first BRAS will respond to the user online request with priority based on value 1 through its first access interface. However, in the event of a series of non-link failures, such as a third-party authentication server failure, if the first BRAS consistently responds to the user online request with value 1, the user will continuously choose to access the network through the first BRAS, resulting in persistent online failures. Based on this, this application provides a user access processing method. The method aims to count the user online failure rate corresponding to the access interface, compare the user online failure rate with a first threshold, and then realize the device switching between the primary BRAS and the backup BRAS based on the comparison result. The primary BRAS after the switch is used to respond to the user online request. Even when a third-party authentication server fails, it can respond to the user online request in a timely manner and improve the user online success rate.
[0056] For easier understanding, please refer to Figure 2 This is a flowchart illustrating a user access processing method provided in an embodiment of this application. Figure 2 As shown, the method includes the following steps:
[0057] 201. The first BRAS determines the user online failure rate corresponding to the first access interface on the first BRAS.
[0058] It's important to understand that a higher user online failure rate indicates a lower probability of successful network access for user devices through the current BRAS's access interface. In such cases, access to the network from another BRAS is necessary, and that BRAS will then respond to the user's online request. Furthermore, the user online failure rate corresponding to the first access interface can, to some extent, reflect the failure rate of user devices accessing the network through the first access interface of that first BRAS. Therefore, the first BRAS can determine its own user online failure rate corresponding to its first access interface and, based on this rate, decide whether to switch from the primary device to a backup device, allowing other BRASs to respond to the user's online request.
[0059] It should be noted that, in the above Figure 1 The second BRAS shown can also determine the user online failure rate corresponding to the access interface on the second BRAS. In this embodiment, only the first BRAS is used as the current primary device for illustration. In actual applications, the second BRAS can also be used as the current primary device, and this is not a limitation here.
[0060] Optionally, in some examples, the first BRAS determines the user online failure rate corresponding to the first access interface on the first BRAS in the following way: the first BRAS determines the number of dial-up failures and the total number of dial-ups of users who went online through the first access interface; the first BRAS determines the user online failure rate corresponding to the first access interface based on the number of dial-up failures and the total number of dial-ups.
[0061] It should be understood that the described number of user dial-up failures refers to the number of times a user device failed to connect to the network through the first access interface. Each time a connection fails, the first BRAS generates a corresponding user connection failure record. Therefore, the first BRAS can determine the number of user dial-up failures from these records. Similarly, the first BRAS can also determine the total number of dial-up attempts by analyzing both the failed and successful attempts. Thus, the user connection failure rate corresponding to the first access interface can be obtained based on the number of failed and total attempts. Where K is the user online failure rate corresponding to the first access interface, A is the number of times the user dials up and down, and B is the total number of dials up and down.
[0062] It should be noted that user connection failures may be caused by various faults such as authentication failure by third-party authentication servers like RADIUS, exceeding the required specifications, lack of available address allocation, failure of point-to-point protocol over Ethernet (PPPoE) negotiation, and failure to add forwarding table entries. Therefore, within a certain preset time period (e.g., 10 minutes), the corresponding user connection failure records for each failure caused by these faults can be statistically analyzed to determine the number of user dial-up failures. Specific details are not provided here.
[0063] 202. When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, the first BRAS adjusts the response threshold of the first access interface from the first value to the second value, wherein the response speed corresponding to responding to the user online request according to the first value is faster than the response speed corresponding to responding to the user online request according to the second value.
[0064] In this example, the response threshold of the first access interface can be understood as a parameter reflecting the response status of the first BRAS to user online requests, i.e., whether the first BRAS can prioritize responding to user online requests based on the parameter value corresponding to the response threshold. Furthermore, the user equipment sends user online requests to both the first and second BRAS via broadcast. If the first BRAS has not adjusted the response threshold of the first access interface from a first value to a second value, the first BRAS will only become the primary device and respond to user online requests if the first value is less than the response threshold value of the second access interface of the second BRAS. Additionally, if the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, it indicates that the first BRAS is responding to user online requests according to the parameter value corresponding to the current response threshold of the first access interface, and the user equipment remains in a state of online failure.
[0065] Therefore, after determining the user online failure rate corresponding to the first access interface, the first BRAS compares the user online failure rate of the first access interface with a first threshold. If the user online failure rate of the first access interface is greater than or equal to the first threshold, then the first BRAS needs to adjust the response threshold of the first access interface from a first value to a second value. This makes the response speed of the first BRAS when responding to the user online request according to the first value faster than the response speed when responding to the user online request according to the second value. Furthermore, this makes the response speed of the second BRAS when responding to the user online request according to the response threshold of the first access interface faster than the response speed of the first BRAS when responding to the user online request according to the second value. This enables the first BRAS to switch from a primary device to a backup device, and the second BRAS to switch from a backup device to a primary device.
[0066] In this way, when the user equipment continues to send user online requests to the first BRAS and the second BRAS via broadcast, the first BRAS, upon receiving the user online request, will not prioritize responding to it. Instead, the second BRAS will respond to the user online request based on the response threshold value corresponding to the second access interface. This allows the user equipment to receive the response message from the second BRAS first, and thus prioritize accessing the network from the second BRAS through the second access interface, improving the success rate of user online access and greatly enhancing the user experience.
[0067] It should be noted that if the user online failure rate corresponding to the first access interface is less than the first threshold, the first BRAS does not need to adjust the response threshold of the first access interface from the first value to the second value. In this case, the response threshold of the first access interface is still less than the value corresponding to the response threshold of the second access interface, so the first BRAS can still continue to respond to user online requests through the first access interface according to the first value.
[0068] It should be noted that the response thresholds described above may include, but are not limited to, response latency or VRRP priority. For ease of understanding, the response threshold of the first access interface will be referred to as the first response latency or the VRRP priority bound to the first access interface; the response threshold of the second access interface will be referred to as the second response latency or the VRRP priority bound to the second access interface. The following will explain the specific process by which the first BRAS adjusts the response threshold of the first access interface from the first value to the second value, and responds to the user's online request, for both response latency and VRRP priority.
[0069] Optionally, in other embodiments, when the response threshold includes response latency, the process by which the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, and the specific process of responding to a user's online request, can be understood as follows:
[0070] The response threshold of the first access interface includes a first response delay. The first BRAS adjusts the response threshold of the first access interface from a first value to a second value, including: the first BRAS adjusts the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
[0071] It should be noted that in a scheme where the response threshold is the response latency, the first BRAS will pre-configure the first response latency of its first access interface to an initial latency value, i.e., the first latency value, for responding to user online requests when the first BRAS is the primary device. However, if the first BRAS determines that the user online failure rate of the first access interface is greater than or equal to the first threshold, then the first BRAS will continue to respond to user online requests according to the current first latency value, and the user device will remain in an online failure state. Based on this, the first BRAS should delay responding to user online requests, that is, adjust the first latency value to a second latency value, such that the adjusted second latency value is greater than the first latency value, and the adjusted second latency value is greater than the second response latency value of the second access interface of the second BRAS. In this way, when the first BRAS and the second BRAS receive a user online request, the first BRAS will not prioritize responding to the user online request, but the second BRAS will prioritize responding to the user online request according to the second response latency value of the second access interface. In addition, after the first BRAS adjusts the first latency value to the second latency value, it will only respond to the user's online request when the latency value is the second latency value.
[0072] For example, suppose the first latency is 10 seconds, the second response latency of the second access interface is 20 seconds, and the second latency is 40 seconds. If the user online failure rate of the first access interface is greater than or equal to the first threshold, then after the first BRAS adjusts the first response latency from 10 seconds to 40 seconds, it will not continue to respond to user online requests according to 10 seconds. Instead, the second BRAS will prioritize responding to user online requests according to 20 seconds. Furthermore, the first BRAS will subsequently respond to user online requests according to 40 seconds.
[0073] It should be noted that the first delay value, the second response delay value of the second access interface, the second delay value, etc., mentioned above, can be other values in actual applications besides the specific values described above. No specific limitation is given here.
[0074] Optionally, in other embodiments, the first response delay and the second response delay described above include the delay corresponding to the MAC address. It should be noted that the MAC address may include, but is not limited to, odd-numbered or even-numbered MAC addresses, and the delay corresponding to the MAC address may include, but is not limited to, the delay corresponding to an odd-numbered or even-numbered MAC address. The described delay corresponding to an odd-numbered MAC address can be understood as the delay value used to respond to a user online request sent by a user device with an odd-numbered MAC address when the user device's MAC address is an odd-numbered MAC address. Similarly, the described delay corresponding to an even-numbered MAC address can be understood as the delay value used to respond to a user online request sent by a user device with an even-numbered MAC address when the user device's MAC address is an even-numbered MAC address.
[0075] Optionally, in other examples, when the response threshold includes VRRP priority, the aforementioned first BRAS adjusts the response threshold of the first access interface from a first value to a second value, and the specific process of responding to a user's online request can also be understood as follows:
[0076] The first BRAS adjusts the response threshold of the first access interface from a first value to a second value, including: the first BRAS adjusts the priority of the Virtual Router Redundancy Protocol (VRRP) bound to the first access interface from the first priority to the second priority, where the first priority is higher than the second priority.
[0077] It should be noted that VRRP priority can be understood as the response order of the BRAS access interface when responding to user online requests. The higher the VRRP priority, the easier it is for the BRAS to respond to user online requests through the corresponding access interface.
[0078] Therefore, in a scheme where the response threshold is VRRP priority, the first BRAS will pre-configure the VRRP priority bound to its first access interface to an initial value, namely the first priority, for responding to user online requests when the first BRAS is the primary device. Similarly, the second BRAS will pre-configure the VRRP priority bound to its second access interface to another initial value, namely the third priority, for responding to user online requests when the second BRAS is the primary device.
[0079] However, if the primary BRAS determines that the user online failure rate of the first access interface is greater than or equal to the first threshold, then the primary BRAS will continue to respond to user online requests according to its current first priority, and the user device will remain in an online failure state. Based on this, the primary BRAS should delay responding to user online requests, that is, adjust its first priority to a second priority, such that the adjusted second priority is lower than the first priority, and the adjusted second priority is lower than the third priority. In this way, the primary BRAS can switch to the backup device, and the second BRAS can switch to the primary device.
[0080] Therefore, after the first BRAS adjusts its priority from first to second, when the first BRAS and the second BRAS receive a user's online request, the first BRAS will no longer respond to the user's online request first; instead, the second BRAS will respond first. In this way, the user equipment can receive the response message from the second BRAS first, and then access the network from the second BRAS through the second access interface.
[0081] For example, suppose the first priority is level 5 and the third priority is level 3, with level 5 being higher than level 3. If the user online failure rate of the first access interface is greater than or equal to the first threshold, then the first BRAS can adjust the VRRP priority bound to the first access interface from level 5 to level 2 or level 1. In this way, user online requests can be responded to first by the second BRAS with the higher VEEP priority.
[0082] It should be noted that the first priority, second priority, third priority, etc. mentioned above, in addition to the levels 5, 3, 1 or 2 described above, can also be other levels in actual application, without specific limitations here.
[0083] Optionally, in other examples, after the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, the processing method further includes: the first BRAS sending a processing message to the second BRAS, the processing message being used to instruct the second BRAS to respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value.
[0084] In this example, after adjusting the first value to the second value, the response speed of the first BRAS when responding to the user's online request based on the second value is slower than the response speed of the second BRAS when responding to the user's online request based on the response value of the second access interface. Therefore, the first BRAS can further inform the second BRAS, which acts as a backup device, to prioritize responding to the user's online request by processing messages, thereby avoiding continuous access failures of the user device and greatly improving the success rate of user device online access.
[0085] Compared to the current primary BRAS, which always responds to user online requests based on a first value configured by the response threshold of the first access interface, this embodiment of the application determines the user online failure rate corresponding to the first access interface. When the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, the response threshold of the first access interface is dynamically adjusted from the first value to a second value. This makes the response speed when responding to user online requests based on the adjusted second value slower than the response speed based on the first value. Thus, when the first BRAS receives a user online request, it does not prioritize responding to the user online request; instead, the second BRAS prioritizes responding to the user online request through the response value of the second access interface. In this way, the user equipment can receive the response message from the second BRAS, thereby accessing the network from the second BRAS with a lower user online failure rate, improving the success rate of user online access and greatly enhancing the user experience.
[0086] To further understand the user access processing method provided in the embodiments of this application, please refer to... Figure 3 This is a flowchart illustrating another user access processing method provided in an embodiment of this application. Figure 3 As can be seen, this method includes the following steps:
[0087] 301. The first BRAS determines the user online failure rate corresponding to the first access interface on the first BRAS.
[0088] 302. When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, the first BRAS adjusts the response threshold of the first access interface from the first value to the second value, wherein the response speed corresponding to responding to the user online request according to the first value is faster than the response speed corresponding to responding to the user online request according to the second value.
[0089] It should be understood that steps 301-302 above can be referred to the above for details. Figure 2 The content described in steps 201-202 is for your understanding and will not be elaborated here.
[0090] 303. After adjusting the response threshold of the first access interface from the first value to the second value, when the user online failure rate corresponding to the first access interface is less than the second threshold, the first BRAS adjusts the response threshold of the first access interface back from the second value to the first value, wherein the second threshold is less than the first threshold.
[0091] In this example, if the first BRAS has switched from the primary device to the backup device after executing 301-302, it will not continue to respond to user online requests from user devices. This will reduce the number of dial-up failures when user devices access the network through the first BRAS. At this point, the first BRAS can also switch back to the primary device to some extent and continue responding to user online requests.
[0092] Based on this, the first BRAS needs to further compare the user online failure rate of the first access interface with the second threshold. When the user online failure rate of the first access interface is less than the second threshold, it will switch back from the backup device to the primary device to continue responding to user online requests. Specifically, when the user online failure rate of the first access interface is less than the second threshold, the first BRAS adjusts the response threshold of the first access interface from the second value back to the first value, and then responds to the user online request according to the first value upon receiving it. It should be noted that the aforementioned first threshold is greater than the second threshold.
[0093] Optionally, in other examples, when the response threshold includes response delay, the specific process by which the first BRAS adjusts the response threshold of the first access interface from the second value back to the first value can be understood as follows:
[0094] The response threshold of the first access interface includes a first response delay. The first BRAS adjusts the response threshold of the first access interface from a second value back to a first value, including: the first BRAS adjusts the first response delay of the first access interface from a second delay value to a first delay value.
[0095] It should be noted that the first delay value mentioned above is less than the value corresponding to the second response delay of the second access interface.
[0096] For example, suppose the first latency is 10 seconds, the second response latency of the second access interface is 20 seconds, and the second latency is 40 seconds. If the user online failure rate of the first access interface is less than the second threshold, then the first BRAS needs to adjust the first response latency from 40 seconds back to 10 seconds, and continue to prioritize responding to user online requests according to 10 seconds.
[0097] Optionally, in other examples, when the response threshold includes VRRP priority, the specific process by which the first BRAS adjusts the response threshold of the first access interface from the second value back to the first value can also be understood as follows:
[0098] The first BRAS adjusts the response threshold of the first access interface from the second value back to the first value, including: the first BRAS adjusts the priority of the Virtual Router Redundancy Protocol (VRRP) bound to the first access interface from the second priority to the first priority, where the first priority is higher than the second priority.
[0099] It should be noted that when the VRRP priority bound to the second access interface is the third priority, the first priority mentioned above is greater than the third priority. Furthermore, the VRRP priority described can also be understood with reference to step 202 above, and will not be elaborated upon here.
[0100] For example, suppose the first priority is level 5 and the third priority is level 3, with level 5 being higher than level 3. If the user online failure rate of the first access interface is less than the second threshold, then the first BRAS can adjust the VRRP priority bound to the first access interface from level 2 or level 1 back to level 5. In this way, user online requests can continue to be responded to first by the first BRAS with the higher VEEP priority.
[0101] 304. The first BRAS responds to the user's online request through the first access interface based on the first value.
[0102] In this example, when the user online failure rate corresponding to the first access interface is less than the second threshold, after the first BRAS adjusts the response threshold of the first access interface from the second value back to the first value, the first BRAS can still respond to the user online request through the first access interface and according to the first value.
[0103] Optionally, in other embodiments, the user access processing method described above may further include: the first BRAS configuring a first threshold or a second threshold via command-line instructions. That is, in addition to setting the first threshold or the second threshold to a default value through code, the first BRAS may also configure the first threshold or the second threshold as needed via command-line instructions, which is not limited here.
[0104] In this embodiment, when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, the first BRAS adjusts the response threshold of the first access interface from a first value to a second value. Therefore, after not prioritizing the response to a user online request upon receiving it, the BRAS can further determine whether the user online failure rate corresponding to the first access interface is less than the second threshold. If the user online failure rate corresponding to the first access interface is less than the second threshold, the response threshold of the first access interface is adjusted back from the second value to the first value, and the user online request is continued to be responded to preferentially according to the first value. This not only improves the success rate of user online access and greatly enhances the user experience, but also enriches the usage scenarios.
[0105] The above Figures 2-3 The first part mainly describes the user access processing method provided in the embodiments of this application from the perspective of the first BRAS. The following describes the user access processing method provided in the embodiments of this application from the perspective of interaction. For details, please refer to... Figure 4 This is a schematic diagram illustrating another user access processing method provided in an embodiment of this application. Figure 4 As can be seen, this method includes the following steps:
[0106] 401. The user equipment sends a user online request to the first BRAS and the second BRAS.
[0107] In this example, when a user device needs to access the network, it can send the user online request to the first BRAS and the second BRAS after generating the corresponding user online request.
[0108] 402. The first BRAS determines the user online failure rate corresponding to the first access interface on the first BRAS.
[0109] 403. When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, the first BRAS adjusts the response threshold of the first access interface from the first value to the second value, wherein the response speed corresponding to responding to the user online request according to the first value is faster than the response speed corresponding to responding to the user online request according to the second value.
[0110] In this example, it should be understood that steps 401-402 above can be referred to the above for details. Figure 2 The content described in steps 201-202 is for your understanding and will not be elaborated here.
[0111] 404. The second BRAS responds to the user's online request based on the response value of the second access interface. The response speed of the second BRAS when responding to the user's online request based on the response value of the second access interface is faster than the response speed of the first BRAS when responding to the user's online request based on the second value.
[0112] In this example, since the user online failure rate corresponding to the first access interface in the first BRAS (primary device) is greater than or equal to a first threshold, the first BRAS should be switched from primary to backup, and the second BRAS should be switched from backup to primary to respond to user online requests. Furthermore, after the first BRAS adjusts the first value to a second value, the response speed of the first BRAS responding to user online requests based on this second value is slower than the response speed of the second BRAS responding to user online requests based on the response value of the second access interface. At this point, the second BRAS, now switched to primary, can respond to user online requests based on the response value of the second access interface, thus preventing continuous access failures when user devices access the network through the first access interface in the first BRAS, significantly improving the online success rate of user devices.
[0113] It should be noted that in some other embodiments, after adjusting the first value to the second value, the first BRAS can, through message processing or other means, inform the second BRAS, which serves as a backup device, to prioritize responding to the user's online request. For details, please refer to the above. Figure 2 To understand the content described in it.
[0114] The foregoing primarily describes the solutions provided by the embodiments of this application from a methodological perspective. It is understood that the first BRAS described above, in order to achieve the aforementioned functions, includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the functions described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0115] From the perspective of functional units, this application can divide the first BRAS into functional units according to the above method embodiments. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one functional unit. The integrated functional unit can be implemented in hardware or in software.
[0116] For example, when functional units are divided in an integrated manner, see [reference needed]. Figure 5 This application provides a schematic diagram of the structure of a first BRAS. The described first BRAS may include:
[0117] The determining unit 501 is used to determine the user online failure rate corresponding to the first access interface on the first BRAS;
[0118] The adjustment unit 502 is used to adjust the response threshold of the first access interface from a first value to a second value when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold. The response speed corresponding to responding to the user online request based on the first value is faster than the response speed corresponding to responding to the user online request based on the second value.
[0119] Optionally, in the above Figure 5 Based on the structure of the first BRAS described, we can also refer to Figure 6 This is a schematic diagram of another first BRAS provided in an embodiment of this application. From... Figure 6 It can be seen that the first BRAS may include a determining unit 501, an adjusting unit 502, and a responding unit 503; wherein, the functions performed by the determining unit 501 and the adjusting unit 502 can be referred to the above. Figure 5 The content described herein should be understood. Furthermore, the adjustment unit 502 is specifically configured to: after adjusting the response threshold of the first access interface from a first value to a second value, when the user online failure rate corresponding to the first access interface is less than a second threshold, adjust the response threshold of the first access interface back from the second value to the first value, wherein the second threshold is less than the first threshold;
[0120] The response unit 503 is also used to respond to the user's online request through the first access interface according to the first value.
[0121] Optionally, in other examples, the response threshold of the first access interface includes a first response delay. The adjustment unit 502 is specifically used to: adjust the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
[0122] Optionally, in some other examples, the first response delay includes the delay corresponding to the MAC address.
[0123] Optionally, in other examples, the response threshold includes VRRP priority, and the adjustment unit 502 is specifically used to: adjust the VRRP priority of the Virtual Router Redundancy Protocol bound to the first access interface from the first priority to the second priority, where the first priority is higher than the second priority.
[0124] Optionally, in other examples, the determining unit 501 is specifically used to: determine the number of failed dialing attempts and the total number of dialing attempts by users who went online through the first access interface; and determine the user online failure rate corresponding to the first access interface based on the number of failed dialing attempts and the total number of dialing attempts.
[0125] Optionally, the first BRAS further includes: a sending unit; the sending unit is configured to send a processing message to the second BRAS after adjusting the response threshold of the first access interface from a first value to a second value, the processing message being configured to instruct the second BRAS to respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value.
[0126] Optionally, in other examples, the first BRAS may also include a configuration unit for configuring a first threshold or a second threshold via command-line instructions.
[0127] In this embodiment, the user online failure rate corresponding to the first access interface is determined by the determining module 501. When the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, the response threshold of the first access interface is adjusted from a first value to a second value by the adjusting module 502. This makes the response speed corresponding to responding to the user online request based on the first value faster than the response speed corresponding to responding to the user online request based on the second value. Thus, when a user online request is received, it is not prioritized for response; instead, the second BRAS responds to the user online request first through the second access interface. In this way, the user equipment can receive the response message from the second BRAS, thereby accessing the network from the second BRAS with a lower user online failure rate, improving the success rate of user online access and greatly enhancing the user experience.
[0128] It should be noted that the first BRAS provided in this application embodiment is used to perform the aforementioned... Figure 2 or Figure 3 The corresponding processing method is the method executed by the first BRAS network element in the embodiment, so the embodiments of this application can be referred to. Figure 2 or Figure 3 The relevant parts of the corresponding processing method embodiments are understood.
[0129] The above mainly describes the first BRAS from the perspective of its functional units. This application can also describe the first and second BRAS from the perspective of system interaction. For example, Figure 7 A schematic diagram of a user access processing system is shown. Figure 7 As shown, one embodiment of the processing system of this application may include: a first BRAS and a second BRAS; wherein,
[0130] The first BRAS is used to: determine the user online failure rate corresponding to the first access interface on the first BRAS;
[0131] When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold, the response threshold of the first access interface is adjusted from the first value to the second value. The response speed corresponding to responding to the user online request based on the first value is faster than the response speed corresponding to responding to the user online request based on the second value.
[0132] The second BRAS is used for:
[0133] The second BRAS responds to the user's online request based on the response value of the second access interface. The response speed of the second BRAS in responding to the user's online request based on the response value of the second access interface is faster than the response speed of the first BRAS in responding to the user's online request based on the second value, but slower than the response speed of the first BRAS in responding to the user's online request based on the first value.
[0134] Compared to the primary BRAS, which consistently responds to user online requests using the initial response value (i.e., the first value) configured by the response threshold of the first access interface, in this embodiment, the primary BRAS determines the user online failure rate corresponding to the first access interface. When the user online failure rate is greater than or equal to a first threshold, the primary BRAS dynamically adjusts the response threshold of the first access interface from the first value to a second value. This results in a slower response speed when responding to user online requests based on the adjusted second value compared to the response speed based on the first value. Furthermore, the secondary BRAS, which was originally the backup device, responds to user online requests using the response value of the second access interface at a faster speed than the primary BRAS responds using the second value. Thus, when the primary BRAS receives a user online request, it does not prioritize responding to the request; instead, the secondary BRAS responds to the request first through the second access interface. This allows the user equipment to receive the response message from the secondary BRAS and access the network from the secondary BRAS with the lower user online failure rate. In other words, by dynamically adjusting the primary device used to respond to user online requests based on the user online failure rate corresponding to the access interface, even in the event of a series of non-link failures such as third-party authentication server failures, it can still respond to user online requests in a timely manner, improve the success rate of user online access, and greatly enhance the user experience.
[0135] In some embodiments of this application, the response threshold of the first access interface includes a first response delay; the first BRAS is further configured to: adjust the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
[0136] In other embodiments of this application, the response threshold includes a Virtual Router Redundancy Protocol (VRRP) priority; the first BRAS is further configured to: adjust the VRRP priority bound to the first access interface from a first priority to a second priority, wherein the first priority is higher than the second priority.
[0137] In some other embodiments of this application, the first BRAS is used to: determine the number of failed dialing attempts and the total number of dialing attempts by users who went online through the first access interface; and determine the user online failure rate corresponding to the first access interface based on the number of failed dialing attempts and the total number of dialing attempts.
[0138] In some other embodiments of this application, the first BRAS is further configured to send a processing message to the second BRAS after adjusting the response threshold of the first access interface from a first value to a second value; the second BRAS is configured to: receive the processing message; and respond to the user online request according to the response value of the second access interface, wherein the response speed of the second BRAS responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS responding to the user online request based on the second value.
[0139] It should be noted that the information interaction and execution process between the modules / units of the above-mentioned device are based on the same concept as the method embodiments of this application, and the resulting technical effects are the same as those of the method embodiments of this application. For details, please refer to the description in the method embodiments shown above in this application, and will not be repeated here.
[0140] The first BRAS in this application embodiment has been described above from the perspective of modular functional entities, and the user access processing system has been described from the perspective of the system. From the perspective of physical devices, the first BRAS can be implemented by a single physical device, or by multiple physical devices, or it can be a logical functional unit within a single physical device. This application embodiment does not specifically limit this.
[0141] For example, the first BRAS mentioned above can be derived from... Figure 8 It is implemented using communication devices. Figure 8 This is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application. The communication device includes at least one processor 801, a communication line 807, a memory 803, and at least one communication interface 804.
[0142] The processor 801 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (AS / IC), or one or more integrated circuits used to control the execution of the program in this application. Specifically, the processor 801 can be used to: determine the user online failure rate corresponding to a first access interface on a first BRAS; when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold, adjust the response threshold of the first access interface from a first value to a second value, wherein the response speed corresponding to responding to a user online request according to the first value is faster than the response speed corresponding to responding to the user online request according to the second value.
[0143] Communication line 807 may include a path for transmitting information between the aforementioned components.
[0144] The communication interface 804 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet.
[0145] The memory 803 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or it may be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via communication line 807. The memory 803 may also be integrated with the processor 801.
[0146] The memory 803 stores computer execution instructions for implementing the scheme of this application, and its execution is controlled by the processor 801. The processor 801 executes the computer execution instructions stored in the memory 803, thereby implementing the user access processing method provided in the above embodiments of this application.
[0147] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.
[0148] In a specific implementation, as one example, the processor 801 may include one or more CPUs, for example... Figure 8 CPO0 and CPU1 in the middle.
[0149] In a specific implementation, as one example, the communication device may include multiple processors, for example... Figure 8 Processors 801 and 802 are described herein. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0150] In a specific implementation, as one embodiment, the communication device may further include an output device 805 and an input device 806. The output device 805 communicates with the processor 801 and can display information in various ways. The input device 806 communicates with the processor 801 and can receive user input in various ways. For example, the input device 806 may be a mouse, a touch screen device, or a sensing device, etc.
[0151] The aforementioned communication device can be a general-purpose device or a dedicated device. In specific implementations, the communication device can be a portable computer, a mobile terminal, or something similar. Figure 8 Devices with similar structures. The embodiments of this application do not limit the type of communication device.
[0152] It should be noted that Figure 8 The processor 801 can call computer execution instructions stored in memory 803 to cause the first BRAS to perform, such as Figure 2 , Figure 3 or Figure 4 The corresponding processing method is the method executed by the first BRAS in the embodiment. Figure 8 The processor 801 can call computer execution instructions stored in memory 803 to cause the second BRAS to perform actions such as... Figure 4 The corresponding processing method is the method executed by the second BRAS in the embodiment.
[0153] Specifically, Figure 5 , Figure 6 The determining unit 501, the adjusting unit 502, and Figure 6 The function / implementation process of the response unit 503 can be achieved through... Figure 8The processor 801 in the memory calls computer execution instructions stored in the memory 803 to implement the function; the function / implementation process of the sending unit can be achieved through... Figure 8 It is implemented using the 804 communication interface.
[0154] In the above embodiments, the implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, in the form of a computer program product.
[0155] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the photographing device, display device, unit, and module described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0156] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the embodiments of the photographing device and display device described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, modules, or units, and may be electrical, mechanical, or other forms.
[0157] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0158] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0159] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0160] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A user access processing method, characterized in that, The processing method includes: The first broadband remote access server (BRAS) determines the user online failure rate corresponding to the first access interface on the first BRAS. When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold and the link corresponding to the first access interface is in a non-faulty state, the first BRAS adjusts the response threshold of the first access interface from the first value to the second value. The response speed corresponding to responding to the user online request according to the first value is faster than the response speed corresponding to responding to the user online request according to the second value.
2. The method according to claim 1, characterized in that, After the first BRAS adjusts the response threshold of the first access interface from the first value to the second value, the processing method further includes: When the user online failure rate corresponding to the first access interface is less than the second threshold, the first BRAS adjusts the response threshold of the first access interface from the second value back to the first value, wherein the second threshold is less than the first threshold; The first BRAS responds to the user's online request through the first access interface based on the first value.
3. The processing method according to claim 1 or 2, characterized in that, The response threshold of the first access interface includes a first response delay. The first BRAS adjusts the response threshold of the first access interface from a first value to a second value, including: The first BRAS adjusts the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
4. The processing method according to claim 3, characterized in that, The first response delay includes the delay corresponding to the media storage control MAC address.
5. The processing method according to claim 1 or 2, characterized in that, The response threshold includes the Virtual Router Redundancy Protocol (VRRP) priority. The first BRAS adjusts the response threshold of the first access interface from a first value to a second value, including: The first BRAS adjusts the VRRP priority bound to the first access interface from the first priority to the second priority, where the first priority is higher than the second priority.
6. The processing method according to any one of claims 1 to 5, characterized in that, The first BRAS determines the user online failure rate corresponding to the first access interface on the first BRAS, including: The first BRAS determines the number of failed dialing attempts and the total number of dialing attempts made by the user who went online through the first access interface; The first BRAS determines the user online failure rate corresponding to the first access interface based on the number of user dialing failures and the total number of dialings.
7. The processing method according to any one of claims 1-6, characterized in that, After the first BRAS adjusts the response threshold of the first access interface from a first value to a second value, the processing method further includes: The first BRAS sends a processing message to the second BRAS, the processing message being used to instruct the second BRAS to respond to the user online request based on the response value of the second access interface, wherein the response speed of the second BRAS in responding to the user online request based on the response value of the second access interface is faster than the response speed of the first BRAS in responding to the user online request based on the second value.
8. The processing method according to claim 2, characterized in that, The processing method further includes: The first BRAS configures the first threshold or the second threshold via command-line instructions.
9. A first broadband remote access server (BRAS), characterized in that, include: The determining unit is used to determine the user online failure rate corresponding to the first access interface on the first BRAS; the adjusting unit is used to adjust the response threshold of the first access interface from a first value to a second value when the user online failure rate corresponding to the first access interface is greater than or equal to a first threshold and the link corresponding to the first access interface is in a non-faulty state, and the response speed corresponding to responding to the user online request based on the first value is faster than the response speed corresponding to responding to the user online request based on the second value.
10. The first BRAS according to claim 9, characterized in that, The first BRAS also includes a response unit; The adjustment unit is further configured to, after adjusting the response threshold of the first access interface from the first value to the second value, adjust the response threshold of the first access interface back from the second value to the first value when the user online failure rate corresponding to the first access interface is less than the second threshold, wherein the second threshold is less than the first threshold; The response unit is used to respond to the user's online request through the first access interface based on the first value.
11. The first BRAS according to claim 9 or 10, characterized in that, The response threshold of the first access interface includes a first response delay; The adjustment unit is used to adjust the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
12. The first BRAS according to claim 11, characterized in that, The first response delay includes the delay corresponding to the media storage control MAC address.
13. The first BRAS according to claim 9 or 10, characterized in that, The response threshold includes the Virtual Router Redundancy Protocol (VRRP) priority; The adjustment unit is used to adjust the VRRP priority bound to the first access interface from a first priority to a second priority, wherein the first priority is higher than the second priority.
14. The first BRAS according to any one of claims 9 to 13, characterized in that, The determining unit is used for: Determine the number of failed dialing attempts and the total number of dialing attempts for users who went online through the first access interface; The user online failure rate corresponding to the first access interface is determined based on the number of failed dialing attempts and the total number of dialing attempts.
15. The first BRAS according to any one of claims 9-14, characterized in that, The first BRAS also includes a transmitting unit; The sending unit is configured to send a processing message to the second BRAS after adjusting the response threshold of the first access interface from a first value to a second value. The processing message is configured to instruct the second BRAS to respond to the user online request according to the response value of the second access interface. The response speed of the second BRAS when responding to the user online request according to the response value of the second access interface is faster than the response speed of the first BRAS when responding to the user online request based on the second value.
16. The first BRAS according to claim 10, characterized in that, The first BRAS also includes: The configuration unit is used to configure the first threshold or the second threshold via command-line instructions.
17. A user access processing system, characterized in that, The processing system includes a first BRAS and a second BRAS; The first BRAS is used for: Determine the user online failure rate corresponding to the first access interface on the first BRAS; When the user online failure rate corresponding to the first access interface is greater than or equal to the first threshold and the link corresponding to the first access interface is in a non-faulty state, the response threshold of the first access interface is adjusted from the first value to the second value. The response speed corresponding to responding to the user online request based on the first value is faster than the response speed corresponding to responding to the user online request based on the second value. The second BRAS is used for: The second BRAS responds to the user's online request based on the response value of the second access interface. The response speed of the second BRAS in responding to the user's online request based on the response value of the second access interface is faster than the response speed of the first BRAS in responding to the user's online request based on the second value, but slower than the response speed of the first BRAS in responding to the user's online request based on the first value.
18. The processing system according to claim 17, characterized in that, The response threshold of the first access interface includes a first response delay; The first BRAS is further configured to adjust the first response delay of the first access interface from a first delay value to a second delay value, wherein the first delay value is less than the second delay value.
19. The processing system according to claim 17, characterized in that, The response threshold includes the Virtual Router Redundancy Protocol (VRRP) priority; The first BRAS is also used to adjust the VRRP priority bound to the first access interface from a first priority to a second priority, wherein the first priority is higher than the second priority.
20. The processing system according to any one of claims 17-19, characterized in that, The first BRAS is used for: Determine the number of failed dialing attempts and the total number of dialing attempts for users who went online through the first access interface; Based on the number of failed dialing attempts and the total number of dialing attempts, the user online failure rate corresponding to the first access interface is determined.
21. The processing system according to any one of claims 17-20, characterized in that, The first BRAS is further configured to send a processing message to the second BRAS after adjusting the response threshold of the first access interface from a first value to a second value. The second BRAS is used for: Receive the processing message; The second BRAS responds to the user's online request based on the response value of the second access interface, wherein the response speed of the second BRAS in responding to the user's online request based on the response value of the second access interface is faster than the response speed of the first BRAS in responding to the user's online request based on the second value.
22. A first broadband remote access server (BRAS), characterized in that, include: Memory, used to store computer-readable instructions; It also includes a processor coupled to the memory for executing computer-readable instructions in the memory such that the first BRAS performs the processing method as described in any one of claims 1 to 8.
23. A computer-readable storage medium, characterized in that, When the instructions are executed on a computer, the computer performs the processing method as described in any one of claims 1 to 8.
24. A computer program product, characterized in that, When the instructions are executed on a computer, the computer performs the processing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Message feedback method and device
CN106685818A