User service method and device based on control plane, equipment and storage medium

By synchronizing the summary table between the control planes and performing pre-placement processing, the problem of data pulling time during the backup process is solved, and the user-side unsensed switching and business continuity are achieved, and the service effect is improved.

CN119109767AActive Publication Date: 2024-12-10CHINA MOBILE GROUP ZHEJIANG +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411143865.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-10
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

With the sharp increase in the number of users, in the backup process between control planes in the prior art, the data pull time is too long, resulting in an extended black barrier period, affecting the user experience and normal business progress.

Method used

By synchronizing the summary table between the main control plane and the backup control plane, pre-placement processing is performed to ensure that when the main control plane is abnormal, the backup control plane can quickly switch and provide services to avoid address conflicts and data transmission delays.

Benefits of technology

It realizes that the user side has no perception of the control plane switching, reduces the black barrier period, ensures normal business progress, and improves service effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109767A_ABST
    Figure CN119109767A_ABST
Patent Text Reader

Abstract

The invention relates to a user service method and device based on a control plane, computer equipment and a storage medium, and relates to the technical field of networks. The method is executed by a standby control plane and comprises the following steps: receiving an abstract table sent by a primary control plane; the abstract table comprises user abstract information of a target user; the target user is a user accessing the primary control plane; performing pre-occupation processing based on the abstract table, and determining a pre-occupation resource of the target user; and under the condition that the main control plane is abnormal, switching the target user to the standby control plane so as to provide services for the target user based on the pre-occupied resources. By means of the method, in the control plane switching process, due to the fact that the standby control plane side is pre-occupied, address conflicts do not occur, and due to the fact that the information amount of the abstract table is relatively small, blackout periods do not occur easily, the user side does not sense the control plane switching, and the service effect is improved while normal operation of services is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of network technology, and in particular to a control plane-based user service method, apparatus, device, and storage medium. Background Art

[0002] In the prior art, when backup is performed between CPs (Control Plane), warm standby between CPs is usually used for backup. That is, after a CP fails, user data is backed up to another CP. The method is generally to pull all user information from CDB (Cloud Database) to the backup CP through the CP. After the pull is completed, the user can switch to another CP.

[0003] However, in the current network application situation, the number of users has increased dramatically. Since it takes a long time to pull data from CDB, when the number of users is large, the blackout period will last for a long time, resulting in users being unable to go online during the blackout period, affecting the normal operation of the business and resulting in a poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a user service method, apparatus, device, storage medium and product based on a control plane, which can ensure that no address conflict occurs during the control plane switching process. Since the amount of information in the summary table is relatively small, the amount of data transmitted between control planes is small, and blackout periods are less likely to occur, thereby ensuring that user online access is not affected, making the user side unaware of the control plane switching, while ensuring the normal operation of the business, and improving the service effect. The technical solution is as follows.

[0005] On the one hand, a control plane-based user service method is provided, the method being performed by a standby control plane, the method comprising:

[0006] receiving a summary table sent by a primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane;

[0007] Performing pre-occupancy processing based on the summary table to determine the pre-occupancy resources of the target user;

[0008] In the case that the primary control plane is abnormal, the target user is switched to the backup control plane to provide services for the target user based on the pre-occupied resources.

[0009] On the other hand, a control plane-based user service device is provided, the device comprising:

[0010] A receiving module, configured to receive a summary table sent by a primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane;

[0011] A placeholder module, configured to perform pre-placement processing based on the summary table to determine the pre-placement resources of the target user;

[0012] The service module is used to switch the target user to the backup control plane when the primary control plane is abnormal, so as to provide services for the target user based on the pre-occupied resources.

[0013] In a possible implementation manner, the device further includes:

[0014] An information pulling module, configured to pull the full amount of information of the target user from a cloud database after the target user is switched to the standby control plane based on the pre-occupied resources;

[0015] The table establishment module is used to establish a user formal table of the target user based on the full information of the target user.

[0016] In a possible implementation, the device further includes a table processing module, which is used to:

[0017] When it is determined that the control plane switching is completed, performing aging processing on the summary table;

[0018] or,

[0019] When it is determined that the control plane switching is completed, the summary table is deleted.

[0020] In a possible implementation manner, the user summary information includes at least one of the following: user key value information and the user's network protocol IP address.

[0021] In a possible implementation manner, the user's key-value information includes placeholder information; the placeholder information includes at least one of the following: address placeholder information, tunnel placeholder information, and session placeholder information.

[0022] In a possible implementation manner, the device further includes:

[0023] The table sending module is used to send the summary table to the original active control plane when it is determined that the control plane switching is completed.

[0024] On the other hand, a computer device is provided, the computer device comprising a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the above-mentioned control plane-based user service method.

[0025] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned control plane-based user service method.

[0026] On the other hand, a computer program product is provided, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions, which, when executed by a computer, cause the computer to execute to implement the control plane-based user service method provided in the above-mentioned various optional implementations.

[0027] The technical solution provided by this application may have the following beneficial effects:

[0028] The control plane-based user service method provided in the embodiment of the present application is provided with a main control plane and a backup control plane. The summary table is first synchronized between the two control planes, that is, the current main control plane synchronizes the summary table with the backup control plane for the backup control plane to perform pre-occupancy processing. After the main and backup control planes have an abnormality and the control planes are switched, the backup control plane can provide services for users based on the pre-occupied resources. During the control plane switching process, since the backup control plane side has already performed pre-occupancy, no address conflict will occur, and since the amount of information in the summary table is relatively small, the amount of data transmitted between the control planes is small, and blackout periods are not prone to occur, thereby ensuring that the user's online access is not affected, so that the user side is unaware of the control plane switching, while ensuring the normal operation of the business, the service effect is improved.

[0029] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0031] Figure 1 A schematic diagram of a network for dual CP backup of a vBRAS provided by an exemplary embodiment of the present application is shown;

[0032] Figure 2 A flow chart of a control plane-based user service method provided in an embodiment of the present application is shown;

[0033] Figure 3 A flow chart of a control plane-based user service method provided in an embodiment of the present application is shown;

[0034] Figure 4 A flow chart of a control plane-based user service method provided in an embodiment of the present application is shown;

[0035] Figure 5 A schematic diagram of interaction between the primary and standby control planes in a control plane-based user service method provided by an exemplary embodiment of the present application is shown;

[0036] Figure 6 A block diagram of a control plane-based user service device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0037] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0038] First, the terms involved in this application are explained.

[0039] vBRAS

[0040] vBRAS (Virtual Broadband Remote Access Server) is a broadband remote access server architecture based on virtualization technology. Its core idea is to virtualize the traditional hardware BRAS functions and realize the softwareization of network functions, thereby improving the flexibility and scalability of the network. Among them, the separation of forwarding and control is one of the key technologies of the vBRAS solution.

[0041] The vBRAS device with control and forwarding separation includes two parts: vBRAS control plane (vBRAS-Control Plane, vBRAS-CP) and user plane (vBRAS-User Plane, vBRAS-UP). The communication between vBRAS-CP and vBRAS-UP is realized through the control plane interface protocol. Among them, the control plane (CP) is responsible for user access control, user management, authentication authorization billing, address management and other functional modules. The user plane (UP), also known as the forwarding plane, is responsible for pure forwarding plane functions such as traffic forwarding, QoS, and traffic statistics, as well as pipeline control plane functions such as dynamic routing protocols.

[0042] Dual CP backup networking is a highly available network architecture design that ensures system stability and service continuity by setting up two control planes (CP), namely the active control plane and the standby control plane. When the active CP fails, the standby CP can take over users and services to avoid service interruption. Figure 1 FIG. 4 shows a schematic diagram of a dual CP backup network of a vBRAS provided by an exemplary embodiment of the present application. Figure 1 As shown, CP1 and CP2 back up each other, and two CDBs are configured to back up user information. When CP1 is the active control plane, CP2 is the standby control plane; when CP2 is the active control plane, CP1 is the standby control plane. A heartbeat connection can be established between CP1 and CP2 to monitor each other's working status.

[0043] In order to ensure that users can continue to go online during the CP backup switching process and avoid blackout periods, the embodiment of the present application provides a user service method based on a control plane. Figure 2 A flow chart of a control plane-based user service method provided in an embodiment of the present application is shown. The method can be executed by a standby control plane, such as Figure 2 As shown, the method may include the following steps:

[0044] Step 210, receiving a summary table sent by the primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane.

[0045] A communication connection is established between the Primary Control Plane (PCP) and the Backup Control Plane (BCP). The PCP sends a summary table to the BCP, and correspondingly, the BCP receives the summary table sent by the PCP.

[0046] Optionally, the summary table may be transmitted between the two control planes using protocols such as UDP or TCP, or may be transmitted using other protocols, which is not limited in this application.

[0047] In one possible implementation, the active control plane sends a summary table to the standby control plane according to a target period to synchronize the summary tables between the two in real time; or, when the active control plane detects an abnormality in itself, the active control plane sends a summary table to the standby control plane; the embodiment of the present application does not limit the timing of sending the summary table.

[0048] In a possible implementation, a local summary table may be maintained in the standby control plane. After receiving the summary table sent by the active control plane, the standby control plane reconciles the summary table with the local summary table to update the local summary table.

[0049] The summary table may include user summary information of each user accessing the primary control plane. Schematically, if the number of users accessing the primary control plane is 10, the summary table may include user summary information of each of the 10 users. In an embodiment of the present application, the user accessing the primary control plane is referred to as a target user; the user summary information may include information indicating the identity of the user, and / or include information indicating the resources required for the user request.

[0050] Step 220: Perform pre-placement processing based on the summary table to determine the pre-placement resources for the target user.

[0051] After receiving the summary table, the backup control plane can pre-allocate resources for the target user according to the information in the summary table, such as IP (Internet Protocol) resources, MAC address (MAC Address, local area network address), etc., to ensure that when an abnormality occurs in the main control plane, the user can go online immediately when switching to the backup control plane without address conflicts.

[0052] The above-mentioned process of synchronizing the summary table and the process of pre-occupancy processing are performed during the normal operation of the CP.

[0053] Step 230: When the primary control plane is abnormal, the target user is switched to the backup control plane to provide services for the target user based on the pre-occupied resources.

[0054] When the active control plane is abnormal, the control plane switching process is triggered, that is, the original standby control plane becomes the new active control plane, and provides services for the target user based on the pre-occupied resources; the original active control plane becomes the new standby control plane;

[0055] In summary, the control plane-based user service method provided in the embodiment of the present application is provided with a main control plane and a backup control plane. The summary table is first synchronized between the two control planes, that is, the current main control plane synchronizes the summary table with the backup control plane for the backup control plane to perform pre-occupancy processing. After the main and backup control planes have an abnormality and the control planes are switched, the backup control plane can provide services to users based on the pre-occupied resources. During the control plane switching process, since the backup control plane side has already performed pre-occupancy, no address conflict will occur, and since the amount of information in the summary table is relatively small, the amount of data transmitted between the control planes is small, and blackout periods are not prone to occur, thereby ensuring that the user's online access is not affected, so that the user side is unaware of the control plane switching, while ensuring the normal operation of the business, the service effect is improved.

[0056] Figure 3 A flow chart of a control plane-based user service method provided in an embodiment of the present application is shown. The method can be executed by a standby control plane, such as Figure 3 As shown, the method may include the following steps:

[0057] Step 310, receiving a summary table sent by the primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane.

[0058] Step 320: Perform pre-placement processing based on the summary table to determine the pre-placement resources for the target user.

[0059] The pre-occupancy process refers to allocating corresponding resources to target users in advance.

[0060] Optionally, the user summary information includes at least one of the following: user key value information and the user's network protocol IP address.

[0061] Furthermore, the user summary information may also include information such as the user's current status (such as online or offline); when the standby control plane determines that the user's current status is online, it reserves resources for the user, that is, when the current user status of the target user indicates that the target user is online, it performs pre-occupancy processing corresponding to the target user and determines the pre-occupancy resources for the target user.

[0062] In a possible implementation manner, the standby control plane may pre-allocate resources for the target user according to a preset amount of resources.

[0063] The key-value information of the user contained in the user summary information refers to the attributes or status information related to the user, which exists in the form of key-value pairs, such as the user's login status, service subscription status, billing information, etc. It should be noted that the type of key-value information contained in the summary table can be added based on actual needs, and this application does not limit this. In a possible implementation, in order to make the resources reserved in the backup control plane adapt to the resource requirements of the target user, the key-value information of the user includes placeholder information related to the resources required for the user service, and the placeholder information includes at least one of the following: address placeholder information, tunnel placeholder information, and session placeholder information.

[0064] Among them, based on the address placeholder information (such as IP address information) in the summary table, the backup control plane can reserve the same IP address for the user; further, a new IP address can also be allocated to the user to ensure that there is no conflict with the IP address of the existing user; based on the tunnel placeholder information in the summary table, the backup control plane can reserve tunnel resources for the user, such as allocating a new tunnel identifier for the user, etc.; based on the session information in the summary table, the backup control plane can reserve session resources for the user, such as allocating a new session identifier (ID) for the user, etc.

[0065] It should be noted that the key value information of the above-mentioned user is only for illustration, and other information that needs to be occupied can also be added to the summary table and passed to the backup control plane through the summary table so that the backup control plane can make corresponding resource reservations. The types of user summary information of different users can be the same or different, and this application does not limit this.

[0066] In a possible implementation, the standby control plane may maintain a temporary resource table for recording the user status and the pre-occupied resource information of the corresponding user.

[0067] Step 330: When the primary control plane is abnormal, the target user is switched to the backup control plane to provide services for the target user based on the pre-occupied resources.

[0068] In one possible implementation, a heartbeat connection is established between the active control plane and the backup control plane, and the active control plane can periodically send heartbeat signals to the backup control plane to indicate that it is in normal operation; in this case, the backup control plane can monitor the heartbeat signals sent by the active control plane; if no heartbeat signal is received within a predetermined period of time, it is determined that the active control plane is abnormal, triggering control plane switching; or, in another possible implementation, the active control plane can monitor its own resource status, and if it is determined that its own resource status meets the abnormal conditions, it is determined to be abnormal, and a switching instruction is sent to the backup control plane to trigger control plane switching.

[0069] Step 340: Pull the full information of the target user from the cloud database. Step 350: Create a user formal table of the target user based on the full information of the target user.

[0070] This full information can be implemented in the form of a user table. After the standby control plane pulls the complete user table information from the cloud database, it establishes a user formal table based on the user table information; the user formal table can contain detailed configuration, policies, billing information, etc.; after the user formal table is established, the formal table is used to replace the summary table. In this case, the status of the standby control plane is synchronized with the status of the active control plane.

[0071] In a possible implementation, when it is determined that the control plane switching is completed, an aging process is performed on the summary table.

[0072] Among them, aging the summary table refers to managing the summary table to ensure that the information in the summary table remains up-to-date and valid; aging is used to remove outdated or no longer valid entries to free up resources and maintain efficient operation of the system. Schematically, when aging the summary table, an aging time can be set for each item in the summary table. The aging time can be a fixed value, or it can be the timestamp of the most recent activity; aging checks are performed regularly to delete entries that exceed the aging time; or an aging threshold can be set for the summary table. When an entry in the summary table exceeds the aging threshold, the aging process is started to delete the entry that has been added the longest time.

[0073] In another possible implementation, when it is determined that the control plane switching is completed, the summary table is deleted.

[0074] After the control plane switching is completed, the original standby control plane becomes the new active control plane, and the original active control plane becomes the new standby control plane; in this case, in order to ensure the stability of the system, the summary table synchronization process is still required. Therefore, the original standby control plane (new active control plane) sends the summary table to the original active control plane when it is determined that the control plane switching is completed; if the summary table was previously aged, the latest summary table is sent to the original active control plane (new standby control plane); if the summary table was previously deleted, the summary table is rebuilt based on the user summary information of the current user and sent to the original active control plane (new standby control plane).

[0075] Through the above process, hot standby processing between the two control planes can be realized, and in the process of hot standby processing, since only the summary table needs to be synchronized between the two control planes, the amount of information in the summary table is much smaller than the amount of information in the full amount of information, thereby avoiding the impact of too much transmission data between the control planes on the stability between the control planes, and also avoiding the impact on the heartbeat line between the control planes; when the control plane is switched, since the summary table already exists in the standby control plane, the standby control plane can directly take over the business of processing the user's online business, and the user's business will not be affected by the switching of the control plane, so that the user side is unaware; then, the standby control plane pulls the user's full information from the cloud database, completes the acquisition of all user information, and finally forms the creation of the user's formal table for the user in the standby control plane, replacing the summary table, thereby completing the control plane switching process.

[0076] In summary, the control plane-based user service method provided in the embodiment of the present application is provided with a main control plane and a backup control plane. The summary table is first synchronized between the two control planes, that is, the current main control plane synchronizes the summary table with the backup control plane for the backup control plane to perform pre-occupancy processing. After the main and backup control planes have an abnormality and the control planes are switched, the backup control plane can provide services to users based on the pre-occupied resources. During the control plane switching process, since the backup control plane side has already performed pre-occupancy, no address conflict will occur, and since the amount of information in the summary table is relatively small, the amount of data transmitted between the control planes is small, and blackout periods are not prone to occur, thereby ensuring that the user's online access is not affected, so that the user side is unaware of the control plane switching, while ensuring the normal operation of the business, the service effect is improved.

[0077] Figure 4 A flow chart of a control plane-based user service method provided in an embodiment of the present application is shown. The method can be executed by a primary control plane, such as Figure 4 As shown, the method may include the following steps:

[0078] Step 410, sending a summary table to the standby control plane so that the standby control plane performs pre-occupancy processing based on the summary table to determine the pre-occupancy resources of the target user; the summary table contains user summary information of the target user; the target user is a user accessing the active control plane.

[0079] Step 420: When the primary control plane is abnormal, the target user is switched to the backup control plane, so that the backup control plane provides services for the target user based on the pre-occupied resources.

[0080] After the control plane switching is completed, the active control plane is converted to a new standby control plane, and the standby control plane is converted to a new active control plane; in this case, the active control plane (new standby control plane) executes the process of the standby control plane, that is, receives the summary table sent by the original standby control plane (new active control plane), performs pre-occupancy processing based on the summary table, and determines the pre-occupancy resources of the target user; after the next control plane switching, services are provided to the target user based on the pre-occupancy resources.

[0081] In the embodiment of the present application, a heartbeat connection may be established between the primary control plane and the backup control plane. When the heartbeat connection is abnormal or interrupted, it is determined that the connected control plane is abnormal.

[0082] For the primary control plane, the primary control plane can monitor its own resource status. When the resource status meets the abnormal conditions, it is determined that the primary control plane is abnormal, triggering the switching of the primary and standby control planes; schematically, when the primary control plane monitors that the CPU occupancy rate reaches the occupancy rate threshold, it is determined that the abnormal conditions are met; or, when a performance abnormality is monitored, it is determined that the abnormal conditions are met.

[0083] In summary, the control plane-based user service method provided in the embodiment of the present application is provided with a main control plane and a backup control plane. The summary table is first synchronized between the two control planes, that is, the current main control plane synchronizes the summary table with the backup control plane for the backup control plane to perform pre-occupancy processing. After the main and backup control planes have an abnormality and the control planes are switched, the backup control plane can provide services to users based on the pre-occupied resources. During the control plane switching process, since the backup control plane side has already performed pre-occupancy, no address conflict will occur, and since the amount of information in the summary table is relatively small, the amount of data transmitted between the control planes is small, and blackout periods are not prone to occur, thereby ensuring that the user's online access is not affected, so that the user side is unaware of the control plane switching, while ensuring the normal operation of the business, the service effect is improved.

[0084] Figure 5 FIG. 1 shows a schematic diagram of interaction between the primary and standby control planes in a control plane-based user service method provided by an exemplary embodiment of the present application. Figure 5As shown in the figure, each control plane may include UM (User Management) component, URC (User Resource Control) component, AM (Access Management) component, L2TP (Layer 2 Tunneling Protocol) protocol; UM refers to the part of the control plane responsible for managing user accounts, authentication, authorization and other functions, and handles user registration, login, logout and authority control tasks; URC refers to the part of the control plane responsible for managing user resource allocation and use, which can realize flow control, bandwidth allocation, service quality management and other functions; AM refers to the part of the control plane responsible for managing the rights and methods of user access to the network, which can realize identity authentication, authorization. Audit and network access control and other functions; L2TP is a network protocol used to create a second layer tunnel based on the Point-to-Point Protocol (PPP) to support remote access services.

[0085] In such Figure 5 In the scenario shown, in the initial state, CP1 is the active control plane and CP2 is the standby control plane. In this process, the user accesses the active control plane, that is, the user goes online on CP1, and after confirming the user table entry, the summary table is synchronized to the standby control plane, that is, CP2. CP2 performs address placeholders, tunnel placeholders, and session placeholders based on the summary table. In the case of CP1 abnormality, the active and standby control planes are switched, that is, CP2 is promoted to the active control plane, and CP1 is downgraded to the standby control plane. For CP2, after the active and standby control planes are switched, the full amount of user information is pulled from the cloud database, and the detailed data is restored, that is, the user formal table is constructed. After that, CP2 reconciles the detailed data with the local summary table, deletes the duplicate entries in the summary table, and updates the address data, tunnel data, and session data in the summary table. In addition, after the data synchronization is completed, the summary table is aged and synchronized with CP1. For CP1, after sensing that it has been downgraded to the standby control plane, a summary table is generated and the aging mechanism is started at the same time. After receiving the summary table synchronized by CP2, it is reconciled with the local summary table and the summary table is updated.

[0086] Based on the above process, the hot standby processing between the two CPs can be completed. In the hot standby process, since only the summary table needs to be synchronized between the two CPs, the information that needs to be synchronized is much less than the user table information that is pulled from the CDB in full. Therefore, real-time synchronization processing can be achieved during the operation of the dual CPs. When the control plane is switched, since the summary table already exists, the standby CP device can directly take over the business of processing the user's online services, and will not be affected by the CP switching, so that the user side does not perceive the CP switching. Subsequently, the full amount of information is pulled from the CDB to complete the acquisition of all user information, and finally the formal table of the standby CP is created, and the entire CP switching process can be completed. In the entire process, the business is lossless, and no additional burden or impact is imposed on the network and equipment.

[0087] Figure 6 FIG. 1 shows a block diagram of a user service device based on a control plane provided by an exemplary embodiment of the present application. The device can be applied in the control plane to perform the following steps: Figure 2 or Figure 3 All or part of the steps shown in the embodiment shown, such as Figure 6 As shown, the device comprises:

[0088] The receiving module 610 is used to receive a summary table sent by the primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane;

[0089] A placeholder module 620, configured to perform a pre-placeholder process based on the summary table to determine a pre-placeholder resource for the target user;

[0090] The service module 630 is configured to switch the target user to the backup control plane when the primary control plane is abnormal, so as to provide service for the target user based on the pre-occupied resources.

[0091] In a possible implementation manner, the device further includes:

[0092] An information pulling module, configured to pull the full amount of information of the target user from a cloud database after the target user is switched to the standby control plane based on the pre-occupied resources;

[0093] The table establishment module is used to establish a user formal table of the target user based on the full information of the target user.

[0094] In a possible implementation, the device further includes a table processing module, which is used to:

[0095] When it is determined that the control plane switching is completed, performing aging processing on the summary table;

[0096] or,

[0097] When it is determined that the control plane switching is completed, the summary table is deleted.

[0098] In a possible implementation manner, the user summary information includes at least one of the following: user key value information and user IP address.

[0099] In a possible implementation manner, the user's key-value information includes placeholder information; the placeholder information includes at least one of the following: address placeholder information, tunnel placeholder information, and session placeholder information.

[0100] In a possible implementation manner, the device further includes:

[0101] The table sending module is used to send the summary table to the original active control plane when it is determined that the control plane switching is completed.

[0102] In summary, the control plane-based user service device provided in the embodiment of the present application is provided with a main control plane and a backup control plane. The summary table is first synchronized between the two control planes, that is, the current main control plane synchronizes the summary table with the backup control plane for the backup control plane to perform pre-occupancy processing. After the main and backup control planes have an abnormality and the control planes are switched, the backup control plane can provide services to the user based on the pre-occupied resources. During the control plane switching process, since the backup control plane side has already performed pre-occupancy, no address conflict will occur, and since the amount of information in the summary table is relatively small, the amount of data transmitted between the control planes is small, and blackout periods are not prone to occur, thereby ensuring that the user's online access is not affected, so that the user side is unaware of the control plane switching, while ensuring the normal operation of the business, while improving the service effect.

[0103] In an exemplary embodiment, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement all or part of the steps in the above-mentioned control plane-based user service method; wherein the computer device can be a physical device corresponding to the control plane, such as a network device, a centralized controller in an SDN (Software-Defined Networking) architecture, etc., and the present application does not limit this.

[0104] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one computer program is stored, and the computer program is loaded and executed by a processor to implement all or part of the steps in the above-mentioned control plane-based user service method. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0105] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer is executed to implement the above Figure 2 , Figure 3 or Figure 4 All or part of the steps of the control plane-based user service method shown in any embodiment.

[0106] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.

[0107] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A user service method based on a control plane, It is characterized in that The method is performed by a standby control plane, and the method includes: receiving a summary table sent by a primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane; Performing pre-occupancy processing based on the summary table to determine the pre-occupancy resources of the target user; In the case that the primary control plane is abnormal, the target user is switched to the backup control plane to provide services for the target user based on the pre-occupied resources.

2. The method according to claim 1, It is characterized in that After switching the target user to the standby control plane based on the pre-occupied resources, the method further includes: Pull all the target user's information from the cloud database; Based on the full information of the target user, a formal user table of the target user is established.

3. The method according to claim 1, It is characterized in that The method further comprises: When it is determined that the control plane switching is completed, performing aging processing on the summary table; or, When it is determined that the control plane switching is completed, the summary table is deleted.

4. The method according to any one of claims 1 to 3, It is characterized in that The user summary information includes at least one of the following: user key information and the user's network protocol IP address.

5. The method according to claim 4, It is characterized in that The user's key value information includes placeholder information; the placeholder information includes at least one of the following: address placeholder information, tunnel placeholder information and session placeholder information.

6. The method according to claim 1, It is characterized in that The method further comprises: When it is determined that the control plane switching is completed, the summary table is sent to the original active control plane.

7. A user service device based on a control plane, It is characterized in that The device is applied in a standby control plane, and comprises: A receiving module, configured to receive a summary table sent by a primary control plane; the summary table includes user summary information of a target user; the target user is a user accessing the primary control plane; A placeholder module, configured to perform pre-placement processing based on the summary table to determine the pre-placement resources of the target user; The service module is used to switch the target user to the backup control plane when the primary control plane is abnormal, so as to provide services for the target user based on the pre-occupied resources.

8. A computer device, It is characterized in that The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the control plane-based user service method according to any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that At least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by the processor to implement the control plane-based user service method according to any one of claims 1 to 6.

10. A computer program product, It is characterized in that The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute to implement the control plane-based user service method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Content provision method based on content verification

    CN101102315A

  • Service recovery method, system, network equipment and computer readable storage medium

    CN110430115A

  • Charging method and device

    CN110519069A

  • Disaster recovery backup implementation method and device

    CN112367252A

  • User online method of vBRAS (Virtual Broadband Remote Access Server) and related equipment

    CN115314336A