A metropolitan area network broadband access method, system, device and storage medium

By setting an equal number of S-VLANs and logical sub-interfaces in the metropolitan area network broadband access system, chain backup of the BRAS is achieved, which solves the problems of service interruption and load imbalance caused by dual failures, and improves the system reliability and user experience.

CN119276648BActive Publication Date: 2026-04-28CHINA MOBILE GROUP ZHEJIANG +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE GROUP ZHEJIANG
Filing Date
2024-09-11
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing metropolitan area network broadband access systems, when BRAS devices are used for mutual disaster recovery, they can only cope with the failure of a single device and cannot cope with dual failures, resulting in service interruption and uneven user load, which affects reliability and user experience.

Method used

By obtaining BRAS pool information, the total number of devices is determined, and configuration information is generated to set an equal number of S-VLANs and logical sub-interfaces. This enables a one-to-one correspondence between BRAS and S-VLAN, prioritizes responding to user access requests from the corresponding S-VLAN, and establishes a chain backup relationship to ensure that broadband access services can still be maintained when multiple BRAS fail.

Benefits of technology

It improves the reliability of the metropolitan area network broadband access system and the load balancing of user services, reduces the impact of user equipment going offline and reconnecting, and enhances service response performance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276648B_ABST
    Figure CN119276648B_ABST
Patent Text Reader

Abstract

The application provides a kind of metropolitan area network broadband access method, system, equipment and storage medium, it is related to broadband access technical field, the method comprises: obtaining BRAS pool information;According to BRAS pool information, the total number of devices of BRAS is determined, first configuration information is generated, and the first configuration information is used to configure OLT to set S-VLAN;According to BRAS pool information, second configuration information is generated, and the second configuration information is used to make BRAS correspond to S-VLAN and BRAS priority response corresponding S-VLAN user access request and make each BRAS form chain backup relationship. Even several BRAS cannot respond, other BRAS can backup response, maintain broadband access service effectively improve reliability, by OLT setting S-VLAN corresponding to BRAS, the mode that BRAS priority response corresponding S-VLAN makes user service load more uniform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of broadband access technology, and in particular to a metropolitan area network broadband access method, system, device and storage medium. Background Technology

[0002] A BRAS (Broadband Remote Access Server) is an access gateway for broadband network applications in a metropolitan area network (MAN), serving as a bridge between the broadband access network and the backbone network.

[0003] In existing technologies, to ensure the reliability of broadband services in metropolitan area networks (MANs), a pair of BRASs (Broadband Access Servers) are typically configured for mutual disaster recovery. This ensures that if one BRAS fails due to a fault or maintenance, the other BRAS can still maintain broadband access functionality. The uplink of the OLT (Optical Line Terminal) is connected to the BRAS pair. Broadband users' dial-up access requests are sent to both BRASs via the OLT. The BRASs respond to the dial-up requests, and the broadband user only establishes a PPPoE (Point-to-Point Protocol over Ethernet) session with the first responding BRAS. In other words, the broadband user accesses the first responding BRAS to achieve broadband access functionality.

[0004] However, the existing method of using a pair of BRASs as mutual disaster backup can only cope with the situation where a single BRAS fails. When both BRASs fail at the same time, broadband access services will be completely interrupted, which means there is a problem of insufficient reliability. At the same time, there may be an imbalance in the number of broadband users accessing the BRAS, which means there is a problem of uneven service load on the BRAS. Summary of the Invention

[0005] This invention provides a metropolitan area network broadband access method, system, device, and storage medium to address the shortcomings of insufficient reliability and uneven service distribution in existing metropolitan area network broadband access scenarios.

[0006] This invention provides a metropolitan area network broadband access method, comprising:

[0007] Obtain BRAS pool information, which includes information on at least three BRAS;

[0008] Based on the BRAS pool information, determine the total number of devices in the BRAS;

[0009] Based on the total number of devices, first configuration information is generated. The first configuration information is used to configure the OLT to set up an S-VLAN equal to the total number of devices.

[0010] Based on the BRAS pool information, second configuration information is generated. The second configuration information is used to configure the BRAS such that the BRAS corresponds one-to-one with the S-VLAN and the BRAS responds first to the user access request corresponding to the S-VLAN, and the BRAS acts as the primary backup device of another BRAS and the two BRAS do not act as each other's primary backup devices.

[0011] According to a metropolitan area network broadband access method provided by the present invention, the step of generating second configuration information based on the BRAS pool information includes:

[0012] Based on the total number of devices, first sub-configuration information is generated. The first sub-configuration information is used to configure each BRAS so that the BRAS sets up logical sub-interfaces equal to the total number of devices. Each logical sub-interface corresponds one-to-one with the S-VLAN.

[0013] Based on the BRAS pool information, second sub-configuration information corresponding to the BRAS is generated. The second sub-configuration information is used to set the response latency of each logical sub-interface in the BRAS so that the logical sub-interface corresponding to the first S-VLAN is latency-free and the logical sub-interface corresponding to the second S-VLAN is a first preset latency.

[0014] The second configuration information is generated based on the first sub-configuration information and the second sub-configuration information;

[0015] Wherein, the first S-VLAN is the S-VLAN corresponding to the BRAS, the BRAS corresponding to the primary backup device is the target backup BRAS, and the second S-VLAN is the S-VLAN corresponding to the target backup BRAS.

[0016] According to a metropolitan area network broadband access method provided by the present invention, the step of generating second sub-configuration information corresponding to the BRAS based on the BRAS pool information includes:

[0017] Based on the BRAS pool information, each BRAS is sorted to form a circular queue;

[0018] According to the circular queue, between two adjacent BRAS, the BRAS that is ranked later is used as the primary backup device of the BRAS that is ranked earlier, and backup relationship information is generated.

[0019] Based on the backup relationship information, the second sub-configuration information corresponding to the BRAS is generated.

[0020] According to a metropolitan area network broadband access method provided by the present invention, the step of generating second sub-configuration information corresponding to the BRAS based on the backup relationship information includes:

[0021] Each of the aforementioned BRASs is sequentially designated as a target BRAS, and the corresponding backup order is determined starting from the target BRAS based on the backup relationship information.

[0022] Based on the backup order and preset tiered latency, and based on the correspondence between the BRAS and the S-VLAN and the correspondence between the logical sub-interface and the S-VLAN, the response latency of the logical sub-interface in the target BRAS is determined sequentially, and the second sub-configuration information corresponding to the target BRAS is generated.

[0023] This invention also provides a metropolitan area network broadband access method, applied to a BRAS, comprising:

[0024] Obtain the second configuration information;

[0025] Based on the second configuration information, determine the total number of devices, and set an equal number of logical sub-interfaces according to the total number of devices. Each logical sub-interface corresponds one-to-one with an S-VLAN.

[0026] Based on the second configuration information, set the response latency of each of the logical sub-interfaces;

[0027] In response to a user access request from the OLT, based on the S-VLAN corresponding to the user access request, the corresponding logical sub-interface is determined as the first target interface. After the response delay corresponding to the first target interface, response feedback information is generated and sent through the first target interface.

[0028] The second configuration information is determined by the aforementioned metropolitan area network broadband access method.

[0029] A metropolitan area network broadband access method provided by the present invention further includes:

[0030] In response to a recovery message, which is generated by another BRAS;

[0031] Based on the recovery message, the corresponding logical sub-interface is determined as the second target interface;

[0032] Generate offline reconnection information and send the offline reconnection information to the user equipment connected to the second target interface;

[0033] The offline reconnection information is used to instruct the user equipment to go offline and regenerate the user access request.

[0034] This invention also provides a metropolitan area network broadband access method, applied to an OLT, comprising:

[0035] Obtain the first configuration information;

[0036] Based on the first configuration information, determine the total number of devices, and set an equal number of S-VLANs based on the total number of devices;

[0037] In response to a user dial-up request, a target S-VLAN is selected based on the number of user devices accessing the S-VLAN. The user dial-up request is encapsulated into a user access request based on the target S-VLAN, and the user access request is sent to the BRAS.

[0038] The first configuration information is determined by the aforementioned metropolitan area network broadband access method.

[0039] The present invention also provides a metropolitan area network broadband access system, comprising: a configuration device, at least three BRASs and at least one OLT, wherein the configuration device is communicatively connected to the BRASs and the OLTs respectively, and the OLTs are communicatively connected to the BRASs.

[0040] Specifically, the configuration device executes the aforementioned metropolitan area network broadband access method; the BRAS executes the aforementioned metropolitan area network broadband access method applied to the BRAS; and the OLT executes the aforementioned metropolitan area network broadband access method applied to the OLT.

[0041] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a metropolitan area network broadband access method as described above.

[0042] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a metropolitan area network broadband access method as described above.

[0043] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements a metropolitan area network broadband access method as described above.

[0044] The metropolitan area network broadband access method, system, device, and storage medium provided by this invention have at least the following beneficial effects:

[0045] The process involves obtaining BRAS pool information, determining the total number of devices based on the included BRAS, and generating first configuration information to configure the OLT with an S-VLAN matching the total number of devices. Second configuration information is then generated based on the BRAS pool information to configure the BRAS, ensuring each BRAS corresponds one-to-one with an S-VLAN. When a BRAS receives a user access request from its corresponding S-VLAN, it prioritizes that response. The OLT distributes new user access requests to the less loaded S-VLAN based on the user service load corresponding to each S-VLAN, ensuring that user devices connect to the corresponding BRAS and achieving a more balanced user service load across BRAS. After configuring the BRAS with the second configuration information, each BRAS acts as a primary backup device for another BRAS, and two BRAS do not act as primary backup devices for each other; that is, a chain backup relationship is formed among the BRAS. In this way, a chain backup relationship is formed between the various BRASs. Even if some of the BRASs cannot respond, the other BRASs can take over and respond to maintain broadband access services. Compared with the method of two BRASs serving as disaster recovery for each other, this can effectively improve reliability. At the same time, by setting up S-VLANs corresponding to BRASs through OLT, the method of BRAS responding to the corresponding S-VLAN first helps to make the user service load of BRAS more even. Attached Figure Description

[0046] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0047] Figure 1 This is one of the flowcharts of a metropolitan area network broadband access method provided by the present invention.

[0048] Figure 2 This is the second flowchart illustrating a metropolitan area network broadband access method provided by the present invention.

[0049] Figure 3 This is the third flowchart of a metropolitan area network broadband access method provided by the present invention.

[0050] Figure 4 This is a schematic diagram of a metropolitan area network broadband access system provided by the present invention in a broadband access scenario.

[0051] Figure 5 This is a schematic diagram of a metropolitan area network broadband access system provided by the present invention in a fault stage during a recovery scenario.

[0052] Figure 6 This is a schematic diagram of a metropolitan area network broadband access system provided by the present invention in the recovery phase of a recovery scenario.

[0053] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0055] The existing method of using a pair of BRASs for mutual disaster recovery can only handle situations where a single BRAS is unresponsive due to failure or maintenance. It cannot maintain broadband access functionality in the event of simultaneous failure of both BRASs, although the probability of such a scenario is low, it is not impossible. Since user equipment establishes a PPPoE session with the first responsive BRAS, subsequent responsive BRASs will not establish PPPoE sessions. This can lead to an imbalance in the number of user equipment connected to the two BRASs, resulting in uneven distribution of user services across the BRASs. This hinders the full utilization of BRAS resources and impacts service response performance.

[0056] In a BRAS pair that serves as a disaster recovery mechanism, when one BRAS suspends operation due to a fault, maintenance, or other reasons, its connected user devices will go offline and redial to connect to the other, normally functioning BRAS. However, when the suspended BRAS recovers, to balance the user service load between the two BRASs, all user devices connected to the previously continuously functioning BRAS need to go offline and redial. This results in user devices connected to the normally functioning BRAS also needing to go offline, preventing fine-grained adjustments to user access and impacting user experience.

[0057] Regarding the above issues, the following will address them in conjunction with... Figure 1 A metropolitan area network broadband access method according to the present invention includes:

[0058] S100: Obtain BRAS pool information, the BRAS pool information including information of at least three BRAS;

[0059] S110: Determine the total number of devices in the BRAS based on the BRAS pool information;

[0060] S120: Generate first configuration information based on the total number of devices. The first configuration information is used to configure the OLT to set up an S-VLAN equal to the total number of devices.

[0061] S130: Generate second configuration information based on the BRAS pool information. The second configuration information is used to configure the BRAS such that the BRAS corresponds one-to-one with the S-VLAN and the BRAS responds first to the user access request corresponding to the S-VLAN, and the BRAS acts as the primary backup device of another BRAS and the two BRAS do not act as each other's primary backup devices.

[0062] The process involves obtaining BRAS pool information, determining the total number of devices based on the included BRAS, and generating first configuration information to configure the OLT with an S-VLAN matching the total number of devices. Second configuration information is then generated based on the BRAS pool information to configure the BRAS, ensuring each BRAS corresponds one-to-one with an S-VLAN. When a BRAS receives a user access request from its corresponding S-VLAN, it prioritizes that response. The OLT distributes new user access requests to the less loaded S-VLAN based on the user service load corresponding to each S-VLAN, ensuring that user devices connect to the corresponding BRAS and achieving a more balanced user service load across BRAS. After configuring the BRAS with the second configuration information, each BRAS acts as a primary backup device for another BRAS, and two BRAS do not act as primary backup devices for each other; that is, a chain backup relationship is formed among the BRAS.

[0063] In this way, a chain backup relationship is formed between the various BRASs. Even if some of the BRASs cannot respond, the other BRASs can take over and respond to maintain broadband access services. Compared with the method of two BRASs serving as disaster recovery for each other, this can effectively improve reliability. At the same time, by setting up S-VLANs corresponding to BRASs through OLT, the method of BRAS responding to the corresponding S-VLAN first helps to make the user service load of BRAS more even.

[0064] S-VLAN (Service Virtual Local Area Network) refers to a VLAN (Virtual Local Area Network) used in a service provider network to distinguish and isolate different users or different services. It allows the creation of multiple logical networks within the same physical network, thereby ensuring that the traffic of different users does not interfere with each other and enabling the provision of personalized network services.

[0065] In some embodiments of the present invention, the BRAS pool information includes information corresponding to the BRAS selected as the backup pool, which may specifically include the BRAS identifier, network location, and other information.

[0066] In some embodiments of the present invention, the first configuration information configures the OLT, which may involve setting up multiple S-VLANs on the OLT. The OLT can then forward new user access requests through the S-VLAN with the lowest load based on the load of different S-VLANs, ensuring that the BRAS corresponding to the S-VLAN responds first. This achieves the effect of selecting the BRAS for access based on the user's service load. It is understood that the load of the S-VLAN is related to the load of the corresponding BRAS.

[0067] To facilitate understanding, an illustrative example is given to illustrate the correspondence between S-VLAN and BRAS: Assume that the BRAS pool includes three BRAS, namely BRAS(1), BRAS(2) and BRAS(3), and each OLT is configured with an S-VLAN equal to the total number of devices, that is, three S-VLANs, namely S-VLAN(1), S-VLAN(2) and S-VLAN(3). Assume that BRAS(1) corresponds to S-VLAN(1), then the OLT forwards the user access application to each BRAS. After determining that the corresponding S-VLAN is S-VLAN(1), BRAS(1) responds first, so that the user device can access BRAS(1).

[0068] Based on the above example, let's further illustrate the primary and backup devices. Assuming BRAS(2) is the primary and backup device of BRAS(1), after receiving a user access request from S-VLAN(1), BRAS(1) will respond first, while BRAS(2) will respond after a preset delay. Thus, when BRAS(1) stops working and cannot respond, the user equipment will access BRAS(2) based on the response from BRAS(2), thereby realizing the function of BRAS(2) as the primary and backup device of BRAS(1). Similarly, based on the relationship between the primary and backup devices and the correspondence between BRAS and S-VLAN, the response delay of BRAS to different S-VLANs can be set to achieve the effect of chained backup.

[0069] It should be noted that, based on each BRAS acting as a primary backup device for another BRAS, secondary backup devices, tertiary backup devices, etc., can be further added. For example, based on BRAS(2) acting as the primary backup device for BRAS(1), by setting the response delay of BRAS(3) to S-VLAN(1), BRAS(3) can respond after BRAS(2), thus enabling BRAS(3) to act as a secondary backup device for BRAS(1), ensuring the response to S-VLAN(1) even when BRAS(1) and BRAS(2) are both suspended. Similarly, with more BRAS, a chain-like tiered backup relationship can be established in the above manner, ensuring access response to all S-VLANs even when any number of BRAS less than the total number of devices is suspended.

[0070] In some embodiments of a metropolitan area network broadband access method of the present invention, step S130 includes:

[0071] Based on the total number of devices, first sub-configuration information is generated. The first sub-configuration information is used to configure each BRAS so that the BRAS sets up logical sub-interfaces equal to the total number of devices. Each logical sub-interface corresponds one-to-one with the S-VLAN.

[0072] Based on the BRAS pool information, second sub-configuration information corresponding to the BRAS is generated. The second sub-configuration information is used to set the response latency of each logical sub-interface in the BRAS so that the logical sub-interface corresponding to the first S-VLAN is latency-free and the logical sub-interface corresponding to the second S-VLAN is a first preset latency.

[0073] The second configuration information is generated based on the first sub-configuration information and the second sub-configuration information;

[0074] Wherein, the first S-VLAN is the S-VLAN corresponding to the BRAS, the BRAS corresponding to the primary backup device is the target backup BRAS, and the second S-VLAN is the S-VLAN corresponding to the target backup BRAS.

[0075] Based on the first sub-configuration information and the total number of devices, each BRAS is configured with an equal number of logical sub-interfaces. Each BRAS then has a logical sub-interface corresponding to each S-VLAN. After receiving a user access request, the BRAS returns an access response through the corresponding logical sub-interface based on the S-VLAN to which the user access request belongs, thus enabling the user device to connect to the corresponding logical sub-interface. This facilitates the BRAS's management of user devices in different S-VLANs based on logical sub-interfaces, enabling fine-grained adjustments to user access.

[0076] When other BRASs recover, user devices under the corresponding logical sub-interfaces can be taken offline and reconnected to broadband based on the S-VLAN of the recovered BRAS. This allows these user devices to reconnect to the recovered BRAS without having to take all their connected user devices offline, thus achieving user load balancing. This makes user access adjustments more flexible and precise, and helps reduce the impact of recovery and reconnection on user experience.

[0077] Based on the second sub-configuration information and the backup relationship between BRASs, response latency is set for each logical sub-interface in each BRAS. This implements the backup relationship between BRASs.

[0078] For ease of understanding, we will use the case of three BRAS and three S-VLANs as an illustration. Assume that: BRAS(1) is the primary backup device of BRAS(3), that is, BRAS(3) is the target backup BRAS of BRAS(1); BRAS(2) is the primary backup device of BRAS(1); BRAS(3) is the primary backup device of BRAS(2); BRAS(1) corresponds to S-VLAN(1); BRAS(2) corresponds to S-VLAN(2); and BRAS(3) corresponds to S-VLAN(3). Among them, S-VLAN(1) is the first S-VLAN of BRAS(1), and S-VLAN(3) is the second S-VLAN of BRAS(1).

[0079] BRAS(1), BRAS(2), and BRAS(3) are each equipped with three logical sub-interfaces, namely logical sub-interface(1), logical sub-interface(2), and logical sub-interface(3). Among them, logical sub-interface(1) corresponds to S-VLAN(1); logical sub-interface(2) corresponds to S-VLAN(2); and logical sub-interface(3) corresponds to S-VLAN(3).

[0080] In this case, for BRAS(1), logical sub-interface(1) is set to no delay; logical sub-interface(2) is set to the second preset delay; and logical sub-interface(3) is set to the first preset delay, with the second preset delay being greater than the first preset delay. Similarly, for BRAS(2), logical sub-interface(1) is set to the first preset delay, logical sub-interface(2) is set to no delay, and logical sub-interface(3) is set to the second preset delay. In BRAS(3), logical sub-interface(1) is set to the second preset delay, logical sub-interface(2) is set to the first preset delay, and logical sub-interface(3) is set to no delay. It is understandable that the response delay settings of each logical sub-interface in different BRASs are not the same.

[0081] BRAS(1) responds to S-VLAN(1) without delay, achieving the effect of priority response. BRAS(1) responds to S-VLAN(3) after a first preset delay, achieving the purpose of BRAS(1) acting as the primary backup device for BRAS(3), that is, BRAS(1) responds to S-VLAN(3) only after BRAS(3). The logical sub-interface (2) is set to the second preset delay, so that BRAS(1) acts as the secondary backup device for BRAS(2), responding to S-VLAN(2) after BRAS(3). The same effect is achieved for BRAS(2) and BRAS(3).

[0082] It is understandable that, in the case of multiple BRAS, similar to the above settings, for BRAS(1), there can be BRAS(2) as the primary backup device, BRAS(3) as the secondary backup device, BRAS(4) as the tertiary backup device, and so on.

[0083] In this way, by setting up logical sub-interfaces in each BRAS that are equal to the total number of devices, i.e. the number of S-VLANs, and by setting different response delays for the logical sub-interfaces in each BRAS, the backup relationship between BRAS is realized, so that each BRAS has multiple backup devices of different levels, and at the same time, each BRAS acts as a backup device for other BRAS of different levels.

[0084] In some embodiments of a metropolitan area network broadband access method of the present invention, the step of generating second sub-configuration information corresponding to the BRAS based on the BRAS pool information includes:

[0085] Based on the BRAS pool information, each BRAS is sorted to form a circular queue;

[0086] According to the circular queue, between two adjacent BRAS, the BRAS that is ranked later is used as the primary backup device of the BRAS that is ranked earlier, and backup relationship information is generated.

[0087] Based on the backup relationship information, the second sub-configuration information corresponding to the BRAS is generated.

[0088] By sorting each BRAS into a circular queue, the backup relationships between BRAS can be quickly and clearly determined based on the queue position relationships, which helps to improve the efficiency of generating second sub-configuration information.

[0089] It's understandable that in a circular queue, each BRAS starts with itself. The first BRAS following it is the primary backup device, the second is the secondary backup device, the third is the tertiary backup device, and so on. Assuming the circular queue has N BRAS, the first BRAS preceding a BRAS is the (N-1)th level backup device. Each BRAS has N-1 levels of backups, and backup relationship information is generated based on the backup relationships among the BRAS.

[0090] In some embodiments of a metropolitan area network broadband access method of the present invention, the step of generating the second sub-configuration information corresponding to the BRAS based on the backup relationship information includes:

[0091] Each of the aforementioned BRASs is sequentially designated as a target BRAS, and the corresponding backup order is determined starting from the target BRAS based on the backup relationship information.

[0092] Based on the backup order and preset tiered latency, and based on the correspondence between the BRAS and S-VLAN and the correspondence between the logical sub-interface and S-VLAN, the response latency of the logical sub-interface in the target BRAS is determined sequentially, and the second sub-configuration information corresponding to the target BRAS is generated.

[0093] The backup relationship information includes the backup relationships corresponding to each BRAS. The backup order is determined based on the backup relationship corresponding to the target BRAS. That is, the backup order includes the target BRAS as the starting point, followed by the primary backup device, secondary backup device, tertiary backup device, and so on up to the N-1 level backup device. Based on the backup order and the S-VLAN corresponding to the backup device, the logical sub-interface of the target BRAS is determined, and the response latency of the logical sub-interface is set according to the preset tiered latency.

[0094] To facilitate understanding, the labels and corresponding relationships of the three BRAS cases mentioned above are used as an example. When BRAS (2) is the target BRAS, the corresponding backup order is: BRAS (2), BRAS (3), BRAS (1), that is, BRAS (3) is the primary backup device and BRAS (1) is the secondary backup device. Based on the fact that BRAS (3) corresponds to S-VLAN (3) and S-VLAN (3) corresponds to logical sub-interface (3), similarly, BRAS (1) corresponds to logical sub-interface (1). Therefore, according to the preset stepped delay, assuming it increases by 100ms step by step, the logical sub-interface (3) in BRAS (2) is set to a 100ms response delay and the logical sub-interface (1) is set to a 200-second response delay. It can be understood that the logical sub-interface (2) corresponding to BRAS (2) itself is without delay. When BRAS(1) and BRAS(3) are used as target BRAS, the same process is used to set their own logical sub-interfaces. Similarly, the process of setting their own logical sub-interfaces for each BRAS can be deduced in the case of multiple BRAS.

[0095] Based on the backup relationship information, the backup order of the target BRAS is determined. Then, the response latency of each logical sub-interface in the target BRAS is configured in combination with the preset tiered latency, so as to realize the tiered backup relationship between each BRAS. This can effectively deal with emergencies. Even if some BRAS cannot work, other BRAS can take over the non-working BRAS in an orderly manner according to the backup tier, thereby improving the reliability of broadband access.

[0096] In some embodiments of the present invention, the preset stepped delay can be an arithmetic sequence, such as setting it with an interval difference of 100ms or other unit time. In some embodiments of the present invention, the preset stepped delay can also be set step by step according to the requirements, or set according to the sequence corresponding to the demand curve.

[0097] The above describes the configuration process of a metropolitan area network broadband access method according to the present invention. In some embodiments of the present invention, the configuration can be performed by a configuration device to generate first configuration information and second configuration information, send the first configuration information to the OLT to configure the OLT, and send the second configuration information to the BRAS to configure the BRAS, thereby realizing chained backup of the BRAS and load balancing of user broadband access services.

[0098] The following descriptions focus on the BRAS and OLT sides respectively. The methods applied to the BRAS and OLT described below can be referenced in conjunction with the aforementioned metropolitan area network broadband access method, and will not be repeated here.

[0099] refer to Figure 2 and Figure 4The present invention also provides a metropolitan area network broadband access method, applied to a BRAS, comprising:

[0100] S200: Obtain second configuration information;

[0101] S210: Determine the total number of devices based on the second configuration information, and set an equal number of logical sub-interfaces based on the total number of devices, wherein each logical sub-interface corresponds one-to-one with an S-VLAN;

[0102] S220: Set the response delay of each of the logical sub-interfaces according to the second configuration information;

[0103] S230: In response to the user access request of the OLT, based on the S-VLAN corresponding to the user access request, determine the corresponding logical sub-interface as the first target interface, generate response feedback information after the response delay corresponding to the first target interface, and send the response feedback information through the first target interface.

[0104] The second configuration information is determined by the aforementioned metropolitan area network broadband access method.

[0105] After obtaining the second configuration information, the BRAS sets the logical sub-interfaces according to the second configuration information, and also sets the response latency of the logical sub-interfaces. (Reference) Figure 4 In broadband access scenarios, when the OLT uploads a new user access request, the BRAS determines the S-VLAN to which the user access request belongs, and then determines its corresponding logical sub-interface, i.e., the first target interface. Based on the response latency corresponding to the first target interface, it sends response feedback information to respond to the user access request. When the BRAS itself is the first BRAS to respond, the user equipment is connected to the first target interface. For example... Figure 4 As shown, when each BRAS is working normally, users of S-VLAN (1) are connected to the logical sub-interface (1) under BRAS (1), users of S-VLAN (2) are connected to the logical sub-interface (2) under BRAS (2), ... users of S-VLAN (n) are connected to the logical sub-interface (n) under BRAS (n).

[0106] In this way, based on the response implementation of logical sub-interfaces, a chain-like tiered backup relationship is realized between various BRAS in the BRAS pool. When other BRAS cannot respond to user requests of their corresponding S-VLAN due to faults or other reasons, the normally functioning BRAS can also connect the user equipment to its corresponding logical sub-port after the corresponding response delay, effectively improving reliability.

[0107] It is understandable that after a user equipment sends a user access request, it will only establish a session with the first BRAS that responds. That is, the user equipment will only connect to one BRAS, and the user equipment will ignore the response feedback information sent to the user equipment by other BRAS based on the response delay.

[0108] refer to Figure 2 , Figure 5 and Figure 6 In some embodiments of a metropolitan area network broadband access method applied to a BRAS, the present invention further includes:

[0109] S240: In response to a recovery message generated by another BRAS;

[0110] S250: Based on the recovery message, determine the corresponding logical sub-interface as the second target interface;

[0111] S260: Generate offline reconnection information and send the offline reconnection information to the user equipment accessing the second target interface;

[0112] The offline reconnection information is used to instruct the user equipment to go offline and regenerate the user access request.

[0113] When a BRAS (Broadband Access Server) is out of service due to faults, maintenance, or other reasons, the user equipment under its corresponding S-VLAN connects to the logical sub-interface of the normally functioning BRAS to maintain broadband access services for the user equipment. In recovery scenarios, refer to... Figure 5 and Figure 6 , Figure 5 When BRAS(1) to BRAS(n-1) fails and stops working, users of each S-VLAN are connected to the corresponding logical sub-interface under BRAS(n). For example, users of S-VLAN(1) are connected to logical sub-interface (1) under BRAS(n), users of S-VLAN(2) are connected to logical sub-interface (2) under BRAS(n), and so on, and users of S-VLAN(n-1) are connected to logical sub-interface (n-1) under BRAS(n).

[0114] After a BRAS that has been suspended from operation recovers from fault repair and maintenance, it resumes operation. To balance the user load on the BRAS, the recovered BRAS generates a recovery message and sends it to other normally functioning BRASs. The other normally functioning BRASs respond to the recovery message, determine the S-VLAN corresponding to the recovered BRAS, and take the user devices under the corresponding logical sub-interface (i.e., the second target interface) offline. This causes the user devices to regenerate user access requests for reconnection. At this time, the recovered BRAS, because it is responding to the user access request belonging to the corresponding S-VLAN, will be the first to respond, thus connecting the offline reconnecting user devices to its corresponding logical sub-interface. For example... Figure 6 As shown, after BRAS(1) to BRAS(n-1) resumes operation, it sends a recovery message to BRAS(n) to inform BRAS(n) of the recovery operation. Then, BRAS(n) instructs users on its logical sub-interfaces (1) to (n-1) to go offline and reconnect. This allows users of S-VLAN(1) to reconnect to logical sub-interface (1) under BRAS(1), users of S-VLAN(2) to reconnect to logical sub-interface (2) under BRAS(2), and so on, until users of S-VLAN(n-1) reconnect to logical sub-interface (n-1) under BRAS(n-1). Users on logical sub-interface (n) under BRAS(n) do not need to go offline and are unaffected by the recovery.

[0115] This allows for the reconnection of user devices to a suspended BRAS after it resumes operation, achieving user load balancing. Simultaneously, a continuously functioning BRAS does not need to take all its user devices offline for reconnection, enabling fine-grained adjustments to user access based on logical sub-interfaces. This allows for more flexible adjustments and reduces the impact on user experience.

[0116] refer to Figure 3 The present invention also provides a metropolitan area network broadband access method, applied to an OLT, comprising:

[0117] S300: Obtain first configuration information;

[0118] S310: Determine the total number of devices based on the first configuration information, and set an equal number of S-VLANs based on the total number of devices;

[0119] S320: In response to a user dial-up request, select a target S-VLAN based on the number of user devices accessing the S-VLAN, encapsulate the user dial-up request into a user access request based on the target S-VLAN, and send the user access request to the BRAS.

[0120] The first configuration information is determined by the aforementioned metropolitan area network broadband access method.

[0121] Based on the initial configuration information, the OLT determines the total number of BRAS devices in the BRAS pool and accordingly sets up an equal number of S-VLANs. (Reference) Figure 4 In broadband access scenarios, when receiving a user dial-up request, the S-VLAN with the lowest user load is selected as the target S-VLAN based on the number of user devices corresponding to each S-VLAN, i.e., the user load. The user dial-up request is then encapsulated based on the target S-VLAN to generate a user access request. This allows subsequent BRASs to determine the S-VLAN to which the user access request belongs based on the S-VLAN identifier in the user access request. The user access request is then sent to each BRAS, enabling the user device to establish a session with the first BRAS to respond.

[0122] In this way, by configuring S-VLANs through the OLT, new user access requests are uploaded to the BRAS through the S-VLAN with low user load based on the user load of each S-VLAN, thus achieving the effect of user load balancing. This helps to make full use of BRAS resources and improve the stability of broadband access service response.

[0123] refer to Figures 4 to 6 The present invention also provides a metropolitan area network broadband access system, characterized in that it includes: a configuration device, at least three BRASs and at least one OLT, wherein the configuration device is communicatively connected to the BRASs and the OLTs respectively, and the OLTs are communicatively connected to the BRASs.

[0124] The configuration device executes the aforementioned metropolitan area network broadband access method to generate first configuration information and second configuration information; the BRAS executes the aforementioned metropolitan area network broadband access method applied to the BRAS; and the OLT executes the aforementioned metropolitan area network broadband access method applied to the OLT.

[0125] The configuration device obtains BRAS pool information, determines the total number of devices based on the number of included BRAS, and then generates first configuration information to configure the OLT, setting the OLT to have an S-VLAN equal to the total number of devices. The configuration device generates second configuration information based on the BRAS pool information to configure the BRAS, mapping each BRAS to a unique S-VLAN. When a BRAS receives a user access request from its corresponding S-VLAN, it prioritizes its response.

[0126] Based on the user service load corresponding to each S-VLAN, the OLT distributes new user access requests to the S-VLAN with low load, so that user equipment can access the corresponding BRAS and the user service load among BRAS is more balanced.

[0127] After the BRAS is configured based on the second configuration information, each BRAS acts as the primary backup device for another BRAS, and the two BRAS do not act as primary backup devices for each other, that is, a chain backup relationship is formed between the BRAS.

[0128] In this way, a chain backup relationship is formed between the various BRASs. Even if some of the BRASs cannot respond, the other BRASs can take over and respond to maintain broadband access services. Compared with the method of two BRASs serving as disaster recovery for each other, this can effectively improve reliability. At the same time, by setting up S-VLANs corresponding to BRASs through OLT, the method of BRAS responding to the corresponding S-VLAN first helps to make the user service load of BRAS more even.

[0129] Figure 7 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 7 As shown, the electronic device may include a processor 810, a communications interface 820, a memory 830, and a communication bus 840. The processor 810, communications interface 820, and memory 830 communicate with each other via the communication bus 840. The processor 810 can call logical instructions stored in the memory 830 to execute the aforementioned metropolitan area network broadband access method.

[0130] The electronic device provided by this invention can be a configuration device, a BRAS, or an OLT.

[0131] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a 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 described in the various embodiments of the present invention. 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.

[0132] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute a metropolitan area network broadband access method provided by the above methods.

[0133] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform a metropolitan area network broadband access method provided by the methods described above.

[0134] The device embodiments described above are merely illustrative. 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 modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0135] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0136] In the description of this invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0137] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0138] All actions involving the acquisition of signals, information, or data in this application are carried out in accordance with the relevant data protection laws and policies of the country where the application is located, and with the authorization of the owner of the relevant device.

[0139] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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; and these 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 the present invention.

Claims

1. A metropolitan area network broadband access method, characterized in that, include: Obtain BRAS pool information, which includes information on at least three BRAS; Based on the BRAS pool information, determine the total number of devices in the BRAS; Based on the total number of devices, first configuration information is generated. The first configuration information is used to configure the OLT to set up an S-VLAN equal to the total number of devices, so that the OLT forwards user access requests to the S-VLAN with low load according to the load of different S-VLANs. Based on the BRAS pool information, second configuration information is generated. The second configuration information is used to configure the BRAS so that the BRAS corresponds one-to-one with the S-VLAN and the BRAS responds first to the user access request corresponding to the S-VLAN, and the BRAS acts as the primary backup device of another BRAS and the two BRAS do not act as each other's primary backup devices. The load status of the S-VLAN is associated with the load status of the corresponding BRAS.

2. The metropolitan area network broadband access method according to claim 1, characterized in that, The step of generating second configuration information based on the BRAS pool information includes: Based on the total number of devices, first sub-configuration information is generated. The first sub-configuration information is used to configure each BRAS so that the BRAS sets up logical sub-interfaces equal to the total number of devices. Each logical sub-interface corresponds one-to-one with the S-VLAN. Based on the BRAS pool information, second sub-configuration information corresponding to the BRAS is generated. The second sub-configuration information is used to set the response latency of each logical sub-interface in the BRAS so that the logical sub-interface corresponding to the first S-VLAN is latency-free and the logical sub-interface corresponding to the second S-VLAN is a first preset latency. The second configuration information is generated based on the first sub-configuration information and the second sub-configuration information; Wherein, the first S-VLAN is the S-VLAN corresponding to the BRAS, the BRAS corresponding to the primary backup device is the target backup BRAS, and the second S-VLAN is the S-VLAN corresponding to the target backup BRAS.

3. The metropolitan area network broadband access method according to claim 2, characterized in that, The step of generating second sub-configuration information corresponding to the BRAS based on the BRAS pool information includes: Based on the BRAS pool information, each BRAS is sorted to form a circular queue; According to the circular queue, between two adjacent BRAS, the BRAS that is ranked later is used as the primary backup device of the BRAS that is ranked earlier, and backup relationship information is generated. Based on the backup relationship information, the second sub-configuration information corresponding to the BRAS is generated.

4. The metropolitan area network broadband access method according to claim 3, characterized in that, The step of generating the second sub-configuration information corresponding to the BRAS based on the backup relationship information includes: Each of the aforementioned BRASs is sequentially designated as a target BRAS, and the corresponding backup order is determined starting from the target BRAS based on the backup relationship information. Based on the backup order and preset tiered latency, and based on the correspondence between the BRAS and the S-VLAN and the correspondence between the logical sub-interface and the S-VLAN, the response latency of the logical sub-interface in the target BRAS is determined sequentially, and the second sub-configuration information corresponding to the target BRAS is generated.

5. A metropolitan area network broadband access method, characterized in that, Applied to BRAS, including: Obtain the second configuration information; Based on the second configuration information, determine the total number of devices, and set an equal number of logical sub-interfaces according to the total number of devices. Each logical sub-interface corresponds one-to-one with an S-VLAN. Based on the second configuration information, set the response latency of each of the logical sub-interfaces; In response to a user access request from the OLT, based on the S-VLAN corresponding to the user access request, the corresponding logical sub-interface is determined as the first target interface. After the response delay corresponding to the first target interface, response feedback information is generated and sent through the first target interface. The second configuration information is determined by a metropolitan area network broadband access method as described in any one of claims 2 to 4.

6. A metropolitan area network broadband access method according to claim 5, characterized in that, Also includes: In response to a recovery message, which is generated by another BRAS; Based on the recovery message, the corresponding logical sub-interface is determined as the second target interface; Generate offline reconnection information and send the offline reconnection information to the user equipment connected to the second target interface; The offline reconnection information is used to instruct the user equipment to go offline and regenerate the user access request.

7. A metropolitan area network broadband access method, characterized in that, Applied to OLT, including: Obtain the first configuration information; Based on the first configuration information, determine the total number of devices, and set an equal number of S-VLANs based on the total number of devices; In response to a user dial-up request, a target S-VLAN is selected based on the number of user devices accessing the S-VLAN. The user dial-up request is encapsulated into a user access request based on the target S-VLAN, and the user access request is sent to the BRAS. Wherein, the first configuration information is determined by a metropolitan area network broadband access method as described in any one of claims 1 to 4.

8. A metropolitan area network broadband access system, characterized in that, include: The system includes a configuration device, at least three BRASs and at least one OLT, wherein the configuration device is communicatively connected to the BRASs and the OLTs respectively, and the OLTs are communicatively connected to the BRASs. Wherein, the configuration device executes a metropolitan area network broadband access method as described in any one of claims 1 to 4; the BRAS executes a metropolitan area network broadband access method as described in claim 5 or 6; and the OLT executes a metropolitan area network broadband access method as described in claim 7.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements a metropolitan area network broadband access method as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements a metropolitan area network broadband access method as described in any one of claims 1 to 7.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements a metropolitan area network broadband access method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Business disaster tolerance method and related device

    CN105556900A

  • Broadband access method and device

    CN106559292A