CN117395190A - Data transmission method, device, equipment and storage medium based on backup route - Google Patents

Data transmission method, device, equipment and storage medium based on backup route Download PDF

Info

Publication number
CN117395190A
CN117395190A CN202210794267.7A CN202210794267A CN117395190A CN 117395190 A CN117395190 A CN 117395190A CN 202210794267 A CN202210794267 A CN 202210794267A CN 117395190 A CN117395190 A CN 117395190A
Authority
CN
China
Prior art keywords
route
upf
sink
backup
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210794267.7A
Other languages
Chinese (zh)
Inventor
刘华东
张红军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210794267.7A priority Critical patent/CN117395190A/en
Publication of CN117395190A publication Critical patent/CN117395190A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS

Abstract

The application relates to the technical field of communication and provides a data transmission method, device, equipment and storage medium based on backup routing. The method comprises the following steps: when detecting that a destination address sent by a user terminal (UE) is a request data packet of a sink User Plane Function (UPF), carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to a preset main route; the Customer Premise Equipment (CPE) is taken as an access point, and a backup route of a request data packet of the UE is established between the UE and the sink UPF through sharing the UPF; when the failure of the primary route is detected, the request data packet of the UE is routed and forwarded between the UE and the sink UPF according to the backup route. By creating the backup route, the data transmission method based on the backup route performs robbery on the interrupt service when the main route fails, thereby ensuring normal operation of the service and reducing the processing cost of the interrupt service failure.

Description

Data transmission method, device, equipment and storage medium based on backup route
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, device, and storage medium based on backup routing.
Background
When a service interruption fault occurs, the sinking user plane function of the 5G private network processes the fault for different time periods, generally 2 to 6 hours, according to the guarantee level of the service interruption fault of different types. Service interruption caused by transmission is liable to cause customer complaints if the processing time is relatively long. At present, the existing scheme capable of rapidly processing service interruption faults caused by transmission comprises a transmission dual-route mode, namely, a dual-optical-fiber route is established between a user plane function network element UPF and a slicing packet network SPN, or one is an optical-fiber route and the other is a microwave route. The transmission dual-route mode needs to be improved in a large amount of cost in the early stage, so that the processing cost of service interruption faults is high.
Disclosure of Invention
The embodiment of the application provides a data transmission method, device, equipment and storage medium based on backup routes, which are used for solving the technical problem of high cost of the existing service interruption fault processing mode for transmitting double routes.
In a first aspect, an embodiment of the present application provides a data transmission method based on a backup route, where the data transmission method based on the backup route includes:
when detecting that a destination address sent by a user terminal (UE) is a request data packet of a sink User Plane Function (UPF), carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to a preset main route;
A customer premise equipment CPE is taken as an access point, and a backup route of a request data packet of the UE is established between the UE and the sink UPF through sharing UPF;
and when the primary route fault is detected, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
In one embodiment, the request packet includes an uplink packet and a downlink packet, the backup route includes an uplink route and a downlink route, and the step of forwarding the request packet of the UE between the UE and the sink UPF according to the backup route includes:
according to the uplink route of the backup route, carrying out route forwarding on the uplink data packet of the UE so as to send the uplink data packet from the UE to the sink UPF;
acquiring a downlink data packet of the UE from the sink UPE according to the uplink data packet;
and forwarding the downlink data packet in a routing way according to the downlink route of the backup route so as to send the downlink data packet from the sink UPF to the UE.
In one embodiment, the step of forwarding the uplink data packet of the UE according to the uplink route of the backup route to send the uplink data packet from the UE to the sink UPF includes:
Forwarding the uplink data packet of the UE to the shared UPF through a Slice Packet Network (SPN) according to the backup route;
and forwarding the uplink data packet to the Customer Premise Equipment (CPE) through the shared UPF, and forwarding the uplink data packet to the sink UPF through a Data Center Gateway (DCGW) based on the Customer Premise Equipment (CPE).
In one embodiment, the step of forwarding the downlink data packet according to the downlink route of the backup route to send the downlink data packet from the sink UPF to the UE includes:
forwarding the downlink data packet to the customer premise equipment CPE through the DCGW according to the downlink route of the backup route;
and sending the downlink data packet to the shared UPF through the Customer Premise Equipment (CPE), and forwarding the downlink data packet to the UE through the Slice Packet Network (SPN) based on the shared UPF.
In one embodiment, the step of establishing a backup route of the UE's request packet between the UE and the sink UPF by sharing the UPF with the customer premise equipment CPE as an access point includes:
acquiring backup route configuration information and address information of Customer Premise Equipment (CPE), and creating a static route between the Customer Premise Equipment (CPE) and the sink UPF in a Data Center Gateway (DCGW) according to the backup route configuration information and the address information;
Establishing a first data channel between the customer premise equipment CPE and the shared UPF according to the address information;
creating a second data channel between a shared UPF and a slice packet network SPN according to the backup routing configuration information, and creating a user plane channel between the shared UPF and the customer premise equipment CPE according to the second data channel;
and establishing a backup route of the request data packet of the UE between the UE and the sink UPF based on the static route, the first channel and the user plane channel.
In one embodiment, the step of establishing a backup route for the UE's request packet between the UE and the sink UPF based on the static route, the first data path, and the user plane path includes:
acquiring network segment routing information of the sink UPF, and generating an uplink route and a downlink route of the sink UPF between the UE and the sink UPF based on the static route, the first data channel and the user plane channel according to the network segment routing information;
and inserting the uplink route and the downlink route of the sink UPF into the routing table of the SMF, and sending the routing table of the SMF to the shared UPF so as to send the uplink route and the downlink route of the sink UPF to the shared UPF, and establishing a backup route of the request data packet of the UE between the UE and the sink UPF.
In one embodiment, the priority of the primary route is higher than that of the backup route, and when the primary route is detected to be faulty, the step of forwarding, according to the backup route, a request packet of the UE between the UE and the sink UPF includes:
when the failure of the active route is detected, the priority of the active route is adjusted so that the priority of the active route is lower than that of the backup route;
and according to the adjusted priority, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
In a second aspect, an embodiment of the present application provides a data transmission device based on backup routing, including:
the main routing module is used for carrying out routing forwarding on a request data packet of the UE between the UE and the sink UPF according to a preset main routing when the request data packet of which the destination address is the sink user plane function network element UPF sent by the user terminal UE is detected;
the route generation module is used for establishing a standby route of a request data packet of the UE between the UE and the sink UPF by taking Customer Premise Equipment (CPE) as an access point and sharing the UPF;
And the backup routing module is used for carrying out routing forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup routing when the primary routing failure is detected.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, where the processor implements the steps of the backup routing-based data transmission method according to the first aspect when executing the program.
In a fourth aspect, embodiments of the present application provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the backup route based data transmission method of the first aspect.
When detecting that the destination address sent by the user terminal UE is a request packet of a sink UPF, the data transmission method, device, equipment and storage medium based on the backup route according to the primary route forwards the request packet of the UE between the UE and the sink UPF; the customer premise equipment CPE is taken as an access point, and a backup route is established between the UE and the sink UPF through sharing UPF; when the failure of the primary route is detected, the request data packet of the UE is routed and forwarded between the UE and the sink UPF according to the backup route. The customer premise equipment CPE is used as an access point, a backup route is created through the shared UPF, when the main route fails, the interrupt service is robbed, normal operation of the service is ensured, and meanwhile, the processing cost of the service interrupt fault is reduced through creating a temporary backup route.
Drawings
For a clearer description of the present application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a data transmission method based on backup routing according to an embodiment of the present application;
FIG. 2 is one of the schematic diagrams of backup routes provided in the embodiments of the present application;
fig. 3 is a schematic structural diagram of a data transmission device based on backup routing according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The specialized technology used in the embodiments of the present application pertains to, among others:
UPF: user Plane Function the user plane function network element mainly supports routing and forwarding, data and service identification, action and policy execution, etc. of the user terminal UE service data, wherein the sinking UPF is the user plane function UPF, replaces the user-oriented "routing and forwarding" function in the 4G network, and provides the data forwarding service with ultra-large bandwidth, ultra-low delay and strong real-time property to the user side by combining with mobile edge computing (Mobile Edge Computing, MEC). The sinking UPF can meet the requirements of new services such as high-definition video, V2X (vehicle to X) and the like;
CPE: customer Premise Equipment, a client front-end device, a mobile signal access device which receives a 4G or 5G mobile signal and forwards the mobile signal by a wireless WIFI signal, can support simultaneous surfing of multiple terminals;
SPN: slicing Packet Network key technologies in slicing packet networks, 5G network slicing, for supporting next generation network architecture, bandwidth, traffic pattern, slicing, delay and time synchronization;
DCGW: data Center Gateway a data center gateway, which is a device for connecting two network segments using different protocols together, and has the function of translating and converting the data using different transmission protocols in the two network segments;
SMF: session Management Function session management functions including routing and forwarding of user data packets, data interaction with external data networks DN, qoS handling of user plane, enforcement of flow control rules (e.g. gating, redirection, traffic steering), etc.;
AMF: access and Mobility Management Function, access and mobility management functions, the AMF receives the UE request and processes all tasks related to connection and mobility management, such as authentication, and forwards session management requirements to the SMF via the N11 interface;
PDU: protocol Data Unit protocol data unit, which is the information exchanged between peer layers by protocol of protocol layer, UE provides connection destination address in the form of special DNN, initiates request of PDU session establishment, which aims to allocate terminal (UE) IP and inform IP address of each core network unit (application layer component) involved by UE, another important function is to establish QoS (quality of service) flow;
DNN: data Network Name, data network name, selecting SMF and UPF of PDU session, determining strategy applied to the PDU session, and dividing and converging session according to DNN to different SMF/UPF to realize client oriented access;
AAA server: the AAA server, namely Authentication, authorization, accounting, is a server capable of processing user access requests and providing authentication authorization and account services, and is mainly used for managing user access to the network server and providing services for users with access rights.
The data transmission method based on the backup route can utilize CPE to create a temporary backup route when the transmission interruption of the sinking UPF occurs, dredge the flow of the sinking UPF and rob the transmission interruption of the sinking UPF in a shorter time.
Specifically, fig. 1 is one of flow diagrams of a data transmission method based on backup routing according to an embodiment of the present application. Referring to fig. 1, a data transmission method based on backup routing provided in an embodiment of the present application may include:
step 100, when detecting that the destination address sent by the user terminal UE is a request packet of a sink user plane function network element UPF, forwarding the request packet of the UE between the UE and the sink UPF according to a preset primary route;
when detecting a request data packet with a destination address of a sinking UPF sent by a user terminal (UE), carrying out route forwarding on the request data packet of the UE between the UE and the sinking UPF according to a main route. The request data packet of the UE includes a packet data packet of a request instruction sent by the UE to sink the UPF, i.e. an uplink data packet, and a service data packet sent by the UE to sink the UP, i.e. a downlink data packet, in response to the request instruction of the UE. The method comprises the steps of carrying out route forwarding on a request data packet of a UE according to a main route between the UE and a sink UPF, wherein the route forwarding is a data interaction process between the UE and the sink UPF, and comprises a process of sending an uplink data packet from the UE to the sink UPF according to an uplink route in the main route and a process of sending a downlink data packet from the sink UPF to the UE according to a downlink route in the main route.
Step 200, using customer premise equipment CPE as an access point, and establishing a backup route of a request packet of the UE between the UE and the sink UPF by sharing the UPF;
when detecting a data packet with a destination address of a sink UPF, using Customer Premise Equipment (CPE) as an access point, and establishing a backup route of a request data packet of the UE between the UE and the sink UPF through sharing the UPF. Specifically, backup links are respectively established between the shared UPF and the slice packet network SPN, between the shared UPF and the customer premise equipment CPE, and between the customer premise equipment CPE and the sink UPF, and the priority is lower than that of the links of the primary route, so that when the links of the primary route break down, data can be transmitted by the backup links in a routing manner. The shared UPF includes a shared ToB (business oriented) UPF, and hereinafter, a shared ToB UPF (simply referred to as a shared UPF) will be described as an example.
The process of establishing a backup route between the UE and the sink UPF using the client front-end device as an access point may include:
step 201, obtaining backup route configuration information and address information of customer premise equipment CPE, and creating a static route between the customer premise equipment CPE and the sink UPF in a data center gateway DCGW according to the backup route configuration information and the address information;
Step 202, a first data channel is established between the customer premise equipment CPE and the shared UPF according to the address information;
step 203, creating a second data channel between the shared UPF and the slice packet network SPN according to the routing configuration information, and creating a user plane channel between the shared UPF and the customer premise equipment CPE according to the second data channel;
step 204, establishing a backup route of the request packet of the UE between the UE and the sink UPF based on the static route, the first channel and the user plane channel.
By means of special DNN (Data Network Name ), independent IP address information IP2 of customer premise equipment CPE and backup route configuration information are obtained during network activation, static routes between customer premise equipment CPE and sink UPF are created in a data center gateway DCGW according to the backup route configuration information and the address information IP2 of the customer premise equipment CPE, namely, a static route is added in the customer premise equipment CPE, and a data packet with a destination address of the address IP1 of the sink UPF is forwarded through the data center gateway DCGW. A first data channel is created between the customer premise equipment CPE and the shared UPF based on address information of the customer premise equipment CPE, the first data channel comprising an N3 interface. A second data channel is created between the shared UPF and the slice packet network SPN according to the backup routing configuration information, the second data channel comprising an N6 interface, based on which a user plane channel between the shared UPF and the customer premises equipment CPE is established. And generating a backup route between the UE and the sink UPF according to the created static route, the first data channel and the user plane channel.
Further, step 204 may further include:
step 2041, obtaining network segment routing information of the sink UPF, and generating an uplink route and a downlink route of the sink UPF between the UE and the sink UPF based on the static route, the first data channel and the user plane channel according to the network segment routing information;
step 2042, inserting the uplink route and the downlink route of the sink UPF into the routing table of the SMF, and sending the routing table of the SMF to the shared UPF to send the uplink route and the downlink route of the sink UPF to the shared UPF, and establishing a backup route of the request packet of the UE between the UE and the sink UPF.
And acquiring network segment route information of the sink UPF according to each sink UPF device hung down by the customer premise equipment CPE, and generating an uplink route and a downlink route of a backup route of the sink UPF according to the network segment route information of the sink UPF based on the established static route, the first data channel and the user plane channel. The generation mode comprises the steps of determining a fixed route from the UE to the AMF and then to the SMF based on a primary route of the sinking UPF, combining a link of the fixed route with a backup link corresponding to the established static route, the first data channel and the user plane channel, generating an uplink route and a downlink route of the backup route, inserting the generated uplink route and downlink route of the sinking UPF into a route table of the SMF, and transmitting the route table to the sharing UPF, so as to issue the generated route information to the sharing UPF. And establishing a backup route of the request data packet of the UE between the UE and the sink UPF according to the route information issued by the SMF.
Further, according to the configuration information of the backup route, the configuration of each part is specifically as follows:
customer premise equipment CPE portion: and when the network is activated, the special DNN is adopted, the independent IP address IP2 of the customer premise equipment CPE is acquired, and an N3 channel, namely a first data channel, is established between the shared UPF and the independent IP address IP 2. And adding a static route in the customer premise equipment CPE, and forwarding the data packet with the destination address of the sinking UPF (namely the address of IP 1) through the DCGW according to the static route.
Data center gateway DCGW part: the method comprises the steps of adding a static route, wherein the next hop is an Ethernet port of Customer Premise Equipment (CPE), and the priority of the Ethernet port is lower than that of the main route of the access layer Slice Packet Network (SPN), so that when a link of the main route is interrupted, the priority of the main route is reduced, or the priority of a backup route is improved, and a Data Center Gateway (DCGW) selects the static route to the Customer Premise Equipment (CPE) to forward a data packet.
Sharing UPF part: an N6 interface, the second data channel, to the access stratum SPN is added. According to the backup routing configuration information, a post-routing (Routing Behind MS) function of the shared UPF needs to be started, so that the shared UPF can forward the service data packet with the destination address being the CPE down-hanging device (i.e., the sink UPF).
AAA server part: network segment routing information of a sink UPF device hung under a customer premise equipment CPE is configured in an AAA server.
Transmission SPN part: and creating a detailed route to the sink UPF equipment in the longest matching mode, forwarding the data packet sent to the sink UPF through the shared UPF, and distributing the data packet to the SPN core layer.
Further, based on the configuration of the above parts, when generating the backup route of the request packet of the UE, dialing is performed by the customer premise equipment CPE, a request for PDU session establishment is initiated, the request for PDU session establishment is sent to the SMF, and an authentication request is sent to the AAA server by the SMF. And detecting whether the Customer Premise Equipment (CPE) is a post-route user or not through an authentication, if yes, passing authentication, if not, not passing authentication, and if passing authentication through the AAA server, packaging the route information of the up/down route of the sink UPF into an authentication response message through the AAA server and sending the authentication response message to the SMF, and returning confirmation of receiving the establishment PDU session to the AMF through the SMF. The routing information encapsulated in the authentication response message is obtained through the authentication response message received by the SMF, the routing information is inserted into a routing table of the SMF, and the routing information carrying the sinking UPF is sent to the shared UPF through a frame-Route (frame routing) cell of a PFCP (Packet Forwarding Control Protocol, message forwarding control protocol) of a session establishment request. According to the routing information of the sink UPF issued by the SMF, the data packet with the destination address being the address IP1 of the sink UPF can be forwarded to the customer premise equipment CPE through the shared UPF, and the frame-Route function is activated at the same time, so that the shared UPF can forward the data packet with the source address being the address IP1 of the sink UPF received from the customer premise equipment CPE, but not the address IP2 of the customer premise equipment CPE. In this way, the data packet sent by the sink UPF may be forwarded to the shared UPF through the customer premise equipment CPE, and further forwarded to the SPN through the N6 port, so that the data packet may be sent to the UE through another 5G base station. Thus, a backup route can be established between the UE and the sink UPF, and when the link of the main route is interrupted, traffic of interfaces of N3, N4, N9 and the like of the UE and the sink UPF can be dredged through the backup route.
And 300, when the primary route fault is detected, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
When the failure of the primary route is detected, the request packet of the UE is routed and forwarded between the UE and the sink UPF according to the backup route, wherein the failure detection of the primary route may be by using a BFD (Bidirectional Forwarding Detection ) detection method, for example, the BFD detection is performed on the data center gateway DCGW and the slice packet network SPN in the primary route, and the connectivity status from the shared UPF to the convergence layer SPN is detected by the BFD protocol. When BFD detects the faults of interruption and the like of the main link, the priority of the original main route is reduced, so that the DCGW of the data center selects the static route to the CPE of the customer premise equipment, and the DCGW is switched from the main route to the backup route to finish the route forwarding of the request data packet of the UE.
Specifically, through BFD, when it is detected that the primary route has a failure such as an unavailable SPN loop corresponding to a sink UPF transmission or a link interrupt from a shared UPF to a transmission machine room, a PDU session is initiated by dialing a customer premise equipment CPE, an AAA server encapsulates backup route information corresponding to the customer premise equipment CPE in an authentication response message and sends the encapsulated backup route information to an SMF, the backup route information obtained by the SMF is inserted into a routing table of the SMF, and a post segment route of the UE is sent to the shared UPF, so that a user plane channel is established between the customer premise equipment CPE and the shared UPF. Creating a route in the transmission SPN, and forwarding the data packet with the destination address of the sink UPF to the shared UPF; the UE redials to establish the PDU connection to generate a backup route for data transmission.
Further, the priority of the main route is higher than that of the backup route, and for the request data packet of the UE, the main route is adopted for transmission preferentially, and when the link of the main route is interrupted, the priority of the main route is lower than that of the backup route by adjusting the priority of the main route, so that the main route is switched to the backup route, and the request data packet of the UE is transmitted according to the backup route. Step 300 includes:
step 301, when the failure of the active route is detected, adjusting the priority of the active route so that the priority of the active route is lower than that of the backup route;
step 302, according to the adjusted priority, route forwarding is performed on the request packet of the UE between the UE and the sink UPF according to the backup route.
When the failure of the main route is detected, for example, the SPN loop corresponding to the sinking UPF transmission is unavailable, or the link from the sharing UPF to the transmission machine room is interrupted, the priority of the main route is adjusted to be lower than that of the backup route, so that when the main route fails, the request data packet of the UE is forwarded according to the backup route according to the adjusted priority.
In this embodiment, when it is detected that a destination address sent by a user terminal UE is a request packet of a sink UPF, route forwarding is performed on the request packet of the UE between the UE and the sink UPF according to a primary route; the customer premise equipment CPE is taken as an access point, and a backup route is established between the UE and the sink UPF through sharing UPF; when the failure of the primary route is detected, the request data packet of the UE is routed and forwarded between the UE and the sink UPF according to the backup route. The customer premise equipment CPE is used as an access point, a backup route is created through the shared UPF, when the main route fails, the interrupt service is robbed, normal operation of the service is ensured, and meanwhile, the processing cost of the service interrupt fault is reduced through creating a temporary backup route.
Further, when generating the backup route, based on the existing architecture, backup links are respectively created between the shared UPF and the transmission SPN, between the customer premise equipment CPE and the shared UPF, and between the sink UPF and the customer premise equipment CPE.
In one embodiment, the request packet of the UE includes an uplink packet and a downlink packet, and the generated backup route includes an uplink route and a downlink route, and in step 300, route forwarding is performed on the request packet of the UE between the UE and the sink UPF according to the backup route, which specifically includes:
Step 310, forwarding the uplink data packet of the UE according to the uplink route of the backup route, so as to send the uplink data packet from the UE to the sink UPF;
step 320, obtaining a downlink data packet of the UE from the sink UPE according to the uplink data packet;
and 330, forwarding the downlink data packet in a routing way according to the downlink route of the backup route, so as to send the downlink data packet from the sink UPF to the UE.
As can be appreciated, the data interaction between the UE and the sink UPF is bi-directional, and typically the UE sends a request to the sink UPF, which serves the UE according to the request of the UE, wherein typically the UE-to-sink UPF data transmission direction is defined as upstream and the sink UPF-to-UE data transmission direction is defined as downstream. Based on the above, when the route forwarding is performed on the request data packet of the UE between the UE and the sink UPF according to the backup link, specifically, the route forwarding is performed on the uplink data packet of the UE according to the uplink route of the backup route, and the request of the UE is sent to the sink UPF; and obtaining a downlink data packet corresponding to the request from the sink UPF according to the request of the UE, carrying out route forwarding on the downlink data packet of the UE, namely the data packet sent to the UE by the sink UPF according to the downlink route of the backup route, and sending the downlink data packet from the sink UPF to the UE.
Further, step 310 may further include:
step 311, forwarding the uplink data packet of the UE to the shared UPF through a slice packet network SPN according to the backup route;
in step 312, the uplink data packet is forwarded to the customer premise equipment CPE through the shared UPF, and the uplink data packet is forwarded to the sink UPF through a data center gateway DCGW based on the customer premise equipment CPE.
Step 330 may further include:
step 331, forwarding the downlink data packet to the customer premise equipment CPE through the DCGW according to the downlink route of the backup route;
step 332, sending, by the customer premise equipment CPE, the downlink data packet to the shared UPF, and forwarding, based on the shared UPF, the downlink data packet to the UE through the slice packet network SPN.
When the uplink data is routed and forwarded according to the uplink route, firstly, the uplink data packet sent to the slice packet network SPN is sent to the shared UPF through the created N6 interface, the uplink data packet sent to the shared UPF is forwarded to the customer premise equipment CPE through the created N3 interface, and finally, the uplink data packet is sent to the sink UPF through the data center gateway DCGW based on the static route between the customer premise equipment CPE and the sink UPF established in the data center gateway DCGW.
When the downlink data packet is routed and forwarded according to the downlink route, the process is similar to the routing and forwarding process of the uplink data packet, firstly, based on the static route created in the data center gateway DCGW, the downlink data packet obtained from the sink UPF is sent to the customer premise equipment CPE through the data center gateway DCGW, then the downlink data packet is forwarded to the shared UPF according to the created N3 interface, the downlink data packet is forwarded from the shared UPF to the SPN through the N6 interface created between the shared UPF and the slice packet network, finally the downlink data packet is sent to the corresponding base station through the SPN, and the downlink data packet is sent to the UE through the air interface of the base station.
Further, referring to fig. 2, fig. 2 is a schematic diagram of a backup route, and in fig. 2, a forwarding node of the backup route includes a UE, a base station, an access and mobility management function network element AMF, a session management function network element SMF, an AAA server, a user network edge device CE, a slice packet network SPN, a shared UPF, a customer premise equipment CPE, a data center gateway DCGW, and a sink UPF. The AAA server is used for configuring network segment routing information of the sink UPF equipment hung under the customer premise equipment CPE.
Based on the backup route schematic diagram shown in fig. 2, when a request packet of the UE is routed and forwarded between the UE and the sink UPF according to the backup route, specifically, a user terminal UE initiates a request, and sends a data packet corresponding to the request, such as a packet data packet, to an AMF, an SMF, and a CE (Customer Edge device) in sequence through a base station, and finally forwards the data packet from the CE to a slice packet network SPN; forwarding the data packet from the SPN to the shared UPF based on an N6 interface established between the SPN and the shared UPF, and forwarding the data packet from the shared UPF to the customer premise equipment CPE through the base station based on an N3 interface established between the shared UPF and the customer premise equipment CPE; and finally, according to the static route between the customer premise equipment and the sink UPF created in the data center gateway DCGW, the data packet is sent from the customer premise equipment CPE to the sink UPF through the data center gateway DCGW, and the route forwarding of the uplink data packet is completed.
According to the request of UE, obtaining a downlink data packet corresponding to the request from a sink UPF, and forwarding the downlink data packet from the sink UPF to a customer premise equipment CPE through the data center gateway DCGW based on a static route between the customer premise equipment and the sink UPF created in the data center gateway DCGW; forwarding the downlink data packet from the customer premise equipment CPE to the shared UPF according to a user plane channel created between the customer premise equipment CPE and the shared UPF based on an N3 interface; and forwarding the downlink data packet from the shared UPF to the SPN according to an N6 interface created between the shared UPF and the slice packet network SPN, sequentially sending the downlink data packet to the CE, the SMF and the AMF through the SPN, and finally sending the downlink data packet to the UE through an air interface of the base station to finish the routing forwarding of the downlink data packet.
In this embodiment, through the backup route created in advance, when the primary route fails, the backup route can be quickly switched, and the route forwarding is performed on the request data packet of the user terminal UE, so as to realize the mediation of the interface traffic corresponding to the sink UPF, and improve the robbing speed of the transmission failure.
The data transmission device based on the backup route provided in the embodiment of the present application is described below, and the data transmission device based on the backup route described below and the data transmission method based on the backup route described above may be referred to correspondingly with each other.
Referring to fig. 3, a data transmission device based on backup routing provided in an embodiment of the present application includes:
the main routing module 10 is configured to, when detecting that a destination address sent by a user terminal UE is a request packet of a sink user plane function network element UPF, route forwarding is performed on the request packet of the UE between the UE and the sink UPF according to a preset main route;
the route generating module 20 is configured to establish a backup route of a request packet of the UE between the UE and the sink UPF by sharing the UPF with the customer premise equipment CPE as an access point;
and the backup routing module 30 is configured to route and forward, according to the backup route, a request packet of the UE between the UE and the sink UPF when the primary route failure is detected.
In one embodiment, the request packet includes an upstream packet and a downstream packet, the backup route includes an upstream route and a downstream route, and the backup route module 30 is further configured to:
according to the uplink route of the backup route, carrying out route forwarding on the uplink data packet of the UE so as to send the uplink data packet from the UE to the sink UPF;
acquiring a downlink data packet of the UE from the sink UPE according to the uplink data packet;
and forwarding the downlink data packet in a routing way according to the downlink route of the backup route so as to send the downlink data packet from the sink UPF to the UE.
In one embodiment, the backup routing module 30 is further configured to:
forwarding the uplink data packet of the UE to the shared UPF through a Slice Packet Network (SPN) according to the backup route;
and forwarding the uplink data packet to the Customer Premise Equipment (CPE) through the shared UPF, and forwarding the uplink data packet to the sink UPF through a Data Center Gateway (DCGW) based on the Customer Premise Equipment (CPE).
In one embodiment, the backup routing module 30 is further configured to:
forwarding the downlink data packet to the customer premise equipment CPE through the DCGW according to the downlink route of the backup route;
And sending the downlink data packet to the shared UPF through the Customer Premise Equipment (CPE), and forwarding the downlink data packet to the UE through the Slice Packet Network (SPN) based on the shared UPF.
In one embodiment, the route generation module 20 is further configured to:
acquiring backup route configuration information and address information of Customer Premise Equipment (CPE), and creating a static route between the Customer Premise Equipment (CPE) and the sink UPF in a Data Center Gateway (DCGW) according to the backup route configuration information and the address information;
establishing a first data channel between the customer premise equipment CPE and the shared UPF according to the address information;
creating a second data channel between a shared UPF and a slice packet network SPN according to the backup routing configuration information, and creating a user plane channel between the shared UPF and the customer premise equipment CPE according to the second data channel;
and establishing a backup route of the request data packet of the UE between the UE and the sink UPF based on the static route, the first channel and the user plane channel.
In one embodiment, the route generation module 20 is further configured to:
Acquiring network segment routing information of the sink UPF, and generating an uplink route and a downlink route of the sink UPF between the UE and the sink UPF based on the static route, the first data channel and the user plane channel according to the network segment routing information;
and inserting the uplink route and the downlink route of the sink UPF into the routing table of the SMF, and sending the routing table of the SMF to the shared UPF so as to send the uplink route and the downlink route of the sink UPF to the shared UPF, and establishing a backup route of the request data packet of the UE between the UE and the sink UPF.
In one embodiment, the primary route has a higher priority than the backup route, and the backup route module 30 is further configured to:
when the failure of the active route is detected, the priority of the active route is adjusted so that the priority of the active route is lower than that of the backup route;
and according to the adjusted priority, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
Fig. 4 illustrates a physical structure of an electronic device, as shown in fig. 4, where the electronic device may include: processor 410, communication interface (Communication Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke a computer program in memory 430 to perform the steps of a backup routing based data transfer method, including, for example:
When detecting that a destination address sent by a user terminal (UE) is a request data packet of a sink User Plane Function (UPF), carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to a preset main route;
a customer premise equipment CPE is taken as an access point, and a backup route of a request data packet of the UE is established between the UE and the sink UPF through sharing UPF;
and when the primary route fault is detected, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, embodiments of the present application further provide a computer program product, where the computer program product includes a computer program, where the computer program may be stored on a non-transitory computer readable storage medium, where the computer program when executed by a processor is capable of executing the steps of the backup routing-based data transmission method provided in the foregoing embodiments, for example, including:
when detecting that a destination address sent by a user terminal (UE) is a request data packet of a sink User Plane Function (UPF), carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to a preset main route;
a customer premise equipment CPE is taken as an access point, and a backup route of a request data packet of the UE is established between the UE and the sink UPF through sharing UPF;
and when the primary route fault is detected, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
In another aspect, embodiments of the present application further provide a processor-readable storage medium storing a computer program for causing a processor to perform the steps of the method provided in the above embodiments, for example, including:
When detecting that a destination address sent by a user terminal (UE) is a request data packet of a sink User Plane Function (UPF), carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to a preset main route;
a customer premise equipment CPE is taken as an access point, and a backup route of a request data packet of the UE is established between the UE and the sink UPF through sharing UPF;
and when the primary route fault is detected, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), and the like.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. The data transmission method based on the backup route is characterized by comprising the following steps of:
when detecting that a destination address sent by a user terminal (UE) is a request data packet of a sink User Plane Function (UPF), carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to a preset main route;
a customer premise equipment CPE is taken as an access point, and a backup route of a request data packet of the UE is established between the UE and the sink UPF through sharing UPF;
and when the primary route fault is detected, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
2. The data transmission method based on the backup route according to claim 1, wherein the request packet includes an uplink packet and a downlink packet, the backup route includes an uplink route and a downlink route, and the step of routing and forwarding the request packet of the UE between the UE and the sink UPF according to the backup route includes:
according to the uplink route of the backup route, carrying out route forwarding on the uplink data packet of the UE so as to send the uplink data packet from the UE to the sink UPF;
Acquiring a downlink data packet of the UE from the sink UPE according to the uplink data packet;
and forwarding the downlink data packet in a routing way according to the downlink route of the backup route so as to send the downlink data packet from the sink UPF to the UE.
3. The backup route-based data transmission method according to claim 2, wherein the step of forwarding the uplink data packet of the UE according to the uplink route of the backup route to send the uplink data packet from the UE to the sink UPF includes:
forwarding the uplink data packet of the UE to the shared UPF through a Slice Packet Network (SPN) according to the backup route;
and forwarding the uplink data packet to the Customer Premise Equipment (CPE) through the shared UPF, and forwarding the uplink data packet to the sink UPF through a Data Center Gateway (DCGW) based on the Customer Premise Equipment (CPE).
4. A data transmission method based on a backup route according to claim 3, wherein the step of forwarding the downlink data packet according to the downlink route of the backup route to send the downlink data packet from the sink UPF to the UE includes:
Forwarding the downlink data packet to the customer premise equipment CPE through the DCGW according to the downlink route of the backup route;
and sending the downlink data packet to the shared UPF through the Customer Premise Equipment (CPE), and forwarding the downlink data packet to the UE through the Slice Packet Network (SPN) based on the shared UPF.
5. The backup-route-based data transmission method according to claim 1, wherein the step of establishing the backup route of the UE's request packet between the UE and the sink UPF by sharing the UPF with the customer premise equipment CPE as an access point comprises:
acquiring backup route configuration information and address information of Customer Premise Equipment (CPE), and creating a static route between the Customer Premise Equipment (CPE) and the sink UPF in a Data Center Gateway (DCGW) according to the backup route configuration information and the address information;
establishing a first data channel between the customer premise equipment CPE and the shared UPF according to the address information;
creating a second data channel between a shared UPF and a slice packet network SPN according to the backup routing configuration information, and creating a user plane channel between the shared UPF and the customer premise equipment CPE according to the second data channel;
And establishing a backup route of the request data packet of the UE between the UE and the sink UPF based on the static route, the first channel and the user plane channel.
6. The backup routing-based data transmission method of claim 5, wherein the step of establishing a backup route for a request packet for the UE between the UE and the sink UPF based on the static route, the first data path, and the user plane path comprises:
acquiring network segment routing information of the sink UPF, and generating an uplink route and a downlink route of the sink UPF between the UE and the sink UPF based on the static route, the first data channel and the user plane channel according to the network segment routing information;
and inserting the uplink route and the downlink route of the sink UPF into the routing table of the SMF, and sending the routing table of the SMF to the shared UPF so as to send the uplink route and the downlink route of the sink UPF to the shared UPF, and establishing a backup route of the request data packet of the UE between the UE and the sink UPF.
7. The data transmission method based on the backup route according to claim 1, wherein the priority of the primary route is higher than that of the backup route, and the step of routing and forwarding the request packet of the UE between the UE and the sink UPF according to the backup route when the primary route failure is detected includes:
When the failure of the active route is detected, the priority of the active route is adjusted so that the priority of the active route is lower than that of the backup route;
and according to the adjusted priority, carrying out route forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup route.
8. A data transmission device based on backup routing, comprising:
the main routing module is used for carrying out routing forwarding on a request data packet of the UE between the UE and the sink UPF according to a preset main routing when the request data packet of which the destination address is the sink user plane function network element UPF sent by the user terminal UE is detected;
the route generation module is used for establishing a backup route of a request data packet of the UE between the UE and the sink UPF by taking Customer Premise Equipment (CPE) as an access point and sharing the UPF;
and the backup routing module is used for carrying out routing forwarding on the request data packet of the UE between the UE and the sink UPF according to the backup routing when the primary routing failure is detected.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that the processor implements the steps of the backup route based data transmission method of any of claims 1 to 7 when executing the computer program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor implements the steps of the backup route based data transmission method of any of claims 1 to 7.
CN202210794267.7A 2022-07-05 2022-07-05 Data transmission method, device, equipment and storage medium based on backup route Pending CN117395190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210794267.7A CN117395190A (en) 2022-07-05 2022-07-05 Data transmission method, device, equipment and storage medium based on backup route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210794267.7A CN117395190A (en) 2022-07-05 2022-07-05 Data transmission method, device, equipment and storage medium based on backup route

Publications (1)

Publication Number Publication Date
CN117395190A true CN117395190A (en) 2024-01-12

Family

ID=89467256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210794267.7A Pending CN117395190A (en) 2022-07-05 2022-07-05 Data transmission method, device, equipment and storage medium based on backup route

Country Status (1)

Country Link
CN (1) CN117395190A (en)

Similar Documents

Publication Publication Date Title
US11304092B2 (en) Session packet duplication control
US11405851B2 (en) Closed access group overload and congestion control
US8780724B2 (en) Method, node device, and communication system for device pool management
EP3589026A1 (en) Method and device for managing state of session according to position of terminal in wireless communication system
US20130205025A1 (en) Optimized Virtual Private Network Routing Through Multiple Gateways
KR102050910B1 (en) Method and system to enable re-routing for home networks upon connectivity failure
US20200007590A1 (en) UPF Programming Over Enhanced N9 Interface
US11973641B2 (en) Deploying edge computing
US20100103851A1 (en) System for enabling communication over a wireless intermittently connected network
EP4138443A1 (en) Communication method and apparatus
US11588679B2 (en) System and method of establishing seamless remote access virtual private network connections
CN111092937A (en) Session creation method, control method, session creation system, network element and medium
CN108141743B (en) Methods, networks, apparatus, systems, media and devices handling communication exchanges
CN112367252A (en) Method and device for realizing disaster recovery backup
CN113676967A (en) Redundant transmission method and system supporting 5G system, storage medium and application
CN114339847A (en) Communication method and device
CN117395190A (en) Data transmission method, device, equipment and storage medium based on backup route
CN114554615A (en) Service switching method, device and network equipment
CN111405638B (en) Node N4-U tunnel selection method and device
US20230042390A1 (en) Tunnel initiation in a communications network
CN112953832A (en) Method and device for processing MAC address table items
US20240129151A1 (en) Multicast local breakout for customer premise equipment in a 5g wireless wireline convergence at an access gateway function
US20240129974A1 (en) Local breakout for customer premise equipment in a 5g wireless wireline convergence at an access gateway function
US11979349B2 (en) Mobile network user plane with access network user plane function
CN102045198B (en) Fixed-network multiprotocol label-switching virtual private network backup transmission method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination