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

By reducing the priority of user and routing information from the backup device after the faulty device is restored, the problem of traffic interruption during user handover in the warm standby system is resolved, ensuring the continuity of the user's internet experience.

CN121690984APending Publication Date: 2026-03-17ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In a warm standby system, when a faulty device recovers, users and routers will experience a prolonged period of uninterrupted internet traffic during the migration process as they switch back to the faulty device, affecting their online experience.

Method used

After the faulty device is restored, do not immediately switch back to the user and route information. First, send the user and route information configured on the backup device to the faulty device, making it lower in priority than the backup device. After the configuration is completed, delete the information from the backup device to ensure that traffic is forwarded through the faulty device.

Benefits of technology

It ensures uninterrupted internet access during the user's switchback process after the faulty device is restored, thus improving the user's internet experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121690984A_ABST
    Figure CN121690984A_ABST
Patent Text Reader

Abstract

The invention provides a flow switching method, system and device for a warm standby system, a medium and a product, and the method comprises the steps: responding to fault recovery of a first user plane device, sending first user information and first routing information configured in a second user plane device to the first user plane device, the first user information comprising user information of a first user, and the first routing information comprising user information of a second user; the first route information comprises route information of a first route corresponding to the first user, the priority of the first route in the first user plane equipment is a first priority, the priority of the first route in the second user plane equipment is a second priority, the second priority is higher than the first priority, and the first user belongs to the first user plane equipment; and in response to completion of configuration of the first user information and the first routing information by the first user plane equipment, notifying the second user plane equipment to delete the first user information and the first routing information. According to the embodiment of the invention, after the fault equipment returns to normal, the flow is ensured to be continuous in the user back-switching process, and the internet surfing experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] 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

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

[0003] 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 will be a long period of time when the user traffic is not available, affecting the user's online experience. SUMMARY

[0004] 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, which can ensure continuous traffic during the user switching process after the failure device recovers, and improve the user's online experience.

[0005] In a first aspect, the embodiments of the present application provide a traffic switching method of a warm standby system, which comprises: 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 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 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; In response to the first user plane device completing the 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.

[0006] In a second aspect, the embodiments of the present application provide a traffic switching system of a warm standby system, which comprises: A first user plane device configured to carry a first user and a first route corresponding to the first user; a second user plane device configured to carry the first user and the first route migrated from the first user plane device in case of failure of the first user plane device; a control device configured to send, in response to recovery of the first user plane device, first user information and first route information configured to the second user plane device to the first user plane device, 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, and the first route 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, in response to completion of configuration of the first user information and the first route information by the first user plane device, the second user plane device to delete the first user information and the first route information.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; 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 as described in the first aspect.

[0008] 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 computer program implements the traffic switching method of the warm standby system as described in the first aspect.

[0009] 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 computer program implements the traffic switching method of the warm standby system as described in the first aspect.

[0010] In the embodiment of the present application, after the first user plane device recovers from 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. The priority of the first route in the first user plane device is lower than the priority of the first route 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 of the user switching process can be ensured after the failure device recovers, and the user online experience is improved. BRIEF DESCRIPTION OF DRAWINGS

[0011] 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.

[0012] Figure 1 A system block diagram of a flow switching system of a warm standby system is provided for the embodiments of the present application; Figure 2 A flowchart of a flow switching method of a warm standby system is provided for the embodiments of the present application; Figure 3 A flowchart of a flow switching method of a warm standby system is provided for another embodiment of the present application; Figure 4 A flowchart of a flow switching method of a warm standby system is provided for another embodiment of the present application; Figure 5 A structural schematic diagram of an electronic device is provided for the embodiments of the present application.

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

[0014] 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 are described in detail below with reference to the accompanying drawings.

[0015] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which example embodiments are shown. The described example embodiments can, however, be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided as non-limiting examples so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.

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

[0017] 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.

[0018] In the following description, reference is made to the accompanying drawings which form a part hereof, and in which are shown, by way of illustration, various embodiments. It is to be understood that other embodiments can be utilized and structural or logical changes can be made without departing from the scope of the present disclosure. The following detailed description, therefore, is not to be taken in a limiting sense, as the scope of the present embodiments is defined by the appended claims.

[0019] 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 disclosure, and will not be interpreted in an overly literal or overly formal sense unless expressly so defined herein.

[0020] To facilitate a better understanding of the schemes of the embodiments of the present application, the related art will be introduced first as follows.

[0021] User Plane (UP): a device system that actually transmits business and application data in a wireless access network, used for carrying 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.

[0022] 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 issuing all users in the same group to the same user plane.

[0023] Routing: refers to the process of determining the end-to-end path of a packet from a source to a destination. The corresponding routing of a user is used to determine the traffic forwarding path of the user.

[0024] Warm backup: the backup system is installed to be the same or similar to the current system and network running environment, and the application system business periodic backup data is installed. The main purpose is to quickly restore the business operation in the event of a disaster.

[0025] Warm standby system: a plurality of user planes relatively evenly carry different groups of users, forming a warm standby system, and mutually warm backup. When one user plane fails, the control plane migrates all users and corresponding routes on the failed user plane to the switching user plane. 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.

[0026] With the advancement of technology and the improvement of people's living standards, the demand for online 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.

[0027] Based on resource and environmental restrictions, a warm backup method can be selected. In the warm backup method, the control plane is responsible for managing multiple user planes, each of which is used to carry online users and traffic forwarding. Multiple user planes form a warm standby system and simultaneously carry users. The control plane groups users according to Media Access Control (MAC) addresses or Virtual Local Area Network (VLAN) devices and users in the inner and outer layers of a group of logical devices, and so on. All users in the same group are assigned to the same user plane. Multiple user planes relatively evenly carry different groups of users. When one user plane fails, the control plane migrates all users and corresponding routes on the failed user plane to the switching user plane. 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. The users and routes on the switching user plane are deleted and then migrated to the failed user plane. During the migration process, there is a long period of time when user traffic is not available, affecting the online experience of users.

[0028] Based on this, the embodiment of the present application provides a traffic switching method, system, device, medium and product of a warm standby system. After the first user plane equipment 110 recovers from failure, the first user and the first route are not immediately formally switched back. First user information configured in the second user plane equipment 120 and first route information are sent to the first user plane equipment 110. 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. The priority of the first route in the first user plane equipment 110 is lower than the priority of the first route in the second user plane equipment 120. Therefore, when the first user plane equipment 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 equipment 120. After the first user plane equipment 110 completes the configuration of the first user information and the first route information, the second user plane equipment 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 equipment 110. Therefore, the traffic can be ensured to be continuous during the user switching process after the failure equipment recovers to normal, and the user online experience is improved.

[0029] Please refer to Figure 1 A traffic switching system of a warm standby system provided by the embodiment of the present application includes a first user plane equipment 110, a second user plane equipment 120 and a control equipment 130.

[0030] The first user plane equipment 110 is configured to bear the first user and the first route corresponding to the first user. The second user plane equipment 120 is configured to bear the first user and the first route migrated from the first user plane equipment 110 in the case that the first user plane equipment 110 fails. The control equipment 130 is configured to send first user information configured in the second user plane equipment 120 and first route information to the first user plane equipment 110 in response to the first user plane equipment 110 recovering from failure. The first user information includes user information of the first user, and the first route information includes route information of the first route. The priority of the first route in the first user plane equipment 110 is a first priority, and the priority of the first route in the second user plane equipment 120 is a second priority. The second priority is higher than the first priority. The control equipment 130 is further configured to notify the second user plane equipment 120 to delete the first user information and the first route information in response to the first user plane equipment 110 completing the configuration of the first user information and the first route information.

[0031] It can be understood that the first user plane device 110 and the second user plane device 120 in the embodiment of the application are user planes (UPs), and the control device 130 is a control plane (CP). In the embodiment of the application, the backup system includes the first user plane device 110 and the second user plane device 120, but the backup system can also have more user plane devices, and this cannot be regarded as a limitation of the application.

[0032] The first user plane device 110 and the second user plane device 120 form a backup, 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 distributed 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 this cannot be regarded as a limitation of the application.

[0033] 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 routing priorities on the second user plane device 120 are consistent.

[0034] 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 passed, which affects the online experience of the users.

[0035] 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 first user and the first route are not switched back formally immediately after the first user plane device 110 recovers from failure, and the first user information configured in the second user plane device 120 and the first route information 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 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 the uplink and downlink traffic of the first user is still forwarded through the second user plane device 120 during the process in which the first user plane device 110 has not completed the configuration of the first user information and the first route information. 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.

[0036] Please refer to Figure 2 The flowchart of the traffic switching method of the warm standby system provided by the embodiments of the present application is shown in FIG. 1. The execution subject of the method can be the control device 130. As shown in FIG. 1, the traffic switching method of the warm standby system provided by the embodiments of the present application includes but is not limited to steps S100 and S200. Figure 2 Step S100, in response to the recovery of the first user plane device 110 from failure, the first user information configured in the second user plane device 120 and the first route information 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 in the first user plane device 110 is the first priority, the priority of the first route in the second user plane device 120 is the second priority, the second priority is higher than the first priority, and the first user belongs to the first user plane device 110. Step S200, in response to the completion of the configuration of the first user information and the first route information by the first user plane device 110, the second user plane device 120 is notified to delete the first user information and the first route information.

[0037] ​In steps S100 and S200 of the embodiment of the present application, after the first user plane device 110 recovers from 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 to normal, and improving the user Internet experience.

[0038] It can be understood that the first user plane device 110 and the second user plane device 120 form a warm backup, back up each other, and evenly share users. 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 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.

[0039] The users carried on the first user plane device 110 are recorded as first users, and the routes corresponding to the first users are recorded 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.

[0040] 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.

[0041] 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, 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 have not been 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 only 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 means that the uplink and downlink traffic of the first user can be normally forwarded through the first user plane device 110, 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.

[0042] 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.

[0043] 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: 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.

[0044] 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 needs 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.

[0045] Please refer to Figure 3 , Figure 3 A flowchart of a traffic switching method of a warm standby system provided by another embodiment of the present application is shown, 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: 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, to migrate the first user information and the first route information to the second user plane device 120; Step S102, the first user plane device 110 is notified to delete the first user information and the first route information.

[0046] 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, to ensure the normal online of the first user.

[0047] 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: 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, and the second routing information includes 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.

[0048] In the embodiment of the present application, in the process of switching back, if a new user (i.e., a 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 the uplink and downlink traffic of the second user is forwarded through the second user plane device 120 when the first user plane device 110 has not completed the switching back configuration preparation, and the uplink and downlink traffic of the second user can be normally forwarded through the first user plane device 110 after the first user plane device 110 completes the switching back configuration preparation, so as to realize that the switching back process does not affect the normal online of the new user.

[0049] Please refer to Figure 4 , Figure 4 A flowchart of a traffic switching method of a warm standby system provided by 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: Step S103, notifying the second user plane device 120 to delete the second user information and the second routing information; Step S104, modifying the priority of the second route at the first user plane device 110 to the second priority.

[0050] In an 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, the first user plane device 110 can normally work after the first user plane device 110 completes the switching back configuration preparation (i.e., after the first user plane device 110 completes the configuration of the first user information and the first routing information), and 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.

[0051] 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.

[0052] 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: 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.

[0053] 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.

[0054] The embodiment of the present application also provides an electronic device, as shown in the figure, the electronic device 500 includes: Figure 5 As shown in the figure, the electronic device 500 includes: One or more processors 510; The memory 520 has one or more programs stored thereon, and 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.

[0055] 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 optionally include a memory 520 remotely arranged relative to the processor 510, and these remote memories 520 can be connected to the processor 510 through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0056] 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.

[0057] 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.

[0058] In some embodiments, the electronic device further comprises: An input / output interface for realizing information input and output; A communication interface for realizing communication interaction between the device and other devices. The communication can be realized by a wired manner (for example, USB, network cable, etc.) or a wireless manner (for example, mobile network, WIFI, Bluetooth, etc.); A bus for transmitting information between various components (for example, the processor 510, the memory 520, the input / output interface, and the communication interface) of the device; The processor 510, the memory 520, the input / output interface, and the communication interface can realize communication connection between each other within the device through the bus.

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

[0060] 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.

[0061] The system architecture and application scenarios described in the embodiments of the present application are for more clearly illustrating 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.

[0062] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. In the embodiments of the present application, any reference to memory, storage, database or other medium can include non-volatile and / or volatile memory. The non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. The volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not as a 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.

[0063] 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.

[0064] 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 of flow switching for a warm standby system, characterized by, The method comprises: in response to the first user plane equipment failure recovery, sending first user information configured in the second user plane equipment and first routing information to the first user plane equipment, 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 in the first user plane equipment, the first route having a second priority in the second user plane equipment, the second priority being higher than the first priority, the first user belonging to the first user plane equipment; in response to the first user plane equipment completing the configuration of the first user information and the first routing information, notifying the second user plane equipment to delete the first user information and the first routing information.

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

3. The method of claim 1, wherein, Before the sending of the first user information configured in the second user plane equipment and the first routing information to the first user plane equipment, the method further comprises: in response to the failure of the first user plane equipment, sending the first user information configured in the first user plane equipment and the first routing information to the second user plane equipment to migrate the first user information and the first routing information to the second user plane equipment; notifying the first user plane equipment to delete the first user information and the first routing information.

4. The method according to any of claims 1 to 3, characterized in that, Before the first user plane equipment completes the configuration of the first user information and the first routing information, the method further comprises: in response to a second user being online and belonging to the first user plane equipment, sending second user information corresponding to the second user and second routing information to the first user plane equipment and the second user plane equipment, the second routing information comprising routing information of a second route corresponding to the second user, wherein the second route has the first priority in the first user plane equipment, and the second route has the second priority in the second user plane equipment.

5. The method of claim 4, wherein, After the first user plane equipment completes the configuration of the first user information and the first routing information, the method further comprises: notifying the second user plane equipment to delete the second user information and the second routing information; modifying the priority of the second route in the first user plane equipment to the second priority.

6. The method of claim 1, wherein, There are multiple first users, and before the first user plane equipment completes the configuration of the first user information and the first routing information, the method further comprises: in response to a target user among the multiple first users being offline, notifying the first user plane equipment and the second user plane equipment to delete user information and routing information corresponding to the target user.

7. A flow switching system for a warm standby system, characterized by The system comprises: A first user plane device for carrying a first user and a first route corresponding to the first user; A second user plane device for carrying the first user and the first route migrated from the first user plane device in case of failure of the first user plane device; A control device for sending first user information and first route information configured to 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 route information comprising route information of the first route, 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; The control device is further configured to notify the second user plane device to delete the first user information and the first route information in response to completion of configuration of the first user information and the first route information by the first user plane device. 8.An electronic device comprising: one or more processors; a memory having one or more programs stored thereon, the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of traffic switching of a warm standby system according to any one of claims 1-6. 9.A computer-readable storage medium having a computer program stored thereon, the program, when executed by a processor, implements the method of traffic switching of a warm standby system according to any one of claims 1-6. 10.A computer program product comprising a computer program, the computer program, when executed by a processor, implements the method of traffic switching of a warm standby system according to any one of claims 1-6.