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

By performing pre-positioning processing and summary table synchronization on the backup control plane, the data retrieval delay problem during control plane backup is solved, enabling seamless plane switching and business continuity for the user side.

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

Patent Information

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

AI Technical Summary

Technical Problem

With a rapid increase in the number of users, the existing technology takes too long to pull data from the cloud database during control plane backup, resulting in a prolonged blackout period and affecting user online access and normal business operations.

Method used

By performing pre-positioning processing on the backup control plane, receiving the summary table sent by the primary control plane, pre-allocating resources to ensure no address conflicts during user switching, and switching to the backup control plane to provide services when the primary control plane fails, the system then pulls full information from the cloud database to build the user's official table.

Benefits of technology

This reduces the amount of data transmitted during control plane switching, avoids address conflicts and blackout periods, ensures seamless plane switching for users, and guarantees business continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119109767B_ABST
    Figure CN119109767B_ABST
Patent Text Reader

Abstract

The application relates to a user service method and device based on a control plane, a computer device and a storage medium, and relates to the technical field of networks. The method is executed by a backup control plane and comprises the following steps: receiving a digest table sent by a master control plane; the digest table contains user digest information of a target user; the target user is a user accessing the master control plane; performing pre-occupation processing based on the digest table to determine pre-occupation resources of the target user; and in the case of an exception of the master control plane, switching the target user to the backup control plane to provide services for the target user based on the pre-occupation resources. Through the above method, in the control plane switching process, since pre-occupation has been performed on the backup control plane side, address conflicts do not occur, and since the information amount of the digest table is relatively small, black barrier periods are not prone to occur, so that the user side is not aware of the control plane switching, normal business is ensured, and service effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network technology, and in particular to a user service method, apparatus, device and storage medium based on the control plane. Background Technology

[0002] In existing technologies, when backing up between CPs (Control Planes), warm backup is usually performed between CPs. That is, if one CP fails, the user data is backed up to another CP. This is usually done by the CP pulling all user information from the CDB (Cloud Database) to the backup CP. After the pull is completed, users can switch to the other CP.

[0003] However, in the current network application environment, the number of users has increased dramatically. Due to the long time required to retrieve data from the CDB, the blackout period can last for a long time when there are many users. This results in users being unable to go online during the blackout period, affecting the normal operation of the business and causing a poor user experience. Summary of the Invention

[0004] This application provides a user service method, apparatus, device, storage medium, and product based on the control plane. It can ensure that no address conflicts occur during control plane switching. Since the 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. This ensures that user online access is not affected, so that the user side is unaware of the control plane switching. While ensuring the normal operation of services, it improves service performance. The technical solution is as follows.

[0005] On one hand, a user service method based on a control plane is provided, the method being executed by a backup control plane, the method comprising:

[0006] Receive a summary table sent by the primary control plane; the summary table contains user summary information of the target user; the target user is a user who accesses the primary control plane;

[0007] Based on the summary table, pre-positioning processing is performed to determine the pre-positioned resources for the target user;

[0008] In the event of an anomaly in the primary control plane, the target user will be switched to the backup control plane to provide services to the target user based on the pre-allocated resources.

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

[0010] A receiving module is used to receive a summary table sent by the primary control plane; the summary table contains user summary information of a target user; the target user is a user who accesses the primary control plane;

[0011] The placeholder module is used to perform pre-placement processing based on the summary table to determine the pre-placement resources for the target user.

[0012] The service module is used to switch the target user to the backup control plane in the event of an anomaly in the primary control plane, so as to provide services to the target user based on the pre-occupied resources.

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

[0014] The information retrieval module is used to retrieve the full information of the target user from the cloud database after switching the target user to the backup control plane based on the pre-occupied resources.

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

[0016] In one possible implementation, the apparatus further includes a table processing module for,

[0017] Once the control plane switchover is confirmed to be complete, the summary table is subjected to aging processing.

[0018] or,

[0019] Once the control plane switch is confirmed to be complete, the summary table is deleted.

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

[0021] In one possible implementation, 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 one possible implementation, the device further includes:

[0023] The table sending module is used to send a summary table to the original primary control plane after determining that the control plane switchover is complete.

[0024] On the other hand, a computer device is provided, the computer device including 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-described 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 program, which is loaded and executed by a processor to implement the above-described control plane-based user service method.

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

[0027] The technical solution provided in this application may include the following beneficial effects:

[0028] The user service method based on the control plane provided in this application embodiment sets up a primary control plane and a backup control plane. The two control planes first synchronize the summary table; that is, the primary control plane synchronizes the summary table with the backup control plane for pre-emptive allocation. If an anomaly occurs in either the primary or backup control plane and a control plane switchover occurs, the backup control plane can provide services to users based on the pre-emptive resources. During the control plane switchover, since the backup control plane has already pre-emptively allocated resources, address conflicts will not occur. Furthermore, because the information in the summary table is relatively small, the amount of data transmitted between the control planes is small, reducing the likelihood of blackout periods. This ensures that user online access is unaffected, making the control plane switchover imperceptible to the user. While ensuring normal business operations, this improves service efficiency.

[0029] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

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

[0031] Figure 1 This illustration shows a network topology diagram of dual CP backup of vBRAS provided in an exemplary embodiment of this application;

[0032] Figure 2 A flowchart of a control plane-based user service method provided in an embodiment of this application is shown;

[0033] Figure 3 A flowchart of a control plane-based user service method provided in an embodiment of this application is shown;

[0034] Figure 4 A flowchart of a control plane-based user service method provided in an embodiment of this application is shown;

[0035] Figure 5 This illustration shows the interaction diagram of the primary and backup control planes in a user service method based on the control plane provided by an exemplary embodiment of this application;

[0036] Figure 6 A block diagram of a control plane-based user service apparatus provided in an exemplary embodiment of this application is shown. Detailed Implementation

[0037] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0038] First, the terms used in this application will be 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 functions of traditional hardware BRAS, realizing the software-based implementation of network functions, thereby improving network flexibility and scalability. Among them, the separation of control and data transfer is one of the key technologies of the vBRAS solution.

[0041] A control-forwarding separated vBRAS device consists of two parts: the vBRAS control plane (vBRAS-Control Plane, vBRAS-CP) and the user plane (vBRAS-User Plane, vBRAS-UP). The vBRAS-CP and vBRAS-UP communicate via a control plane interface protocol. The control plane (CP) is responsible for user access control, user management, authentication, authorization, accounting, and address management. 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-type 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 (CPs), namely the primary control plane and the backup control plane. When the primary CP fails, the backup CP can take over the users and services to avoid service interruption. Figure 1 This application illustrates a network topology diagram of dual CP backup for vBRAS provided in an exemplary embodiment, as shown below. Figure 1 As shown, CP1 and CP2 serve as backups for each other, and two CDBs are configured to back up user information. When CP1 is the primary control plane, CP2 is the backup control plane; when CP2 is the primary control plane, CP1 is the backup control plane. CP1 and CP2 can establish a heartbeat connection to monitor each other's working status.

[0043] To ensure uninterrupted user availability during CP backup switchover and avoid blackout periods, this application provides a user service method based on the control plane. Figure 2 A flowchart of a control plane-based user service method provided in an embodiment of this application is shown. This method can be executed by a backup control plane, such as... Figure 2 As shown, the method may include the following steps:

[0044] Step 210: Receive a summary table sent by the primary control plane; the summary table contains user summary information of the target user; the target user is a user accessing the primary control plane.

[0045] The primary control plane (PCP) and the backup control plane (BCP) establish a communication connection. The primary control plane sends a summary table to the backup control plane, and the backup control plane receives the summary table sent by the primary control plane.

[0046] Optionally, the digest table can be transmitted between the two control planes using protocols such as UDP or TCP, or other protocols can be used for transmission; this application does not impose any restrictions on this.

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

[0048] In one possible implementation, the backup control plane can maintain a local summary table. After receiving the summary table sent by the primary control plane, it reconciles with the local summary table to update the local summary table.

[0049] The summary table may contain user summary information for each user accessing the primary control plane. For example, if the number of users accessing the primary control plane is 10, the summary table may contain user summary information for each of the 10 users. In this embodiment, the user accessing the primary control plane is referred to as the target user. The user summary information may contain information indicating the user's identity and / or information indicating the user's request for the required resources.

[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 based on the information in the summary table, such as IP (Internet Protocol) resources and MAC addresses (MAC addresses), to ensure that when the primary control plane fails, the user can immediately go online when switching to the backup control plane without address conflicts.

[0052] The process of synchronizing the summary table and the pre-placement process described above are executed during the normal operation of the CP.

[0053] Step 230: In the event of an anomaly in the primary control plane, switch the target user to the backup control plane to provide services to the target user based on pre-occupied resources.

[0054] When the primary control plane fails, a control plane switching process is triggered, whereby the original backup control plane becomes the new primary control plane and provides services to the target user based on pre-allocated resources; the original primary control plane becomes the new backup control plane.

[0055] In summary, the user service method based on the control plane provided in this application embodiment sets up a primary control plane and a backup control plane. The two control planes first synchronize the summary table; that is, the primary control plane synchronizes the summary table with the backup control plane for pre-emptive allocation. If an anomaly occurs in either the primary or backup control plane and a control plane switch occurs, the backup control plane can provide services to users based on the pre-emptive resources. During the control plane switchover, since the backup control plane has already pre-empted the resources, address conflicts will not occur. Furthermore, because the information in the summary table is relatively small, the amount of data transmitted between the control planes is small, making blackout periods less likely. This ensures that user online access is unaffected, making the user unaware of the control plane switchover. While ensuring normal business operations, this improves service efficiency.

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

[0057] Step 310: Receive a summary table sent by the primary control plane; the summary table contains user summary information of the 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] Pre-slotting refers to allocating corresponding resources to target users in advance.

[0060] Optionally, the user summary information may include at least one of the following: the user's 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 (e.g., online or offline); when the backup control plane determines that the user's current status is online, it reserves resources for the user, that is, when the target user's current status indicates that the target user is online, it performs pre-reservation processing for the target user and determines the pre-reservation resources for the target user.

[0062] In one possible implementation, the backup control plane can pre-allocate resources to the target user according to a preset amount of resources.

[0063] The user key-value information contained in the user summary information refers to user-related attributes or status information, 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 types of key-value information contained in the summary table can be added based on actual needs, and this application does not impose any restrictions on this. In one possible implementation, in order to ensure that the resources reserved in the backup control plane are adapted to the resource requirements of the target user, the user's key-value information includes placeholder information related to the resources required by the user service. This placeholder information includes at least one of the following: address placeholder information, tunnel placeholder information, and session placeholder information.

[0064] Specifically, based on address placeholder information (such as IP address information) in the summary table, the backup control plane can reserve the same IP address for users; furthermore, it can also assign new IP addresses to users to ensure that they do not conflict with the IP addresses of existing users; based on tunnel placeholder information in the summary table, the backup control plane can reserve tunnel resources for users, such as assigning new tunnel identifiers to users, etc.; based on session information in the summary table, the backup control plane can reserve session resources for users, such as assigning new session identifiers (IDs) to users, etc.

[0065] It should be noted that the user key-value information mentioned above is only illustrative. Other placeholder information can also be added to the summary table and passed to the backup control plane so that the backup control plane can make corresponding resource reservations. The user summary information of different users can contain the same or different types, and this application does not impose any restrictions on this.

[0066] In one possible implementation, the backup control plane can maintain a temporary resource table to record the user's status and the corresponding user's pre-occupied resource information.

[0067] Step 330: In the event of an anomaly in the primary control plane, switch the target user to the backup control plane to provide services to the target user based on pre-occupied resources.

[0068] In one possible implementation, a heartbeat connection is established between the primary control plane and the backup control plane. The primary control plane can periodically send heartbeat signals to the backup control plane to indicate that it is in normal operating condition. In this case, the backup control plane can monitor the heartbeat signals sent by the primary control plane. If no heartbeat signal is received within a predetermined period, the primary control plane is determined to be abnormal, and a control plane switchover is triggered. Alternatively, in another possible implementation, the primary control plane can monitor its own resource status. If it determines that its own resource status meets abnormal conditions, it determines an abnormality and sends a switchover command to the backup control plane to trigger a control plane switchover.

[0069] Step 340: Retrieve full information of the target users from the cloud database. Step 350: Based on the full information of the target users, establish a formal user table for the target users.

[0070] This full information can be implemented in the form of a user table. After the backup control plane pulls the complete user table information from the cloud database, it creates a formal user table based on the user table information. This formal user table can contain detailed configurations, policies, billing information, etc. After the formal user table is created, it replaces the summary table. In this case, the state of the backup control plane is kept synchronized with the state of the primary control plane.

[0071] In one possible implementation, the summary table is aged out once the control plane switchover is confirmed to be complete.

[0072] Aging out summary tables refers to managing them to ensure the information remains up-to-date and valid. Aging is used to remove outdated or invalid entries to free up resources and maintain system efficiency. Illustratively, when aging out summary tables, an aging time can be set for each item. This aging time can be a fixed value or the timestamp of the most recent activity. Aging checks are performed periodically, deleting entries that have exceeded their aging time. Alternatively, an aging threshold can be set for the summary table; when the number of entries exceeds the threshold, the aging process is initiated, deleting the oldest entry.

[0073] In another possible implementation, the summary table is deleted once the control plane switch is confirmed to be complete.

[0074] After the control plane switchover is completed, the original standby control plane becomes the new primary control plane, and the original primary control plane becomes the new standby control plane. In this case, in order to ensure system stability, the process of synchronizing the summary table is still required. Therefore, the original standby control plane (new primary control plane) sends the summary table to the original primary control plane after confirming that the control plane switchover is complete. If the summary table was previously aged, the latest summary table is sent to the original primary control plane (new standby control plane). If the summary table was previously deleted, the summary table is reconstructed based on the current user's summary information and sent to the original primary control plane (new standby control plane).

[0075] Through the above process, hot standby between the two control planes can be achieved. During hot standby, since only the summary table needs to be synchronized between the two control planes, and the amount of information in the summary table is much smaller than that in the full data, the stability of the control planes due to excessive data transmission can be avoided, as well as the impact on the heartbeat line between the control planes. When the control plane switches over, since the summary table already exists in the backup control plane, the backup control plane can directly take over the processing of user online services without affecting user services, making the user side unaware of the switch. Subsequently, the backup control plane pulls the full user information from the cloud database, completes the acquisition of all user information, and finally creates the formal user table in the backup control plane, replacing the summary table, thus completing the control plane switchover process.

[0076] In summary, the user service method based on the control plane provided in this application embodiment sets up a primary control plane and a backup control plane. The two control planes first synchronize the summary table; that is, the primary control plane synchronizes the summary table with the backup control plane for pre-emptive allocation. If an anomaly occurs in either the primary or backup control plane and a control plane switch occurs, the backup control plane can provide services to users based on the pre-emptive resources. During the control plane switchover, since the backup control plane has already pre-empted the resources, address conflicts will not occur. Furthermore, because the information in the summary table is relatively small, the amount of data transmitted between the control planes is small, making blackout periods less likely. This ensures that user online access is unaffected, making the user unaware of the control plane switchover. While ensuring normal business operations, this improves service efficiency.

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

[0078] Step 410: Send a summary table to the backup control plane so that the backup control plane can perform pre-occupancy processing based on the summary table to determine the pre-occupancy resources of the target user; the summary table contains the user summary information of the target user; the target user is a user who accesses the primary control plane.

[0079] Step 420: In the event of an anomaly in the primary control plane, switch the target user to the backup control plane so that the backup control plane can provide services to the target user based on pre-occupied resources.

[0080] After the control plane switchover is completed, the primary control plane is converted to the new backup control plane, and the backup control plane is converted to the new primary control plane. In this case, the primary control plane (new backup control plane) executes the backup control plane process, that is, it receives the digest table sent by the original backup control plane (new primary control plane), performs pre-occupancy processing based on the digest table, and determines the pre-occupancy resources of the target user. After the next control plane switchover, it provides services to the target user based on the pre-occupancy resources.

[0081] In this embodiment, a heartbeat connection can be established between the primary control plane and the backup control plane. If the heartbeat connection is abnormal or interrupted, it is determined that the connected control plane is abnormal.

[0082] For the primary control plane, it can monitor its own resource status. If the resource status meets the abnormal conditions, it determines that the primary control plane is abnormal and triggers the primary and backup control plane switchover. For example, if the primary control plane detects that the CPU utilization rate has reached the utilization rate threshold, it determines that the abnormal conditions are met; or, if it detects performance abnormalities, it determines that the abnormal conditions are met.

[0083] In summary, the user service method based on the control plane provided in this application embodiment sets up a primary control plane and a backup control plane. The two control planes first synchronize the summary table; that is, the primary control plane synchronizes the summary table with the backup control plane for pre-emptive allocation. If an anomaly occurs in either the primary or backup control plane and a control plane switch occurs, the backup control plane can provide services to users based on the pre-emptive resources. During the control plane switchover, since the backup control plane has already pre-empted the resources, address conflicts will not occur. Furthermore, because the information in the summary table is relatively small, the amount of data transmitted between the control planes is small, making blackout periods less likely. This ensures that user online access is unaffected, making the user unaware of the control plane switchover. While ensuring normal business operations, this improves service efficiency.

[0084] Figure 5 This illustration shows an interaction diagram of the primary and backup control planes in a control plane-based user service method provided by an exemplary embodiment of this application, such as... Figure 5As shown, each control plane can contain a UM (User Management) component, a URC (User Resource Control) component, an AM (Access Management) component, and an 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, handling user registration, login, logout, and access control. URC refers to the part of the control plane responsible for managing user resource allocation and usage, implementing functions such as traffic control, bandwidth allocation, and quality of service management. AM refers to the part of the control plane responsible for managing user access permissions and methods, implementing functions such as authentication, authorization, auditing, and network access control. L2TP is a network protocol used to create a Layer 2 tunnel on top of the Point-to-Point Protocol (PPP) to support remote access services.

[0085] In such Figure 5 In the scenario shown, initially, CP1 is the primary control plane and CP2 is the backup control plane. During this process, when a user connects to the primary control plane (i.e., the user goes online on CP1), after confirming the user table entries, the user synchronizes the summary table with the backup control plane (CP2). CP2 then uses the summary table to perform address placeholders, tunnel placeholders, and session placeholders, etc. In the event of an CP1 failure, a primary / backup control plane switch occurs, with CP2 becoming the primary control plane and CP1 becoming the backup control plane. For CP2, after the primary / backup control plane switch, it pulls all user information from the cloud database, restores detailed data (i.e., builds the official user table), and then reconciles the detailed data with the local summary table, deleting duplicate entries and updating the address, tunnel, and session data in the summary table. Furthermore, after data synchronization is complete, the summary table undergoes aging processing and is synchronized back to CP1. For CP1, upon detecting its downgrade to the backup control plane, it generates a summary table and simultaneously initiates the aging mechanism. Upon receiving the summary table synchronized by CP2, it reconciles it with the local summary table and updates the summary table.

[0086] Based on the above process, hot standby between two CPs can be completed. During hot standby, since only the summary table needs to be synchronized between the two CPs, the amount of information to be synchronized is significantly less than when pulling the full user table information from the CDB. Therefore, real-time synchronization can be achieved during dual-CP operation. During control plane switching, since the summary table already exists as a placeholder, the standby CP device can directly take over handling user online services without being affected by the CP switch, achieving a seamless CP switch for the user side. Subsequently, it pulls the full information from the CDB to complete the acquisition of all user information, ultimately creating the official table for the standby CP, thus completing the entire CP switchover process. Throughout the entire process, service is unaffected, and no additional burden or impact is placed on the network or equipment.

[0087] Figure 6 This illustration shows a block diagram of a control plane-based user service apparatus provided in an exemplary embodiment of this application. This apparatus can be applied in the control plane to perform tasks such as... Figure 2 or Figure 3 All or part of the steps shown in the illustrated embodiments, such as Figure 6 As shown, the device includes:

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

[0089] Placement module 620 is used to perform pre-placement processing based on the summary table to determine the pre-placement resources of the target user;

[0090] Service module 630 is used to switch the target user to the backup control plane in the event of an anomaly in the primary control plane, so as to provide services to the target user based on the pre-occupied resources.

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

[0092] The information retrieval module is used to retrieve the full information of the target user from the cloud database after switching the target user to the backup control plane based on the pre-occupied resources.

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

[0094] In one possible implementation, the apparatus further includes a table processing module for,

[0095] Once the control plane switchover is confirmed to be complete, the summary table is subjected to aging processing.

[0096] or,

[0097] Once the control plane switch is confirmed to be complete, the summary table is deleted.

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

[0099] In one possible implementation, 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 one possible implementation, the device further includes:

[0101] The table sending module is used to send a summary table to the original primary control plane after determining that the control plane switchover is complete.

[0102] In summary, the user service device based on a control plane provided in this application embodiment is equipped with a primary control plane and a backup control plane. The two control planes first synchronize the summary table; that is, the primary control plane synchronizes the summary table with the backup control plane to allow the backup control plane to pre-allocate resources. If an anomaly occurs in either the primary or backup control plane and a control plane switch occurs, the backup control plane can provide services to users based on the pre-allocated resources. During the control plane switchover, since the backup control plane has already pre-allocated resources, address conflicts will not occur. Furthermore, because the information in the summary table is relatively small, the amount of data transmitted between the control planes is small, making blackout periods less likely. This ensures that user online access is not affected, making the user unaware of the control plane switchover. While ensuring normal business operations, this improves service efficiency.

[0103] In one exemplary embodiment, a computer device is provided, 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 all or part of the steps in the control plane-based user service method described above; wherein, the computer device may 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 this application does not impose any limitations on this.

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

[0105] In one exemplary embodiment, a computer program product is also provided, comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the above-described actions. 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] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.

[0107] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A user service method based on the control plane, characterized in that, The method is executed by a backup control plane, and the method includes: Receive a summary table sent by the primary control plane; the summary table contains user summary information of the target user; the target user is a user who accesses the primary control plane, and the user summary information includes the target user's current status, which includes online and offline; If the target user is currently online, pre-reservation processing is performed based on the summary table to determine the pre-reservation resources for the target user; In the event of an anomaly in the primary control plane, the target user will be switched to the backup control plane to provide services to the target user based on the pre-allocated resources.

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

3. The method according to claim 1, characterized in that, The method further includes: Once the control plane switchover is confirmed to be complete, the summary table is subjected to aging processing. or, Once the control plane switch is confirmed to be complete, the summary table is deleted.

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

5. The method according to claim 4, 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, characterized in that, The method further includes: Once the control plane switchover is confirmed to be complete, a summary table is sent to the original primary control plane.

7. A user service device based on a control plane, characterized in that, The device is used in a backup control plane, and the device includes: A receiving module is used to receive a summary table sent by the primary control plane; the summary table contains user summary information of a target user; the target user is a user accessing the primary control plane, and the user summary information includes the target user's current status, which includes online and offline; The placeholder module is used to perform pre-placement processing based on the summary table to determine the pre-placement resources for the target user when the target user's current status is online. The service module is used to switch the target user to the backup control plane in the event of an anomaly in the primary control plane, so as to provide services to the target user based on the pre-occupied resources.

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

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to implement the control plane-based user service method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform to implement the control plane-based user service method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Disaster recovery backup implementation method and device

    CN112367252A

  • Disaster recovery system control method, disaster recovery system, electronic device and readable storage medium

    CN117294723A

  • Resource reservation method, communication system and communication equipment

    CN117812644A