User online processing method and transmission equipment
By implementing the answering function in the forwarding plane of the BRAS system, the problem of new users not being able to go online when the control channel fails, ensuring the availability and real-time nature of the system, and achieving normal online by users in the event of a failure.
Patent Information
- Application Number
- CN202411137941.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2025-01-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In traditional BRAS systems, new users cannot go online normally when the control channel fails, and cannot meet the availability and real-time requirements of the business system.
By implementing the answering function in the forwarding plane UP, when the link status with the control plane CP meets the preset conditions, the unallocated address information is obtained from the pre-allocated subnet address pool to ensure that the user can go online normally and in the CP Synchronize user information when the control channel between UP is restored.
When the control channel fails, users can go online normally, which improves the availability and real-time nature of the system and reduces the risk of business interruption.
Smart Images

Figure CN119299298A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and a transmission device for processing user online. Background Art
[0002] As the core equipment of the operator network, the traditional BRAS (Broadband Remote Access Server) acts as a bridge between the broadband access network and the backbone network, providing broadband access services to users. With the rapid development of the Internet, under the impact of new services and new demands, the traditional BRAS faces great challenges, such as low resource utilization, complex management and maintenance, slow service provisioning, and high reliability costs.
[0003] In order to solve the above challenges, the industry has proposed a new vBRAS architecture based on the separation of the forwarding plane and the control plane. The new vBRAS architecture introduces SDN and NFV technologies. It is composed of two types of network entities, the control plane network element vBRAS-CP and the forwarding plane network element BRAS-UP, to jointly provide BRAS services. In this architecture, vBRAS-CP is deployed in a unified manner and is responsible for user access control and policies; BRAS-UP is deployed in a decentralized manner and is responsible for forwarding user service traffic.
[0004] The vBRAS system architecture based on the separation of forwarding and control includes two roles: vBRAS-CP (CP for short) and BRAS-UP (UP for short), which together implement the BRAS function.
[0005] CP (Control Plane): Responsible for completing control plane functions such as user authentication, address allocation and management.
[0006] UP (User Plane): Responsible for completing forwarding plane functions such as user service traffic forwarding and traffic control.
[0007] In the face of force majeure such as earthquakes and fires, local data backup cannot guarantee that backup data will not be lost, and cannot meet the operator's needs for the availability, real-time, and security of business systems. In order to cope with the loss of backup data caused by force majeure such as earthquakes and fires and reduce corporate losses, the industry has proposed the technical concept of off-site disaster recovery.
[0008] vBRAS-CP (CP for short) off-site disaster recovery is an off-site disaster recovery technology used in vBRAS forwarding and control separation networking. It implements off-site disaster recovery by performing dual-machine backup between CPs in two DCs (Data Centers) located in different address locations, so that when a DC suffers a disaster, the other DC can quickly take over user services.
[0009] However, the current implementation process of the control-transfer separation architecture has defects. When the control channel CUSP fails (CUSP is disconnected), new users will be temporarily unable to go online. Summary of the invention
[0010] In order to overcome the problems existing in the related art, this specification provides a method and a transmission device for processing when a user goes online.
[0011] According to a first aspect of an embodiment of this specification, a method for processing a user going online is provided, the method comprising:
[0012] Receive user online request;
[0013] When the UP identifies that the link state with the first control plane CP meets a preset condition, the UP obtains unallocated address information from the pre-allocated subnet address pool;
[0014] The acquired address information is distributed to the user so that the user can go online.
[0015] The method further includes: acquiring a pre-allocated subnet address pool and a NAS-IP address used to send an authentication message to an authentication server from the first CP.
[0016] The preset conditions include: the disconnection time of the control channel CUSP between the UP and the first CP reaches a first preset time, or the switching time of the UP switching to the second CP reaches a second preset time and the time of the UP accessing the second CP reaches a third preset time.
[0017] When the UP identifies that the link state with the first control plane CP meets a preset condition, the method further includes:
[0018] Wherein, the method further comprises:
[0019] When the UP recognizes that the control channel CUSP between the UP and the first CP is restored, the UP synchronously sends online user information to the first CP.
[0020] Before allocating the acquired address information to the user so that the user can go online, the method further includes:
[0021] Send the user's authentication message to the authentication server, wherein the source address of the authentication message is the NAS-IP address;
[0022] After receiving a notification from the authentication server that the authentication message is successfully authenticated, the acquired address information is distributed to the user so that the user can go online.
[0023] It can be seen from the above embodiments that UP obtains the pre-allocated subnet address pool from CP, and when UP identifies that the link status with the first control plane CP meets the preset conditions, it obtains the unallocated address information from the subnet address pool and allocates it to the user, thereby realizing the answering function of UP to allow users to go online normally when the control channel CUSP between CP and UP fails.
[0024] According to a second aspect of an embodiment of this specification, a method for processing user online is provided, the method being applied in a first control plane CP, the method comprising:
[0025] Pre-issue the domain, pre-allocated sub-address pool, and NAS-IP address routing of AAA (radius) to the UP, so that when the UP identifies that the link status with the first CP meets the preset conditions, it obtains the unallocated address information from the pre-allocated subnet address pool;
[0026] The UP distributes the acquired address information to the user, so that the user can go online.
[0027] The preset conditions include:
[0028] The disconnection time of the control channel CUSP of the UP and the first CP reaches the first preset time, or the switching time of the UP switching to the second CP reaches the second preset time and the time of the UP accessing the second CP reaches the third preset time.
[0029] Wherein, the method further comprises:
[0030] When the control channel CUSP between the first CP and the UP is restored from a disconnected state to a normal state, receiving online user information sent by the UP;
[0031] The data is updated according to the above user information.
[0032] According to a third aspect of an embodiment of this specification, a transmission device is provided, in which a forwarding plane UP function is enabled, and the transmission device includes:
[0033] A receiving module, used for receiving a user online request;
[0034] A processing module, configured to obtain unallocated address information from a pre-allocated subnet address pool when the UP identifies that the link state with the first control plane CP meets a preset condition;
[0035] The allocation module is used to allocate the acquired address information to the user so that the user can go online.
[0036] The preset conditions include: the disconnection time of the control channel CUSP between the UP and the first CP reaches a first preset time, or the switching time of the UP switching to the second CP reaches a second preset time and the time of the UP accessing the second CP reaches a third preset time.
[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0039] Figure 1 The diagram is a schematic diagram of a method for processing when a user goes online according to an exemplary embodiment of the present specification.
[0040] Figure 2 The diagram is a schematic diagram of a method for processing when a user goes online according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION
[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0042] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0043] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0044] At present, the user access and online process in the forwarding and control separation mode is as follows: Take IPOE users as an example
[0045] (1) The DHCP client sends a DHCP-DISCOVER message to the UP.
[0046] (2) The UP sends the message to the CP for processing through the VXLAN tunnel.
[0047] (3) The CP creates an IPoE session based on the DHCP-DISCOVER message and sends an authentication request to the AAA server. The authentication request message contains user information, such as the Client ID option in the DHCP message and the source MAC address of the user message.
[0048] (4) The AAA server returns the authentication result. If the user passes the authentication, it sends an authentication acceptance message with authorization information; otherwise, it sends an authentication rejection message.
[0049] (5) The CP obtains the user's authentication and authorization results and updates the authentication status of the IPoE session to pass or fail.
[0050] (6) If the user passes authentication, the CP forwards the DHCP-DISCOVER message to the DHCP server. If authentication fails, the CP discards the DHCP-DISCOVER message.
[0051] (7) The DHCP server responds with a DHCP-OFFER message to the CP. The CP then forwards the DHCP-OFFER message to the UP through the VXLAN tunnel, and the UP forwards the message to the DHCP client.
[0052] (8) The DHCP client selects a DHCP server based on the DHCP-OFFER message and sends a DHCP-REQUEST message. After that, the UP forwards the DHCP-REQUEST message to the CP, which then forwards the DHCP-REQUEST message to the DHCP server.
[0053] (9) The DHCP server responds with a DHCP-ACK message.
[0054] (10) The CP parses the user's IP address and other address parameter information from the DHCP-ACK message, updates the IPoE session, issues the User Profile policy, and sets the IPoE session status to online.
[0055] (11) CP forwards the DHCP-ACK message to UP through the VXLAN tunnel.
[0056] (12) UP forwards the DHCP-ACK message to the DHCP client. The DHCP client obtains the IP address and related address parameter information based on the received DHCP-ACK message.
[0057] (13) CP synchronizes the IPoE session information to UP through the CUSP channel. Subsequently, UP periodically collects traffic statistics and sends them to CP through the CUSP channel.
[0058] (14) The CP sends an accounting start message to the AAA server to start billing for the user.
[0059] In the current process, when the control channel CUSP fails (CUSP is disconnected), new users will be temporarily unable to go online. The following scenarios may occur
[0060] (1) CUSP failure, single UP scenario, CP and UP lose connection, and new users cannot go online;
[0061] (2) CUSP failure may trigger disaster recovery switching, during which new users cannot go online.
[0062] In order to solve the above technical problems, the embodiment of the present disclosure provides a method for processing user online, the method is applied in the forwarding plane UP, such as Figure 1 As shown, the method includes:
[0063] S101 receives a user online request;
[0064] S102: when the UP identifies that the link state with the first control plane CP meets a preset condition, obtain unallocated address information from a pre-allocated subnet address pool;
[0065] S103 distributes the acquired address information to the user, so that the user can go online.
[0066] In this embodiment, the administrator can instruct the UP (the transmission device running the UP) to enable the answering function through a command line.
[0067] In this embodiment, the CP pre-sends the domain and the NAS-IP address used to send authentication messages to the authentication server (the NAS-1P address is the NAS-1P address of the CP) to the UP, and the CP also sends the pre-allocated subnet address pool to the UP, so that after the UP is disconnected from the CUSP of the CP, it can enable the answering function and obtain unallocated addresses from the subnet address pool to allocate to newly online users, so that the users can go online normally.
[0068] In this embodiment, the preset condition may include two situations:
[0069] 1. When there is no CP disaster recovery scenario, when the disconnection time of the control channel CUSP between UP and the first CP (original CP) reaches the first preset time, the preset condition is met, wherein the first preset time can be configured by the administrator. When the disconnection between UP and the CUSP of the first CP is restored before the first preset time, it can be considered as a network shock, and the UP answering function is not enabled at this time.
[0070] 2. When there is a CP disaster recovery scenario, when the control channel CUSP of the UP and the first CP (original CP) is disconnected, the UP will establish a CUSP connection with the backup CP (second CP). At this time, the preset conditions are: the switching time of the UP switching to access the second CP reaches the second preset time and the time for the UP to access the second CP reaches the third preset time.
[0071] In this embodiment, when UP recognizes that the link status with the first control plane CP meets the preset conditions, it can first complete the authentication of the user's online request. Specifically, UP obtains the authentication information in the user's online request, and constructs an authentication message according to the authentication information and sends the authentication message to the authentication server, wherein the source address of the authentication message is the NAS-IP address received from the CP.
[0072] An authentication result for the authentication message sent by the authentication server is received. If the result is that the authentication is passed, the acquired address information is allocated to the user so that the user can go online.
[0073] In this embodiment, when UP enables proxy answering, it can first send the NAS-IP address to CR, so that CR can send the authentication result received from the server to UP when sending and receiving authentication messages later. Later, when the CUSP between UP and the first CP is restored, if the user's authentication information is received, the user's authentication information can be sent to CP through the VXLAN tunnel between CP, so that CP sends an authentication message to the authentication server.
[0074] In order to elaborate on the technical solution in this application, the present disclosure also provides the following embodiments, which specifically include:
[0075] When a new user comes online during a CUSP failure or disaster recovery switch, the UP proxy function is used to process the protocol messages of the new user to ensure that the CUSP disconnection does not affect the launch of new services.
[0076] (1) Enable the UP answering function and control it through the command line (enable the function but do not activate it)
[0077] (2) When the management channel is normal, the CP pre-sends the domain, address pool configuration, and AAA (radius) nas-ip address routing to the UP.
[0078] (3) CP pre-allocates the subnet of the address to UP (CP pre-allocates the subnet to UP, and when the subnet usage reaches a certain threshold, it will be reallocated, and the atomic network can be used normally)
[0079] (3) In the CP+UP scenario, when the CUSP is disconnected, the CUSP disconnection time threshold is used to determine whether the proxy answering process is met.
[0080] A. If the packet is less than the threshold, the CUSP is considered to be disconnected, and the UP will discard the packet without processing.
[0081] B. When the CUSP disconnection time meets the threshold, the UP answering function is activated;
[0082] (4) In the disaster recovery + UP scenario, when the CUSP is disconnected, the disaster recovery switch is triggered. The UP side and the new main CP CUSP state switch (becomes Active) time threshold & the new main CP disaster recovery state switch to stable time threshold are used to jointly determine whether the proxy answering process is met.
[0083] A. For the case where the packet is less than the threshold, UP discards the packet without processing.
[0084] B. When the CUSP state switching time & the main CP disaster recovery state switching time meet the threshold, the UP answering function is activated;
[0085] (5) When the UP proxy function is activated, the NAS-IP address route pre-issued by the UP becomes Active, and the NAS-IP route of this UP is released, and the DHCP protocol interaction messages and RADIUS messages can be processed normally.
[0086] (6) In the CP+UP scenario, after the CUSP channel is restored (CUSP status switches to Active)
[0087] A. During the data synchronization process between CP and UP, UP proactively reports to CP the information of new online users (UCM, interface information, DHCP lease, traffic billing, etc.) during the fault period, ultimately ensuring that the user information of CP and UP is consistent;
[0088] B. After the data smoothing between CP and UP is completed, the UP proxy function is deactivated, and the DHCP protocol message received by UP from the client is transferred to CP through the vxlan channel. All new user online processes are handled by CP.
[0089] (7) In the disaster recovery + UP scenario, the new master CP and UP's CUSP status are switched to Active and the master CP disaster recovery status is switched to stable.
[0090] A. UP proactively reports to CP the information of new users online during the fault period (UCM, interface information, DHCP lease, traffic billing, etc.), ultimately ensuring that the user information between CP and UP and between the active and standby CPs is consistent;
[0091] B. After data smoothing between CP and UP & data smoothing between CPs is completed, the UP proxy function is deactivated, and the DHCP protocol message received by UP from the client is transferred to the CP through the vxlan channel. All new user online processes are handled by the CP.
[0092] It can be seen from the above embodiments that UP determines whether the link status with CP meets the preset conditions. When the preset conditions are met, the UP answering function can be enabled, so that the user's online process will not be affected when a CUSP failure occurs between UP and CP.
[0093] Based on the above embodiments, the present disclosure also provides a method for processing a user going online. Figure 2 As shown, the method is applied in a first control plane CP, and the method includes:
[0094] S201 pre-issues the domain, the pre-allocated sub-address pool, and the NAS-IP address route for sending authentication messages to AAA (radius) to the UP, so that when the UP identifies that the link status with the first CP meets the preset condition, it obtains the unallocated address information from the pre-allocated subnet address pool;
[0095] S202 enables the UP to distribute the acquired address information to the user, so that the user can go online.
[0096] The preset conditions include:
[0097] The disconnection time of the control channel CUSP of the UP and the first CP reaches the first preset time, or the switching time of the UP switching to the second CP reaches the second preset time and the time of the UP accessing the second CP reaches the third preset time.
[0098] Wherein, the method further comprises:
[0099] When the control channel CUSP between the first CP and the UP is restored from a disconnected state to a normal state, receiving online user information sent by the UP;
[0100] The data is updated according to the above user information.
[0101] Based on the above embodiments, the embodiment of the present disclosure further provides a transmission device, in which a forwarding plane UP function is enabled, and the transmission device includes:
[0102] A receiving module, used for receiving a user online request;
[0103] A processing module, configured to obtain unallocated address information from a pre-allocated subnet address pool when the UP identifies that the link state with the first control plane CP meets a preset condition;
[0104] The allocation module is used to allocate the acquired address information to the user so that the user can go online.
[0105] The preset conditions include: the disconnection time of the control channel CUSP between the UP and the first CP reaches a first preset time, or the switching time of the UP switching to the second CP reaches a second preset time and the time of the UP accessing the second CP reaches a third preset time.
[0106] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0107] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0108] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.
[0109] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
[0110] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A method for processing a user going online, characterized in that: The method is applied in a forwarding plane UP, and the method includes: Receive user online request; When the UP identifies that the link state with the first control plane CP meets a preset condition, the UP obtains unallocated address information from the pre-allocated subnet address pool; The acquired address information is distributed to the user so that the user can go online.
2. The method according to claim 1, characterized in that The method further includes: acquiring a pre-allocated subnet address pool and a NAS-IP address used to send an authentication message to an authentication server from the first CP.
3. The method according to claim 1, characterized in that The preset conditions include: the disconnection time of the control channel CUSP between the UP and the first CP reaches a first preset time, or the switching time of the UP switching to the second CP reaches a second preset time and the time when the UP accesses the second CP reaches a third preset time.
4. The method according to claim 1, characterized in that: The method further comprises: When the UP recognizes that the control channel CUSP between the UP and the first CP is restored, the UP synchronously sends online user information to the first CP.
5. The method according to claim 2, characterized in that: Before allocating the acquired address information to the user so that the user can go online, the method further includes: Send the user's authentication message to the authentication server, wherein the source address of the authentication message is the NAS-IP address; After receiving a notification from the authentication server that the authentication message is successfully authenticated, the acquired address information is distributed to the user so that the user can go online.
6. A method for processing a user going online, characterized in that: The method is applied in a first control plane CP, and the method includes: Pre-issue the domain, the pre-allocated sub-address pool and the NAS-IP address route for sending authentication messages to AAA (radius) to the UP, so that when the UP recognizes that the link status with the first CP meets the preset conditions, it obtains the unallocated address information from the pre-allocated subnet address pool; The UP distributes the acquired address information to the user, so that the user can go online.
7. The method according to claim 6, characterized in that The preset conditions include: The disconnection time of the control channel CUSP of the UP and the first CP reaches the first preset time, or the switching time of the UP switching to the second CP reaches the second preset time and the time of the UP accessing the second CP reaches the third preset time.
8. The method according to claim 6, characterized in that The method further comprises: When the control channel CUSP between the first CP and the UP is restored from a disconnected state to a normal state, receiving online user information sent by the UP; The data is updated according to the above user information.
9. A transmission device, characterized in that: The transmission device is enabled with a forwarding plane UP function, and the transmission device includes: A receiving module, used for receiving a user online request; A processing module, configured to obtain unallocated address information from a pre-allocated subnet address pool when the UP identifies that the link state with the first control plane CP meets a preset condition; The allocation module is used to allocate the acquired address information to the user so that the user can go online.
10. The transmission device according to claim 9, characterized in that: The preset conditions include: the disconnection time of the control channel CUSP between the UP and the first CP reaches a first preset time, or the switching time of the UP switching to the second CP reaches a second preset time and the time when the UP accesses the second CP reaches a third preset time.
Citation Information
Patent Citations
Message processing method, system and device
CN113691435A
Access method, apparatus and system for client device
WO2024051294A1
Cited By
Message processing method and device
CN120675974A