Communication method and broadband access server equipment
By independently allocating network access addresses and establishing connections on the forwarding plane of the broadband access server, and performing identity authentication and recording allocation status on the control plane, the problem of user data being unable to be forwarded normally when the network of the control plane and forwarding plane is interrupted, and the stability of data processing and user experience are improved.
Patent Information
- Application Number
- CN202411842928.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-03-25
AI Technical Summary
When the network between the control surface and forwarding surface of the broadband access server is completely interrupted, the user cannot go online, resulting in the user data being unable to forward normally.
When the communication connection with the control plane is disconnected, after receiving the user's network access request, the forwarding plane independently assigns the user a network access address and establishes a network connection. At the same time, when the communication connection is restored, the control plane performs identity authentication and records the allocation status of the network access address to ensure the normal processing of user data.
When the communication connection between the control plane and the forwarding plane is disconnected, the normal processing of user data can be ensured, which improves the stability of forwarding plane processing user data and the user's network usage experience.
Smart Images

Figure CN119696948A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method and a broadband access server device. Background Art
[0002] The vBRAS (Virtual Broadband Remote Access Server) device with separated control and forwarding includes two parts: CP (Control Plane) and UP (User Plane). Communication between CP and UP is achieved through the CP interface protocol. In related technologies, in order to prevent CP abnormalities, a dual-machine hot standby networking mode is usually used between CPs, that is, two CPs are connected to the same UP. However, in the networking mode, if the UP works normally but all CPs connected to the UP have equipment operation abnormalities, user data cannot be forwarded normally. Therefore, how to ensure the normal forwarding of user data when the network between CP and UP is completely interrupted is one of the problems that need to be solved urgently. Summary of the invention
[0003] The purpose of the embodiments of the present 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.
[0004] To solve the above technical problems, the embodiments of the present application are implemented as follows: On the one hand, an embodiment of the present application provides a communication method, which is applied to a forwarding plane UP of a broadband access server, and the method includes: In a case where the communication connection with the control plane CP is disconnected, receiving a network access request of a first user; A first network access address is allocated to the first user, and a network connection is established for the first user based on the first network access address.
[0005] On the other hand, an embodiment of the present application provides a communication method, which is applied to a control plane CP of a broadband access server, and the method includes: When the communication connection with the forwarding plane UP is restored, user information of a first user is acquired; the first user is connected to the UP when the communication connection between the CP and the UP is disconnected; Based on the user information, authenticating the first user; In response to the identity authentication being successful, an allocation status of the first network access address of the first user is recorded.
[0006] On the other hand, an embodiment of the present application provides a forwarding plane UP device of a broadband access server, including: A receiving module, configured to receive a network access request of a first user when the communication connection with the control plane CP is disconnected; A network connection module is 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.
[0007] On the other hand, an embodiment of the present application provides a control plane CP device of a broadband access server, including: an acquisition module, configured to acquire user information of a first user when the communication connection with the forwarding plane 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 perform identity authentication on 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 the identity authentication being passed.
[0008] On the other hand, an embodiment of the present application provides 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-mentioned communication method.
[0009] On the other hand, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program can be executed by a processor to implement the above-mentioned communication method.
[0010] On the other hand, an embodiment of the present application provides a computer program product, including a computer program, wherein the computer program is executed by a processor to implement the above communication method.
[0011] By adopting the technical solution of the embodiment of the present application, when the communication connection between UP and CP is disconnected, after UP receives the network access request of the first user, it allocates the 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 can be seen that when the communication connection between UP and CP is disconnected, UP can autonomously allocate the first network access address to the first user requesting access, without interacting with CP, and without waiting for CP to come back online, so it can still ensure the normal processing of user data, effectively improve the stability of UP processing user data, and improve the user's network usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate one or more embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0013] Figure 1 is a schematic structural diagram of a vBRAS device according to an embodiment of the present application; Figure 2 is a schematic flow chart of a communication method according to an embodiment of the present application; Figure 3 is a schematic flow chart of a communication method according to another embodiment of the present application; Figure 4 is a schematic structural diagram of a vBRAS device according to another embodiment of the present application; Figure 5 is a schematic block diagram of a broadband access server device according to an embodiment of the present application; Figure 6 is a schematic block diagram of a broadband access server device according to another embodiment of the present application; Figure 7 It is a schematic block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0014] The embodiments of the present application provide a communication method and a broadband access server device, which are used to solve the problem that a user cannot go online after a UP and CP network interruption causes the UP to be unable to process user data.
[0015] In order 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 in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0016] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein.
[0017] Figure 1is a schematic structural diagram of a vBRAS device according to an embodiment of the present application, such as Figure 1 As shown in the figure, the vBRAS device includes CP and UP. The CP and UP communicate through the CP interface protocol, including protocol interface, control interface and management interface. Among them, CP can implement user management, user access control, UP management, address management, etc., and UP can implement traffic forwarding, traffic statistics, unicast routing, multicast routing, user access control, address management, etc.
[0018] Figure 2 is a schematic flow chart of a communication method according to an embodiment of the present application, the communication method is applied to Figure 1 As shown in UP. Figure 2 As shown, the method includes the following steps S102-S104: S202: When the communication connection with the CP is disconnected, a network access request from a first user is received.
[0019] The network access request of the first user may carry the user information of the first user, and the user information may include at least one of the following: the user name, password, user name, telephone number, identity code for unique identification, etc. used by the user to access the UP.
[0020] S204: 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.
[0021] Optionally, when allocating the first network access address to the first user, the UP selects the first network access address from a preset address pool of the UP and allocates it 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-allocated to the UP.
[0022] Optionally, a plurality of network access addresses in a preset address pool are pre-allocated to the UP by the CP.
[0023] Optionally, when UP allocates a first network access address to the first user, different methods are selected to allocate the first network access address to the first user in a targeted manner according to whether the first user is a new user or a user saved in UP. Users saved in UP refer to users whose user information has been saved in UP, that is, old users who have established a network connection with UP. After UP establishes a network connection for the user, the user's network access address can be associated with the user information and stored locally in UP, for example, the user's network access address is associated with the user name and stored. In this way, after receiving the network access request of the first user, it can be determined whether the first user is a new user or a user saved in UP based on the user information of the first user carried in the network access request, so as to select a corresponding method to allocate the first network access address to the first user in a targeted manner.
[0024] In response to the first user being a new user, the UP selects a first network access address from a preset address pool and allocates it to the first user, wherein the first network access address has not been allocated to other users.
[0025] In response to the first user being a user saved in the UP, the first network access address corresponding to the first user saved in the UP is allocated to the first user. The first network access address corresponding to the first user is the first network access address stored in association with the user information of the first user. That is, in the case where the communication connection with the CP is disconnected, if the first user is a user saved in the UP, it means that the first user has established a communication connection with the UP before the communication connection between the UP and the CP is disconnected, and the first user is disconnected due to the disconnection of the communication connection between the UP and the CP. In this case, the UP allocates the network access address used by the first user when accessing before to the first user, so that the first user can quickly restore the communication connection with the UP.
[0026] In addition, if the first user is an old user, the UP may 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 the CP is disconnected, in the case where the old user requests access, the UP may not consider the network access address that the old user used when accessing the UP, but reselect a network access address from the preset address pool for allocation. The reselected network access address may be the same as or different from the network access address that the old user used.
[0027] Optionally, before the UP allocates the first network access address to the first user, it is not necessary to authenticate the first user. That is, after receiving the network access request from the first user, the UP directly allocates the first network access address to the first user.
[0028] Optionally, a fault protection period of a predetermined duration is pre-configured. During the fault protection period, the UP may perform steps S202-S204 on behalf of the CP. If the communication connection between the CP and the UP is not restored after the fault protection period, the UP may disconnect the communication connection with the first user. The predetermined duration of the fault protection period may be configured according to actual business needs.
[0029] In this embodiment, the UP may allocate the first network access address to the first user by using a DHCP (Dynamic Host Configuration Protocol) agent, that is, the UP may allocate the first network access address to the first user by using the identity of the CP agent.
[0030] By adopting the technical solution of the embodiment of the present application, when the communication connection between UP and CP is disconnected, after UP receives the network access request of the first user, it allocates the 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 can be seen that when the communication connection between UP and CP is disconnected, UP can autonomously allocate the first network access address to the first user requesting access, without interacting with CP, and without waiting for CP to come back online, so it can still ensure the normal processing of user data, effectively improve the stability of UP processing user data, and improve the user's network usage experience.
[0031] In one embodiment, after establishing a network connection for the first user based on the first network access address, the UP may perform service restrictions on the first type of service request of the first user.
[0032] The first type of service request is determined based on a preset rule. The preset rule is used to indicate the restricted service type, and may include at least one of the following: services with a service importance level higher than or equal to a specified level, and services of a specified type. If the service type corresponding to the service request meets the service type indicated by the preset rule, it is determined that the service request belongs to the first type of service request.
[0033] Optionally, a corresponding service importance level is configured in advance for each type of service, for example, the service importance level is represented by a number such as level 1, level 2, level 3, etc. The larger the number, the higher the corresponding service importance level. Assuming that the designated level is 2, if the service importance level corresponding to the service request of the first user is higher than or equal to 2, that is, a service request of level 2 or above, then the service request will be determined as a first-category service request and service restrictions will be imposed on it.
[0034] Optionally, a designated type of service is preconfigured, for example, some non-basic services are configured as designated type of services. If the service request of the first user corresponds to a designated type of service, i.e., a non-basic service, then the service request will be determined as a first type of service request and service restrictions will be imposed on it, so that only the service request of the first user for the basic service can be processed.
[0035] Optionally, performing service restriction on the first type of service request may be performed by: refusing to process the first type of service request.
[0036] In this embodiment, since the first network access address of the first user is directly allocated by the UP, the identity of the first user is unknown to the UP. By performing service restrictions on the first type of service request of the first user, the UP only processes the basic services of the first user or services with a lower service importance level, thereby ensuring continuous processing of user data and ensuring the security of service processing when the communication connection between the UP and the CP is disconnected.
[0037] In one embodiment, when the communication connection with the CP is restored, in response to the first user's identity authentication passing, the service restriction on the first type of service request of the first user is lifted. After the service restriction on the first type of service request of the first user is lifted, the UP can process the first type of service request of the first user.
[0038] Optionally, when the communication connection with the CP is restored, the CP performs identity authentication on the first user and sends the identity authentication result to the UP. The identity authentication result includes identity authentication failure or identity authentication success.
[0039] When the identity authentication of the first user is passed, the UP may actively lift the service restriction on the first type of service request of the first user, or lift the service restriction on the first type of service request of the first user after receiving a lifting instruction for the first user sent by the CP.
[0040] In this embodiment, when the identity authentication of the first user is passed, the service restriction on the first type of service request of the first user is lifted in time, so that the first user who accesses the UP during the period when the communication connection between the UP and the CP is disconnected can request to process a higher level of service after the identity authentication is passed, thereby improving the user's network usage experience.
[0041] In one embodiment, when the communication connection with the CP is restored, in response to the first user's identity authentication being successful, the user information and the first network access address of the first user are recorded in the UP.
[0042] Optionally, the UP records a user information table, which is used to record user information of users who establish a communication connection with the UP, and a network access address used when the user establishes a communication connection with the UP. The user information may include at least one of the following: a user name, password, user name, telephone number, and an identity code used for unique identification, etc., used by the user to access the UP.
[0043] When the identity authentication of the first user is passed, the UP may associate the user information of the first user with the first network access address and store it in the user information table, so that the first user is recorded as an "old user". Thus, when the first user is accessed next time, the user information of the first user can be found in the user information table, and a network connection can be established for the first user based on the first network access address associated with the user information.
[0044] In one embodiment, when the communication connection with the CP is restored, in response to the first user's identity authentication failing, the communication connection with the first user is disconnected.
[0045] Optionally, when the communication connection with the CP is restored, the CP performs identity authentication on the first user and sends the identity authentication result to the UP. The identity authentication result includes identity authentication failure or identity authentication success.
[0046] In the case that the identity authentication of the first user fails, the UP may actively disconnect the communication connection with the first user, or disconnect the communication connection with the first user after receiving a disconnection instruction for the first user sent by the CP.
[0047] In this embodiment, when the identity authentication of the first user fails, the communication connection with the first user is disconnected so that the user who fails the identity authentication can be kicked out in time, ensuring that the users communicating with the UP are all users who pass the identity authentication, thereby improving communication security.
[0048] In one embodiment, when the communication connection between UP and CP is disconnected, users who have established a network connection with UP can continue to stay online, and UP will not actively kick users offline, thereby avoiding business interruption caused by the disconnection of the communication connection between UP and CP and improving the stability of UP in processing user data.
[0049] Figure 3 is a schematic flow chart of a communication method according to an embodiment of the present application, the communication method is applied to Figure 1 As shown in the CP. Figure 3 As shown, the method includes the following steps S302-S306: S302: When the communication connection with the UP is restored, obtain user information of a first user, where the first user is connected to the UP when the communication connection between the CP and the UP is disconnected.
[0050] The user information may include at least one of the following: user name, password, address information, etc. used by the user to access the UP. The first network connection address used by the first user to connect to the UP is allocated by the UP. The first user may be a new user or an old 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 has expired. An old user refers to a user who has established a network connection with the UP and whose user information is stored in the UP.
[0051] Optionally, when the communication connection with the UP is restored, the UP actively sends the user information of the first user to the CP. Alternatively, the CP instructs the UP to send the user information of the first user, and the UP sends the user information of the first user to the CP based on the instruction of the CP.
[0052] S304: Authenticate the first user based on the user information.
[0053] The user information includes authentication information used to authenticate the identity of the first user. The authentication information may be part of or all of the user information.
[0054] Optionally, the CP pre-stores a user information table, which is used to record user information of users who have passed identity authentication. The user information may include at least one of the following: user name, password, user name, telephone number, and identity code used for unique identification when the user accesses the UP.
[0055] When the CP performs identity authentication on the first user, the user information of the first user may be compared with the user information table. If the user information of the first user is recorded in the user information table, it is determined that the identity authentication of the first user is passed. If the user information of the first user is not recorded in the user information table, it is determined that the identity authentication of the first user is not passed.
[0056] S306: In response to the identity authentication being successful, record the allocation status of the first network access address of the first user.
[0057] The allocation status is used to indicate that the first network access address has been allocated to the first user. Optionally, the CP records the allocation status of the first network access address of the first user, which can be performed in the following manner: the CP records the association relationship between the first network access address and the user information of the first user, and the association relationship indicates that the first network access address has been allocated to the first user.
[0058] In this embodiment, after the communication connection between the CP and the UP is restored and the identity authentication of the first user is passed, the CP does not need to re-allocate a new network access address for the first user, but instead records the allocation status of the first network access address allocated by the UP to the first user, so that the first user can continue to use the first network access address to communicate with the UP. This process can be called the placeholder behavior of the first network access address after the CP goes online.
[0059] By adopting the technical solution of the embodiment of the present application, when the communication connection between CP and UP is restored, the first user accessing UP is authenticated, and after the authentication is passed, the allocation status of the first network access address of the first user is recorded, thereby realizing "placeholder" of the first network access address. This "placeholder" method can not only avoid the situation where the first network access address is repeatedly allocated to other users, but also enable the first user to continue to use the first network access address to communicate with UP, without the need for CP to reallocate a new network access address after the communication connection between UP and CP is restored, thereby avoiding the situation where the first user's connection is interrupted due to the CP's re-entry, ensuring business continuity, and improving the stability of UP in processing user data.
[0060] In one embodiment, in response to the identity authentication failing, 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 who failed the identity authentication can be kicked out in time, ensuring that the users in the communication connection with the UP are all users who passed the identity authentication, thereby improving the communication security.
[0061] In one embodiment, in response to the identity authentication being passed, the CP instructs the UP to cancel the service restriction on the first user. By instructing the UP to lift the service restriction on the first type of service request of the first user, the first user who accesses the UP during the period when the communication connection between the UP and the CP is disconnected can request to process a higher level of service after the identity authentication is passed, thereby improving the user's network experience.
[0062] The communication method provided by the present application is described below through specific embodiments.
[0063] Figure 4 FIG. 1 is a schematic structural diagram of a vBRAS device according to another embodiment of the present application. Figure 4As shown, the vBRAS device includes a UP and two CPs, namely CP1 and CP2, and CP1 and CP2 are mutually hot standby protection. A communication connection between UP and at least one of CP1 and CP2 can be considered as a communication connection between UP and CP. A preset address pool and a user information table are stored in UP. The preset address pool includes multiple network access addresses pre-allocated by CP. The user information table is used to record user information of users who establish a network connection with UP, as well as the network access address used when the user establishes a network connection with UP. Figure 4 In the example, UP establishes network connections with user 1, user 2, and user 3 to forward user data for user 1, user 2, and user 3.
[0064] Among them, user 1 accessed before the communication connection between UP and CP was disconnected, and user 2 and user 3 accessed during the period when the communication connection between UP and CP was disconnected. Assume that user 1 is an old user, user 2 is a new user, and user 3 is an illegal new user. An old user refers to a user who has established a network connection with UP and whose user information is stored in UP. A new user refers to a user who has never established a network connection with UP, or a user who has established a network connection with UP but whose lease has expired. An illegal user refers to a user who has not passed the identity authentication or has not undergone identity authentication.
[0065] During the period when UP maintains a communication connection with CP, CP allocates 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 information of user 1 in the user information table.
[0066] At a certain moment, UP senses that the communication connection with CP is disconnected and enters the fault protection period. At this time, UP maintains the network connection with user 1 and continues to process the service request of user 1. Optionally, UP disconnects the network connection with user 1 after the lease period of user 1 expires. Optionally, UP does not consider the lease period of user 1 and continues to maintain the network connection with user 1.
[0067] During the fault protection period, user 2 sends a network access request to UP. UP does not find user 2's user information in the local user information table and determines that user 2 is a new user. UP does not authenticate user 2, but directly selects an unassigned network access address 2 from the local preset address pool and assigns it to user 2, and establishes a network connection for user 2 based on network access address 2.
[0068] During the fault protection period, user 3 sends a network access request to UP. UP does not find user 3's user information in the local user information table and determines that user 3 is a new user. UP does not authenticate user 3, but directly selects an unassigned network access address 3 from the local preset address pool and assigns it to user 3, and establishes a network connection for user 3 based on network access address 3.
[0069] At a certain moment later, the communication connection between CP1 and UP is restored and the fault recovery period begins. At this time, CP1 obtains the user information of the users accessed by UP during the fault protection period, including the user information of user 1, user 2, and user 3. CP1 performs identity authentication on the users accessed during the fault protection period. Optionally, CP1 compares the user information of user 1, user 2, and user 3 with the local user table of CP1 respectively. The user table is used to record the user information of users who have passed the identity authentication. Since user 1 accessed before the communication connection between UP and CP was disconnected, it means that user 1 has been authenticated by CP1 or CP2 and the identity authentication has passed. Therefore, the user information of user 1 must be recorded in the user table of CP1, and CP1 determines that the identity authentication of user 1 has passed. Since both user 2 and user 3 accessed during the period when the communication connection between UP and CP was disconnected, identity authentication was not performed when connecting to UP. Assuming that CP1 finds the user information of user 2 in the user table, but does not find the user information of user 3, it is determined that user 2 is a legal new user and user 3 is an illegal new user. Afterwards, CP1 may instruct UP to disconnect the network connection with user 3. According to the instruction of CP1, UP disconnects the network connection with user 3 and stops data forwarding of user 3.
[0070] In addition, since the network access address 2 of user 2 is allocated by UP, CP1 records the allocation status of network access address 2 after the identity authentication of user 2 is passed to indicate that network access address 2 has been allocated to user 2, thereby avoiding the network access address 2 from being repeatedly allocated to other users, and enabling user 2 to continue to use network access address 2 without having to go offline and back online, thereby ensuring the continuity of data forwarding of user 2.
[0071] It can be seen that by adopting the communication method of the embodiment of the present application, even if the communication connection between UP and CP is completely disconnected, the continuity of user data forwarding and the network access effect for new users can still be achieved. And after the communication connection between UP and CP is restored, through the "placeholder" processing of the network access address by CP, the forwarding and online access of users by UP can be kept unaffected, and the data forwarding of legitimate users (i.e. users who have passed identity authentication) can be kept uninterrupted, which greatly improves the stability of user data forwarding.
[0072] In summary, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recorded in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.
[0073] The above is a communication method provided in an embodiment of the present application. Based on the same idea, an embodiment of the present application also provides a broadband access server device.
[0074] Figure 5 is a schematic block diagram of a broadband access server device according to an embodiment of the present application. In this embodiment, the broadband access server device is a UP. Figure 5 As shown, the UP includes: The receiving module 51 is configured to receive a network access request from a first user when the communication connection with the CP is disconnected; The network connection module 52 is 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.
[0075] In one embodiment, the network connection module 52 performs the following steps when allocating the first network access address to the first user: In response to the first user being a new user, selecting the first network access address from a preset address pool of the UP, and allocating the first network access address to the first user; The preset address pool includes a plurality of network access addresses, and the plurality of network access addresses are network access addresses pre-allocated to the UP.
[0076] In one embodiment, the network connection module 52 performs the following steps when allocating the first network access address to the first user: In response to the first user being a user stored in the UP, a first network access address corresponding to the first user stored in the UP is allocated to the first user.
[0077] In one embodiment, the UP further comprises: A restriction module is used to perform service restriction on 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.
[0078] In one embodiment, the UP further comprises: The disconnection module is used to disconnect the communication connection with the first user in response to the first user's identity authentication failing when the communication connection with the CP is restored.
[0079] In one embodiment, the UP further comprises: The restriction removal module is used to remove the service restriction on the first type of service request of the first user in response to the identity authentication of the first user passing when the communication connection with the CP is restored.
[0080] By adopting the technical solution of the embodiment of the present application, when the communication connection between UP and CP is disconnected, after UP receives the network access request of the first user, it allocates the 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 can be seen that when the communication connection between UP and CP is disconnected, UP can autonomously allocate the first network access address to the first user requesting access, without interacting with CP, and without waiting for CP to come back online, so it can still ensure the normal processing of user data, effectively improve the stability of UP processing user data, and improve the user's network usage experience.
[0081] Those skilled in the art should understand that Figure 5 The broadband access server device in can be used to implement the communication method applied to UP described above, and the detailed description should be similar to the description of the method part above. To avoid tediousness, it will not be repeated here.
[0082] Figure 6 is a schematic block diagram of a broadband access server device according to another embodiment of the present application. In this embodiment, the broadband access server is a CP, such as Figure 6 As shown, the CP includes: The acquisition module 61 is used to acquire user information of a first user when the communication connection with 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, configured to perform identity authentication on the first user based on the user information; The recording module 63 is configured to record the allocation status of the first network access address of the first user in response to the identity authentication being passed.
[0083] In one embodiment, the CP further comprises: An indication module is used to indicate disconnection of the communication connection with the first user in response to failure of the identity authentication; or to indicate cancellation of service restrictions on the first user in response to success of the identity authentication.
[0084] By adopting the technical solution of the embodiment of the present application, when the communication connection between CP and UP is restored, the first user accessing UP is authenticated, and after the authentication is passed, the allocation status of the first network access address of the first user is recorded, thereby realizing "placeholder" of the first network access address. This "placeholder" method can not only avoid the situation where the first network access address is repeatedly allocated to other users, but also enable the first user to continue to use the first network access address to communicate with UP, without the need for CP to reallocate a new network access address after the communication connection between UP and CP is restored, thereby avoiding the situation where the first user's connection is interrupted due to the CP's re-entry, ensuring business continuity, and improving the stability of UP in processing user data.
[0085] Those skilled in the art should understand that Figure 6 The broadband access server device in can be used to implement the communication method applied to CP described above, and the detailed description thereof should be similar to the description of the method part above, and will not be repeated here to avoid tediousness.
[0086] Based on the same idea, the embodiment of the present application also provides an electronic device, such as Figure 7 As shown. Electronics may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more storage applications or data. Among them, the memory 702 can be a short-term storage or a permanent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 701 can be configured to communicate with the memory 702 to execute a series of computer executable instructions in the memory 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 and output interfaces 705, and one or more keyboards 706.
[0087] Specifically in this embodiment, the electronic device includes a memory and one or more programs, wherein the 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 the electronic device, and the one or more programs are configured to be executed by one or more processors, including the following computer executable instructions: In a case where the communication connection with the control plane CP is disconnected, receiving a network access request of a first user; A first network access address is allocated to the first user, and a network connection is established for the first user based on the first network access address.
[0088] By adopting the technical solution of the embodiment of the present application, when the communication connection between UP and CP is disconnected, after UP receives the network access request of the first user, it allocates the 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 can be seen that when the communication connection between UP and CP is disconnected, UP can autonomously allocate the first network access address to the first user requesting access, without interacting with CP, and without waiting for CP to come back online, so it can still ensure the normal processing of user data, effectively improve the stability of UP processing user data, and improve the user's network usage experience.
[0089] Specifically in another embodiment, the electronic device includes a memory and one or more programs, wherein the 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 in the electronic device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: When the communication connection with the forwarding plane UP is restored, user information of a first user is acquired; the first user is connected to the UP when the communication connection between the CP and the UP is disconnected; Based on the user information, authenticating the first user; In response to the identity authentication being successful, an allocation status of the first network access address of the first user is recorded.
[0090] By adopting the technical solution of the embodiment of the present application, when the communication connection between CP and UP is restored, the first user accessing UP is authenticated, and after the authentication is passed, the allocation status of the first network access address of the first user is recorded, thereby realizing "placeholder" of the first network access address. This "placeholder" method can not only avoid the situation where the first network access address is repeatedly allocated to other users, but also enable the first user to continue to use the first network access address to communicate with UP, without the need for CP to reallocate a new network access address after the communication connection between UP and CP is restored, thereby avoiding the situation where the first user's connection is interrupted due to the CP's re-entry, ensuring business continuity, and improving the stability of UP in processing user data.
[0091] The embodiment of the present application further proposes a computer-readable storage medium, which stores one or more computer programs, wherein the one or more computer programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to perform each process of the above communication method embodiment, and are specifically used to perform: In a case where the communication connection with the control plane CP is disconnected, receiving a network access request of a first user; A first network access address is allocated to the first user, and a network connection is established for the first user based on the first network access address.
[0092] By adopting the technical solution of the embodiment of the present application, when the communication connection between UP and CP is disconnected, after UP receives the network access request of the first user, it allocates the 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 can be seen that when the communication connection between UP and CP is disconnected, UP can autonomously allocate the first network access address to the first user requesting access, without interacting with CP, and without waiting for CP to come back online, so it can still ensure the normal processing of user data, effectively improve the stability of UP processing user data, and improve the user's network usage experience.
[0093] The embodiment of the present application further proposes a computer-readable storage medium, which stores one or more computer programs, wherein the one or more computer programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to perform each process of the above communication method embodiment, and are specifically used to perform: When the communication connection with the forwarding plane UP is restored, user information of a first user is acquired; the first user is connected to the UP when the communication connection between the CP and the UP is disconnected; Based on the user information, authenticating the first user; In response to the identity authentication being successful, an allocation status of the first network access address of the first user is recorded.
[0094] By adopting the technical solution of the embodiment of the present application, when the communication connection between CP and UP is restored, the first user accessing UP is authenticated, and after the authentication is passed, the allocation status of the first network access address of the first user is recorded, thereby realizing "placeholder" of the first network access address. This "placeholder" method can not only avoid the situation where the first network access address is repeatedly allocated to other users, but also enable the first user to continue to use the first network access address to communicate with UP, without the need for CP to reallocate a new network access address after the communication connection between UP and CP is restored, thereby avoiding the situation where the first user's connection is interrupted due to the CP's re-entry, ensuring business continuity, and improving the stability of UP in processing user data.
[0095] An embodiment of the present application provides a computer program product, including a computer program, which is executed by a processor to implement the various processes of the above-mentioned communication method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0096] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation, an email, a game console, a tablet computer, a wearable device or any combination thereof.
[0097] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0099] The present application is described with reference to the flowcharts and / or block diagrams of the methods, (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing processor to produce a machine, so that the instructions executed by the computer or other programmable data processing processor generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0101] These computer program instructions can also be loaded into a computer or other programmable data processor so that a series of operating steps are executed on the computer or other programmable data processor to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable data processor. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0102] In a typical configuration, a computer consists of one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0103] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0104] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage or any other non-transmission media that can be used to store information that can be accessed by a computer. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0105] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or a product that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or product. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or product that includes the element.
[0106] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processes connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage.
[0107] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0108] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A communication method, applied to a forwarding plane UP of a broadband access server, the method comprising: In a case where the communication connection with the control plane CP is disconnected, receiving a network access request of a first user; A first network access address is allocated to the first user, and a network connection is established 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, selecting the first network access address from a preset address pool of the UP, and allocating the first network access address to the first user; The preset address pool includes a plurality of network access addresses, and the plurality of network access addresses are network access addresses pre-allocated 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 stored in the UP, a first network access address corresponding to the first user stored in the UP is allocated to the first user.
4. The method according to claim 1 or 2, after establishing a network connection for the first user based on the first network access address, further comprising: Performing service restrictions on a first type of service request of the first user, wherein the first type of service request is determined based on a preset rule.
5. The method according to claim 1 or 2, further comprising: When the communication connection with the CP is restored, in response to the first user's identity authentication failing, the communication connection with the first user is disconnected.
6. The method according to claim 4, further comprising: When the communication connection with the CP is restored, in response to the identity authentication of the first user being passed, the service restriction on the first type of service request of the first user is lifted.
7. A communication method, applied to a control plane CP of a broadband access server, the method comprising: When the communication connection with the forwarding plane UP is restored, obtaining user information of the first user; The first user is connected to the UP when the communication connection between the CP and the UP is disconnected; Based on the user information, authenticating the first user; In response to the identity authentication being successful, an 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 identity authentication failing, instructing to disconnect the communication connection with the first user; Alternatively, in response to the identity authentication being passed, an instruction is given to cancel the service restriction on the first user.
9. A forwarding plane UP device of a broadband access server, comprising: A receiving module, configured to receive a network access request of a first user when the communication connection with the control plane CP is disconnected; A network connection module is 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.
10. A control plane CP device of a broadband access server, comprising: an acquisition module, configured to acquire user information of the first user when the communication connection with the forwarding plane 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 perform identity authentication on 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 the identity authentication being passed.
11. An electronic device, comprising a processor and a memory electrically connected to the processor, the memory storing a computer program, and the processor being configured to call and execute the computer program from the memory to implement the communication method according to any one of claims 1 to 8.
12. A computer-readable storage medium, the storage medium being used to store a computer program, wherein the computer program can be executed by a processor to implement the communication method according to any one of claims 1 to 8.
13. A computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the communication method according to any one of claims 1 to 8.
Citation Information
Cited By
Communication methods and broadband access server device
WO2026124113A1