Network processing method, system, computer device and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2023-09-28
- Publication Date
- 2026-07-31
AI Technical Summary
由于vBRAS-CP上存在用户数据损坏或消失的情况,故而,vBRAS-CP恢复后,当vBRAS-CP与vBRAS-UP进行用户对账时,将会导致vBRAS-UP上的用户掉线,可靠性差
[0020]上述网络处理方法、系统、计算机设备、存储介质和计算机程序产品,通过主控制面确定用户面集群对应的至少两个备控制面;在主控制面纳管用户面集群的过程中,通过主控制面向每个备控制面同步主控制面的主控制面数据,实现主控制面数据的多备份;进而在主控制面处于异常状态的情况下,通过用户面集群根据每个备控制面对应的优先级,从至少两个备控制面中确定目标控制面;由于每个备控制面都同步了主控制面数据,故而通过目标控制面能够根据主控制面数据纳管用户面集群;在主控制面从异常状态恢复后,通过主控制面获取目标控制面的目标控制面数据;通过主控制面根据目标控制面数据重新纳管用户面集群,即使主控制面出现异常,也能保证用户面集群上的用户的正常上线,提高了可靠性。
Smart Images

Figure CN117354076B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication network technology, and in particular to a network processing method, system, computer device, and storage medium. Background Technology
[0002] With the development of communication network technology, the Virtual Broadband Remote Access Server (vBRAS) has emerged as a network processing technology. vBRAS is a virtualization technology used to replace traditional physical devices to implement management and control functions for broadband access networks. In vBRAS technology, the Virtual Broadband Remote Access Server Control Plane (vBRAS-CP) is responsible for handling control layer functions such as user access authentication, flow control, and QoS management, while the Virtual Broadband Remote Access Server User Plane (vBRAS-UP) is responsible for handling user data forwarding.
[0003] In traditional technology, when a vBRAS-CP fails, users on vBRAS-UP should maintain existing service forwarding. However, because user data on vBRAS-CP can be corrupted or lost, when vBRAS-CP recovers and performs user reconciliation with vBRAS-UP, users on vBRAS-UP will experience disconnection, resulting in poor reliability. Summary of the Invention
[0004] Therefore, it is necessary to provide a network processing method, system, computer device, computer-readable storage medium, and computer program product that can improve reliability in response to the above-mentioned technical problems.
[0005] Firstly, this application provides a network processing method. The method includes:
[0006] The primary control plane determines at least two backup control planes corresponding to the user plane cluster.
[0007] During the process of the main control plane managing the user plane cluster, the main control plane data of the main control plane is synchronized with each backup control plane through the main control plane.
[0008] In the event that the primary control plane is in an abnormal state, the target control plane is determined from the at least two backup control planes by the user plane cluster according to the priority of each backup control plane.
[0009] The target control plane manages the user plane cluster based on the data from the main control plane.
[0010] After the main control plane recovers from the abnormal state, the target control plane data of the target control plane is obtained through the main control plane;
[0011] The user plane cluster is remanaged through the main control plane based on the target control plane data.
[0012] Secondly, this application also provides a network processing system. The system includes a user plane cluster, a main control plane, and a target control plane;
[0013] The primary control plane is used to determine at least two backup control planes corresponding to the user plane cluster; during the process of managing the user plane cluster, the primary control plane data of the primary control plane is synchronized to each backup control plane.
[0014] The user plane cluster is used to determine a target control plane from at least two backup control planes according to the priority of each backup control plane when the main control plane is in an abnormal state.
[0015] The target control plane is used to manage the user plane cluster based on the main control plane data.
[0016] The main control plane is also used to acquire target control plane data of the target control plane after the main control plane recovers from the abnormal state; and to re-manage the user plane cluster based on the target control plane data.
[0017] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method described above.
[0018] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the method described above.
[0019] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described above.
[0020] The aforementioned network processing methods, systems, computer equipment, storage media, and computer program products determine at least two backup control planes corresponding to the user plane cluster through the primary control plane. During the process of the primary control plane managing the user plane cluster, it synchronizes the primary control plane data with each backup control plane, achieving multiple backups of the primary control plane data. Furthermore, in the event of an abnormal state of the primary control plane, the user plane cluster determines the target control plane from at least two backup control planes based on the priority of each backup control plane. Since each backup control plane synchronizes with the primary control plane data, the target control plane can manage the user plane cluster based on the primary control plane data. After the primary control plane recovers from the abnormal state, it obtains the target control plane data from the target control plane. The primary control plane then re-manages the user plane cluster based on the target control plane data. Even if the primary control plane experiences an anomaly, it can ensure the normal online status of users on the user plane cluster, improving reliability. Attached Figure Description
[0021] Figure 1 An application environment diagram of a network processing method provided in an embodiment of this application;
[0022] Figure 2 A flowchart illustrating a network processing method provided in an embodiment of this application;
[0023] Figure 3A A schematic diagram illustrating the relationship between a user plane cluster in a multi-city area and each group of primary and backup control planes, provided for an embodiment of this application.
[0024] Figure 3B This is a schematic diagram illustrating the management of a user plane cluster within a city when a set of primary and backup control planes fails, as provided in an embodiment of this application.
[0025] Figure 4 A structural block diagram of a network processing system provided in an embodiment of this application;
[0026] Figure 5 An internal structural diagram of a computer device provided in an embodiment of this application;
[0027] Figure 6 This is an internal structural diagram of another computer device provided in an embodiment of this application. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0029] The network processing method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the main control plane 102, backup control plane 104A, backup control plane 104B, user plane cluster 106A, user plane cluster 106B, and user plane cluster 106C communicate via a network. The main control plane 102 can determine the backup control planes 104A and 104B corresponding to user plane clusters 106A, 106B, and 106C. During the process of the main control plane 102 managing user plane clusters 106A, 106B, and 106C, the main control plane 102 can synchronize the main control plane data to the backup control planes 104A and 104B. In the event of an abnormal state of the main control plane 102, user plane clusters 106A, 106B, and 106C can... Based on the priorities corresponding to backup control planes 104A and 104B, a target control plane is determined from backup control planes 104A and 104B, respectively. User plane clusters 106A, 106B, and 106C are then managed through the target control plane based on the data from the primary control plane. After the primary control plane 102 recovers from the abnormal state, it obtains the target control plane data from the target control plane. The primary control plane 102 can then re-manage user plane clusters 106A, 106B, and 106C based on the target control plane data.
[0030] Each user plane cluster comprises n user planes. The main control plane, backup control plane, and user plane clusters can be embedded in at least one device, either a terminal or a server. Terminals can be, but are not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Servers can be implemented using independent servers or server clusters composed of multiple servers.
[0031] In one embodiment, such as Figure 2 As shown, a network processing method is provided, and the method is illustrated in the example of a system including a main control plane, a target control plane, and a user plane cluster. The method includes the following steps:
[0032] S202 determines at least two backup control planes corresponding to the user plane cluster through the primary control plane.
[0033] The control plane (vBRAS-CP) is responsible for user access and centralized management. The user plane (vBRAS-UP) cluster includes at least one of a physical user plane instance (pUP) or a virtual user plane instance (vUP), responsible for traffic forwarding. Physical user plane instances run on physical network devices. Virtual user plane instances are deployed and run in a virtualized environment.
[0034] The primary control plane is the preferred control plane instance for the user plane cluster. Backup control planes are backup instances of the primary control plane to prevent service interruptions in case of primary control plane failure. When the primary control plane can effectively manage the user plane cluster, its priority is higher than that of any backup control plane. Different control planes have different priorities.
[0035] In some embodiments, the primary control plane and user plane clusters are deployed in a target region. The primary control plane can determine the first backup control plane deployed in the target region, thus obtaining the first backup control plane corresponding to the user plane cluster. It can be understood that the primary control plane and any backup control plane deployed in the same region together form a set of primary and backup control planes. For example, the primary control plane and the first backup control plane constitute a set of primary and backup control planes within the target region.
[0036] In some embodiments, the primary control plane can determine the second backup control plane corresponding to the user plane cluster from various sets of primary and backup control planes within a non-target area. The non-target area refers to an area other than the target area. It is understood that since the second backup control plane, along with the primary and first backup control planes, forms a set of primary and backup control planes deployed in different areas, the second backup control plane is decentralized compared to the primary and first backup control planes, and is not affected by the target area. It is understood that determining the second backup control plane from a set of primary and backup control planes within a non-target area only requires simple modifications to the control planes in each area to enable them to manage user plane clusters in other areas, eliminating the need to deploy additional control planes within the target area, thus saving resources. Furthermore, because the second backup control plane is decentralized, it can further improve the reliability of network processing.
[0037] In some embodiments, the second backup control plane corresponding to this user plane cluster can be the primary control plane or the first backup control plane in a city other than the target city where the primary control plane is deployed, or the primary control plane or the first backup control plane of another user plane cluster other than this user plane cluster. For a single user plane cluster, the priority of the primary control plane, the first backup control plane, and the second backup control plane decreases in that order.
[0038] In some embodiments, since the second backup control plane is not deployed in the target area, the priority of the second backup control plane is lower than that of the first backup control plane deployed in the target area.
[0039] In some embodiments, the primary control plane can distribute information about each backup control plane to the user plane cluster. The user plane cluster can determine its own primary and backup control planes.
[0040] In some embodiments, when the primary control plane is managed by a user plane cluster, the primary control plane automatically distributes backup control plane information to each user plane in the user plane cluster. It can be understood that the primary control plane and the first backup control plane are deployed in the same area, therefore the primary control plane can directly distribute the information from the first backup control plane. However, the second backup control plane is deployed in a different area than the primary control plane, therefore the primary control plane can automatically locate the second backup control plane corresponding to the user plane cluster in the network and synchronize the information from the second backup control plane to each user plane in the user plane cluster.
[0041] In some embodiments, the user plane cluster can refer to a pUP pool. A pUP pool (Physical User PlanePool) is a collection of physical user plane instances responsible for processing and forwarding network traffic.
[0042] In some embodiments, each user plane in a user plane cluster maintains at least three control user plane channels (CU channels). The Control and User Plane Separation Protocol (CUSP) defines the interface and protocols between the control plane and the user plane, including the CU channels, to enable the transmission of control signaling. It is understood that the CU channels play a crucial role in the control plane's management of the user plane, including control plane transmission, managing user plane connections, providing control functions, and supporting control commands. Therefore, the CU channels are essential for the control plane's management of the user plane.
[0043] S204, during the process of managing the user plane cluster through the main control plane, synchronizes the main control plane data of the main control plane with each backup control plane through the main control plane.
[0044] The main control plane data refers to the data generated by the main control plane during the process of incorporating user plane clusters into the main control plane. Main control plane data can include user information and device configuration information on the main control plane. Device configuration information is used to characterize the configuration of each user plane in the user plane cluster. Essentially, device configuration information is a type of user plane cluster configuration information.
[0045] In some embodiments, the primary control plane can synchronize its own primary control plane data to each of the corresponding lower-priority backup control planes. It can be understood that the corresponding lower-priority backup control plane refers to a backup control plane whose priority is lower than that of the primary control plane. The priorities of the backup control plane and the primary control plane are the priorities of the managed user plane cluster.
[0046] In some embodiments, the current control plane of the currently managed user plane cluster can synchronize its current control plane data to a corresponding lower-priority non-current control plane. The current control plane is any one of the primary control plane and at least two backup control planes. A higher-priority control plane will be prioritized for managing the user plane cluster. If a higher-priority control plane fails, a lower-priority control plane will take over management. Therefore, to ensure network processing reliability, the higher-priority control plane will synchronize control plane data related to the user plane cluster to the lower-priority control plane, thus enabling the lower-priority control plane to better manage the user plane cluster.
[0047] S206, In the event that the primary control plane is in an abnormal state, the target control plane is determined from at least two backup control planes by the user plane cluster according to the priority of each backup control plane.
[0048] In some embodiments, if the user plane cluster is unable to establish a connection with the main control plane, the user plane cluster can determine that the main control plane is in an abnormal state.
[0049] In some embodiments, the control plane and user plane clusters can perform real-time connection status awareness through the Control and User Plane Separation Protocol (CUSP) interface. If the user plane cluster detects an abnormal connection status between itself and the main control plane, it can determine that the main control plane has failed and is in an abnormal state.
[0050] In some embodiments, the user plane cluster can report abnormal information of the primary control plane to each backup control plane to indicate that each backup control plane no longer synchronizes the data of the primary control plane.
[0051] In some embodiments, when the primary control plane is in an abnormal state, the user plane cluster can determine the highest priority backup control plane from at least two backup control planes to obtain the target control plane.
[0052] In some embodiments, at least two backup control planes include a first backup control plane and a second backup control plane. If the primary control plane is in an abnormal state, the user plane cluster may preferentially establish a connection with the first control plane. If the connection between the user plane cluster and the first control plane is normal, the first control plane serves as the target control plane. If the connection between the user plane cluster and the first control plane is abnormal, the user plane cluster may use the second control plane as the target control plane.
[0053] In some embodiments, the user plane cluster can report anomalies from the first control plane to the second control plane.
[0054] S208 manages the user plane cluster through the target control plane based on the data from the main control plane.
[0055] In some embodiments, the user plane cluster can send user login data to the target control plane. The target control plane can manage the user plane cluster based on the main control plane data and the user login data. It is understood that new users will log in to the target control plane. When a user uses the user plane in the user plane cluster to connect to the network or log in, the user plane records the user's login data. User login data is used to monitor and manage network connections to provide appropriate services and maintain network security.
[0056] In some embodiments, when the user plane in the user plane cluster detects that both the primary control plane and the first control plane have failed and cannot connect, it will actively connect to the second backup control plane and send the user online data to the second backup control plane.
[0057] S210: After the main control plane recovers from the abnormal state, the target control plane data of the target control plane is obtained through the main control plane.
[0058] In some embodiments, during the process of incorporating a user plane cluster into the target control plane, after the main control plane recovers from an abnormal state, the main control plane interacts with the target control plane to obtain target control plane data. It can be understood that target control plane data refers to the control plane data generated during the process of incorporating the user plane cluster into the target control plane. Target control plane data includes user information and device configuration information related to the user plane cluster on the target control plane.
[0059] In some embodiments, after the primary control plane recovers from an abnormal state, the target control plane can be determined from at least two backup control planes based on the status and corresponding priority of each backup control plane. It can be understood that after the primary control plane accesses the network, it needs to first determine the current target control plane for managing the user plane cluster in order to synchronize the control plane data related to the user plane cluster with the current target control plane and re-manage the user plane cluster.
[0060] S212, the user plane cluster is remanaged through the main control plane based on the target control plane data.
[0061] In some embodiments, the primary control plane lowers its priority after recovering from an abnormal state. At this time, the primary control plane's priority is reduced accordingly. If the primary control plane obtains data from the target control plane, it can restore its priority. In this case, the primary control plane's priority is higher than any backup control plane, and the user plane cluster will be managed by the primary control plane with the highest priority.
[0062] In some embodiments, the user plane cluster corresponds to a primary control plane, a first backup control plane, and a second backup control plane. The priorities of the primary control plane, the first backup control plane, and the second backup control plane decrease sequentially. When the primary control plane is incorporated into the user plane cluster, it sends information about the first and second backup control planes to the user plane cluster, enabling the user plane cluster to determine its own corresponding first and second backup control planes. The primary control plane also synchronizes its data to the lower-priority first and second backup control planes. In the event of a primary control plane failure, the user plane cluster can report the primary control plane's anomaly to each backup control plane, and each backup control plane will no longer synchronize its primary control plane data. If the first backup control plane is not faulty, it will serve as the target control plane. If the first backup control plane also fails, the user plane cluster will use the second backup control plane as the target control plane. Essentially, the user plane cluster will use the highest-priority backup control plane among the fault-free backup control planes as the target control plane. The target control plane will then incorporate the user plane cluster into its management based on the synchronized primary control plane data and the user online data reported by the user plane cluster. After the primary control plane and the first backup control plane recover, both will lower their respective priorities, making their priorities lower than the target control plane's priority. The reduced-priority primary and first backup control planes will then connect to the network and interact with the target control plane. The target control plane will synchronize its user plane cluster-related target control plane data to both the primary and first backup control planes. Once the primary and first backup control planes have obtained the target control plane data, they will restore their respective priorities. The restored priority of the primary control plane will be higher than that of any backup control plane, while the restored priority of the first backup control plane will be second only to that of the primary control plane. The primary control plane, having restored its priority, will then re-manage the user plane cluster based on the target control plane data.
[0063] In the aforementioned network processing method, at least two backup control planes corresponding to the user plane cluster are determined through the primary control plane. During the process of the primary control plane managing the user plane cluster, the primary control plane synchronizes the primary control plane data with each backup control plane to achieve multiple backups of the primary control plane data. Furthermore, in the event of an abnormal state of the primary control plane, the user plane cluster determines the target control plane from at least two backup control planes based on the priority of each backup control plane. Since each backup control plane synchronizes the primary control plane data, the target control plane can manage the user plane cluster based on the primary control plane data. After the primary control plane recovers from the abnormal state, the primary control plane obtains the target control plane data. The primary control plane re-manages the user plane cluster based on the target control plane data. Even if the primary control plane experiences an anomaly, the normal online status of users on the user plane cluster can be guaranteed, thus improving reliability.
[0064] In some embodiments, determining at least two backup control planes corresponding to the user plane cluster through the primary control plane includes at least one of the following processes: searching for each candidate control plane according to a preset address range through the primary control plane, and determining the backup control plane corresponding to the user plane cluster from each candidate control plane according to the capacity of each candidate control plane; the priority of the backup control plane is related to the capacity of the backup control plane; and determining the backup control plane pre-configured for the user plane cluster through the primary control plane.
[0065] In some embodiments, the primary control plane has a preset address range. The primary control plane can search for candidate control planes corresponding to the preset address range in the network. A second backup control plane with sufficient capacity to meet backup requirements is selected from the candidate control planes. It is understood that the preset address range is used to indicate control planes deployed outside the target area that can serve as the second backup control plane for the user plane cluster within the target area.
[0066] In some embodiments, there are at least two second backup control planes. The priority of each second backup control plane is positively correlated with its capacity. Furthermore, the priority of any second backup control plane is lower than the priority of any first backup control plane.
[0067] In some embodiments, the primary control plane can select the second backup control plane with the largest capacity from among the candidate control planes.
[0068] In some embodiments, the second backup control plane may be pre-configured. The primary control plane can directly locate the pre-configured second backup control plane from the network.
[0069] In some embodiments, a set of primary and backup control planes is deployed within the target area. This set of primary and backup control planes includes the primary control plane and the first backup control plane corresponding to the user plane cluster within the target area.
[0070] In some embodiments, at least two sets of primary and backup control planes are deployed within the target area. Each user plane cluster within the target area is managed by one set of primary and backup control planes. Besides the primary and backup control planes corresponding to each user plane cluster, the corresponding primary control plane can also find the first backup control plane from other sets of primary and backup control planes within the target area through a preset address range. The first backup control plane within the primary and backup control plane set corresponding to the user plane cluster has a higher priority than the first backup control plane found from other sets of primary and backup control planes. The priority of each first backup control plane found from other sets of primary and backup control planes is positively correlated with the control plane capacity.
[0071] In this embodiment, the main control plane searches for candidate control planes based on a preset address range, and determines the backup control plane corresponding to the user plane cluster from among the candidate control planes based on the capacity of each candidate control plane. The priority of the backup control plane is related to its capacity, and the subsequent use of the backup control plane to manage the user plane cluster can ensure load balancing as much as possible. The main control plane determines the backup control plane pre-configured for the user plane cluster. The accurate determination of the backup control plane by the main control plane ensures that the backup control plane can manage the user plane cluster when the main control plane fails, thus improving reliability.
[0072] In some embodiments, when the primary control plane is in an abnormal state, the user plane cluster determines the target control plane from at least two backup control planes according to the priority of each backup control plane. This includes: when the user plane cluster cannot establish a connection with the primary control plane, determining that the primary control plane is in an abnormal state; and determining the target control plane from at least one backup control plane according to the state and corresponding priority of each backup control plane. The target control plane refers to the backup control plane with the highest priority among the backup control planes in normal state.
[0073] In some embodiments, the user plane cluster can be aware of the connection status with the main control plane. If it is determined that the connection with the main control plane cannot be established, it can be determined that the main control plane has failed and is in an abnormal state.
[0074] In some embodiments, the user plane cluster can prioritize sensing the connection status between backup control planes with higher priority. That is, it senses the connection status of each backup control plane in order of priority. When a backup control plane with a normal connection status is sensed, it is used as the target control plane, and there is no need to continue sensing the connection status of backup control planes with lower priority than the target control plane.
[0075] In some embodiments, the user plane cluster can determine a first backup control plane with higher priority from at least two backup control planes. The user plane cluster can be aware of the connection status with the first backup control plane, and if it determines that it cannot connect to the first backup control plane, it determines that the first backup control plane has failed and is in an abnormal state.
[0076] In some embodiments, when both the primary control plane and the first backup control plane are in an abnormal state, the user plane cluster can use the control plane that is in a normal state and has the highest priority among its own control planes as the target control plane. If the user plane cluster itself has a primary control plane, a first backup control plane, and a second backup control plane, then the target control plane is the second backup control plane.
[0077] In some embodiments, after the primary control plane recovers, the primary control plane will access the network, identify the highest priority control plane among the backup control planes corresponding to the user plane cluster that is in normal condition, and interact with the target control plane to synchronize the control plane data related to the user plane cluster.
[0078] In this embodiment, when the user plane cluster cannot establish a connection with the main control plane, the user plane cluster determines that the main control plane is in an abnormal state. The user plane cluster then determines the target control plane from at least one backup control plane based on the state and corresponding priority of each backup control plane. The target control plane refers to the backup control plane with the highest priority among the backup control planes that are in a normal state. Regardless of whether the main control plane is abnormal or any backup control plane is abnormal, the user plane cluster can be managed by the backup control plane that is in a normal state and has a high priority, thus improving reliability.
[0079] In some embodiments, managing the user plane cluster through the target control plane based on the main control plane data includes: establishing a connection between the user plane cluster and the target control plane, and sending user online data to the target control plane; and managing the user plane cluster through the target control plane based on the main control plane data and the user online data.
[0080] In some embodiments, the user plane cluster can proactively establish a connection with the target control plane and send user online data to the target control plane. The main control plane data includes user information and device status information related to the user plane cluster. The target control plane can manage the user plane cluster by configuring user objects based on the main control plane data and the user online data.
[0081] In some embodiments, firstly, the target control plane can compare user information in user login data and main control plane data. This includes checking whether user accounts, login times, login IP addresses, etc., have corresponding records in both systems to ensure that user login data and user information match. Secondly, it compares user login data with device configuration information. This includes checking whether the user's access port, access speed, service type, etc., are consistent with the vBRAS-UP configuration to ensure that user login data conforms to the system configuration and regulations. User reconciliation can be completed through these two comparisons.
[0082] In some embodiments, during the process of incorporating a target control plane into a user plane cluster, the current target control plane synchronizes its data with a lower-priority backup control plane. If the primary control plane has not recovered and the current target control plane is in an abnormal state, the user plane cluster can determine the next target control plane from among the backup control planes based on their status and corresponding priority. This next target control plane is then used as the current target control plane, and the current target control plane incorporates the user plane cluster based on the control plane data synchronized from the previous target control plane.
[0083] After the main control plane recovers, it can synchronize the control plane data of the current target control plane and re-manage the user plane cluster based on the synchronized data of the current target control plane.
[0084] In this embodiment, a connection is established between the user plane cluster and the target control plane, and user online data is sent to the target control plane. The target control plane manages the user plane cluster based on the main control plane data and the user online data. In the event of a failure of the main control plane, the user plane cluster is managed by the target control plane, which improves the reliability of network processing.
[0085] In some embodiments, during the process of the current control plane managing a user plane cluster, the current control plane data of the current control plane is synchronized to non-current control planes; the current control plane refers to the control plane currently managing the user plane cluster among all control planes corresponding to the user plane cluster; the non-current control plane refers to the control plane with a lower priority than the current control plane among all control planes; after the main control plane recovers from the abnormal state, the target control plane data of the target control plane is obtained through the main control plane, including: after the main control plane recovers from the abnormal state, reducing the priority of the main control plane and determining the reduced priority of the main control plane; the reduced priority is lower than the priority of the target control plane; obtaining the target control plane data synchronized by the target control plane through the main control plane; after the target control plane data synchronization is completed, restoring the priority of the main control plane; the restored priority of the main control plane is higher than the priority of any non-main control plane among all control planes.
[0086] In some embodiments, during the process of the target control plane managing the user plane cluster, the target control plane synchronizes its own control plane data with the corresponding lower-priority non-target control planes. After the primary control plane recovers from an abnormal state, it lowers its own priority. The reduced priority of the primary control plane is lower than that of the target control plane. Therefore, after the primary control plane accesses the network, it can interact with the target control plane as a lower-priority non-target control plane, and can synchronize the target control plane's control plane data. After the target control plane's control plane data synchronization is complete, the primary control plane can restore its own priority. The primary control plane with restored priority has a higher priority among the control planes corresponding to the user plane cluster. At this time, the primary control plane, as the highest-priority control plane among the normal control planes, can re-manage the user plane cluster.
[0087] In some embodiments, the master control plane can send a state recovery notification to the user plane cluster. Upon receiving the state recovery notification, the user plane can send user online data to the master control plane. The master control plane can then re-manage the user plane cluster based on the user online data and the control plane data from the synchronized target control plane.
[0088] In some embodiments, after the primary control plane recovers, it can set its own priority to zero to prevent the primary control plane from having a higher priority than the target control plane when it accesses the network.
[0089] In some embodiments, the current target control plane is the second backup control plane. During the process of the target control plane managing the user plane cluster, after the first backup control plane recovers, it will lower its own priority and then access the network. At this time, the priority of the first backup control plane after the priority is lower than that of the target control plane. The first backup control plane can interact with the target control plane. After synchronizing the target control plane's control plane data, the first backup control plane can restore its own priority. The priority of the first backup control plane after priority restoration is higher than that of the target control plane. At this time, the current target control plane can be used as the previous target control plane, and the first backup control plane after priority restoration can be used as the current target control plane. The first backup control plane after priority restoration can manage the user plane cluster based on the control plane data of the previous control plane and the user online data fed back by the user plane cluster.
[0090] In this embodiment, the current target control plane, which is being managed by the user plane cluster, continuously synchronizes its control plane data with lower-priority control planes. Even if the current target control plane fails, the lower-priority control plane can still stably manage the user plane cluster based on the synchronized control plane data, improving the reliability of network processing. Since the user plane cluster actively connects to the normal, highest-priority control plane, by lowering the priority of the original highest-priority primary control plane before it reconnects to the network, synchronizing the target control plane data, and then restoring its priority, the instability caused by the primary control plane directly connecting to the network with its original highest priority and managing the user plane cluster without synchronizing the target control plane data can be avoided.
[0091] In some embodiments, the user plane cluster is remanaged by the main control plane based on the target control plane data, including: sending a state recovery notification to the user plane cluster through the main control plane; when the user plane cluster receives the state recovery notification, establishing a connection between the user plane cluster and the main control plane with the highest priority that is in normal status; and when the user plane cluster is connected to the main control plane, remanaging the user plane cluster by the main control plane based on the target control plane data.
[0092] In some embodiments, after synchronizing the target control plane data, the master control plane can restore its corresponding priority and send a state recovery notification to the user plane cluster. The state recovery notification indicates that the master control plane's state has returned to normal. The master control plane after priority restoration is the control plane with the highest priority among all control planes in the user plane cluster that is in a normal state.
[0093] In some embodiments, when the user plane cluster is connected to the main control plane, the user plane cluster sends user online information to the main control plane, and the main control plane re-manages the user plane cluster based on the synchronized target control plane data and the user online information.
[0094] In this embodiment, the main control plane sends a state recovery notification to the user plane cluster. When the user plane cluster receives the state recovery notification, it establishes a connection with the main control plane, which is in normal condition and has the highest priority. With the user plane cluster connected to the main control plane, the main control plane re-manages the user plane cluster based on the target control plane data. This allows the main control plane to re-manage the user plane cluster after it recovers, improving the stability of network processing.
[0095] In some embodiments, at least two backup control planes include a first backup control plane and at least one second backup control plane; the first backup control plane and the primary control plane, as a set of primary and backup control planes, are deployed together with the user plane cluster in the target area; the second backup control plane is deployed in a non-target area; determining the at least two backup control planes corresponding to the user plane cluster through the primary control plane includes: determining the second backup control plane from each set of primary and backup control planes in the non-target area through the primary control plane, and determining the first backup control plane deployed in the target area through the primary control plane; when the primary control plane is managed by the user plane cluster, issuing information about the first backup control plane and the second backup control plane to the user plane cluster through the primary control plane.
[0096] In some embodiments, each control plane corresponding to a user plane cluster includes a primary control plane, a first backup control plane, and at least one second backup control plane. A set of primary and backup control planes deployed in each region serves as the control planes corresponding to the user plane cluster within that region. The primary control plane can determine candidate control planes from the sets of primary and backup control planes in non-target regions based on preset address ranges. The second backup control plane corresponding to the user plane cluster in the target region is determined from the candidate control planes based on their capacity.
[0097] In some embodiments, after receiving information from the first backup control plane and the second backup control plane, the user cluster can determine at least two backup control planes corresponding to itself.
[0098] In some embodiments, such as Figure 3A The diagram illustrates the relationship between user plane clusters and primary / backup control planes across multiple cities. City 1 deploys control plane 1, control plane 2, user plane cluster 1, user plane cluster 2, and user plane cluster 3. City 2 deploys control plane 3, control plane 4, user plane cluster 4, user plane cluster 5, and user plane cluster 6. City 3 deploys control plane 5, control plane 6, user plane cluster 7, user plane cluster 8, and user plane cluster 9.
[0099] In this cluster, control plane 1 and control plane 2 form a primary and backup control plane group. Control plane 3 and control plane 4 form a primary and backup control plane group. Control plane 5 and control plane 6 form a primary and backup control plane group. Each user plane cluster contains n user planes.
[0100] Control plane 1 serves as the primary control plane for user plane cluster 1, user plane cluster 2, and user plane cluster 3, and as the secondary backup control plane for user plane cluster 4.
[0101] Control plane 2 serves as the first backup control plane corresponding to user plane cluster 1, user plane cluster 2 and user plane cluster 3, and the second backup control plane corresponding to user plane cluster 8 and user plane cluster 9.
[0102] Control plane 3 serves as the primary control plane for user plane clusters 4, 5, and 6, and as the secondary backup control plane for user plane cluster 7.
[0103] Control plane 4 serves as the first backup control plane corresponding to user plane cluster 4, user plane cluster 5 and user plane cluster 6, and the second backup control plane corresponding to user plane cluster 1 and user plane cluster 2.
[0104] Control plane 5 serves as the primary control plane for user plane clusters 7, 8, and 9, and as the secondary backup control plane for user plane cluster 3.
[0105] Control plane 6 serves as the first backup control plane corresponding to user plane clusters 7, 8, and 9, and as the second backup control plane corresponding to user plane clusters 5 and 6.
[0106] In some embodiments, such as Figure 3B The diagram illustrates the management of user plane clusters within a city when a set of primary and backup control planes fails. When both control plane 1 and control plane 2 fail in city 1, user plane clusters 1 and 2 within city 1 are managed by their corresponding second backup control plane, i.e., control plane 4. User plane cluster 3 within city 1 is managed by its corresponding second backup control plane, i.e., control plane 5.
[0107] It is understandable that both the second backup control plane and the first backup control plane will back up user information and device configuration information related to the user plane cluster on the main control plane in real time.
[0108] For user plane cluster 1, control plane 1 has the highest priority, let's say 300, control plane 2 has the next highest priority, let's say 200, and control plane 4 has the lowest priority, let's say 100.
[0109] When both control plane 1 and control plane 2 in city 1 fail, the user plane devices in user plane cluster 1 will proactively report the failure information of control plane 1 and control plane 2 to control plane 4 in city 2. Control plane 4 will no longer synchronize user information and device configuration information from control plane 1 and control plane 2, and will begin processing user packets sent by user plane cluster 1. The same method will be used to add new users to user plane clusters 2 and 3 in city 1, respectively, on control plane 4 in city 2 and control plane 5 in city 3.
[0110] When control plane 1 or control plane 2 in city 1 recovers from a failure, control plane 1 or control plane 2 will first reduce its own priority to 0 and reconnect to the network. It will then interact with user plane clusters 1, 2, and 3. Taking user plane cluster 1 as an example, it will identify the control plane with the highest priority currently under its management, namely control plane 4. It will synchronize user information and device configuration information related to user plane cluster 1 with control plane 4. After synchronization is complete, it will restore its own priority to 300 or 200 and re-manage user plane cluster 1. It will then restore management of user plane clusters 2 and 3 in the same way.
[0111] In this embodiment, the second backup control plane is determined from the groups of primary and backup control planes in the non-target area by the primary control plane, and the first backup control plane deployed in the target area is determined by the primary control plane. When the primary control plane is managed by the user plane cluster, the primary control plane sends the information of the first and second backup control planes to the user plane cluster. The primary control plane or the first backup control plane in the non-target area serves as the decentralized second backup control plane in the target area. Even if the primary control plane and the first backup control plane in the target area both fail, the user plane cluster can still be managed by the second backup control plane to ensure user online access and improve the reliability of network processing.
[0112] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0113] Based on the same inventive concept, this application also provides a network processing system for implementing the network processing method described above. The solution provided by this system is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more network processing system embodiments provided below can be found in the limitations of the network processing method described above, and will not be repeated here.
[0114] In one embodiment, such as Figure 4 As shown, a network processing system is provided, including: a user plane cluster 402, a main control plane 404, and a target control plane 406;
[0115] The main control plane 404 is used to determine at least two backup control planes corresponding to the user plane cluster 402; during the process of managing the user plane cluster 402, the main control plane 404 data of the main control plane 404 is synchronized to each backup control plane.
[0116] User plane cluster 402 is used to determine the target control plane 406 from at least two backup control planes according to the priority of each backup control plane when the main control plane 404 is in an abnormal state.
[0117] The target control plane 406 is used to manage the user plane cluster 402 based on the data from the main control plane 404.
[0118] The main control plane 404 is also used to obtain the target control plane 406 data after the main control plane 404 recovers from the abnormal state; and to re-manage the user plane cluster 402 based on the target control plane 406 data.
[0119] In some embodiments, the main control plane 404 is used to search for each candidate control plane according to a preset address range, and determine the backup control plane corresponding to the user plane cluster 402 from each candidate control plane according to the capacity of each candidate control plane; the priority of the backup control plane is related to the capacity of the backup control plane; the main control plane 404 is used to determine the backup control plane pre-configured for the user plane cluster 402.
[0120] In some embodiments, the user plane cluster 402 is configured to determine that the main control plane 404 is in an abnormal state when the user plane cluster 402 cannot establish a connection with the main control plane 404; the user plane cluster 402 is configured to determine a target control plane 406 from at least one backup control plane according to the state and corresponding priority of each backup control plane; wherein, the target control plane 406 refers to the backup control plane with the highest priority among the backup control planes in normal state.
[0121] In some embodiments, the user plane cluster 402 is used to establish a connection with the target control plane 406 and send user online data to the target control plane 406; the target control plane 406 is used to manage the user plane cluster 402 according to the data from the main control plane 404 and the user online data.
[0122] In some embodiments, during the process of the current control plane managing the user plane cluster 402, the current control plane data of the current control plane is synchronized to non-current control planes; the current control plane refers to the control plane currently managing the user plane cluster 402 among the control planes corresponding to the user plane cluster 402; the non-current control plane refers to the control plane with a lower priority than the current control plane among the control planes; the main control plane 404 is used to reduce its own priority after recovering from an abnormal state, and to determine the reduced priority of the main control plane 404; the reduced priority is lower than the priority of the target control plane 406; the main control plane 404 is used to obtain the target control plane 406 data synchronized by the target control plane 406; the main control plane 404 is used to restore its own priority after the target control plane 406 data synchronization is completed; the restored priority of the main control plane 404 is higher than the priority of any non-main control plane 404 among the control planes.
[0123] In some embodiments, the master control plane 404 is used to send a state recovery notification to the user plane cluster 402; the user plane cluster 402 is used to establish a connection with the master control plane 404, which is in a normal state and has the highest priority, when it receives the state recovery notification; the master control plane 404 is used to re-manage the user plane cluster 402 according to the data of the target control plane 406 when the user plane cluster 402 is connected to the master control plane 404.
[0124] In some embodiments, at least two backup control planes include a first backup control plane and at least one second backup control plane; the first backup control plane and the main control plane 404 are deployed together with the user plane cluster 402 in the target area as a set of main and backup control planes; the second backup control plane is deployed in a non-target area; the main control plane 404 is used to determine the second backup control plane from each set of main and backup control planes in the non-target area, and to determine the first backup control plane deployed in the target area through the main control plane 404; the main control plane 404 is used to send information about the first backup control plane and the second backup control plane to the user plane cluster 402 when it is managed by the user plane cluster 402.
[0125] Each device in the aforementioned network processing system can be implemented entirely or partially through software, hardware, or a combination thereof. These devices can be embedded in or independent of the processor within the computer device in hardware form, or stored in the computer device's memory in software form, so that the processor can invoke and execute the corresponding operations of each device.
[0126] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores control plane data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a network processing method.
[0127] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a network processing method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0128] Those skilled in the art will understand that Figure 5 or Figure 6The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0129] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0130] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0131] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0132] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with relevant laws, regulations and standards.
[0133] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0134] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0135] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A network processing method, characterized by, The method includes: The user plane cluster is determined by the primary control plane, which includes at least two backup control planes, including a first backup control plane and at least one second backup control plane. The first backup control plane and the primary control plane are deployed together with the user plane cluster in the target area as a set of primary and backup control planes. The second backup control plane is deployed in a non-target area. During the process of the main control plane managing the user plane cluster, the main control plane data of the main control plane is synchronized with each backup control plane through the main control plane. In the event that the primary control plane is in an abnormal state, the target control plane is determined from the at least two backup control planes by the user plane cluster according to the priority of each backup control plane. The target control plane manages the user plane cluster based on the data from the main control plane. After the main control plane recovers from the abnormal state, the target control plane data of the target control plane is obtained through the main control plane; The user plane cluster is re-managed through the main control plane based on the target control plane data. The step of determining at least two backup control planes corresponding to the user plane cluster through the main control plane includes: determining the second backup control plane from each group of main and backup control planes in the non-target area through the main control plane, and determining the first backup control plane deployed in the target area through the main control plane; when the main control plane is managed by the user plane cluster, issuing information about the first backup control plane and the second backup control plane to the user plane cluster through the main control plane.
2. The method of claim 1, wherein, The process of determining at least two backup control planes corresponding to the user plane cluster through the primary control plane includes at least one of the following processes: The main control plane searches for candidate control planes based on a preset address range, and determines the backup control plane corresponding to the user plane cluster from the candidate control planes based on the capacity of each candidate control plane. The priority of the backup control plane is related to the capacity of the backup control plane; The primary control plane determines the backup control plane pre-configured for the user plane cluster.
3. The method of claim 1, wherein, In the event that the primary control plane is in an abnormal state, the process of determining a target control plane from at least two backup control planes through the user plane cluster based on the priority of each backup control plane includes: If the user plane cluster is unable to establish a connection with the main control plane, the user plane cluster determines that the main control plane is in an abnormal state. The target control plane is determined from the at least one backup control plane by the user plane cluster based on the status and corresponding priority of each backup control plane; The target control plane refers to the highest priority backup control plane among all backup control planes that are in normal condition.
4. The method according to claim 1, characterized in that, The process of managing the user plane cluster through the target control plane based on the main control plane data includes: The user plane cluster establishes a connection with the target control plane and sends user online data to the target control plane. The target control plane manages the user plane cluster based on the main control plane data and the user online data.
5. The method of claim 1, wherein, During the process of the current control plane managing the user plane cluster, the current control plane data of the current control plane is synchronized to the non-current control plane; the current control plane refers to the control plane that is currently managing the user plane cluster among the various control planes corresponding to the user plane cluster; the non-current control plane refers to the control plane with a lower priority than the current control plane among the various control planes. The step of obtaining target control plane data of the target control plane through the main control plane after the main control plane recovers from the abnormal state includes: After the main control surface recovers from the abnormal state, the priority of the main control surface is reduced, and the reduced priority of the main control surface is determined; the reduced priority is lower than the priority of the target control surface. The target control surface data synchronized with the target control surface is obtained through the main control surface; After the target control plane data synchronization is completed, the priority corresponding to the main control plane is restored; the restored priority of the main control plane is higher than the priority of any non-main control plane among the control planes.
6. The method of claim 1, wherein, The step of re-managing the user plane cluster through the main control plane based on the target control plane data includes: The main control sends a status recovery notification to the user plane cluster. When the user plane cluster receives the state recovery notification, it establishes a connection with the main control plane that is in normal condition and has the highest priority. When the user plane cluster is connected to the main control plane, the user plane cluster is re-managed by the main control plane based on the target control plane data.
7. The method according to any one of claims 1 to 6, characterized in that, The second backup control plane corresponding to the user plane cluster is the main control plane or the first backup control plane in other cities, or the main control plane or the first backup control plane of other user plane clusters. The other cities are those other than the target cities where the main control plane is deployed.
8. A network processing system, characterized by The system includes a user plane cluster, a main control plane, and a target control plane; The main control plane is used to determine at least two backup control planes corresponding to the user plane cluster, and the at least two backup control planes include a first backup control plane and at least one second backup control plane. The first backup control plane and the primary control plane, as a set of primary and backup control planes, are deployed together with the user plane cluster in the target area; the second backup control plane is deployed in a non-target area. During the process of managing the user plane cluster, the main control plane data of the main control plane is synchronized to each backup control plane; The user plane cluster is used to determine a target control plane from at least two backup control planes according to the priority of each backup control plane when the main control plane is in an abnormal state. The target control plane is used to manage the user plane cluster based on the main control plane data. The main control plane is also used to acquire target control plane data of the target control plane after the main control plane recovers from the abnormal state; The user plane cluster is remanaged based on the target control plane data; The step of determining at least two backup control planes corresponding to the user plane cluster through the main control plane includes: determining the second backup control plane from each group of main and backup control planes in the non-target area through the main control plane, and determining the first backup control plane deployed in the target area through the main control plane; when the main control plane is managed by the user plane cluster, issuing information about the first backup control plane and the second backup control plane to the user plane cluster through the main control plane.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.