Switching method and device based on network bearer, electronic equipment and storage medium
By setting up black hole routing and switching strategies in the 5G network, the problem of core network interruption caused by failures in 5G voice and signaling services is solved, rapid recovery and efficient fault handling are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202410641238.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-30
AI Technical Summary
In 5G voice and signaling services, paired CEs fail due to software, hardware, transmission path, etc. failures in extreme scenarios, resulting in routing interruptions between the 5G core network and the provincial central core network under the local CE pair, causing local and municipal problems. It completely blocks 5G voice and 5G signaling services under CE, and it is difficult to quickly recover with existing technology.
Propose a switching method based on network bearer. By monitoring the user network edge equipment of the first and second offices, setting up black hole routing, determining the fault type and determining the target route switching strategy based on the fault type, the service transmission path is realized. Switching includes triggering updates through internal and external gateway protocols, establishing links between slicing packet network equipment and the second site, interrupting links between user plane functional equipment and slicing packet network equipment, and optimizing the next routing table entry.
It greatly shortens the troubleshooting time, improves the efficiency of troubleshooting, achieves rapid business recovery, and improves user perception and satisfaction. The troubleshooting time is shortened from at least 120 minutes to seconds.
Smart Images

Figure CN118574185A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of core network and bearer technology, and in particular to a switching method, device, electronic device and storage medium based on network bearer. Background Art
[0002] With the continuous expansion of telecom operators' own businesses, the diversification of customer needs, and the impact of emerging new technologies, telecom operators are under increasing pressure to ensure data security and business continuity.
[0003] The Internet Protocol (IP) dedicated bearer network of telecom operators (IP bearer network for short) mainly carries soft switching services, packet switching (PS) domain services, 5th Generation Mobile Communication Technology (5G) core network, supporting services, etc. The IP bearer network is a private network built with IP technology, used to carry services with high transmission quality requirements. It adopts a high-reliability design of dual planes, dual satellites and dual affiliations, and has high redundancy protection characteristics. The specific protection schemes include equipment-level protection and network-level protection. The equipment-level protection is divided into dual-machine hot standby, dual master control, dual power supply and port trunk line (hereinafter referred to as "trunk") protection. Network-level protection includes MC-PW APS protection for Layer 2 networks and FRR+BFD detection / MPLS OAM protection for Layer 3 networks.
[0004] The equipment used to carry 5G voice and signaling services in the IP bearer network is the dedicated CE (Customer Edge) for UPF (Userplane Function) distributed in various cities. A pair of dedicated CEs for UPF in the same city are connected to a pair of AR (Access router) devices in different cities to form network redundancy within the office. When a single CE fails or a single AR fails or both the AR and CE interconnected by a single plane fail at the same time, the IP bearer network can still provide a reliable bearer channel for 5G services. Summary of the invention
[0005] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0006] To this end, an object of the present disclosure is to propose a switching method based on network bearer.
[0007] The second objective of the present disclosure is to provide a switching device based on network bearer.
[0008] A third objective of the present disclosure is to provide an electronic device.
[0009] A fourth object of the present disclosure is to provide a non-transitory computer-readable storage medium.
[0010] A fifth object of the present disclosure is to provide a computer program product.
[0011] To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes a switching method based on network bearer, including: monitoring a first user network edge device and a second user network edge device of a first office point and a third user network edge device and a fourth user network edge device of the second office point, wherein the second office point sets a black hole route; in response to a detected fault, determining the type of fault; determining a target route switching strategy based on the fault type, and changing a service transmission path based on the black hole route and the target route switching strategy to achieve switching between the first office point and the second office point.
[0012] According to one embodiment of the present disclosure, determining the fault type includes: in response to the fault being caused by a non-IP bearer network fault, determining that the fault type is a first fault type; or, in response to a fault in a first user network edge device or a second user network edge device of the first office point, determining that the fault type is a second fault type; or, in response to a fault in both the first user network edge device and the second user network edge device of the first office point, and neither the third user network edge device nor the fourth user network edge device of the second office point fails, determining that the fault type is a third fault type; or, in response to a fault in both the first user network edge device and the second user network edge device of the first office point, and a fault in the third user network edge device or the fourth user network edge device of the second office point, determining that the fault type is a fourth fault type; or, in response to a fault in both the first user network edge device and the second user network edge device of the first office point, and a fault in the third user network edge device or the fourth user network edge device of the second office point, determining that the fault type is a fifth fault type.
[0013] According to one embodiment of the present disclosure, determining the target routing switching strategy based on the fault type includes: in response to the fault type being the first fault type, determining the target routing switching strategy to perform other network troubleshooting until the service transmission path returns to normal; or, in response to the fault type being the second fault type, determining the target routing switching strategy to carry the traffic that the first office needs to carry through the first user network edge device or the second user network edge device that has not failed; in response to the fault type being the third fault type, determining the target routing switching strategy to interrupt the link between the user plane function device of the first office and the slice packet network device, and establish The link between the sliced packet network device and the third user network edge device and the fourth user network edge device of the second office; in response to the fault type being the fourth fault type, determining the target routing switching strategy to interrupt the link between the user plane function device of the first office and the sliced packet network device, and establishing the link between the sliced packet network device and the third user network edge device and the fourth user network edge device of the second office, and carrying the traffic that the second office needs to carry through the third user network edge device or the fourth user network edge device that has not failed; in response to the fault type being the fifth fault type, determining the target routing switching strategy to transmit services through a packet transport network.
[0014] According to one embodiment of the present disclosure, establishing a link between the sliced packet network device and the third user network edge device and the fourth user network edge device of the second bureau includes: triggering an update to the black hole routing through an internal gateway protocol, and preferably taking effect through an access router; triggering an update to the entire network through an external gateway protocol to establish a link between the sliced packet network device and the third user network edge device and the fourth user network edge device of the second bureau.
[0015] According to one embodiment of the present disclosure, after interrupting the link between the user plane function device of the first station and the slice packet network device, it also includes: triggering an update of the routing table, preferably the next one is a routing table entry of the second station.
[0016] According to an embodiment of the present disclosure, the updating to the whole network is triggered by the external gateway protocol, including: the base station sends registration information to the core network through the user plane function device of the second office point.
[0017] According to one embodiment of the present disclosure, the monitoring of the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point includes: detecting whether the link of the target user network edge device is interrupted through a bidirectional forwarding detection mechanism, wherein the target user network edge device is the first user network edge device, the second user network edge device, the third user network edge device and the fourth user network edge device.
[0018] To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a switching device based on network bearer, including: a monitoring module, used to monitor the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point, wherein the second office point sets a black hole route; a determination module, used to determine the fault type in response to a detected fault; a switching module, used to determine a target route switching strategy based on the fault type, and change the service transmission path based on the black hole route and the target route switching strategy to achieve switching between the first office point and the second office point.
[0019] To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the network-bearing-based switching method as described in the first aspect embodiment of the present disclosure.
[0020] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the network bearer-based switching method as described in the first aspect embodiment of the present disclosure.
[0021] To achieve the above-mentioned purpose, the fifth aspect of the present disclosure proposes a computer program product, including a computer program, which, when executed by a processor, is used to implement the network bearer-based switching method as described in the first aspect of the present disclosure.
[0022] By setting up dual office points and setting up black hole routing at the second office point, the fault handling time can be greatly shortened, the fault handling efficiency can be improved, the business can be quickly restored, and user perception and satisfaction can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a schematic diagram of a switching method based on network bearer according to an embodiment of the present disclosure;
[0024] Figure 2 It is a structural diagram of a bearer network networking architecture according to an embodiment of the present disclosure;
[0025] Figure 3 is a schematic diagram of another switching method based on network bearer according to an embodiment of the present disclosure;
[0026] Figure 4 This is an overall flow chart of a switching method based on network bearer disclosed in the present invention;
[0027] Figure 5 is a schematic diagram of a switching device based on network bearer according to an embodiment of the present disclosure;
[0028] Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0030] The acquisition, storage, use, and processing of data in the technical solution disclosed in this disclosure are in compliance with the relevant provisions of relevant laws and regulations.
[0031] The existing 5G voice and 5G signaling services are transmitted to the UPF equipment through the 5G base station. The UPF accesses the UPF dedicated CE equipment of the IP bearer network in the local office. The IP bearer network transmits the 5G voice and 5G signaling services layer by layer to the cloud core network equipment of the provincial center network by dividing the virtual private network (VPN), thereby realizing the interoperability of 5G services and network control. With regard to the above-mentioned existing technologies, the failure of paired CEs due to software, hardware, transmission path and other failures in extreme scenarios will directly lead to the interruption of the routing between the 5G core network under the CE pair of the prefecture-level city and the provincial center core network, causing the complete blocking of the 5G voice and 5G signaling services under the CE pair of the prefecture-level city.
[0032] In order to solve the above problems, the present disclosure proposes a switching method based on network bearer. Figure 1 is a schematic diagram of a switching method based on network bearer according to an embodiment of the present disclosure, such as Figure 1 As shown, the switching method based on network bearer includes the following steps:
[0033] S101, monitor a first user network edge device and a second user network edge device of a first office point, as well as a third user network edge device and a fourth user network edge device of the second office point, wherein a black hole route is set at the second office point.
[0034] The network bearer-based switching method of the embodiment of the present application can be applied to the scenario of core network service transmission of telecommunications operators. The executor of the network bearer-based switching of the embodiment of the present application can be the network bearer-based switching device of the embodiment of the present application, and the network bearer-based switching device can be set on an electronic device.
[0035] It should be noted that a site refers to a specific geographical location or site where certain communication equipment, network equipment, server clusters or IT systems are deployed to provide specific services or functions. In the telecommunications industry, sites refer to telephone exchanges, mobile base stations, data service centers, etc. These places are key nodes of the telecommunications network and are responsible for handling services such as telephone calls, data transmission, and Internet access.
[0036] It should be noted that by deploying a routing black hole for the first office point's services at the second office point, the relevant routes of the first office point can be automatically unblocked, and business recovery can be completed within 1 minute. The fault handling time is shortened from at least 120 minutes to seconds, which greatly improves the fault handling efficiency, realizes rapid business recovery, and improves user perception and satisfaction.
[0037] like Figure 2 As shown, the access router is connected to the first office point and the second office point respectively, wherein the first office point includes a first user network edge device and a second user network edge device, and the second office point includes a third user network edge device and a fourth user network edge device.
[0038] In one possible implementation, Figure 2As shown, 5G core network service disaster recovery protection at different offices can be constructed based on the IP bearer network networking architecture. The specific solution is that the first office point's enterprise-oriented (To Customer, TOC) UPF01 device and the enterprise-oriented (To Business, TOB) UPF01 device are both connected to the first user network edge device and the second user network edge device of the IP bearer network UPF of the first office point. The UPF dedicated CE publishes the 5G service IP address segment transmitted by the UPF to the IP bearer network AR device through the divided virtual private network VPN. The backbone IP bearer network transmits the 5G service address to the entire network through the Border Gateway Protocol (Border Gateway Protocol, BGP) MPLS (Multi-Protocol Label Switching) VPN, thereby realizing cross-city and cross-regional service interoperability. While the UPF dedicated CE at the first office point publishes the 5G service IP address segment transmitted by UPF01, the black hole route of the 5G service IP address segment transmitted by UPF01 is published on the UPF dedicated CE at the second office point to create a second routing channel for the 5G core network service of the first office point, and set the priority to ensure that under normal circumstances, the provincial center core network to UPF01 passes through the first office point.
[0039] S102: In response to detecting a fault, determining a fault type.
[0040] In the embodiments of the present disclosure, there may be multiple fault types, which may be determined according to actual design requirements.
[0041] S103, determining a target route switching strategy based on the fault type, and changing a service transmission path based on the black hole route and the target route switching strategy to implement switching between the first office point and the second office point.
[0042] It should be noted that the target route switching strategies corresponding to different fault types may be different, and no limitation is made here. For example, when the first user network edge device and the second user network edge device of the first office point fail, the third user network edge device and the fourth user network edge device of the second office point with lower transmission priority may be used for data transmission.
[0043] In the above embodiment, the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point are first monitored, wherein the transmission priority of the first office point is higher than the transmission priority of the second office point, and in response to the monitoring of the fault, the fault type is determined, and finally the target route switching strategy is determined based on the fault type, and the service transmission path is switched based on the target route switching strategy. Therefore, by setting up dual office points and setting up black hole routing at the second office point, the fault handling time can be greatly shortened, the fault handling efficiency can be improved, the rapid recovery of the service can be achieved, and the user perception and satisfaction can be improved.
[0044] In the above embodiment, the fault type may be determined by a specific fault point. The fault type is designed in advance and may be changed according to actual design requirements, and no limitation is made here.
[0045] In an embodiment of the present disclosure, in response to the fault being caused by a non-IP bearer network fault, the fault type is determined to be a first fault type; in response to a fault in a first user network edge device or a second user network edge device of a first office point, the fault type is determined to be a second fault type; in response to both the first user network edge device and the second user network edge device of the first office point failing, and neither the third user network edge device nor the fourth user network edge device of the second office point failing, the fault type is determined to be a third fault type; in response to both the first user network edge device and the second user network edge device of the first office point failing, and the third user network edge device or the fourth user network edge device of the second office point failing, the fault type is determined to be a fourth fault type; in response to both the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point failing, the fault type is determined to be a fifth fault type.
[0046] In an embodiment of the present disclosure, a bidirectional forwarding detection mechanism can be used to detect whether a link of a target user network edge device is interrupted, wherein the target user network edge device is a first user network edge device, a second user network edge device, a third user network edge device, and a fourth user network edge device.
[0047] It should be noted that Bidirectional Forwarding Detection (BFD) is a network layer protocol that aims to provide a fast, low-latency link or path fault detection mechanism. It can achieve sub-second fault detection between network devices, which is much faster than the fault detection speed of traditional protocols such as OSPF, IS-IS or BGP.
[0048] It should be noted that different fault types may correspond to different target route switching strategies, which are not limited here.
[0049] In the embodiment of the present disclosure, in response to the fault type being the first fault type, the target route switching strategy is determined to perform other network troubleshooting until the service transmission path returns to normal.
[0050] In response to the fault type being the second fault type, determining the target route switching strategy to carry the traffic that needs to be carried by the first office point through the first user network edge device or the second user network edge device that has not failed.
[0051] In response to the fault type being the third fault type, the target routing switching strategy is determined to interrupt the link between the user plane function device of the first office point and the sliced packet network device, and establish a link between the sliced packet network device and the third user network edge device and the fourth user network edge device of the second office point.
[0052] Specifically, Figure 2 As shown, the two UPF dedicated first user network edge devices and the second user network edge devices of the first station fail at the same time or the uplinks are interrupted at the same time, causing the corresponding port or interior gateway protocol (Interior Gateway Protocol, IGP) on the AR to be interrupted. The IGP detects that the next hop of the route of the station-1 5G service IP address segment issued by the CE to the AR is unreachable, thereby revoking the relevant routes on the AR.
[0053] In response to the fault type being the fourth fault type, the target routing switching strategy is determined to interrupt the link between the user plane function device of the first office point and the sliced packet network device, establish a link between the sliced packet network device and the third user network edge device and the fourth user network edge device of the second office point, and carry the traffic that the second office point needs to carry through the third user network edge device or the fourth user network edge device that has not failed.
[0054] In response to the fault type being the fifth fault type, determining the target route switching strategy as performing service transmission through the packet transport network.
[0055] In a possible implementation manner, it may be determined in sequence whether the fault types are the first fault type, the second fault type, the third fault type, the fourth fault type, and the fifth fault type.
[0056] It should be noted that after the fault is handled, data transmission is still restored by the first user network edge device and the second user network edge device of the first office point with a higher transmission level, and the black hole routing of the second office point is restored.
[0057] In the above embodiment, a link is established between the slice packet network device and the third user network edge device and the fourth user network edge device of the second office point, and the Figure 3 Explaining further, the method includes:
[0058] S301, triggering and updating the black hole route through the internal gateway protocol, and making it effective through the access router optimization.
[0059] S302, triggering an update to the entire network through the external gateway protocol to establish a link between the slice packet network device and the third user network edge device and the fourth user network edge device of the second office point.
[0060] The first user network edge device and the second user network edge device of the two UPFs in the first office fail at the same time or the uplinks are interrupted at the same time, causing the corresponding port or IGP on the AR to be interrupted. The IGP detects that the next hop of the route of the 5G service IP address segment of the first office published by the CE to the AR is unreachable, thereby revoking the relevant routes on the AR.
[0061] It should be noted that IGP is a protocol used to select routes and exchange routing information within an autonomous system (AS). An autonomous system refers to a group of networks under the control of the same administrative agency that share the same routing policy. IGP helps ensure that data packets can be effectively transmitted from source devices to destination devices within the AS.
[0062] The black hole route of the 5G service IP address segment of station one issued by the two UPF dedicated CE3 / 4 at the second station is triggered by IGP and optimized by AR to take effect. AR then triggers the update through the Exterior Gateway Protocol (EGP) to transmit it to the entire network. The 5G service transmission path of station one is switched to station two at the AR and CE levels.
[0063] It should be noted that EGP is a protocol used to exchange routing information between different autonomous systems. An autonomous system refers to a group of networks managed by a single management organization on the Internet that share the same routing strategy and present a unified routing behavior to the outside world.
[0064] In the disclosed embodiment, after the link between the user plane function device of the first station and the slice packet network device is interrupted, the routing table is updated, and the next routing table entry of the second station is preferably selected.
[0065] Figure 4 The present invention discloses an overall flow chart of a switching method based on network bearer, such as Figure 4 As shown, the method includes, as Figure 4As shown, the first step is to determine whether it is caused by an IP bearer network failure. If not, perform other network troubleshooting until the service transmission returns to normal; if yes, start the IP bearer network disaster recovery protection. The second step is to determine whether only a single CE fails after starting the network disaster recovery protection. If yes, perform network switching according to the protection within the office site; if no, determine whether it is a double CE failure. The third step is to determine whether it is a double CE failure. If it is a single CE failure at both offices, perform network switching according to the disaster recovery protection within the office site; if it is a double CE failure at a single office site, perform network switching according to the cross-office site; if it is not a double CE failure, determine whether it is a three-CE failure. The fourth step is to determine whether it is a three-CE failure. If yes, perform network switching according to the protection within the office site and the cross-office site protection at the same time; if no, determine whether it is a four-CE failure. The fifth step is to determine whether it is a four-CE failure at both offices. If yes, perform network switching according to the disaster recovery protection across cities; if no, determine whether it is a double AR failure in the same city. Step 6: Determine whether dual AR failures occur in the same city. If so, perform network switching according to cross-city disaster recovery protection. If not, perform other network troubleshooting.
[0066] Corresponding to the network-bearing-based switching methods provided in the above-mentioned embodiments, an embodiment of the present disclosure also provides a network-bearing-based switching device. Since the network-bearing-based switching device provided in the embodiment of the present disclosure corresponds to the network-bearing-based switching methods provided in the above-mentioned embodiments, the implementation method of the above-mentioned network-bearing-based switching method is also applicable to the network-bearing-based switching device provided in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.
[0067] Figure 5 is a schematic diagram of a switching device based on network bearer according to an embodiment of the present disclosure, such as Figure 5 As shown, the network bearer-based switching device 500 includes: a monitoring module 510 , a determination module 520 and a switching module 530 .
[0068] The monitoring module 510 is used to monitor the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point, wherein the second office point sets a black hole route.
[0069] The determination module 520 is configured to determine a fault type in response to detecting a fault.
[0070] The switching module 530 is used to determine the target route switching strategy based on the fault type, and change the service transmission path based on the black hole route and the target route switching strategy to achieve switching between the first office point and the second office point.
[0071] Among them, the determination module 520 is also used to: in response to the fault being caused by a non-IP bearer network fault, determine that the fault type is the first fault type; or, in response to a fault in the first user network edge device or the second user network edge device of the first office point, determine that the fault type is the second fault type; or, in response to both the first user network edge device and the second user network edge device of the first office point failing, and neither the third user network edge device nor the fourth user network edge device of the second office point failing, determine that the fault type is the third fault type; or, in response to both the first user network edge device and the second user network edge device of the first office point failing, and the third user network edge device or the fourth user network edge device of the second office point failing, determine that the fault type is the fourth fault type; or, in response to both the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point failing, determine that the fault type is the fifth fault type.
[0072] The switching module 530 is also used to: in response to the fault type being the first fault type, determine the target route switching strategy to perform other network troubleshooting until the service transmission path returns to normal; or, in response to the fault type being the second fault type, determine the target route switching strategy to carry the traffic that the first office needs to carry through the first user network edge device or the second user network edge device that has not failed; in response to the fault type being the third fault type, determine the target route switching strategy to interrupt the link between the user plane function device of the first office and the slice packet network device, and establish the link between the slice packet network device and the third user network edge device and the fourth user network edge device of the second office; in response to the fault type being the fourth fault type, determine the target route switching strategy to interrupt the link between the user plane function device of the first office and the slice packet network device, establish the link between the slice packet network device and the third user network edge device and the fourth user network edge device of the second office, and carry the traffic that the second office needs to carry through the third user network edge device or the fourth user network edge device that has not failed; in response to the fault type being the fifth fault type, determine the target route switching strategy to transmit the service through the packet transport network.
[0073] The switching module 530 is also used to: trigger the update of the black hole routing through the internal gateway protocol, and make it effective through the access router; trigger the update to the entire network through the external gateway protocol to establish a link between the slice packet network device and the third user network edge device and the fourth user network edge device of the second station.
[0074] The switching module 530 is further used to trigger updating of the routing table, preferably selecting a routing table entry of the second office point as the next one.
[0075] The switching module 530 is further configured to: the base station sends registration information to the core network through the user plane function device of the second office point.
[0076] The switching module 530 is also used to detect whether the link of the target user network edge device is interrupted through a bidirectional forwarding detection mechanism, wherein the target user network edge device is a first user network edge device, a second user network edge device, a third user network edge device and a fourth user network edge device.
[0077] By setting up dual office points and setting up black hole routing at the second office point, the fault handling time can be greatly shortened, the fault handling efficiency can be improved, the business can be quickly restored, and user perception and satisfaction can be improved.
[0078] In order to implement the above embodiment, the present disclosure further provides an electronic device 600, Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present disclosure, such as Figure 6 As shown, the electronic device 600 includes: a processor 601 and a memory 602 that is communicatively connected to the processor, the memory 602 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 601 to implement the present disclosure. Figure 1-Figure 4 A switching method based on network bearer in an embodiment.
[0079] In order to implement the above embodiments, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to implement the above embodiments. Figure 1-Figure 4 A switching method based on network bearer in an embodiment.
[0080] In order to implement the above embodiments, the present disclosure also provides a computer program product, including a computer program. When the computer program is executed by a processor, the computer program implements the above embodiments. Figure 1-Figure 4 A switching method based on network bearer in an embodiment.
[0081] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.
[0082] The present application is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, the present disclosure is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.
[0083] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0084] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0085] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0086] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that contains, stores, communicates, propagates or transmits a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0087] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0088] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0089] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0090] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A switching method based on network bearer, characterized in that: include: Monitor a first user network edge device and a second user network edge device of a first office point, and a third user network edge device and a fourth user network edge device of a second office point, wherein a black hole route is set at the second office point; In response to detecting a fault, determining a type of the fault; A target route switching strategy is determined based on the fault type, and a service transmission path is changed based on the black hole route and the target route switching strategy to achieve switching between the first office point and the second office point.
2. The method according to claim 1, characterized in that The determining of the fault type comprises: In response to the fault being caused by a non-IP bearer network fault, determining that the fault type is a first fault type; or, In response to a failure of a first user network edge device or a second user network edge device of the first office site, determining that the failure type is a second failure type; or, In response to the first user network edge device and the second user network edge device of the first office both failing, and the third user network edge device and the fourth user network edge device of the second office not failing, determining that the fault type is a third fault type; or, In response to a failure of both a first user network edge device and a second user network edge device of the first office point, and a failure of a third user network edge device or a fourth user network edge device of the second office point, determining that the fault type is a fourth fault type; or, In response to failures occurring in the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point, it is determined that the fault type is a fifth fault type.
3. The method according to claim 2, characterized in that The determining of the target route switching strategy based on the fault type includes: In response to the fault type being the first fault type, determining the target route switching strategy to perform other network troubleshooting until the service transmission path returns to normal; or, In response to the fault type being the second fault type, determining the target route switching strategy to carry the traffic that the first office needs to carry through a first user network edge device or a second user network edge device that has not failed; In response to the fault type being the third fault type, determining that the target routing switching strategy is to interrupt a link between a user plane function device of the first office point and a slice packet network device, and to establish a link between the slice packet network device and a third user network edge device and a fourth user network edge device of the second office point; In response to the fault type being the fourth fault type, determining that the target routing switching strategy is to interrupt the link between the user plane function device of the first office point and the slice packet network device, establish a link between the slice packet network device and the third user network edge device and the fourth user network edge device of the second office point, and carry the traffic that the second office point needs to carry through the third user network edge device or the fourth user network edge device that has not failed; In response to the fault type being the fifth fault type, determining the target route switching strategy to perform service transmission through a packet transport network.
4. The method according to claim 3, characterized in that The establishing of a link between the slice packet network device and a third user network edge device and a fourth user network edge device of the second office point includes: Trigger the update of black hole routing through the internal gateway protocol and make it effective through the access router optimization; The update is triggered to the entire network through the external gateway protocol to establish a link between the slice packet network device and the third user network edge device and the fourth user network edge device of the second office point.
5. The method according to claim 3, characterized in that: After the link between the user plane function device of the first office point and the slice packet network device is interrupted, the method further includes: Triggering the update of the routing table, preferably the next routing table entry is the second office point.
6. The method according to claim 4, characterized in that The updating to the whole network through triggering the external gateway protocol includes: The base station sends registration information to the core network through the user plane function device of the second office point.
7. The method according to claim 1, characterized in that The monitoring of the first user network edge device and the second user network edge device of the first office point and the third user network edge device and the fourth user network edge device of the second office point includes: Whether the link of the target user network edge device is interrupted is detected through a bidirectional forwarding detection mechanism, wherein the target user network edge device is the first user network edge device, the second user network edge device, the third user network edge device and the fourth user network edge device.
8. A switching device based on network bearer, characterized in that: include: A monitoring module, configured to monitor a first user network edge device and a second user network edge device of a first office point and a third user network edge device and a fourth user network edge device of the second office point, wherein the second office point is configured with a black hole route; A determination module, configured to determine a fault type in response to detecting a fault; A switching module is used to determine a target route switching strategy based on the fault type, and to change a service transmission path based on the black hole route and the target route switching strategy to achieve switching between the first office point and the second office point.
9. An electronic device, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
