Communication methods and broadband access server device
By autonomously allocating network access addresses on the forwarding plane and performing identity authentication on the control plane of the broadband access server, the problem of user data not being able to be forwarded when the control plane and forwarding plane networks are disconnected is solved, thus achieving stable processing of user data and service continuity.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2025-11-14
- Publication Date
- 2026-06-18
AI Technical Summary
In the event of a network interruption between the control plane and the forwarding plane of the broadband access server, user data cannot be forwarded normally, resulting in users being unable to go online.
When the communication connection between the control plane and the forwarding plane is lost, the forwarding plane autonomously allocates a network access address to the user and establishes a connection. When the connection is restored, the control plane performs identity authentication and records the allocation status of the access address to ensure normal processing of user data and service continuity.
Even when the control plane and forwarding plane networks are disconnected, the normal processing of user data can still be ensured, improving the stability of user data processing and network user experience, and avoiding user connection interruption and service interruption.
Smart Images

Figure CN2025134976_18062026_PF_FP_ABST
Abstract
Description
Communication methods and broadband access server equipment
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202411842928.4, filed on December 13, 2024, entitled "Communication Method and Broadband Access Server Equipment", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and in particular to a communication method and a broadband access server device. Background Technology
[0004] A control-and-forward separation vBRAS (Virtual Broadband Remote Access Server) device consists of two parts: a CP (Control Plane) and a UP (User Plane). The CP and UP communicate via the CP interface protocol. In related technologies, to prevent CP malfunctions, a dual-machine hot standby networking mode is typically used between CPs, i.e., two CPs are connected to the same UP. However, in this networking mode, if the UP is working normally, but all CPs connected to the UP experience device malfunctions, user data cannot be forwarded normally. Therefore, how to ensure the normal forwarding of user data even in the event of a complete network interruption between the CP and UP is one of the urgent problems to be solved. Summary of the Invention
[0005] The purpose of this application is to provide a communication method and a broadband access server device to solve the problem that users cannot go online after the UP and CP networks are interrupted, resulting in the UP being unable to process user data.
[0006] On one hand, embodiments of this application provide a communication method applied to the forwarding plane UP of a broadband access server. The method includes: receiving a network access request from a first user when the communication connection with the control plane CP is disconnected; allocating a first network access address to the first user; and establishing a network connection for the first user based on the first network access address.
[0007] On the other hand, embodiments of this application provide a communication method applied to the control plane (CP) of a broadband access server. The method includes: obtaining user information of a first user when the communication connection between the CP and the forwarding plane (UP) is restored; the first user was connected to the UP when the communication connection between the CP and the UP was disconnected; authenticating the first user based on the user information; and recording the allocation status of the first network access address of the first user in response to successful authentication.
[0008] In another aspect, embodiments of this application provide a forwarding plane (UP) device for a broadband access server, comprising: a receiving module, configured to receive a network access request from a first user when the communication connection with the control plane (CP) is disconnected; and a network connection module, configured to allocate a first network access address to the first user and establish a network connection for the first user based on the first network access address.
[0009] In another aspect, embodiments of this application provide a control plane (CP) device for a broadband access server, comprising: an acquisition module, configured to acquire user information of a first user when the communication connection between the CP and the UP is restored; the first user is connected to the UP when the communication connection between the CP and the UP is disconnected; an authentication module, configured to authenticate the first user based on the user information; and a recording module, configured to record the allocation status of the first network access address of the first user in response to successful authentication.
[0010] In another aspect, embodiments of this application provide an electronic device, including a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being used to call and execute the computer program from the memory to implement the above-described communication method.
[0011] In another aspect, embodiments of this application provide a computer-readable storage medium for storing a computer program that can be executed by a processor to implement the above-described communication method.
[0012] In another aspect, embodiments of this application provide a computer program product, including a computer program, which is executed by a processor to implement the above-described communication method. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in one or more embodiments of this application 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 only some embodiments recorded in one or more embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 is a schematic structural diagram of a vBRAS device according to an embodiment of this application;
[0015] Figure 2 is a schematic flowchart of a communication method according to an embodiment of this application;
[0016] Figure 3 is a schematic flowchart of a communication method according to another embodiment of this application;
[0017] Figure 4 is a schematic structural diagram of a vBRAS device according to another embodiment of this application;
[0018] Figure 5 is a schematic block diagram of a broadband access server device according to an embodiment of this application;
[0019] Figure 6 is a schematic block diagram of a broadband access server device according to another embodiment of this application;
[0020] Figure 7 is a schematic block diagram of an electronic device according to an embodiment of the present application. Detailed Implementation
[0021] This application provides a communication method and a broadband access server device to solve the problem that users cannot go online after the UP and CP networks are interrupted, resulting in the UP being unable to process user data.
[0022] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in 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 in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.
[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein.
[0024] Figure 1 is a schematic structural diagram of a vBRAS device according to an embodiment of this application. As shown in Figure 1, the vBRAS device includes a CP and a UP. The CP and UP communicate with each other through the CP interface protocol, which includes a protocol interface, a control interface, and a management interface. The CP can implement user management, user access control, UP management, address management, etc., while the UP can implement traffic forwarding, traffic statistics, unicast routing, multicast routing, user access control, address management, etc.
[0025] Figure 2 is a schematic flowchart of a communication method according to an embodiment of this application, which is applied to the UP shown in Figure 1. As shown in Figure 2, the method includes the following steps S102-S104.
[0026] S202, when the communication connection with the CP is broken, a network access request from the first user is received.
[0027] The network access request of the first user may carry the user information of the first user, which may include at least one of the following: the username, password, name, phone number, and identity code used by the user to access the UP.
[0028] S204, assign a first network access address to the first user, and establish a network connection for the first user based on the first network access address.
[0029] In one example, when the UP assigns a first network access address to the first user, it selects the first network access address from the UP's preset address pool and assigns it to the first user. The preset address pool includes multiple network access addresses, which are pre-assigned network access addresses to the UP.
[0030] In one instance, multiple network access addresses in a pre-defined address pool are pre-assigned to the UP by the CP.
[0031] In one example, when the UP assigns a first network access address to the first user, it selects different methods to allocate the address based on whether the first user is a new user or a user already saved in the UP. A user already saved in the UP refers to a user whose user information is stored in the UP, i.e., an existing user who has previously established a network connection with the UP. After establishing a network connection for a user, the UP can associate the user's network access address with the user information and store it locally, for example, associating the user's network access address with the username. Thus, upon receiving a network access request from the first user, the UP can first determine whether the first user is a new user or a user already saved in the UP based on the user information carried in the network access request, and then select the appropriate method to assign the first network access address accordingly.
[0032] In response to the first user being a new user, the UP selects a first network access address from the preset address pool and assigns it to the first user. This first network access address is not assigned to any other user.
[0033] In response to the first user being a user already saved in the UP, the first network access address corresponding to the first user, already saved in the UP, is assigned to the first user. This first network access address corresponding to the first user is the first network access address associated with the first user's user information and stored in the UP. That is, if the communication connection with the CP is broken, and the first user is a user already saved in the UP, it means that the first user had already established a communication connection with the UP before the communication connection between the UP and CP was broken, and the first user lost connection due to the break in the communication connection between the UP and CP. In this case, the UP assigns the network access address used by the first user when connecting to the UP, enabling the first user to quickly restore the communication connection with the UP.
[0034] Furthermore, if the first user is an existing user, the UP can also select an unassigned network access address from the preset address pool and assign it to the first user. That is, during the period when the communication connection between the UP and CP is interrupted, if an existing user requests access, the UP can disregard the network access address used by the existing user when accessing the UP, and instead select a new network access address from the preset address pool for allocation. The newly selected network access address can be the same as or different from the network access address previously used by the existing user.
[0035] In one instance, the UP does not need to authenticate the first user before assigning the first network access address. That is, after receiving the first user's network access request, the UP directly assigns the first network access address to the first user.
[0036] In one example, a pre-configured fault protection period of a predetermined duration is set. During the fault protection period, the UP can act as an agent for the CP to execute steps S202-S204. If the communication connection between the CP and the UP has not been restored after the fault protection period expires, the UP can disconnect the communication connection with the first user. The predetermined duration of the fault protection period can be configured according to actual business needs.
[0037] In this embodiment, the UP assigns the first network access address to the first user using a DHCP (Dynamic Host Configuration Protocol) proxy. That is, the UP acts as a proxy for the CP to assign the first network access address to the first user.
[0038] By employing the technical solution of this application embodiment, when the communication connection between the UP and CP is disconnected, after the UP receives the network access request from the first user, it assigns a first network access address to the first user and establishes a network connection for the first user based on the first network access address. It is evident that even when the communication connection between the UP and CP is disconnected, the UP can independently assign a first network access address to the requesting first user without interacting with the CP or waiting for the CP to reconnect. Therefore, it can still ensure the normal processing of user data, effectively improving the stability of the UP in processing user data and enhancing the user's network experience.
[0039] In one embodiment, after establishing a network connection for a first user based on a first network access address, the UP can restrict the first user's first type of service requests.
[0040] The first type of business request is determined based on preset rules. These preset rules indicate the types of businesses that are restricted and may include at least one of the following: businesses with an importance level higher than or equal to a specified level, or businesses of a specified type. If the business type corresponding to a business request matches the business type indicated by the preset rules, the business request is determined to belong to the first type of business request.
[0041] In one example, a corresponding business importance level is pre-configured for each type of business. For example, the business importance level is represented by numbers such as Level 1, Level 2, Level 3, etc., with higher numbers indicating higher business importance. Assuming the specified level is 2, if the business importance level of the first user's business request is higher than or equal to 2 (i.e., a business request at Level 2 or above), then the business request will be identified as a Class 1 business request and subject to business restrictions.
[0042] In one example, specific service types are pre-configured, such as configuring some non-basic services as specific service types. If the service requested by the first user belongs to a specific service type, i.e., a non-basic service, then the service request will be identified as a first-type service request and subject to service restrictions, so that only the first user's service requests for basic services can be processed.
[0043] In one instance, restricting the first type of business request can be done by: refusing to process the first type of business request.
[0044] In this embodiment, since the first user's first network access address is directly assigned by the UP, the identity of the first user is unknown to the UP. By restricting the first user's first type of service requests, the UP only processes the first user's basic services or services with low service importance. This ensures that user data processing continues while maintaining service processing security even when the communication connection between the UP and CP is lost.
[0045] In one embodiment, upon restoration of the communication connection with the CP, in response to successful authentication of the first user, the service restriction on the first user's first type of service request is lifted. After the service restriction on the first user's first type of service request is lifted, the UP can process the first user's first type of service request.
[0046] In one instance, upon restoration of communication with the CP, the CP authenticates the first user and sends the authentication result to the UP. The authentication result may be either authentication failed or authentication succeeded.
[0047] Once the first user's identity is successfully authenticated, the UP can proactively lift the service restrictions on the first user's first type of service requests, or it can lift the service restrictions on the first user's first type of service requests after receiving a lifting instruction from the CP for the first user.
[0048] In this embodiment, when the first user's identity authentication is successful, the service restriction on the first user's first type of service request is lifted in a timely manner, so that the first user who accessed the UP during the period when the communication connection between the UP and CP is disconnected can request to process higher-level services after identity authentication is successful, thereby improving the user's network usage experience.
[0049] In one embodiment, upon restoration of the communication connection with the CP, in response to successful authentication of the first user, the user information and the first network access address of the first user are recorded in the UP.
[0050] In one example, the UP maintains a user information table. This table records user information for users who establish communication connections with the UP, as well as the network access address used by the user when establishing the communication connection with the UP. User information may include at least one of the following: username, password, name, phone number, and unique identification code used by the user to access the UP.
[0051] Once the first user's identity is successfully authenticated, the UP can associate the first user's user information and the first network access address in the user information table, thus recording the first user as a "returning user." This allows the UP to retrieve the first user's information from the user information table the next time the user connects, and establish a network connection for the first user based on the first network access address associated with that information.
[0052] In one embodiment, if the communication connection with the CP is restored, the communication connection with the first user is disconnected in response to the first user's authentication failure.
[0053] In one instance, upon restoration of communication with the CP, the CP authenticates the first user and sends the authentication result to the UP. The authentication result may be either authentication failed or authentication succeeded.
[0054] If the first user's authentication fails, the UP can proactively disconnect the communication connection with the first user, or it can disconnect the communication connection with the first user after receiving a disconnection instruction from the CP for the first user.
[0055] In this embodiment, if the first user fails to authenticate, the communication connection with the first user is disconnected, so that the user who failed to authenticate can be kicked out in time, ensuring that all users communicating with the UP are authenticated users, thus improving communication security.
[0056] In one embodiment, if the communication connection between the UP and CP is broken, users who have already established a network connection with the UP can remain online. The UP will not actively kick users offline, thereby avoiding service interruption caused by the break in the communication connection between the UP and CP and improving the stability of the UP in processing user data.
[0057] Figure 3 is a schematic flowchart of a communication method according to an embodiment of this application, which is applied to the CP shown in Figure 1. As shown in Figure 3, the method includes the following steps S302-S306.
[0058] S302, if the communication connection with UP is restored, obtain the user information of the first user, who was connected to UP when the communication connection between CP and UP was broken.
[0059] The user information may include at least one of the following: the username, password, and address information used by the user to access the UP. The first network connection address used by the first user to connect to the UP is assigned by the UP. The first user can be a new user or an existing user. A new user refers to a user who has never established a network connection with the UP, or a user who has established a network connection with the UP but whose lease period has expired. An existing user refers to a user who has previously established a network connection with the UP and whose user information is stored in the UP.
[0060] In one instance, if the communication connection with the UP is restored, the UP proactively sends the first user's information to the CP. Alternatively, the CP instructs the UP to send the first user's information, and the UP, based on the CP's instruction, sends the first user's information to the CP.
[0061] S304, based on user information, performs identity authentication for the first user.
[0062] The user information includes authentication information used to verify the identity of the first user. Authentication information may be part or all of the user information.
[0063] In one example, the CP pre-stores a user information table, which records the user information of users who have passed authentication. The user information may include at least one of the following: the username, password, name, phone number, and unique identification code used by the user to access the UP.
[0064] When CP authenticates the first user, it compares the first user's information with the user information table. If the user information table contains the first user's information, the authentication is successful. If the user information table does not contain the first user's information, the authentication is unsuccessful.
[0065] S306, in response to successful authentication, records the allocation status of the first user's first network access address.
[0066] The allocation status indicates that the first network access address has been allocated to the first user. The CP records the allocation status of the first user's first network access address, which can be done as follows: the CP records the association between the first network access address and the user information of the first user, and this association indicates that the first network access address has been allocated to the first user.
[0067] In this embodiment, after the communication connection between the CP and UP is restored and the identity of the first user is successfully authenticated, the CP does not need to reassign a new network access address to the first user. Instead, by recording the allocation status of the first network access address assigned to the first user by the UP, the first user can continue to use the first network access address to communicate with the UP. This process can be referred to as the CP's reservation behavior for the first network access address after going online.
[0068] By employing the technical solution of this application embodiment, when the communication connection between the CP and UP is restored, the first user accessing the UP is authenticated, and after successful authentication, the allocation status of the first user's first network access address is recorded, thus achieving "placement" of the first network access address. This "placement" method not only avoids the first network access address being repeatedly allocated to other users, but also allows the first user to continue using the first network access address to communicate with the UP without the need for the CP to reallocate a new network access address after the communication connection between the UP and CP is restored. This avoids the first user's connection being interrupted due to the CP's re-connection, ensuring service continuity and improving the stability of the UP in processing user data.
[0069] In one embodiment, in response to failed authentication, the CP instructs the UP to disconnect the communication connection with the first user. By instructing the UP to disconnect the communication connection with the first user, the user whose authentication failed can be promptly removed, ensuring that all users communicating with the UP are authenticated users, thus improving communication security.
[0070] In one embodiment, in response to successful authentication, the CP instructs the UP to remove service restrictions on the first user. By instructing the UP to remove service restrictions on the first user's first type of service requests, the first user who accessed the UP during the period when the communication connection between the UP and CP was interrupted can request processing of higher-level services after successful authentication, thereby improving the user's network experience.
[0071] The communication method provided in this application will be illustrated below through examples.
[0072] Figure 4 is a schematic structural diagram of a vBRAS device according to another embodiment of this application. As shown in Figure 4, the vBRAS device includes a UP and two CPs, CP1 and CP2, which are hot-standby protections for each other. A communication connection between the UP and at least one of CP1 or CP2 can be considered a communication connection between the UP and the CP. The UP stores a preset address pool and a user information table. The preset address pool includes multiple network access addresses pre-allocated by the CPs. The user information table records user information of users who establish network connections with the UP, as well as the network access addresses used when users establish network connections with the UP. In Figure 4, the UP establishes network connections with users 1, 2, and 3, and forwards user data for users 1, 2, and 3.
[0073] In this scenario, User 1 connected before the communication connection between the UP and CP was broken, while Users 2 and 3 connected during the period when the communication connection between the UP and CP was broken. Assume User 1 is an existing user, User 2 is a new user, and User 3 is an illegitimate new user. An existing user is one who has previously established a network connection with the UP and whose user information is stored in the UP. A new user is one who has never established a network connection with the UP, or one who has established a network connection but whose lease has expired. An illegitimate user is one whose identity authentication failed or who did not perform identity authentication.
[0074] During the communication connection between UP and CP, CP assigns network access address 1 to user 1, and UP establishes a network connection with user 1 based on network access address 1. UP stores user 1's user information in the user information table.
[0075] At a certain point, the UP detects a disconnection in the communication connection with the CP, entering a fault protection period. During this time, the UP maintains a network connection with User 1 and continues to process User 1's service requests. After User 1's lease expires, the UP disconnects from User 1. The UP then maintains a continuous network connection with User 1 regardless of User 1's lease period.
[0076] During the fault protection period, User 2 sends a network access request to UP. UP does not find User 2's user information in its local user information table, thus determining that User 2 is a new user. UP does not authenticate User 2, but directly selects an unassigned network access address 2 from its local preset address pool and assigns it to User 2, establishing a network connection for User 2 based on network access address 2.
[0077] During the fault protection period, User 3 sends a network access request to UP. UP does not find User 3's information in its local user information table, thus determining User 3 to be a new user. UP does not authenticate User 3, but directly selects an unassigned network access address 3 from its local preset address pool and assigns it to User 3, establishing a network connection for User 3 based on the network access address 3.
[0078] At some point later, the communication connection between CP1 and UP is restored, entering the fault recovery period. At this time, CP1 obtains the user information of users who accessed the UP during the fault protection period, including user information for user 1, user 2, and user 3. CP1 authenticates the users who accessed the UP during the fault protection period, comparing the user information of user 1, user 2, and user 3 with its local user table, which records the user information of users who passed authentication. Since user 1 accessed the UP before the communication connection between UP and CP was broken, it means that user 1 has been authenticated by either CP1 or CP2 and the authentication was successful. Therefore, CP1's user table must contain user information for user 1, and CP1 determines that user 1's authentication was successful. Since users 2 and 3 both accessed the UP during the period when the communication connection between UP and CP was broken, they were not authenticated when connecting to the UP. Assuming that CP1 finds user information for user 2 in its user table but not for user 3, then user 2 is determined to be a legitimate new user, and user 3 is an illegitimate new user. Then, CP1 can instruct UP to disconnect the network connection with user 3. Following CP1's instructions, UP disconnects the network connection with user 3 and stops data forwarding from user 3.
[0079] Furthermore, since user 2's network access address 2 is assigned by UP, after CP1 authenticates user 2, it records the assignment status of network access address 2 to indicate that network access address 2 has been assigned to user 2. This prevents network access address 2 from being repeatedly assigned to other users and allows user 2 to continue using network access address 2 without having to go offline and then come back online, ensuring the continuity of user 2's data forwarding.
[0080] As can be seen, the communication method of this application embodiment can still achieve continuity in user data forwarding and network access for new users even if the communication connection between UP and CP is completely disconnected. Furthermore, after the communication connection between UP and CP is restored, the "placeholder" processing of the network access address by CP ensures that UP's forwarding and online access for users are unaffected, and that data forwarding for legitimate users (i.e., users whose identities have been authenticated) is uninterrupted, greatly improving the stability of user data forwarding.
[0081] In summary, specific embodiments of this subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing can be advantageous.
[0082] The above are the communication methods provided in the embodiments of this application. Based on the same idea, the embodiments of this application also provide a broadband access server device.
[0083] Figure 5 is a schematic block diagram of a broadband access server device according to an embodiment of this application. In this embodiment, the broadband access server device is UP. As shown in Figure 5, the UP includes: a receiving module 51, used to receive a network access request from a first user when the communication connection with the CP is disconnected; and a network connection module 52, used to allocate a first network access address to the first user and establish a network connection for the first user based on the first network access address.
[0084] In one embodiment, when the network connection module 52 assigns a first network access address to the first user, it performs the following steps: in response to the first user being a new user, it selects the first network access address from the preset address pool of the UP and assigns the first network access address to the first user; wherein, the preset address pool includes multiple network access addresses, and the multiple network access addresses are network access addresses pre-assigned to the UP.
[0085] In one embodiment, when the network connection module 52 allocates a first network access address to the first user, it performs the following steps: in response to the first user being a user already saved in the UP, it allocates the first network access address corresponding to the first user already saved in the UP to the first user.
[0086] In one embodiment, the UP further includes: a restriction module, configured to restrict a first type of service request of the first user after establishing a network connection for the first user based on the first network access address, wherein the first type of service request is determined based on a preset rule.
[0087] In one embodiment, the UP further includes: a disconnection module, configured to disconnect the communication connection with the first user in response to the first user's authentication failure, provided that the communication connection with the CP is restored.
[0088] In one embodiment, the UP further includes: a derestriction module, configured to, upon restoration of the communication connection with the CP, remove the service restriction on the first type of service request of the first user in response to successful authentication of the first user.
[0089] By employing the technical solution of this application embodiment, when the communication connection between the UP and CP is disconnected, after the UP receives the network access request from the first user, it assigns a first network access address to the first user and establishes a network connection for the first user based on the first network access address. It is evident that even when the communication connection between the UP and CP is disconnected, the UP can independently assign a first network access address to the requesting first user without interacting with the CP or waiting for the CP to reconnect. Therefore, it can still ensure the normal processing of user data, effectively improving the stability of the UP in processing user data and enhancing the user's network experience.
[0090] Those skilled in the art will understand that the broadband access server device in Figure 5 can be used to implement the communication method applied to UP described above. The detailed description should be similar to that described in the method section above, and will not be repeated here to avoid redundancy.
[0091] Figure 6 is a schematic block diagram of a broadband access server device according to another embodiment of this application. In this embodiment, the broadband access server is a CP. As shown in Figure 6, the CP includes: an acquisition module 61, used to acquire user information of a first user when the communication connection between the CP and the UP is restored; the first user is connected to the UP when the communication connection between the CP and the UP is disconnected; an authentication module 62, used to authenticate the first user based on the user information; and a recording module 63, used to record the allocation status of the first network access address of the first user in response to successful authentication.
[0092] In one embodiment, the CP further includes: an indication module, configured to, in response to the authentication failure, indicate disconnection of the communication connection with the first user; or, in response to the authentication success, indicate cancellation of service restrictions on the first user.
[0093] By employing the technical solution of this application embodiment, when the communication connection between the CP and UP is restored, the first user accessing the UP is authenticated, and after successful authentication, the allocation status of the first user's first network access address is recorded, thus achieving "placement" of the first network access address. This "placement" method not only avoids the first network access address being repeatedly allocated to other users, but also allows the first user to continue using the first network access address to communicate with the UP without the need for the CP to reallocate a new network access address after the communication connection between the UP and CP is restored. This avoids the first user's connection being interrupted due to the CP's re-connection, ensuring service continuity and improving the stability of the UP in processing user data.
[0094] Those skilled in the art will understand that the broadband access server device in Figure 6 can be used to implement the communication method applied to CP described above. The detailed description should be similar to that described in the method section above, and will not be repeated here to avoid redundancy.
[0095] Based on the same idea, this application also provides an electronic device, as shown in FIG7. The electronic device can vary considerably due to differences in configuration or performance, and may include one or more processors 701 and memories 702. The memories 702 may store one or more application programs or data. The memories 702 may be temporary or persistent storage. The application programs stored in the memories 702 may include one or more modules (not shown), each module including a series of computer-executable instructions for the electronic device. Furthermore, the processor 701 may be configured to communicate with the memories 702 and execute the series of computer-executable instructions stored in the memories 702 on the electronic device. The electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input / output interfaces 705, and one or more keyboards 706.
[0096] In this embodiment, the electronic device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: receiving a network access request from a first user when the communication connection with the control plane CP is disconnected; assigning a first network access address to the first user; and establishing a network connection for the first user based on the first network access address.
[0097] By employing the technical solution of this application embodiment, when the communication connection between the UP and CP is disconnected, after the UP receives the network access request from the first user, it assigns a first network access address to the first user and establishes a network connection for the first user based on the first network access address. It is evident that even when the communication connection between the UP and CP is disconnected, the UP can independently assign a first network access address to the requesting first user without interacting with the CP or waiting for the CP to reconnect. Therefore, it can still ensure the normal processing of user data, effectively improving the stability of the UP in processing user data and enhancing the user's network experience.
[0098] In another embodiment, the electronic device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for use in the electronic device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: upon restoration of communication connection with the forwarding plane UP, obtaining user information of a first user; the first user being connected to the UP when the communication connection between the CP and the UP was disconnected; authenticating the first user based on the user information; and recording the allocation status of the first network access address of the first user in response to successful authentication.
[0099] By employing the technical solution of this application embodiment, when the communication connection between the CP and UP is restored, the first user accessing the UP is authenticated, and after successful authentication, the allocation status of the first user's first network access address is recorded, thus achieving "placement" of the first network access address. This "placement" method not only avoids the first network access address being repeatedly allocated to other users, but also allows the first user to continue using the first network access address to communicate with the UP without the need for the CP to reallocate a new network access address after the communication connection between the UP and CP is restored. This avoids the first user's connection being interrupted due to the CP's re-connection, ensuring service continuity and improving the stability of the UP in processing user data.
[0100] This application also proposes a computer-readable storage medium that stores one or more computer programs, the one or more computer programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform various processes of the above-described communication method embodiments and to perform: receiving a network access request from a first user when the communication connection with the control plane CP is disconnected; assigning a first network access address to the first user; and establishing a network connection for the first user based on the first network access address.
[0101] By employing the technical solution of this application embodiment, when the communication connection between the UP and CP is disconnected, after the UP receives the network access request from the first user, it assigns a first network access address to the first user and establishes a network connection for the first user based on the first network access address. It is evident that even when the communication connection between the UP and CP is disconnected, the UP can independently assign a first network access address to the requesting first user without interacting with the CP or waiting for the CP to reconnect. Therefore, it can still ensure the normal processing of user data, effectively improving the stability of the UP in processing user data and enhancing the user's network experience.
[0102] This application also proposes a computer-readable storage medium storing one or more computer programs, the computer programs including instructions that, when executed by an electronic device including multiple applications, enable the electronic device to perform various processes of the above-described communication method embodiments, and to perform: obtaining user information of a first user when the communication connection with the forwarding plane UP is restored; the first user was connected to the UP when the communication connection between the CP and the UP was broken; authenticating the first user based on the user information; and recording the allocation status of the first user's first network access address in response to successful authentication.
[0103] By employing the technical solution of this application embodiment, when the communication connection between the CP and UP is restored, the first user accessing the UP is authenticated, and after successful authentication, the allocation status of the first user's first network access address is recorded, thus achieving "placement" of the first network access address. This "placement" method not only avoids the first network access address being repeatedly allocated to other users, but also allows the first user to continue using the first network access address to communicate with the UP without the need for the CP to reallocate a new network access address after the communication connection between the UP and CP is restored. This avoids the first user's connection being interrupted due to the CP's re-connection, ensuring service continuity and improving the stability of the UP in processing user data.
[0104] This application provides a computer program product, including a computer program, which is executed by a processor to implement the various processes of the above-described communication method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.
[0105] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products having certain functions. A typical implementation is a computer. A computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination thereof.
[0106] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0107] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0108] This application is described with reference to flowchart illustrations and / or block diagrams of methods (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing processor to produce a machine, such that the instructions, which execute via the computer or other programmable data processing processor, create means for implementing the functions specified in one or more flowchart illustrations and / or one or more block diagrams.
[0109] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0110] These computer program instructions may also be loaded onto a computer or other programmable data processing to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable device, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0111] In a typical configuration, computing includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0112] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0113] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage, or any other non-transferable medium that can be used to store information that can be accessed computationally. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0114] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, or product that includes a list of elements, or includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, or product. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, or product that includes said element.
[0115] This application can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage.
[0116] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0117] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the scope of the claims of this application.
Claims
1. A communication method applied to the forwarding plane UP of a broadband access server, the method comprising: In the event that the communication connection with the control plane CP is lost, a network access request from the first user is received; Assign a first network access address to the first user, and establish a network connection for the first user based on the first network access address.
2. The method according to claim 1, wherein allocating a first network access address to the first user comprises: In response to the first user being a new user, the first network access address is selected from the preset address pool of the UP, and the first network access address is assigned to the first user; The preset address pool includes multiple network access addresses, which are network access addresses pre-assigned to the UP.
3. The method according to claim 1, wherein allocating a first network access address to the first user comprises: In response to the first user being a user already saved in the UP, the first network access address corresponding to the first user already saved in the UP is assigned to the first user.
4. The method according to claim 1 or 2, further comprising, after establishing a network connection for the first user based on the first network access address: Business restrictions are imposed on the first type of business requests of the first user, wherein the first type of business requests are determined based on preset rules.
5. The method according to claim 1 or 2, further comprising: If the communication connection with the CP is restored, the communication connection with the first user is disconnected in response to the first user's authentication failure.
6. The method according to claim 4, further comprising: Upon restoration of the communication connection with the CP, in response to successful authentication of the first user, the service restriction on the first type of service request of the first user is lifted.
7. A communication method applied to the control plane (CP) of a broadband access server, the method comprising: If the communication connection with the forwarding plane UP is restored, obtain the user information of the first user; The first user connects to the UP when the communication connection between the CP and the UP is broken; Based on the user information, the first user is authenticated. In response to successful identity authentication, the allocation status of the first network access address of the first user is recorded.
8. The method according to claim 7, further comprising: In response to the failed authentication, the communication connection with the first user is disconnected. Alternatively, in response to successful identity authentication, instruct the removal of service restrictions on the first user.
9. A forwarding plane (UP) device for a broadband access server, comprising: The receiving module is used to receive a network access request from a first user when the communication connection with the control plane CP is broken; The network connection module is used to assign a first network access address to the first user and establish a network connection for the first user based on the first network access address.
10. A control plane (CP) device for a broadband access server, comprising: The acquisition module is used to acquire the user information of the first user when the communication connection with the forwarding plane UP is restored; The first user connects to the UP when the communication connection between the CP and the UP is broken; An authentication module is used to authenticate the identity of the first user based on the user information; The recording module is used to record the allocation status of the first network access address of the first user in response to successful identity authentication.
11. An electronic device comprising a processor and a memory electrically connected to the processor, the memory storing a computer program, the processor being configured to call and execute the computer program from the memory to implement the communication method as claimed in any one of claims 1-8.
12. A computer-readable storage medium for storing a computer program that can be executed by a processor to implement the communication method as described in any one of claims 1-8.
13. A computer program product comprising a computer program that is executed by a processor to implement the communication method as described in any one of claims 1-8.