Data transmission method and device based on backup route, equipment and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE GRP GUANGDONG CO LTD
- Filing Date
- 2022-07-05
- Publication Date
- 2026-05-22
AI Technical Summary
The existing dual-route transmission method is costly when dealing with service interruptions in the user plane function of 5G private network, and cannot quickly and effectively restore service connectivity.
By establishing a backup route between the user terminal and the sinking user plane functional network element, using the customer front-end equipment (CPE) as the access point, creating the backup route through the shared UPF, and switching to the backup route for data transmission when the primary route fails.
It enables rapid restoration of service connectivity when the primary router fails, reducing the cost of handling service interruption failures and minimizing the workload of upgrades.
Smart Images

Figure CN117395190B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, specifically to a data transmission method, apparatus, device, and storage medium based on backup routing. Background Technology
[0002] When a service interruption occurs in the user plane function of a 5G private network, the processing time varies depending on the protection level for different types of service interruptions, generally ranging from 2 to 6 hours. Long processing times for service interruptions caused by transmission issues can easily lead to customer complaints. Currently, existing solutions for quickly handling service interruptions caused by transmission include dual-route transmission, which involves establishing dual fiber optic routes between the User Plane Function (UPF) and the Sliced Packet Network (SPN), or one fiber optic route and one microwave route. Dual-route transmission requires significant upfront investment in upgrades, resulting in high processing costs for service interruptions. Summary of the Invention
[0003] This application provides a data transmission method, apparatus, device, and storage medium based on backup routing to solve the technical problem of high cost in existing dual-routing service interruption fault handling methods.
[0004] In a first aspect, embodiments of this application provide a data transmission method based on backup routing, the data transmission method based on backup routing including:
[0005] When a request data packet sent by a user terminal (UE) with a destination address of a sinking user plane function network element (UPF) is detected, the request data packet of the UE is routed and forwarded between the UE and the sinking UPF according to a preset primary route.
[0006] Using the customer front-end equipment (CPE) as the access point, a backup route for the UE's request data packets is established between the UE and the sinking UPF via a shared UPF;
[0007] When the primary route failure is detected, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF according to the backup route.
[0008] In one embodiment, the request data packet includes uplink data packets and downlink data packets, the backup route includes uplink route and downlink route, and the step of routing and forwarding the request data packet of the UE between the UE and the downlink UPF according to the backup route includes:
[0009] According to the uplink route of the backup route, the uplink data packets of the UE are routed and forwarded to send the uplink data packets from the UE to the sinking UPF;
[0010] The downlink data packets of the UE are obtained from the downlink UPE based on the uplink data packets;
[0011] The downlink data packets are routed and forwarded according to the downlink route of the backup route, so as to send the downlink data packets from the sinking UPF to the UE.
[0012] In one embodiment, the step of routing and forwarding the uplink data packets of the UE according to the uplink route of the backup route to send the uplink data packets from the UE to the downlink UPF includes:
[0013] According to the backup route, the uplink data packets of the UE are forwarded to the shared UPF through the slice packet network SPN;
[0014] The uplink data packets are forwarded to the customer front-end equipment (CPE) via the shared UPF, and then forwarded to the sinking UPF via the data center gateway (DCGW) based on the customer front-end equipment (CPE).
[0015] In one embodiment, the step of routing and forwarding the downlink data packets according to the downlink route of the backup route to send the downlink data packets from the sinking UPF to the UE includes:
[0016] According to the downlink route of the backup route, the downlink data packet is forwarded to the customer front-end equipment (CPE) through the DCGW;
[0017] The downlink data packets are sent to the shared UPF via the customer front-end equipment (CPE), and based on the shared UPF, the downlink data packets are forwarded to the UE via the slice packet network (SPN).
[0018] In one embodiment, the step of establishing a backup route for the UE's request data packets between the UE and the sinking UPF, using the Customer Premises Equipment (CPE) as the access point and a shared UPF, includes:
[0019] Obtain backup route configuration information and customer front-end device (CPE) address information; based on the backup route configuration information and the address information, create a static route between the customer front-end device (CPE) and the sinking UPF in the data center gateway (DCGW);
[0020] Based on the address information, a first data channel is established between the customer front-end equipment (CPE) and the shared UPF;
[0021] Based on the backup routing configuration information, a second data channel is created between the shared UPF and the sliced packet network SPN, and based on the second data channel, a user plane channel is established between the shared UPF and the customer front-end equipment CPE.
[0022] Based on the static route, the first channel, and the user plane channel, a backup route for the UE's request data packets is established between the UE and the sinking UPF.
[0023] In one embodiment, the step of establishing a backup route for the UE's request data packets between the UE and the downlink UPF based on the static route, the first data channel, and the user plane channel includes:
[0024] Obtain the network segment routing information of the sinking UPF, and based on the static route, the first data channel and the user plane channel, generate the uplink route and downlink route of the sinking UPF between the UE and the sinking UPF according to the network segment routing information;
[0025] The uplink and downlink routes of the sunken UPF are inserted into the routing table of the SMF, and the routing table of the SMF is sent to the shared UPF to distribute the uplink and downlink routes of the sunken UPF to the shared UPF. A backup route for the UE's request data packets is established between the UE and the sunken UPF.
[0026] In one embodiment, the primary route has a higher priority than the backup route. The step of routing and forwarding the UE's request data packets between the UE and the downlink UPF according to the backup route when a failure of the primary route is detected includes:
[0027] When a failure of the primary route is detected, the priority of the primary route is adjusted so that the priority of the primary route is lower than that of the backup route;
[0028] Based on the adjusted priority, and following the backup route, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF.
[0029] Secondly, embodiments of this application provide a data transmission apparatus based on backup routing, comprising:
[0030] The primary routing module is used to route and forward the request data packet of the user terminal UE between the UE and the sinking user plane function network element UPF according to the preset primary routing when it detects that the request data packet sent by the user terminal UE has a destination address of sinking user plane function network element UPF.
[0031] The route generation module is used to establish a backup route for the UE's request data packets between the UE and the sinking UPF by using the customer front-end equipment (CPE) as the access point and through the shared UPF.
[0032] The backup routing module is used to forward the UE's request data packets between the UE and the sinking UPF according to the backup route when the primary route failure is detected.
[0033] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the program to implement the steps of the data transmission method based on backup routing described in the first aspect.
[0034] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the data transmission method based on backup routing described in the first aspect.
[0035] The data transmission method, apparatus, device, and storage medium based on backup routing provided in this application, when detecting a request data packet sent by a user terminal (UE) with a destination address of a sunken UPF, forwards the UE's request data packet between the UE and the sunken UPF according to the primary route; and establishes a backup route between the UE and the sunken UPF through a shared UPF, using the customer front-end equipment (CPE) as the access point; when a primary route failure is detected, forwards the UE's request data packet between the UE and the sunken UPF according to the backup route. By using the customer front-end equipment (CPE) as the access point and creating a backup route through a shared UPF, interrupted services can be restored when the primary route fails, ensuring normal service operation. Simultaneously, by creating a temporary backup route, the processing cost of service interruption failures is reduced. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is one of the flowcharts illustrating the data transmission method based on backup routing provided in this application embodiment;
[0038] Figure 2 This is one of the schematic diagrams of the backup route provided in the embodiments of this application;
[0039] Figure 3 This is one of the structural schematic diagrams of the data transmission device based on backup routing provided in the embodiments of this application;
[0040] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0042] The expertise used in the various embodiments of this application mainly includes:
[0043] UPF (User Plane Function) is a network element that primarily supports routing and forwarding of user terminal (UE) service data, data and service identification, and action and policy execution. The downsloping UPF replaces the user-facing "routing and forwarding" functions in 4G networks. In conjunction with Mobile Edge Computing (MECMEC), it extends to the user side, providing ultra-high bandwidth, ultra-low latency, and real-time data forwarding services. Downsloping UPFs can adapt to the needs of new services such as high-definition video and V2X (vehicle-to-X wireless communication technology).
[0044] CPE: Customer Premise Equipment, a mobile signal access device that receives 4G or 5G mobile signals and forwards them as wireless WIFI signals, supporting multiple terminals to access the Internet at the same time.
[0045] SPN: Slicing Packet Network, a key technology in 5G network slicing, used to support next-generation network architecture, bandwidth, traffic patterns, slicing, latency, and time synchronization;
[0046] DCGW: Data Center Gateway, is a device that connects two network segments using different protocols. The role of the data center gateway is to translate and convert data using different transmission protocols in the two network segments.
[0047] SMF: Session Management Function, which includes routing and forwarding user packets, data interaction with external data networks (DN), QoS processing of the user plane, and enforcement of flow control rules (such as gating, redirection, and traffic redirection).
[0048] AMF: Access and Mobility Management Function. The AMF receives requests from the UE and processes all tasks related to connection and mobility management, such as authentication, and forwards session management requests to the SMF through the N11 interface.
[0049] PDU: Protocol Data Unit, is the information exchanged between peer layers of the protocol layer. The UE provides the connection destination address in the form of a dedicated DNN and initiates a request to establish a PDU session. The purpose of establishing a PDU session is to allocate the terminal (UE) IP and notify the UE of the IP addresses of the core network units (application layer components) involved. Another important function is to establish QoS (Quality of Service) flow.
[0050] DNN: Data Network Name. It selects the SMF and UPF for the PDU session and determines the policy applied to this PDU session. Its main function is to distinguish access from different data networks and to distribute and aggregate sessions to different SMFs / UPFs based on the DNN to achieve targeted access for customers.
[0051] AAA server: AAA stands for Authentication, Authorization, and Accounting. It is a server that can handle user access requests, provide authentication, authorization, and account services. Its main purpose is to manage user access to the web server and provide services to users with access rights.
[0052] The data transmission method based on backup routing provided in this application embodiment can create a temporary backup route using CPE when a transmission interruption occurs in the sinking UPF, thereby diverting the traffic of the sinking UPF and restoring the transmission interruption of the sinking UPF in a short period of time.
[0053] Specifically, Figure 1 This is one of the flowcharts illustrating a data transmission method based on backup routing provided in an embodiment of this application. (Refer to...) Figure 1 The data transmission method based on backup routing provided in this application embodiment may include:
[0054] Step 100: When a request data packet sent by a user terminal (UE) with a destination address of a sinking user plane function network element (UPF) is detected, the request data packet of the UE is routed and forwarded between the UE and the sinking UPF according to a preset primary route.
[0055] When a request data packet sent by a user terminal (UE) with a destination address of the sinking UPF is detected, the request data packet is routed and forwarded between the UE and the sinking UPF according to the primary route. The UE's request data packet includes a message data packet containing the request instruction sent by the UE to the sinking UPF (i.e., an uplink data packet), and a service data packet sent by the sinking UPF in response to the UE's request instruction (i.e., a downlink data packet). The routing and forwarding of the UE's request data packet between the UE and the sinking UPF according to the primary route is a data interaction process between the UE and the sinking UPF. This includes the process of sending uplink data packets from the UE to the sinking UPF according to the uplink route in the primary route, and the process of sending downlink data packets from the sinking UPF to the UE according to the downlink route in the primary route.
[0056] Step 200: Using the customer front-end equipment (CPE) as the access point, a backup route for the UE's request data packets is established between the UE and the sinking UPF via the shared UPF;
[0057] When a data packet destined for a sunken UPF is detected, a backup route for the UE's request data packet is established between the UE and the sunken UPF via a shared UPF, using the Customer Premises Equipment (CPE) as the access point. Specifically, backup links are established between the shared UPF and the Sliced Packet Network (SPN), between the shared UPF and the CPE, and between the CPE and the sunken UPF, with a lower priority than the primary route link. This allows data to be routed and transmitted via backup links in the event of a primary route link failure. The shared UPF includes a shared ToB (to-business) UPF; the following explanation uses a shared ToB UPF (or simply shared UPF) as an example.
[0058] The process of establishing a backup route between the UE and the downlink UPF, using the customer's front-end equipment as the access point, may include:
[0059] Step 201: Obtain backup route configuration information and customer front-end device (CPE) address information. Based on the backup route configuration information and the address information, create a static route between the customer front-end device (CPE) and the sinking UPF in the data center gateway (DCGW).
[0060] Step 202: Establish a first data channel between the customer front-end device (CPE) and the shared UPF based on the address information;
[0061] Step 203: Based on the routing configuration information, create a second data channel between the shared UPF and the sliced packet network SPN, and based on the second data channel, establish a user plane channel between the shared UPF and the customer front-end device CPE;
[0062] Step 204: Based on the static route, the first channel, and the user plane channel, establish a backup route for the UE's request data packets between the UE and the downsunk UPF.
[0063] During network activation, the independent IP address information (IP2) of the Customer Premises Equipment (CPE) and backup route configuration information are obtained via a dedicated Data Network Name (DNN). Based on the backup route configuration information and the CPE's IP2 address, a static route is created in the Data Center Gateway (DCGW) between the CPE and the Subordinate UPF. Specifically, a static route is added to the CPE, with data packets destined for the Subordinate UPF's IP1 address, and forwarded through the DCGW. A first data channel, including the N3 interface, is created between the CPE and the shared UPF based on the CPE's address information. A second data channel, including the N6 interface, is created between the shared UPF and the Sliced Packet Network (SPN) based on the backup route configuration information. A user plane channel is then established between the shared UPF and the CPE based on this second data channel. Finally, a backup route between the UE and the Subordinate UPF is generated based on the created static route, the first data channel, and the user plane channel.
[0064] Furthermore, step 204 may also include:
[0065] Step 2041: Obtain the network segment routing information of the sinking UPF; based on the static route, the first data channel, and the user plane channel, generate the uplink and downlink routes of the sinking UPF between the UE and the sinking UPF according to the network segment routing information.
[0066] Step 2042: Insert the uplink and downlink routes of the sunken UPF into the routing table of the SMF, and send the routing table of the SMF to the shared UPF to distribute the uplink and downlink routes of the sunken UPF to the shared UPF. Establish a backup route for the UE's request data packets between the UE and the sunken UPF.
[0067] Based on the various substation UPF devices connected to the customer's front-end equipment (CPE), the network segment routing information of the substation UPF is obtained. Based on the established static routes, the first data channel, and the user plane channel, and according to the network segment routing information of the substation UPF, uplink and downlink routes for the substation UPF's backup routes are generated. The generation method includes: determining a fixed route from the UE to the AMF and then to the SMF based on the primary route of the substation UPF; combining the links of the fixed route with the backup links corresponding to the established static routes, the first data channel, and the user plane channel to generate the uplink and downlink routes for the backup routes; inserting the generated uplink and downlink routes of the substation UPF into the routing table of the SMF; and sending this routing table to the shared UPF, thereby distributing the generated routing information to the shared UPF. Based on the routing information distributed by the SMF, a backup route for the UE's request data packets is established between the UE and the substation UPF.
[0068] Furthermore, based on the backup route configuration information, the specific configurations for each part are as follows:
[0069] For the Customer Premises Equipment (CPE) section: A dedicated Data Network Node (DNN) is used. Upon network activation, the CPE obtains its independent IP address (IP2) and establishes an N3 channel (the first data channel) with the shared UPF. A static route is added to the CPE, with data packets destined for the UPF (i.e., IP1). These packets are then forwarded through the Data Gateway (DCGW) according to this static route.
[0070] In the Data Center Gateway (DCGW) section: a static route is added, with the next hop being the Ethernet port of the Customer Premises Equipment (CPE). This route has a lower priority than the primary route, whose next hop is the Access Layer Slice Packet Network (SPN). This allows the DCGW to reduce the priority of the primary route or increase the priority of the backup route when the primary route link is interrupted, enabling the DCGW to select the static route to the CPE for packet forwarding.
[0071] For the shared UPF section: an N6 interface to the access layer SPN has been added, which is the second data channel. According to the backup routing configuration information, the Routing Behind MS function of the shared UPF needs to be enabled so that the shared UPF can forward service data packets destined for the CPE-attached device (i.e., the sunken UPF).
[0072] AAA Server Section: Configure the network segment routing information of the sinking UPF devices connected to the customer's front-end equipment (CPE) in the AAA server.
[0073] SPN Transmission Section: A detailed route to the sinking UPF device is created using the longest match method. Data packets sent to the sinking UPF are forwarded by the shared UPF and published in the SPN core layer.
[0074] Furthermore, based on the configuration of the above parts, when generating the backup route for the UE's request data packet, the customer's front-end equipment (CPE) dials in to initiate a PDU session establishment request, which is sent to the SMF. The SMF then sends an authentication request to the AAA server. The AAA server checks whether the customer's front-end equipment (CPE) is a back-route user. If so, authentication passes; otherwise, authentication fails. If the AAA server authentication passes, it encapsulates the uplink / downlink routing information of the downlink UPF into an authentication response message and sends it to the SMF. The SMF then returns an acknowledgment to the AMF accepting the creation of the PDU session. The SMF obtains the encapsulated routing information from the authentication response message received by the SMF, inserts this routing information into the SMF's routing table, and sends the downlink UPF routing information to the shared UPF via the Framed-Route information element of the PFCP (Packet Forwarding Control Protocol) in the session establishment request. Based on the routing information of the subsided UPF issued by the SMF, the shared UPF can forward data packets destined for the subsided UPF's address IP1 to the customer's front-end equipment (CPE). Simultaneously, the Framed-Route function is activated, allowing the shared UPF to forward data packets received from the customer's front-end equipment (CPE) with a source address of the subsided UPF's address IP1, rather than the customer's front-end equipment (CPE) address IP2. In this way, data packets sent by the subsided UPF can travel from the customer's front-end equipment (CPE) to the shared UPF, and then be forwarded to the SPN via the N6 interface, thus being sent to the UE via other 5G base stations. This establishes a backup route between the UE and the subsided UPF. When the primary route link is interrupted, the backup route can be used to divert traffic between the UE and the N3, N4, and N9 interfaces of the subsided UPF.
[0075] Step 300: When the primary route failure is detected, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF according to the backup route.
[0076] When a primary route failure is detected, the UE's request data packets are routed and forwarded between the UE and the downlink UPF according to the backup route. Fault detection of the primary route can utilize the Bidirectional Forwarding Detection (BFD) method. For example, BFD detection can be performed on the data center gateway (DCGW) and the slice packet network (SPN) in the primary route, using the BFD protocol to detect the connectivity from the shared UPF to the aggregation layer SPN. When BFD detects a failure such as an interruption in the primary link, the priority of the original primary route is reduced, causing the data center gateway (DCGW) to select the static route to the customer front-end equipment (CPE), switching from the primary route to the backup route to complete the routing and forwarding of the UE's request data packets.
[0077] Specifically, through BFD, when a fault is detected in the primary route, such as the SPN loop corresponding to the sinking UPF transmission being unavailable, or the link between the shared UPF and the transmission room being interrupted, a PDU session is initiated via dialing by the customer's front-end equipment (CPE). The AAA server encapsulates the backup route information corresponding to the customer's front-end equipment (CPE) in an authentication response message and sends it to the SMF. The backup route information obtained by the SMF is inserted into the SMF's routing table, and the UE's back-end network segment route is sent to the shared UPF, establishing a user plane channel between the customer's front-end equipment (CPE) and the shared UPF. A route is created in the transport SPN to forward data packets destined for the sinking UPF to the shared UPF; the UE redials to establish a PDU connection, thereby generating a backup route for data transmission.
[0078] Furthermore, the primary route has a higher priority than the backup route. For UE request data packets, the primary route is used for transmission first. When the primary route link is interrupted, the priority of the primary route is adjusted so that it is lower than the backup route, thereby switching to the backup route and transmitting the UE request data packets according to the backup route. Step 300 includes:
[0079] Step 301: When the primary route failure is detected, adjust the priority of the primary route so that the priority of the primary route is lower than that of the backup route;
[0080] Step 302: Based on the adjusted priority, and following the backup route, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF.
[0081] When a primary route failure is detected, such as when the SPN loop corresponding to the sinking UPF transmission is unavailable, or when the link from the shared UPF to the transmission room is interrupted, the priority of the primary route is adjusted so that the priority of the primary route is lower than that of the backup route. Thus, when the primary route fails, the UE's request data packets are routed and forwarded according to the backup route based on the adjusted priority.
[0082] In this embodiment, when a request data packet sent by a user terminal (UE) with a destination address of the sunken UPF is detected, the request data packet is routed and forwarded between the UE and the sunken UPF according to the primary route. A backup route is established between the UE and the sunken UPF using the customer front-end equipment (CPE) as the access point and through the shared UPF. When a failure of the primary route is detected, the request data packet is routed and forwarded between the UE and the sunken UPF according to the backup route. By using the customer front-end equipment (CPE) as the access point and creating a backup route through the shared UPF, interrupted services are restored when the primary route fails, ensuring normal service operation. Simultaneously, by creating a temporary backup route, the processing cost of service interruption failures is reduced.
[0083] Furthermore, when generating backup routes, based on the existing architecture, backup links are created between the shared UPF and the transport SPN, between the customer front-end equipment (CPE) and the shared UPF, and between the sinking UPF and the customer front-end equipment (CPE). Compared with the dual-route transport method, this reduces the workload of modification and further reduces the cost of handling service interruption failures.
[0084] In one embodiment, the UE's request data packet includes uplink data packets and downlink data packets, and the generated backup route includes uplink route and downlink route. In step 300, the UE's request data packet is routed and forwarded between the UE and the downlink UPF according to the backup route, specifically including:
[0085] Step 310: According to the uplink route of the backup route, the uplink data packets of the UE are routed and forwarded to send the uplink data packets from the UE to the sinking UPF;
[0086] Step 320: Obtain the downlink data packet of the UE from the downlink UPE based on the uplink data packet;
[0087] Step 330: According to the downlink route of the backup route, the downlink data packet is routed and forwarded to send the downlink data packet from the sinking UPF to the UE.
[0088] As can be seen, the data interaction between the UE and the downlink UPF is bidirectional. Generally, the UE sends a request to the downlink UPF, and the downlink UPF provides services to the UE according to the UE's request. The data transmission direction from the UE to the downlink UPF is generally defined as uplink, and the data transmission direction from the downlink UPF to the UE is defined as downlink. Based on this, according to the backup link, when routing and forwarding the UE's request data packets between the UE and the downlink UPF, it specifically includes: routing and forwarding the UE's uplink data packets according to the uplink route of the backup route, sending the UE's request to the downlink UPF; retrieving the corresponding downlink data packets from the downlink UPF according to the UE's request; and routing and forwarding the UE's downlink data packets (i.e., the data packets sent from the downlink UPF to the UE) from the downlink UPF according to the downlink route of the backup route, sending the downlink data packets from the downlink UPF to the UE.
[0089] Furthermore, step 310 may also include:
[0090] Step 311: According to the backup route, forward the uplink data packets of the UE to the shared UPF through the slice packet network SPN;
[0091] Step 312: Forward the uplink data packet to the customer front-end device (CPE) through the shared UPF, and forward the uplink data packet to the sinking UPF through the data center gateway (DCGW) based on the customer front-end device (CPE).
[0092] Step 330 may also include:
[0093] Step 331: According to the downlink route of the backup route, forward the downlink data packet to the customer front-end equipment (CPE) through the DCGW;
[0094] Step 332: The downlink data packet is sent to the shared UPF through the customer front-end equipment (CPE), and based on the shared UPF, the downlink data packet is forwarded to the UE through the slice packet network (SPN).
[0095] When forwarding uplink data according to the uplink route, the uplink data packets sent to the slice packet network (SPN) are first sent to the shared UPF through the created N6 interface. Then, the uplink data packets sent to the shared UPF are forwarded to the customer front-end device (CPE) through the created N3 interface. Finally, based on the static route established in the data center gateway (DCGW) between the customer front-end device (CPE) and the downlink UPF, the uplink data packets are sent to the downlink UPF through the data center gateway (DCGW).
[0096] When routing downlink data packets according to the downlink route, the process is similar to that of uplink data packet routing. First, based on the static route between the Customer Premises Equipment (CPE) and the Downlink UPF created in the Data Center Gateway (DCGW), the downlink data packets obtained from the Downlink UPF are sent to the CPE through the DCGW. Then, according to the created N3 interface, the downlink data packets are forwarded to the Shared UPF. Through the N6 interface created between the Shared UPF and the Sliced Packet Network (SPN), the downlink data packets are forwarded from the Shared UPF to the SPN. Finally, the downlink data packets are sent to the corresponding base station through the SPN, and then sent to the UE through the air interface of the base station.
[0097] Furthermore, referring to Figure 2 , Figure 2 One of the diagrams illustrating backup routing, in Figure 2 In this context, the forwarding nodes for backup routes include UEs, base stations, Access and Mobility Management Function (AMF) network elements, Session Management Function (SMF) network elements, AAA servers, Customer Network Edge (CE) devices, Sliced Packet Network (SPN) networks, shared UPFs, Customer Premises Equipment (CPE) devices, Data Center Gateways (DCGW) devices, and downlink UPFs. The AAA server is used to configure the network segment routing information of the downlink UPF devices connected to the Customer Premises Equipment (CPE).
[0098] based on Figure 2 The backup routing diagram illustrates how, according to the backup route, when routing and forwarding the UE's request data packets between the UE and the subsided UPF, specifically, the UE initiates a request, and the base station sequentially sends the corresponding data packets, such as message data packets, to the AMF, SMF, and CE (Customer Edge), and finally forwards them from the CE to the sliced packet network SPN; based on the N6 interface established between the SPN and the shared UPF, the data packets are forwarded from the SPN to the shared UPF, and based on the N3 interface established between the shared UPF and the customer front-end device CPE, the base station forwards the data packets from the shared UPF to the customer front-end device CPE; finally, according to the static route between the customer front-end device and the subsided UPF created in the data center gateway DCGW, the data packets are sent from the customer front-end device CPE to the subsided UPF through the data center gateway DCGW, completing the routing and forwarding of the uplink data packets.
[0099] Based on the UE's request, the system retrieves the corresponding downlink data packet from the subsided UPF. Using the static route created in the data center gateway (DCGW) between the customer front-end equipment (CPE) and the subsided UPF, the system forwards the downlink data packet from the subsided UPF to the customer front-end equipment (CPE) via the DCGW. Then, based on the user plane channel created between the customer front-end equipment (CPE) and the shared UPF using the N3 interface, the system forwards the downlink data packet from the customer front-end equipment (CPE) to the shared UPF. Finally, based on the N6 interface created between the shared UPF and the sliced packet network (SPN), the system forwards the downlink data packet from the shared UPF to the SPN, and then sequentially sends it to the CE, SMF, and AMF via the SPN. Finally, the system sends the downlink data packet to the UE via the base station's air interface, completing the routing and forwarding of the downlink data packet.
[0100] In this embodiment, by using a pre-created backup route, when the primary route fails, the system can quickly switch to the backup route to forward the request data packets of the user terminal (UE), thereby alleviating the traffic flow of the interface corresponding to the sinking UPF and improving the speed of restoring transmission failures.
[0101] The data transmission apparatus based on backup routing provided in the embodiments of this application will be described below. The data transmission apparatus based on backup routing described below can be referred to in correspondence with the data transmission method based on backup routing described above.
[0102] Reference Figure 3 The data transmission apparatus based on backup routing provided in this application includes:
[0103] The primary routing module 10 is used to forward the request data packet of the user terminal UE between the UE and the sinking user plane function network element UPF according to the preset primary routing when it detects that the request data packet sent by the user terminal UE has a destination address of sinking user plane function network element UPF.
[0104] The route generation module 20 is used to establish a backup route for the UE's request data packets between the UE and the sinking UPF by using the customer front-end equipment (CPE) as the access point and through the shared UPF.
[0105] The backup routing module 30 is used to forward the UE's request data packets between the UE and the sinking UPF according to the backup route when the primary route failure is detected.
[0106] In one embodiment, the request data packet includes an uplink data packet and a downlink data packet, the backup route includes an uplink route and a downlink route, and the backup routing module 30 is further configured to:
[0107] According to the uplink route of the backup route, the uplink data packets of the UE are routed and forwarded to send the uplink data packets from the UE to the sinking UPF;
[0108] The downlink data packets of the UE are obtained from the downlink UPE based on the uplink data packets;
[0109] The downlink data packets are routed and forwarded according to the downlink route of the backup route, so as to send the downlink data packets from the sinking UPF to the UE.
[0110] In one embodiment, the backup routing module 30 is further configured to:
[0111] According to the backup route, the uplink data packets of the UE are forwarded to the shared UPF through the slice packet network SPN;
[0112] The uplink data packets are forwarded to the customer front-end equipment (CPE) via the shared UPF, and then forwarded to the sinking UPF via the data center gateway (DCGW) based on the customer front-end equipment (CPE).
[0113] In one embodiment, the backup routing module 30 is further configured to:
[0114] According to the downlink route of the backup route, the downlink data packet is forwarded to the customer front-end equipment (CPE) through the DCGW;
[0115] The downlink data packets are sent to the shared UPF via the customer front-end equipment (CPE), and based on the shared UPF, the downlink data packets are forwarded to the UE via the slice packet network (SPN).
[0116] In one embodiment, the route generation module 20 is further configured to:
[0117] Obtain backup route configuration information and customer front-end device (CPE) address information; based on the backup route configuration information and the address information, create a static route between the customer front-end device (CPE) and the sinking UPF in the data center gateway (DCGW);
[0118] Based on the address information, a first data channel is established between the customer front-end equipment (CPE) and the shared UPF;
[0119] Based on the backup routing configuration information, a second data channel is created between the shared UPF and the sliced packet network SPN, and based on the second data channel, a user plane channel is established between the shared UPF and the customer front-end equipment CPE.
[0120] Based on the static route, the first channel, and the user plane channel, a backup route for the UE's request data packets is established between the UE and the sinking UPF.
[0121] In one embodiment, the route generation module 20 is further configured to:
[0122] Obtain the network segment routing information of the sinking UPF, and based on the static route, the first data channel and the user plane channel, generate the uplink route and downlink route of the sinking UPF between the UE and the sinking UPF according to the network segment routing information;
[0123] The uplink and downlink routes of the sunken UPF are inserted into the routing table of the SMF, and the routing table of the SMF is sent to the shared UPF to distribute the uplink and downlink routes of the sunken UPF to the shared UPF. A backup route for the UE's request data packets is established between the UE and the sunken UPF.
[0124] In one embodiment, the primary route has a higher priority than the backup route, and the backup route module 30 is further configured to:
[0125] When a failure of the primary route is detected, the priority of the primary route is adjusted so that the priority of the primary route is lower than that of the backup route;
[0126] Based on the adjusted priority, and following the backup route, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF.
[0127] Figure 4 Example: A schematic diagram of the physical structure of an electronic device, such as... Figure 4 As shown, the electronic device may include a processor 410, a communication interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other via the communication bus 440. The processor 410 can call a computer program in the memory 430 to execute steps of a data transmission method based on backup routing, such as:
[0128] When a request data packet sent by a user terminal (UE) with a destination address of a sinking user plane function network element (UPF) is detected, the request data packet of the UE is routed and forwarded between the UE and the sinking UPF according to a preset primary route.
[0129] Using the customer front-end equipment (CPE) as the access point, a backup route for the UE's request data packets is established between the UE and the sinking UPF via a shared UPF;
[0130] When the primary route failure is detected, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF according to the backup route.
[0131] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0132] On the other hand, embodiments of this application also provide a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the data transmission method based on backup routing provided in the above embodiments, such as including:
[0133] When a request data packet sent by a user terminal (UE) with a destination address of a sinking user plane function network element (UPF) is detected, the request data packet of the UE is routed and forwarded between the UE and the sinking UPF according to a preset primary route.
[0134] Using the customer front-end equipment (CPE) as the access point, a backup route for the UE's request data packets is established between the UE and the sinking UPF via a shared UPF;
[0135] When the primary route failure is detected, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF according to the backup route.
[0136] On the other hand, embodiments of this application also provide a processor-readable storage medium storing a computer program for causing a processor to perform the steps of the methods provided in the above embodiments, such as including:
[0137] When a request data packet sent by a user terminal (UE) with a destination address of a sinking user plane function network element (UPF) is detected, the request data packet of the UE is routed and forwarded between the UE and the sinking UPF according to a preset primary route.
[0138] Using the customer front-end equipment (CPE) as the access point, a backup route for the UE's request data packets is established between the UE and the sinking UPF via a shared UPF;
[0139] When the primary route failure is detected, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF according to the backup route.
[0140] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO)), optical memory (e.g., CD, DVD, BD, HVD), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)).
[0141] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0142] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A data transmission method based on backup routing, characterized in that, The data transmission method based on backup routing includes the following steps: When a request data packet sent by a user terminal (UE) with a destination address of a sinking user plane function network element (UPF) is detected, the request data packet of the UE is routed and forwarded between the UE and the sinking UPF according to a preset primary route. Using a Customer Premises Equipment (CPE) as the access point, a backup route for the UE's request data packets is established between the UE and the substation UPF via a shared UPF. This includes: obtaining backup route configuration information and the address information of the CPE; creating a static route between the CPE and the substation UPF in the Data Center Gateway (DCGW) based on the backup route configuration information and the address information; establishing a first data channel between the CPE and the shared UPF based on the address information; creating a second data channel between the shared UPF and the Sliced Packet Network (SPN) based on the backup route configuration information; and establishing a user plane channel between the shared UPF and the CPE based on the second data channel; and establishing a backup route for the UE's request data packets between the UE and the substation UPF based on the static route, the first data channel, and the user plane channel. When the primary route failure is detected, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF according to the backup route.
2. The data transmission method based on backup routing according to claim 1, characterized in that, The request data packet includes uplink data packets and downlink data packets, the backup route includes uplink route and downlink route, and the step of routing and forwarding the request data packet of the UE between the UE and the downlink UPF according to the backup route includes: According to the uplink route of the backup route, the uplink data packets of the UE are routed and forwarded to send the uplink data packets from the UE to the sinking UPF; The downlink data packets of the UE are obtained from the downlink UPE based on the uplink data packets; The downlink data packets are routed and forwarded according to the downlink route of the backup route, so as to send the downlink data packets from the sinking UPF to the UE.
3. The data transmission method based on backup routing according to claim 2, characterized in that, The step of routing and forwarding the uplink data packets of the UE according to the uplink route of the backup route, so as to send the uplink data packets from the UE to the sinking UPF, includes: According to the backup route, the uplink data packets of the UE are forwarded to the shared UPF through the slice packet network SPN; The uplink data packets are forwarded to the customer front-end equipment (CPE) via the shared UPF, and then forwarded to the sinking UPF via the data center gateway (DCGW) based on the customer front-end equipment (CPE).
4. The data transmission method based on backup routing according to claim 3, characterized in that, The step of routing and forwarding the downlink data packets according to the downlink route of the backup route to send the downlink data packets from the sinking UPF to the UE includes: According to the downlink route of the backup route, the downlink data packet is forwarded to the customer front-end equipment (CPE) through the DCGW; The downlink data packets are sent to the shared UPF via the customer front-end equipment (CPE), and based on the shared UPF, the downlink data packets are forwarded to the UE via the slice packet network (SPN).
5. The data transmission method based on backup routing according to claim 1, characterized in that, The step of establishing a backup route for the UE's request data packets between the UE and the downlink UPF based on the static route, the first data channel, and the user plane channel includes: Obtain the network segment routing information of the sinking UPF, and based on the static route, the first data channel and the user plane channel, generate the uplink route and downlink route of the sinking UPF between the UE and the sinking UPF according to the network segment routing information; The uplink and downlink routes of the sunken UPF are inserted into the routing table of the SMF, and the routing table of the SMF is sent to the shared UPF to distribute the uplink and downlink routes of the sunken UPF to the shared UPF. A backup route for the UE's request data packets is established between the UE and the sunken UPF.
6. The data transmission method based on backup routing according to claim 1, characterized in that, The primary route has a higher priority than the backup route. The step of routing and forwarding the UE's request data packets between the UE and the downlink UPF according to the backup route when a failure of the primary route is detected includes: When a failure of the primary route is detected, the priority of the primary route is adjusted so that the priority of the primary route is lower than that of the backup route; Based on the adjusted priority, and following the backup route, the request data packets of the UE are routed and forwarded between the UE and the sinking UPF.
7. A data transmission device based on backup routing, characterized in that, include: The primary routing module is used to route and forward the request data packet of the user terminal UE between the UE and the sinking user plane function network element UPF according to the preset primary routing when it detects that the request data packet sent by the user terminal UE has a destination address of sinking user plane function network element UPF. A route generation module is used to establish a backup route for the UE's request data packets between the UE and the sinking UPF, using the Customer Premises Equipment (CPE) as the access point and a shared UPF. The module includes: obtaining backup route configuration information and the address information of the CPE; creating a static route between the CPE and the sinking UPF in the Data Center Gateway (DCGW) based on the backup route configuration information and the address information; establishing a first data channel between the CPE and the shared UPF based on the address information; creating a second data channel between the shared UPF and the Sliced Packet Network (SPN) based on the backup route configuration information; establishing a user plane channel between the shared UPF and the CPE based on the second data channel; and establishing a backup route for the UE's request data packets between the UE and the sinking UPF based on the static route, the first data channel, and the user plane channel. The backup routing module is used to forward the UE's request data packets between the UE and the sinking UPF according to the backup route when the primary route failure is detected.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the data transmission method based on backup routing as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the data transmission method based on backup routing as described in any one of claims 1 to 6.