Traffic switching method and system for warm standby system, and device, medium and product

By adjusting routing priorities and information migration order after the user plane equipment failure is resolved, the problem of traffic interruption after the failure is resolved, ensuring traffic continuity during the user switchback process and improving the user's internet experience.

WO2026056454A1PCT designated stage Publication Date: 2026-03-19ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/105410
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-09-14
Filing Date
2025-06-30
Publication Date
2026-03-19

AI Technical Summary

Technical Problem

In the warm backup method, when the user plane device recovers from a failure and switches back to the failed device, the user traffic is interrupted for a long time during the migration process, which affects the user's Internet experience.

Method used

After the user plane device recovers from a failure, do not immediately switch back to the user and route information. Instead, send the user and route information of the second user plane device to the first user plane device, giving it a lower priority than the second user plane device. After the configuration is complete, delete the information of the second user plane device to ensure that traffic is forwarded through the first user plane device.

Benefits of technology

It ensures continuous traffic during the user's switchback process after the faulty equipment is restored, thus improving the user's internet experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105410_19032026_PF_FP_ABST
    Figure CN2025105410_19032026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a traffic switching method and system for a warm standby system, and a device, a medium and a product. The method comprises: in response to fault recovery of a first user plane device, sending to the first user plane device first user information and first route information that are configured on a second user plane device, wherein the first user information comprises user information of a first user, the first route information comprises route information of a first route corresponding to the first user, the priority of the first route on the first user plane device is a first priority, the priority of the first route on the second user plane device is a second priority, the second priority is higher than the first priority, and the first user belongs to the first user plane device (S100); and in response to the first user plane device completing configuration of the first user information and the first route information, notifying the second user plane device to delete the first user information and the first route information (S200).
Need to check novelty before this filing date? Find Prior Art

Description

Traffic switching method, system, device, medium and product of warm standby system

[0001] Cross-reference to Related Applications

[0002] The present application is based on the Chinese patent application No. 2024112959304, filed on September 14, 2024, and claims priority to the Chinese patent application, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD

[0003] The present application relates to the technical field of communication network routing and switching, and in particular to a traffic switching method, system, device, medium and product of a warm standby system. BACKGROUND

[0004] With the advancement of technology and the improvement of people's living standards, the demand for online surfing on devices such as computers and mobile phones has become an essential part of people's lives. Currently, users have increasingly high requirements for network speed and network stability when surfing the Internet. To ensure users' online needs in the case of abnormal router devices, multi-device backup is a good solution.

[0005] Based on resource and environmental restrictions, a warm backup mode can be selected. In the warm backup mode, when one of the warm standby devices fails to recover, the original users and routes are switched from the switching device back to the failed device, and the users and routes on the switching device are deleted and migrated to the failed device. During the migration process, there is a long period of time when user traffic is not available, which affects the user's online experience. SUMMARY

[0006] The embodiments of the present application provide a traffic switching method of a warm standby system, a traffic switching system of a warm standby system, an electronic device, a computer readable storage medium and a computer program product.

[0007] In a first aspect, the embodiments of the present application provide a traffic switching method of a warm standby system, the method comprising:

[0008] In response to the first user plane device failing to recover, sending first user information configured in a second user plane device and first routing information to the first user plane device, the first user information including user information of a first user, the first routing information including routing information of a first route corresponding to the first user, the first route having a first priority in the first user plane device, the first route having a second priority in the second user plane device, the second priority being higher than the first priority, and the first user belonging to the first user plane device;

[0009] notify the second user plane device to delete the first user information and the first routing information in response to the first user plane device completing configuring the first user information and the first routing information.

[0010] In a second aspect, an embodiment of the present application provides a traffic switching system of a warm standby system, the system comprising:

[0011] a first user plane device configured to carry a first user and a first routing corresponding to the first user;

[0012] a second user plane device configured to carry the first user and the first routing migrated from the first user plane device in case of failure of the first user plane device;

[0013] a control device configured to send first user information and first routing information configured in the second user plane device to the first user plane device in response to recovery of the first user plane device, the first user information comprising user information of the first user, the first routing information comprising routing information of the first routing, a priority of the first routing in the first user plane device being a first priority, a priority of the first routing in the second user plane device being a second priority, the second priority being higher than the first priority;

[0014] the control device is further configured to notify the second user plane device to delete the first user information and the first routing information in response to the first user plane device completing configuring the first user information and the first routing information.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising:

[0016] one or more processors;

[0017] a memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement the traffic switching method of the warm standby system according to the first aspect.

[0018] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, when the computer program is executed by a processor, the traffic switching method of the warm standby system according to the first aspect is implemented.

[0019] In a fifth aspect, an embodiment of the present application provides a computer program product comprising a computer program, when the computer program is executed by a processor, the traffic switching method of the warm standby system according to the first aspect is implemented. BRIEF DESCRIPTION OF DRAWINGS

[0020] The accompanying drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification, and are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation on the technical solutions of the present application.

[0021] Fig. 1 is a system block diagram of a flow switching system of a warm standby system according to an embodiment of the present application;

[0022] Fig. 2 is a flowchart of a flow switching method of a warm standby system according to an embodiment of the present application;

[0023] Fig. 3 is a flowchart of a flow switching method of a warm standby system according to another embodiment of the present application;

[0024] Fig. 4 is a flowchart of a flow switching method of a warm standby system according to another embodiment of the present application;

[0025] Fig. 5 is a structural diagram of an electronic device according to an embodiment of the present application.

[0026] Reference signs: first user plane device 110, second user plane device 120, control device 130; electronic device 500, processor 510, memory 520. DETAILED DESCRIPTION

[0027] In order for those skilled in the art to better understand the technical solutions of the present application, the technical solutions provided by the present application will be described in detail below with reference to the drawings.

[0028] In the following, example embodiments will be described more fully with reference to the accompanying drawings, in which example embodiments can be embodied in different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.

[0029] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0030] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0031] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but which can be understood as a same or different subset of all possible embodiments, and which can be combined with each other, without conflict.

[0032] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present application, and will not be interpreted in an overly literal or overly formal sense unless expressly so defined herein.

[0033] To facilitate better understanding of the scheme of the embodiments of the present application, the related art is first introduced as follows.

[0034] User Plane (UP): a device system that actually transmits service and application data in a wireless access network, used to carry online users and traffic forwarding. The web page content and chat content that we usually see on the mobile phone are transmitted through the user plane.

[0035] Control Plane (CP): responsible for managing multiple user planes, grouping according to the Media Access Control (MAC) address of the online user or a group of logical devices and users (Virtual Local Area Network, VLAN) inside and outside the layer, and all users in the same group are distributed to the same user plane.

[0036] Routing: refers to the process of determining the network scope of the end-to-end path when grouping from the source to the destination. The routing corresponding to the user is used to determine the traffic forwarding path of the user.

[0037] Warm backup: the backup system is installed and configured to be the same or similar to the current system and network operating environment, and the application system business periodic backup data is installed. The main purpose is to quickly restore business operation when disaster occurs.

[0038] Warm standby system: a plurality of user planes relatively evenly carry different groups of users to form a warm standby system, and mutually warm backup. When a user plane fails, the control plane migrates all users and corresponding all routes on the failed user plane to the switching user plane, and after the failure of the user plane is recovered, the original users and routes are switched back from the switching user plane to the failed user plane.

[0039] With the development of technology and the improvement of people's living standards, the demand for online on devices such as computers and mobile phones has become an essential part of people's lives. At present, users have higher and higher requirements for network speed, network stability and other aspects of online. In order to ensure the online needs of users in the case of abnormal router equipment, multi-device backup is a good solution.

[0040] Based on resource and environmental restrictions, a warm backup mode can be selected. In the warm backup mode, the control plane is responsible for managing multiple user planes, each user plane is set to carry online users and traffic forwarding, and a warm standby system is formed between multiple user planes, which simultaneously carries users. The control plane groups the online users according to the Media Access Control (MAC) address or a group of logical devices and users (Virtual Local Area Network, VLAN) in the inner and outer layers, and all users in the same group are distributed to the same user plane. Different groups of users are relatively evenly carried between multiple user planes. When a user plane fails, the control plane migrates all users and corresponding routes on the failed user plane to the switching user plane. When the failed user plane recovers, the original users and routes are switched back from the switching user plane to the failed user plane, and the users and routes on the switching user plane are deleted and migrated to the failed user plane. During the migration process, there is a long period of time when user traffic is not available, which affects the user's online experience.

[0041] Therefore, the embodiments of the present application provide a traffic switching method, system, device, medium and product for a warm standby system. After the first user plane device 110 recovers from failure, the first user and the first route are not immediately switched back formally. Instead, the first user information and the first route information configured on the second user plane device 120 are sent to the first user plane device 110. The first user information includes the user information of the first user, and the first route information includes the route information of the first route corresponding to the first user. The priority of the first route on the first user plane device 110 is lower than that on the second user plane device 120. Therefore, during the process of configuring the first user information and the first route information on the first user plane device 110, the uplink and downlink traffic of the first user is still forwarded through the second user plane device 120. After the first user plane device 110 completes the configuration of the first user information and the first route information, the second user plane device 120 is notified to delete the first user information and the first route information, so that the uplink and downlink traffic of the first user is forwarded through the first user plane device 110. Therefore, the traffic can be ensured during the user switching process after the failure device recovers to normal, and the user online experience is improved.

[0042] Referring to FIG. 1, a flow switching system of a warm standby system provided by an embodiment of the present application includes a first user plane device 110, a second user plane device 120, and a control device 130.

[0043] The first user plane device 110 is configured to carry a first user and a first route corresponding to the first user.

[0044] The second user plane device 120 is configured to carry the first user and the first route migrated from the first user plane device 110 in case of failure of the first user plane device 110.

[0045] The control device 130 is configured to, in response to recovery of the first user plane device 110, send first user information and first route information configured in the second user plane device 120 to the first user plane device 110, the first user information including user information of the first user, and the first route information including route information of the first route, the first route having a first priority in the first user plane device 110, and the first route having a second priority in the second user plane device 120, the second priority being higher than the first priority.

[0046] The control device 130 is further configured to, in response to completion of configuration of the first user information and the first route information by the first user plane device 110, notify the second user plane device 120 to delete the first user information and the first route information.

[0047] It can be understood that the first user plane device 110 and the second user plane device 120 in the embodiment of the present application are user planes (UPs), and the control device 130 is a control plane (CP). In the embodiment of the present application, the warm standby system includes the first user plane device 110 and the second user plane device 120, but the warm standby system can also include more user plane devices, and this cannot be considered as a limitation on the present application.

[0048] A standby relationship is formed between the first user plane device 110 and the second user plane device 120, and they back up each other and share users evenly. When a user is online, the control device 130 groups the user according to inherent attributes of the user, such as a user MAC, an inner VLAN, and an outer VLAN. Group 1 users belong to the first user plane device 110, and group 2 users belong to the second user plane device 120. All user entries are correspondingly sent to the first user plane device 110 or the second user plane device 120, and all routing priorities on the first user plane device 110 and the second user plane device 120 are consistent. The correspondence between a user and a route is as follows: different groups of users correspond to different routes, and multiple users in the same group correspond to one route. The multiple users in the route are determined according to an online order, and generally, one route corresponds to every 64 users. If a user in the route is offline, the next online user is preferentially allocated the address of the offline user, and the address resources are basically fully used. It should be noted that the specific number of users corresponding to one route can be set according to actual conditions, and should not be regarded as a limitation on the present application.

[0049] The users carried on the first user plane device 110 are referred to as first users, and the routes corresponding to the first users are referred to as first routes. When the first user plane device 110 fails, the control device 130 deletes all the first users and the first routes on the first user plane device 110, and migrates all the first users in group 1 and the corresponding first routes to the second user plane device 120. All the routing priorities on the second user plane device 120 are consistent.

[0050] When the first user plane device 110 recovers from failure, the control device 130 cuts back the first users in group 1 to the first user plane device 110 again. The cutting-back process is as follows: the first users and the first routes on the second user plane device 120 are deleted and then migrated to the first user plane device 110. During the migration process, there is a long period of time when user traffic is not available, which affects the online experience of the users.

[0051] To solve the problem that user traffic is interrupted for a long time during the switching back process and the user's online experience is affected, the embodiments of the present application do not immediately switch back the first user and the first route after the first user plane device 110 recovers from failure, but first sends the first user information configured in the second user plane device 120 and the first route information to the first user plane device 110, the first user information includes the user information of the first user, and the first route information includes the route information of the first route corresponding to the first user, and the priority of the first route in the first user plane device 110 is lower than the priority of the first route in the second user plane device 120, so that when the first user plane device 110 has not completed the process of configuring the first user information and the first route information, the uplink and downlink traffic of the first user is still forwarded through the second user plane device 120. After the first user plane device 110 completes the configuration of the first user information and the first route information, the second user plane device 120 is notified to delete the first user information and the first route information, so that the uplink and downlink traffic of the first user is forwarded through the first user plane device 110, thereby ensuring continuous traffic during the switching back process of the user after the recovery of the failed device and improving the user's online experience.

[0052] Please refer to FIG. 2, which is a flowchart of a traffic switching method of a warm standby system provided by the embodiments of the present application. The execution subject of the method can be the control device 130. As shown in FIG. 2, the traffic switching method of the warm standby system provided by the embodiments of the present application includes but is not limited to step S100 and step S200:

[0053] Step S100, in response to the first user plane device 110 recovering from failure, sending the first user information configured in the second user plane device 120 and the first route information to the first user plane device 110, the first user information including the user information of the first user, the first route information including the route information of the first route corresponding to the first user, the priority of the first route in the first user plane device 110 being a first priority, the priority of the first route in the second user plane device 120 being a second priority, the second priority being higher than the first priority, and the first user belonging to the first user plane device 110;

[0054] Step S200, in response to the first user plane device 110 completing the configuration of the first user information and the first route information, notifying the second user plane device 120 to delete the first user information and the first route information.

[0055] In steps S100 and S200 of the embodiment of the present application, after the first user plane device 110 recovers from the failure, the first user plane device 110 does not immediately formally switch back the first user and the first route, but sends the first user information configured in the second user plane device 120 and the first route information to the first user plane device 110, the first user information includes the user information of the first user, the first route information includes the route information of the first route corresponding to the first user, and the priority of the first route in the first user plane device 110 is lower than the priority in the second user plane device 120, so that when the first user plane device 110 has not completed the process of configuring the first user information and the first route information, the uplink and downlink traffic of the first user is still forwarded through the second user plane device 120. After the first user plane device 110 completes the configuration of the first user information and the first route information, the second user plane device 120 is notified to delete the first user information and the first route information, so that the uplink and downlink traffic of the first user is forwarded through the first user plane device 110, thereby ensuring continuous traffic during the user switching process after the failure device recovers, and improving the user online experience.

[0056] It can be understood that the first user plane device 110 and the second user plane device 120 form a warm backup, backup each other and share users evenly. When the user is online, the control device 130 groups the users according to user inherent attributes such as user MAC, inner and outer VLANs, etc. The users in group 1 belong to the first user plane device 110, and the users in group 2 belong to the second user plane device 120. All user entries (i.e., user information of the users) are correspondingly sent to the first user plane device 110 or the second user plane device 120, and the priorities of all routes on the first user plane device 110 and the second user plane device 120 are consistent. The correspondence between the users and the routes is as follows: different groups of users correspond to different routes, and multiple users in the same group correspond to one route. The multiple users in the route are determined according to the online order, and generally, one route corresponds to 64 users. If a user in the route is offline, the next online user is preferentially allocated the address of the offline user, thereby basically ensuring full use of address resources. It should be noted that the specific number of users corresponding to one route can be set according to actual conditions, and should not be regarded as a limitation on the present application.

[0057] The users carried on the first user plane device 110 are referred to as first users, and the routes corresponding to the first users are referred to as first routes. After the first user plane device 110 fails, the control device 130 deletes all the first users and the first routes on the first user plane device 110, and migrates all the first users in group 1 and the corresponding first routes to the second user plane device 120. The priorities of all routes on the second user plane device 120 are consistent.

[0058] When the first user plane device 110 recovers from failure, the control device 130 switches the first user of the packet 1 back to the first user plane device 110 again, and the switching process is: deleting the first user and the first route on the second user plane device 120 and migrating them to the first user plane device 110 again, and there is a long time of user traffic interruption during the migration process, which affects the user's online experience.

[0059] In the embodiment of the present application, after the first user plane device 110 recovers from failure, the first user information and the first route information configured on the second user plane device 120 are not immediately switched back to the first user plane device 110 formally, but are sent to the first user plane device 110 first, and the priority of the first route on the first user plane device 110 is lower than that on the second user plane device 120. At this time, the first user information and the first route information of the second user plane device 120 are not deleted, and the first user and the first route are the same on the first user plane device 110 and the second user plane device 120. The difference is that the priority of the first route on the first user plane device 110 is lower than that on the second user plane device 120, so that the uplink and downlink traffic of the first user can still be forwarded through the second user plane device 120 when the first user plane device 110 has not completed the process of configuring the first user information and the first route information. After the first user plane device 110 completes the process of configuring the first user information and the first route information, it is indicated that the uplink and downlink traffic of the first user can be normally forwarded through the first user plane device 110 at this time, and the second user plane device 120 is notified to delete the first user information and the first route information, so that the uplink and downlink traffic of the first user can be forwarded through the first user plane device 110, thereby ensuring continuous traffic during the switching process of the user after the failure device recovers to normal, and improving the user's online experience.

[0060] It should be noted that in the process of sending the first user information and the first route information configured on the second user plane device 120 to the first user plane device 110, new first user information and first route information are issued to the first user plane device 110, and the priority of the first route is configured before the issuance, so that the priority of the first route on the first user plane device 110 is lower than that on the second user plane device 120.

[0061] In an embodiment of the present application, after the second user plane device 120 is notified to delete the first user information and the first route information, the following steps are included, but are not limited to:

[0062] In response to the deletion result fed back by the second user plane device 120, the priority of the first route on the first user plane device 110 is modified to a second priority, wherein the deletion result indicates that the second user plane device 120 has deleted the first user information and the first route information.

[0063] It can be understood that the priorities of the routes on each user plane device are consistent by default at the time of initialization, but the priorities of the routes can be set according to actual conditions and requirements subsequently. When multiple devices are switched multiple times (here, device 1, device 2, and device 3 are taken as examples for illustration, device 1 corresponds to user 1 and route 1, device 2 corresponds to user 2 and route 2), device 1 and device 2 both fail, at which time user 1 and route 1 and user 2 and route 2 need to be switched to device 3, after device 1 recovers, user 1 and route 1 and user 2 and route 2 on device 3 will be switched back to device 1 partially, and before the switching back is completed, device 2 recovers, at which time user 1 and route 1 and user 2 and route 2 on device 3 will also be switched back to device 2 partially, at which time there can be the same route with the same low priority on device 1 and device 2, which can cause the uplink and downlink traffic of the user corresponding to the same route with the same low priority not to be fixedly forwarded from one user plane device, and can disrupt the normal work of multiple user plane devices. The embodiment of the present application can avoid the above situation by restoring the priority of the first route on the first user plane device 110 to the second priority after the second user plane device 120 has deleted the first user information and the first route information.

[0064] Please refer to FIG. 3, which is a flowchart of a traffic switching method of a warm standby system provided by another embodiment of the present application. In some embodiments, before the first user information and the first route information configured on the second user plane device 120 are sent to the first user plane device 110, the method further includes but is not limited to steps S101 and S102:

[0065] Step S101, in response to the first user plane device 110 failing, the first user information and the first route information configured on the first user plane device 110 are sent to the second user plane device 120, so as to migrate the first user information and the first route information to the second user plane device 120.

[0066] Step S102, the first user plane device 110 is notified to delete the first user information and the first route information.

[0067] In some embodiments of the present application, the first user plane device 110 and the second user plane device 120 form a warm standby, back up each other, when the first user plane device 110 fails, the first user and the first route on the first user plane device 110 are migrated to the second user plane device 120, and the first user information and the first route information on the first user plane device 110 are deleted, so as to ensure the normal online of the first user.

[0068] In an embodiment of the present application, before the first user plane device 110 completes the configuration of the first user information and the first route information, the method further includes but is not limited to the following steps:

[0069] In response to the second user being online and the second user belonging to the first user plane device 110, the second user information corresponding to the second user and the second routing information are sent to the first user plane device 110 and the second user plane device 120, the second routing information including routing information of a second route corresponding to the second user, wherein the priority of the second route at the first user plane device 110 is the first priority, and the priority of the second route at the second user plane device 120 is the second priority.

[0070] In the embodiment of the present application, in the process of switching back, if a new user (i.e., the second user) is online and the new user belongs to the first user plane device 110, the second user information corresponding to the second user and the second routing information need to be sent to the first user plane device 110 and the second user plane device 120 at the same time, and the priority of the second route at the first user plane device 110 is lower than the priority of the second route at the second user plane device 120, so as to ensure that when the first user plane device 110 has not completed the preparation of the switching back configuration, the uplink and downlink traffic of the second user is forwarded through the second user plane device 120, and after the first user plane device 110 completes the preparation of the switching back configuration, the uplink and downlink traffic of the second user can be normally forwarded through the first user plane device 110, so as to realize that the process of switching back does not affect the normal online of the new user.

[0071] Please refer to FIG. 4, which is a flowchart of a traffic switching method of a warm standby system according to another embodiment of the present application. In some embodiments, after the first user plane device 110 completes the configuration of the first user information and the first routing information, the method further includes but is not limited to steps S103 and S104:

[0072] Step S103: notifying the second user plane device 120 to delete the second user information and the second routing information.

[0073] Step S104: modifying the priority of the second route at the first user plane device 110 to the second priority.

[0074] In the embodiment of the present application, since the second user information and the second routing information have been sent to the first user plane device 110 when the second user is online, after the first user plane device 110 completes the preparation of the switching back configuration (i.e., after the first user plane device 110 completes the configuration of the first user information and the first routing information), the first user plane device 110 can normally work, and at this time, the second user information and the second routing information on the second user plane device 120 are deleted, so as to ensure that the uplink and downlink traffic of the second user can be normally forwarded through the first user plane device 110.

[0075] After the second user information and the second routing information on the second user plane device 120 are deleted, the priority of the second routing on the first user plane device 110 is modified to the second priority, which can ensure that the normal work of the second routing with the first priority on other user plane devices is not affected when multiple device multiple switching is involved. The specific reasons have been explained in the above embodiments, and will not be repeated here.

[0076] In an embodiment of the present application, the number of first users is multiple, and before the first user plane device 110 completes the configuration of the first user information and the first routing information, the method further includes but is not limited to the following steps:

[0077] In response to the target user in the multiple first users being offline, the first user plane device 110 and the second user plane device 120 are notified to delete the user information and the routing information corresponding to the target user.

[0078] In an embodiment of the present application, before the first user plane device 110 completes the configuration of the first user information and the first routing information, the user information and the routing information corresponding to the target user belonging to the first user plane device 110 can have been issued to the first user plane device 110, at this time, the first user plane device 110 and the second user plane device 120 both have the user information and the routing information corresponding to the target user, if the target user is offline at this time, the user information and the routing information corresponding to the target user on the first user plane device 110 and the second user plane device 120 need to be deleted to ensure that the target user is completely offline.

[0079] The embodiment of the present application also provides an electronic device, as shown in Figure 5, the electronic device 500 includes:

[0080] one or more processors 510;

[0081] a memory 520, on which one or more programs are stored, when the one or more programs are executed by the one or more processors 510, the one or more processors 510 implement the traffic switching method of the standby system provided by any embodiment of the present application.

[0082] The memory 520 as a kind of non-transient network system, it can be used to store non-transient software programs and non-transient computer executable programs.In addition, the memory 520 can include high-speed random access memory, and can also include non-transient memory, such as at least one magnetic disk storage device, flash memory device or other non-transient solid-state memory device.In some embodiments, the memory 520 can include memory 520 remotely arranged relative to the processor 510, and these remote memories 520 can be connected to the processor 510 through network.The above-mentioned network includes but is not limited to Internet, intranet, local area network, mobile communication network and combination thereof.

[0083] The memory 520 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), etc. The memory 520 can store an operating system and other application programs. When the technical solutions provided by the embodiments of the present specification are implemented by software or firmware, the related program codes are stored in the memory 520 and are invoked and executed by the processor 510 to implement the method of the embodiments of the present application.

[0084] The processor 510 can be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., for executing related programs to implement the technical solutions provided by the embodiments of the present application.

[0085] In some embodiments, the electronic device further comprises:

[0086] The input / output interface is configured to implement information input and output.

[0087] The communication interface is configured to implement communication interaction between the device and other devices. The communication can be realized by wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0088] The bus transmits information between various components (such as the processor 510, the memory 520, the input / output interface, and the communication interface) of the device.

[0089] The processor 510, the memory 520, the input / output interface, and the communication interface can be connected to each other for internal communication in the device through the bus.

[0090] An embodiment of the present application further provides a computer readable storage medium storing computer executable instructions for implementing the traffic switching method of the warm standby system provided by any of the embodiments of the present application.

[0091] An embodiment of the present application further provides a computer program product including a computer program or computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer program or computer instructions from the computer readable storage medium, and the processor executes the computer program or computer instructions to make the computer device execute the traffic switching method of the warm standby system provided by any of the embodiments of the present application.

[0092] In the embodiments of the present application, after the first user plane device recovers from the failure, the first user and the first route are not immediately formally switched back, and the first user information configured in the second user plane device and the first route information are first sent to the first user plane device. The first user information includes user information of the first user, and the first route information includes route information of the first route corresponding to the first user, and the priority of the first route in the first user plane device is lower than the priority in the second user plane device. Therefore, when the first user plane device has not completed the process of configuring the first user information and the first route information, the uplink and downlink traffic of the first user is still forwarded through the second user plane device. After the first user plane device completes the configuration of the first user information and the first route information, the second user plane device is notified to delete the first user information and the first route information, so that the uplink and downlink traffic of the first user is forwarded through the first user plane device. Therefore, the continuous flow during the user switching back process can be ensured after the failed device recovers, and the user online experience is improved.

[0093] The system architecture and application scenarios described in the embodiments of the present application are used to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that, with the evolution of system architecture and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0094] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In the embodiments provided by the present application, any reference to memory, storage, database or other medium can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0095] As will be appreciated by one of ordinary skill in the art, all or some of the steps, systems, and techniques disclosed herein can be embodied in software, firmware, hardware, or any suitable combination thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application- specific integrated circuit. Such software can be distributed on computer readable media, which can comprise computer storage media (or non-transitory media), and communication media (or transitory media). As will be appreciated by one of ordinary skill in the art, the term computer storage media includes all physical and tangible computer storage media, such as a volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Further, as will be appreciated by one skilled in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.

[0096] The above description is not intended to limit the scope of the application. Modifications, equivalent replacements, and improvements made by those skilled in the art without departing from the scope and spirit of the application shall fall within the scope of the application.

Claims

1. A method for switching traffic of a warm standby system, comprising: in response to a first user plane device recovering from a failure, sending first user information configured at a second user plane device and first routing information to the first user plane device, the first user information comprising user information of a first user, the first routing information comprising routing information of a first route corresponding to the first user, the first route having a first priority at the first user plane device, the first route having a second priority at the second user plane device, the second priority being higher than the first priority, the first user belonging to the first user plane device; in response to the first user plane device completing configuration of the first user information and the first routing information, notifying the second user plane device to delete the first user information and the first routing information.

2. The method of claim 1, wherein, after the notifying the second user plane device to delete the first user information and the first routing information, further comprising: in response to a deletion result fed back by the second user plane device, modifying the first priority of the first route at the first user plane device to the second priority, wherein the deletion result indicates that the second user plane device has deleted the first user information and the first routing information.

3. The method of claim 1, wherein, before the sending the first user information configured at the second user plane device and the first routing information to the first user plane device, further comprising: in response to the first user plane device failing, sending the first user information configured at the first user plane device and the first routing information to the second user plane device to migrate the first user information and the first routing information to the second user plane device; notifying the first user plane device to delete the first user information and the first routing information.

4. The method of any one of claims 1-3, wherein, before the first user plane device completing configuration of the first user information and the first routing information, the method further comprising: in response to a second user being online and the second user belonging to the first user plane device, sending second user information corresponding to the second user and second routing information to the first user plane device and the second user plane device, the second routing information comprising routing information of a second route corresponding to the second user, wherein the second route has the first priority at the first user plane device, and the second route has the second priority at the second user plane device.

5. The method of claim 4, wherein, after the first user plane device completing configuration of the first user information and the first routing information, the method further comprising: notifying the second user plane device to delete the second user information and the second routing information; modifying the second priority of the second route at the first user plane device.

6. The method of claim 1, wherein, wherein there are multiple first users, before the first user plane device completing configuration of the first user information and the first routing information, the method further comprising: in response to a second user being online and the second user belonging to the first user plane device, sending second user information corresponding to the second user and second routing information to the first user plane device and the second user plane device, the second routing information comprising routing information of a second route corresponding to the second user, wherein the second route has the first priority at the first user plane device, and the second route has the second priority at the second user plane device. In response to a target user in the plurality of first users being offline, the first user plane device and the second user plane device are notified to delete user information and routing information corresponding to the target user.

7. A traffic switching system of a warm standby system, comprising: a first user plane device configured to carry a first user and a first routing corresponding to the first user; a second user plane device configured to carry the first user and the first routing migrated from the first user plane device in case of failure of the first user plane device; a control device configured to send first user information and first routing information configured in the second user plane device to the first user plane device in response to recovery of the first user plane device, the first user information including user information of the first user, the first routing information including routing information of the first routing, the first routing having a first priority in the first user plane device, the first routing having a second priority in the second user plane device, the second priority being higher than the first priority; the control device is further configured to notify the second user plane device to delete the first user information and the first routing information in response to the first user plane device completing configuration of the first user information and the first routing information.

8. An electronic device, comprising: one or more processors; a memory having one or more programs stored thereon, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the traffic switching method of the warm standby system according to any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the traffic switching method of the warm standby system according to any one of claims 1-6.

10. A computer program product, comprising a computer program, wherein the computer program, when executed by a processor, implements the traffic switching method of the warm standby system according to any one of claims 1-6.

Citation Information

Patent Citations

  • Message feedback method and device

    CN106685818A

  • Fault processing method, control plane network element, switching decision network element and related equipment

    CN114765572A

  • Data transmission method and device

    CN114884875A

  • Traffic switching method and device, electronic equipment and storage medium

    CN118276970A

  • Broadband Connection Method and Apparatus

    US20230269130A1