CN115022909B - UPF network element, data transmission method, equipment and medium based on core network - Google Patents

UPF network element, data transmission method, equipment and medium based on core network Download PDF

Info

Publication number
CN115022909B
CN115022909B CN202210593645.5A CN202210593645A CN115022909B CN 115022909 B CN115022909 B CN 115022909B CN 202210593645 A CN202210593645 A CN 202210593645A CN 115022909 B CN115022909 B CN 115022909B
Authority
CN
China
Prior art keywords
network element
upf network
transmission data
main
upf
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.)
Active
Application number
CN202210593645.5A
Other languages
Chinese (zh)
Other versions
CN115022909A (en
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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210593645.5A priority Critical patent/CN115022909B/en
Publication of CN115022909A publication Critical patent/CN115022909A/en
Application granted granted Critical
Publication of CN115022909B publication Critical patent/CN115022909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Abstract

The application provides a UPF network element, a data transmission method, equipment and medium based on a core network, and relates to the technical field of communication. The method comprises the following steps: under the condition of the fault recovery of the main UPF network element, receiving first transmission data sent by a first data network DN; and under the condition that the session of the first transmission data is not created on the main UPF network element, forwarding the first transmission data to the disaster recovery UPF network element through the communication tunnel so that the disaster recovery UPF network element sends the first transmission data to the first terminal equipment corresponding to the session. According to the embodiment of the application, the service experience of the user of the terminal equipment can be improved.

Description

UPF network element, data transmission method, equipment and medium based on core network
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a UPF network element, a data transmission method, device, and medium based on a core network.
Background
The user plane function (User Plane Function, UPF network element) is an important component of the core network system architecture of the fifth generation mobile communication technology (5th Generation Mobile Communication Technology,5G), and is responsible for functions such as routing forwarding, service identification, policy execution, and the like of the user data packet.
At present, service usage experience of a terminal device user is often affected by a failure of a UPF network element.
Therefore, it is a urgent problem to be solved if the service experience of the terminal device user is improved.
It should be noted that the information disclosed in the foregoing background section is only for enhancing understanding of the background of the present application and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
The application provides a UPF network element, a data transmission method, equipment and medium based on a core network, and at least solves the problem that service experience of a user of terminal equipment is poor due to the failure of the UPF network element to a certain extent.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the practice of the application.
According to one aspect of the present application, there is provided a data transmission method based on a core network, where the core network includes a primary user plane function UPF network element and a disaster recovery UPF network element, a communication tunnel is provided between the primary UPF network element and the disaster recovery UPF network element, and the method is applied to the primary UPF network element, and includes:
under the condition of the fault recovery of the main UPF network element, receiving first transmission data sent by a first data network DN;
And under the condition that the session of the first transmission data is not created on the main UPF network element, forwarding the first transmission data to the disaster recovery UPF network element through the communication tunnel so that the disaster recovery UPF network element sends the first transmission data to the first terminal equipment corresponding to the session.
In one embodiment, after receiving the first transmission data sent by the first data network DN, the method further comprises:
in case a session with first transmission data is created on the primary UPF network element, the first transmission data is sent to the first terminal device.
In one embodiment, the method further comprises:
receiving second transmission data to be transmitted to a second DN, which is sent by second terminal equipment, under the condition that a communication link between a main UPF network element and the second DN fails;
and forwarding the second transmission data to the disaster recovery UPF network element through the communication tunnel so that the disaster recovery UPF network element sends the second transmission data to the second DN.
In one embodiment, the method further comprises:
receiving third transmission data which are forwarded by the disaster recovery UPF network element and are to be transmitted to the second terminal equipment through a communication tunnel under the condition that a communication link between the main UPF network element and the second DN is in fault, and sending the third transmission data to the disaster recovery UPF network element through the second DN;
And sending the third transmission data to the second terminal equipment.
In one embodiment, the method further comprises:
receiving fourth transmission data sent by the third DN under the condition that a communication link between the main UPF network element and the SMF network element fails;
and forwarding the fourth transmission data to the disaster tolerant UPF network element through the communication tunnel under the condition that the session to which the fourth transmission data belongs is not created in the main UPF network element, so that the disaster tolerant UPF network element sends the fourth transmission data to third terminal equipment corresponding to the session to which the fourth transmission data belongs.
In one embodiment, after determining whether the session to which the fourth transmission data belongs is created on the primary UPF network element, the method further comprises:
and sending the fourth transmission data to the third terminal equipment under the condition that the session to which the fourth transmission data belongs is created in the main UPF network element.
According to another aspect of the present application, there is provided a data transmission method based on a core network, where the core network includes a primary user plane function UPF network element and a disaster recovery UPF network element, a communication tunnel is provided between the primary UPF network element and the disaster recovery UPF network element, and the method is applied to the disaster recovery UPF network element, and includes:
under the condition of the fault recovery of the main UPF network element, receiving first transmission data sent by the main UPF network element through a communication tunnel, wherein the first transmission data is sent to the main UPF network element by a first DN, and the session to which the first transmission data belongs is determined not to be created by the main UPF network element;
And sending the first transmission data to the first terminal equipment corresponding to the session.
In one embodiment, the method further comprises:
receiving second transmission data to be transmitted to a second DN, which is forwarded by the main UPF network element, through a communication tunnel under the condition that a communication link between the main UPF network element and the second DN is failed, wherein the second transmission data is sent by second terminal equipment;
and sending the second transmission data to a second DN.
In one embodiment, the method further comprises:
receiving third transmission data sent by the second DN under the condition that a communication link between the main UPF network element and the second DN is failed;
and forwarding the third transmission data to the main UPF network element so that the main UPF network element can send the third transmission data to the second terminal equipment.
In one embodiment, the method further comprises:
receiving fourth transmission data sent by the main UPF network element under the condition that a communication link between the main UPF network element and the SMF network element fails, wherein the fourth transmission data is sent to the main UPF network element by a third DN, and the session to which the fourth transmission data belongs is determined not to be created by the main UPF network element;
and sending the fourth transmission data to the third terminal equipment corresponding to the session.
According to still another aspect of the present application, there is provided a primary UPF network element, where a core network to which the primary UPF network element belongs further includes a disaster recovery UPF network element, a communication tunnel is provided between the primary UPF network element and the disaster recovery UPF network element, and the primary UPF network element includes:
The data receiving module is used for receiving first transmission data sent by the first data network DN under the condition of the fault recovery of the main UPF network element;
and the data forwarding module is used for forwarding the first transmission data to the disaster recovery UPF network element through the communication tunnel under the condition that the session of the first transmission data is not created on the main UPF network element, so that the disaster recovery UPF network element sends the first transmission data to the first terminal equipment corresponding to the session.
According to still another aspect of the present application, there is provided a disaster recovery UPF network element, where a core network to which the disaster recovery UPF network element belongs further includes a disaster recovery UPF network element, a communication tunnel is provided between a primary UPF network element and the disaster recovery UPF network element, and the disaster recovery UPF network element includes:
the data receiving module is used for receiving first transmission data sent by the main UPF network element through the communication tunnel under the condition of the fault recovery of the main UPF network element, wherein the first transmission data is sent to the main UPF network element by the first DN, and the session to which the first transmission data belongs is not created is determined by the main UPF network element;
and the data sending module is used for sending the first transmission data to the first terminal equipment corresponding to the session.
According to still another aspect of the present application, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-described core network based data transmission method via execution of the executable instructions.
According to yet another aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described core network based data transmission method.
After the failure recovery of the primary UPF network element, the primary UPF network element can receive the first transmission data sent by the first DN, forward the first transmission data to the disaster recovery UPF network element through a communication tunnel between the primary UPF network element and the disaster recovery UPF network element, and then send the first transmission data to the corresponding first terminal device through the disaster recovery UPF network element. Because after the UPF network element is recovered from the fault, the first DN defaults the next hop route of the transmission data to the main UPF network element, and compared with a scheme that the session created on the disaster-tolerant UPF network element during the fault is required to be offline from the disaster-tolerant UPF network element and offline again on the main UPF network element, the embodiment of the invention uses the main UPF network element to forward the data to the disaster-tolerant UPF network element, and the session created on the disaster-tolerant UPF network element during the fault is not required to be offline again, thereby ensuring the service experience of the user of the terminal equipment corresponding to the session.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 shows a network architecture diagram in the related art;
FIG. 2 shows a network architecture diagram provided by an embodiment of the present application;
fig. 3 shows a flowchart of a data transmission method based on a core network in an embodiment of the present application;
fig. 4 shows a schematic diagram of a data transmission path after failure recovery of a primary UPF network element;
fig. 5 is a schematic flow chart of another data transmission method based on a core network according to an embodiment of the present application;
fig. 6 is a flowchart of an exemplary data transmission method based on a core network according to an embodiment of the present application;
Fig. 7 shows a flowchart illustrating yet another data transmission method based on a core network in an embodiment of the present application;
fig. 8 shows a schematic diagram of a data transmission path in case of failure of a communication link between a primary UPF network element and a second DN;
fig. 9 shows a flowchart illustrating still another data transmission method based on the core network in the embodiment of the present application;
fig. 10 is a flowchart of another exemplary data transmission method based on a core network according to an embodiment of the present application;
fig. 11 shows a flowchart illustrating yet another data transmission method based on a core network in an embodiment of the present application;
fig. 12 shows a schematic diagram of a data transmission path in case of failure of a communication link between a primary UPF network element and an SMF network element;
fig. 13 is a schematic flow chart of another data transmission method based on a core network according to an embodiment of the present application;
fig. 14 is a flowchart of yet another exemplary data transmission method based on a core network according to an embodiment of the present application;
fig. 15 shows a schematic structural diagram of a primary UPF network element in an embodiment of the present application;
fig. 16 shows a schematic structural diagram of a disaster tolerant UPF network element in an embodiment of the present application; and
fig. 17 shows a block diagram of an electronic device in an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
It should be understood that the various steps recited in the method embodiments of the present application may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present application is not limited in this respect.
It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by such devices, modules, or units.
It should be noted that references to "one" or "a plurality" in this application are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be interpreted as "one or more" unless the context clearly indicates otherwise.
A UPF network element, which is one of the important components of the core network. Because the UPF network element can be used as a data transmission bridge between the terminal device and the DN, the UPF network element often plays a key role in service experience of a user of the terminal device.
Fig. 1 shows a network architecture diagram in the related art. As shown in fig. 1, the core network 10 may include at least a UPF network element 11 and a session management function (Session Management Function, SMF) network element 12. The UPF network element 11 may interact with the SMF network element 12 through an N4 interface, be directly controlled and managed by the SMF network element 12, and perform service flow processing according to various policies issued by the SMF network element 12.
And, the terminal device 20 may interact with an access Data Network (DN) 40 through the base station 30 and the UPF Network element 11.
In order to improve disaster tolerance of the UPF network element, fig. 2 shows a network architecture diagram provided in an embodiment of the present application. Fig. 2 differs from fig. 1 in that the core network 10 may include at least a primary UPF network element 111, a disaster tolerant UPF network element 112, and an SMF network element 12.
The primary UPF network element 111 may be communicatively coupled to the SMF network element 12 via an N4 link, and may be communicatively coupled to the DN40 via an N6 link. And disaster tolerant UPF network element 112 may be communicatively coupled to SMF network element 12 via an N4 link and to DN40 via an N6 link.
In the scenario that the primary UPF network element 111 fails, the session on the primary UPF network element 111 may be migrated to the disaster recovery UPF network element 112, so that the terminal device connected to the primary UPF network element 111 is re-online in the disaster recovery UPF network element 112. At this time, DN40 modifies the next-hop route of the downstream data to disaster tolerant UPF network element 112 after detecting that the primary UPF network element 111 fails. At this time, the terminal device 20 and the DN40 may transmit uplink data, downlink data, etc. through the disaster tolerant UPF network element 112. Therefore, when the main UPF network element 111 fails, the terminal equipment 20 can continuously access DN40, and the disaster recovery capability of the UPF network element system is improved. Illustratively, in the specific scenario where the terminal device is configured with a fixed internet protocol (Internet Protocol, IP) address (i.e., a static IP address), the terminal device can only choose to be on-line with one UPF network element, and accordingly, when the primary UPF network element 111 fails, the terminal device needs to be off-line from the primary UPF network element 111 as a whole and be on-line again at the disaster tolerant UPF network element 112.
In one related art, in a case such as where downstream data points to a fixed internet protocol (Internet Protocol, IP), the next-hop routing of the downstream data can only select one of the UPF network elements. Therefore, after the failure recovery of the primary UPF network element, if the newly-online terminal device (i.e., the terminal device that is online in the primary UPF network element 111 after the failure recovery) and the previously-online terminal device (i.e., the terminal device that is online in the disaster recovery UPF network element 112 before the failure recovery) belong to different UPF network elements, no matter which UPF network element is selected by the DN in the primary UPF network element 111 and the disaster recovery UPF network element 112 as the next hop route of the downlink data, the downlink service on the other UPF network element will be interrupted.
Thus, after the failure recovery of the primary UPF network element 111, the DN 40 reselects the primary UPF network element 111 as the next hop route for downstream data (i.e., transmission data sent by the DN to the terminal). And under the control of SMF 12, after the terminal with the static IP address above disaster recovery UPF network element 112 needs to interrupt the service, service can be restored after the terminal is on line again on the primary UPF network element 111.
The technology can seriously influence the service use experience of the user due to the service continuity of the terminal equipment.
Based on this, with continued reference to fig. 2, the inventor proposes a manner that a communication tunnel 13 may be set between the first UPF network element 111 and the second UPF network element 112, and after the failure recovery of the primary UPF network element 111, the primary UPF network element 111 may forward the transmission data to the disaster recovery UPF network element 112 after receiving the transmission data sent by the DN, without going online and offline again for the session created on the disaster recovery UPF network element 112 during the failure, so as to ensure the service experience of the user of the terminal device corresponding to the session.
The technical scheme provided by the embodiment of the application is explained next. Before starting to introduce the technical schemes related to the embodiments of the present application, technical terms related to the embodiments of the present application are described.
(1) And the SMF network element is responsible for a user session management function. Illustratively, it may be responsible for the functions of life management cycle of the session of the 5G user, IP address assignment, data routing, service continuity management, policy rule matching, and traffic charging processing.
In the embodiment of the present application, the SMF network element may select on which UPF network element the session corresponding to the terminal device is established. In one example, upon failure of the primary UPF element, the terminal device may establish a session with the disaster tolerant UPF element under control of the SMF element. In another example, after the primary UPF network element fails to recover, the session that has been created is maintained at the disaster tolerant UPF network element and the newly created session is established at the primary UPF network element. In yet another example, when the N4 link between the primary UPF network element and the SMF network element is broken, the session that has been created may be maintained at the primary UPF network element and the newly generated session may be established at the disaster tolerant UPF network element.
(2) DN, external data networks of 5GC (5G core network), such as operator traffic, internet or third party traffic, etc.
(3) And N4, an interface between the SMF and the UPF network element is used for transmitting control plane information between the SMF and the UPF network element. By way of example, the communication link between the SMF and the UPF network element may be referred to as an N4 link.
(4) And an interface between the N6, DN and the UPF network element is used for transmitting uplink and downlink data between the UPF network element and the DN. For example, communication with the DN network may be based on IP, routing protocols, etc. Illustratively, the communication link between the DN and the UPF network element may be referred to as an N6 link.
(5) And N9, an interface between UPF network elements, which is used for transferring data between UPF network elements.
(6) Any UPF element of the main UPF element and the disaster recovery UPF element may be a network device, or a module for implementing a UPF element function in the network device, which is not limited specifically.
In some embodiments, the primary UPF network element and the disaster tolerant UPF network element may be relatively speaking. The main UPF network element and the disaster recovery UPF network element can respectively provide UPF network element services for different terminal devices.
For the terminal equipment, the UPF network element which mainly provides UPF network element service is a main UPF network element, and the other UPF network element is a disaster recovery UPF network element. For example, for end users in an area served by a UPF element, the UPF element is the primary UPF element. For example, taking a UPF network element in Guangzhou and a UPF network element in Shenzhen as an example, for a Shenzhen terminal device, the UPF network element in Shenzhen is a main UPF network element, and the UPF network element in Guangzhou is a disaster recovery UPF network element. For Guangzhou terminal equipment, the UPF network element in Guangzhou is a main UPF network element, and the UPF network element in Shenzhen is a disaster recovery UPF network element.
Illustratively, the primary UPF network element and the disaster recovery UPF network element may be located within different local area networks.
In other embodiments, a disaster recovery UPF element may be separately provided for the primary UPF element, which is not specifically limited.
After the above technical terms are introduced, the present exemplary embodiment will be described in detail with reference to the accompanying drawings and examples.
The embodiment of the application provides a data transmission method based on a core network, which can be executed by the main UPF network element.
Fig. 3 shows a flowchart of a data transmission method based on a core network in an embodiment of the present application, and as shown in fig. 3, the data transmission method based on a core network provided in the embodiment of the present application includes the following steps S310 and S320.
S310, under the condition of the fault recovery of the main UPF network element, receiving first transmission data sent by a first DN.
For primary UPF network element failure recovery, it may refer to the primary UPF network element transitioning from a failure state to a normal state.
For the first DN, it may be a data network that needs to perform data downlink transmission after the failure recovery of the primary UPF network element. In one embodiment, a next hop route for the first transmission data (i.e., downstream data) may be set on the first DN. Illustratively, the first DN may modify the next-hop route to the disaster tolerant UPF element during a failure of the primary UPF element and modify the next-hop route to the primary UPF element after a failure recovery.
Optionally, a communication tunnel may be established between the switch of the first DN and the N6 interface of the primary UPF network element. The first DN can quickly sense the state change of the main UPF network element through the communication tunnel, and when the main UPF network element fails, the next hop route of the transmission data in the route table is modified into the disaster tolerant UPR. And after the failure recovery of the primary UPF network element, modifying the next hop route of the transmission data in the routing table to be the primary UPR.
The communication tunnel may be a generic routing encapsulation (Generic Routing Encapsulation, GRE) tunnel, for example. Therefore, the first DN can quickly sense the state change of the main UPF network element through the keepalive mechanism of the GRE tunnel, and the routing table can be updated in real time according to the state change.
Optionally, the switch of the first DN may also establish a communication tunnel with N6 of the disaster tolerant UPF network element. The specific content and function of the tunnel may refer to the related content of the tunnel of the primary UPF network element, which is not described herein.
For the first transmission data, it may be data that the first DN needs to transmit to the terminal device.
For step S310, in one example, fig. 4 shows a schematic diagram of the data transmission path after the failure recovery of the primary UPF network element. As shown in fig. 4, a broken line L41 and a solid line L42 show two possible transmission paths of the first transmission data.
As indicated by the dashed line L41 and the solid line L42, the first DN41 defaults to the next-hop route of the first transmission data as the primary UPF network element 111 after the failure recovery of the primary UPF network element 111, so that the first transmission data is transmitted to the primary UPF network element 111 along the path indicated by the dashed line L41 or the solid line L42.
S320, under the condition that the session of the first transmission data is not created on the main UPF network element, the first transmission data is sent to the disaster recovery UPF network element through the communication tunnel, so that the disaster recovery UPF network element forwards the first transmission data to the first terminal equipment corresponding to the session.
In S320, the primary UPF network element may determine whether a session of the first transmission data is created on the primary UPF network element. And under the condition that the session of the first transmission data is not created in the main UPF network element, the first transmission data is sent to the disaster tolerant UPF network element through the communication tunnel.
For the first terminal device, it may refer to a device where the session is created on the disaster tolerant UPF network element or the primary UPF network element. By way of example, the first terminal device may include, but is not limited to, a smart phone, a tablet computer, a laptop portable computer, a desktop computer, a wearable device, an augmented reality device, a virtual reality device, etc., without being particularly limited thereto.
In one embodiment, the first terminal device may be a terminal device configured with a fixed IP address, and accordingly, the session of the first terminal device is created in one of the disaster tolerant UPF network element and the primary UPF network element. For example, the first terminal device may select one of the disaster tolerant UPF network element and the primary UPF network element to be online.
For a session of the first transmission data, it may refer to the session to which the first transmission data belongs. In some embodiments, the session to which the first transport data belongs may be determined from its IP five-tuple.
Regarding the manner of whether the session is created in the primary UPF network element, in some embodiments, the primary UPF network element, after receiving the first transmission data, determines whether a session context of the session of the first transmission data is created on the primary UPF network element, to determine whether the session of the first transmission data is created in the primary UPF network element. It should be noted that, when a session is created on a UPF network element, the context information of the session is recorded, so that whether the session is created on the primary UPF network element can be accurately determined by querying the context of the session.
By communication tunnel, it may be meant a tunnel between a primary UPF network element and a disaster tolerant UPF network element for transmitting data. Alternatively, the communication tunnel may be established between the N9 interface of the primary UPF network element and the N9 interface of the disaster tolerant UPF network element. Illustratively, the communication tunnel may be a GRE tunnel, a virtual extended local area network (Virtual Extensible Local Area Network, vxLAN) tunnel, or the like, without limitation.
In one example, to increase the versatility of the scheme, the communication tunnel may be a GRE tunnel.
In this example, the GRE tunnel has the advantages of convenient encapsulation and wide support of network equipment, so that the universality of the data transmission scheme of the embodiment of the application is improved.
Compared with the technical scheme that the N9 interface is connected with the UPF network element of the public network, the embodiment of the application can realize flexible transfer of transmission data between the main UPF network element and the disaster recovery UPF network element through the N9 interface.
For S320, in one example, with continued reference to fig. 4, as indicated by the dashed line L41, the first primary UPF network element 111 may transmit the first transmission data to the disaster tolerant UPF network element 112 through the communication tunnel, and then the disaster tolerant UPF network element 112 sends the first transmission data to the base station 31, and then the base station 31 sends the first transmission data to the first terminal device 21.
According to the data transmission method based on the core network, after the failure recovery of the main UPF network element, for the first terminal equipment which establishes the session in the disaster recovery UPF network element, the main UPF network element can forward the first transmission data sent by the first DN to the disaster recovery UPF network element through a communication tunnel between the main UPF network element and the disaster recovery UPF network element, and then the disaster recovery UPF network element sends the first transmission data to the corresponding first terminal equipment. Because after the failure recovery of the UPF network element, the first DN defaults the next hop route of the transmission data to the main UPF network element, compared with a scheme that a session created on the disaster tolerant UPF network element during the failure period is required to be offline from the disaster tolerant UPF network element and offline again from the main UPF network element, the embodiment of the invention uses the main UPF network element to forward the data to the disaster tolerant UPF network element, and the method does not need to offline again the session created on the disaster tolerant UPF network element during the failure period, so that the original service is not affected, and the service experience of the user of the terminal device corresponding to the session is ensured.
And it should also be noted that, after the failure recovery of the primary UPF network element, if the SMF network element chooses to establish a new session with the primary UPF network element, then, as the session is normally continuously disconnected and reconnected in the use process, all the services are finally switched back to the primary UPF network element, so that the services can be automatically seamlessly migrated, and the whole migration process does not need manual intervention.
In some embodiments, after S310, the method further comprises the following step A1.
And step A1, in the case that a session with first transmission data is created on the main UPF network element, the first transmission data is sent to the first terminal equipment.
In one embodiment, the primary UPF network element may send the first transmission data to the base station to which the first terminal device is connected based on the base station identification in the session context, and then the base station continues to send the first transmission data to the first terminal device.
In one example, with continued reference to fig. 4, the transmission path of the first transmission data in this step A1 is shown by a solid line L42, and after the first transmission data arrives at the primary UPF network element 111, the primary UPF network element 111 sends the first transmission data to the base station 31, and then the base station 31 sends the first transmission data to the first terminal device 21.
Through the step A1, after the failure recovery of the main UPF network element, the original service on the disaster recovery UPF network element and the new service on the main UPF network element can be operated continuously at the same time, and the service use experience of the user is improved.
In some embodiments, the method further comprises the following step A2.
And step A2, under the condition of the fault recovery of the main UPF network element, receiving the transmission data sent by the first terminal equipment and sending the transmission data to the first DN according to the routing information.
Illustratively, with continued reference to fig. 4, when the first terminal device is on-line with the primary UPF network element 111, the transmission path of the uplink data thereof is shown as a solid line L42.
Optionally, in the case of failure recovery of the primary UPF network element, when the first terminal device is online on the disaster recovery UPF network element 112, a transmission path of the uplink data thereof is shown by a dash-dot line L43.
Based on the same inventive concept, fig. 5 shows a flow chart of another data transmission method based on a core network according to an embodiment of the present application. The method can be executed by the disaster recovery UPF network element. Embodiments of the present application may be combined with each of the alternatives in one or more of the embodiments described above.
As shown in fig. 5, the data transmission method based on the core network provided in the embodiment of the present application includes the following steps S510 and S520.
S510, under the condition that the main UPF network element is recovered from faults, receiving first transmission data sent by the main UPF network element through a communication tunnel. The first transmission data is sent to the main UPF network element by the first DN, and the session to which the first transmission data belongs is determined not to be created by the main UPF network element.
Wherein, S510 is similar to S310, and reference may be made to the specific content of S310, which is not described herein.
And S520, the first transmission data is sent to the first terminal equipment corresponding to the session.
In some embodiments, the base station flag may be determined according to session context information of the session and then sent to the base station to which the first terminal device is connected, and further sent to the first terminal device.
Other contents of S520 are similar to S320, and reference may be made to specific contents of S320, which are not described herein.
According to the data transmission method based on the core network, after the failure of the main UPF network element is recovered, for the first terminal equipment which establishes the session in the disaster recovery UPF network element, the main UPF network element can forward the first transmission data sent by the first DN to the disaster recovery UPF network element through a communication tunnel between the main UPF network element and the disaster recovery UPF network element, and then the disaster recovery UPF network element sends the first transmission data to the corresponding first terminal equipment. Because after the UPF network element is recovered from the fault, the first DN defaults the next hop route of the transmission data to the main UPF network element, and compared with a scheme that the session created on the disaster-tolerant UPF network element during the fault is required to be offline from the disaster-tolerant UPF network element and offline again on the main UPF network element, the embodiment of the invention uses the main UPF network element to forward the data to the disaster-tolerant UPF network element, and the session created on the disaster-tolerant UPF network element during the fault is not required to be offline again, thereby ensuring the service experience of the user of the terminal equipment corresponding to the session.
In one example, in the case that the first terminal device is online to the disaster recovery UPF network element, the method further includes the following step B1.
And step B1, under the condition of the fault recovery of the main UPF network element, receiving the transmission data sent by the first terminal equipment and sending the transmission data to the first DN according to the routing information.
It should be noted that, the step B1 may refer to the related description of the step A2, which is not described herein.
In order to understand the data transmission scheme after the failure recovery of the primary UPF network element as a whole, the description will be given below with reference to fig. 6.
Fig. 6 is a flow chart of an exemplary data transmission method based on a core network according to an embodiment of the present application.
As shown in fig. 6, the data transmission method based on the core network provided in the embodiment of the present application includes the following steps S601 to S605.
S601, a first DN sends first transmission data to a main UPF network element.
S602, the primary UPF network element determines whether the session of the first transmission data is created locally (i.e., the primary UPF network element).
And S603, if the judgment result is yes, the main UPF network element sends first transmission data to the first terminal equipment.
S604, if the judging result is negative, the main UPF network element forwards the first transmission data to the disaster recovery UPF network element through the communication tunnel.
S605, the disaster recovery UPF network element sends the first transmission data to the first terminal equipment.
After the data transmission method in the case of failure recovery of the primary UPF network element is illustrated by fig. 3 to 6, based on the same inventive concept, the embodiments of the present application further provide a data transmission scheme when the communication link between the primary UPF network element and the second DN fails, which will be described by fig. 7 to 10.
The inventor finds through research that in the related technology, if a communication link between a main UPF network element and a DN fails, the terminal equipment can be continuously connected with the line, and the service experience of a user of the terminal equipment is affected.
Based on the above, the inventor provides a transmission path of a terminal device, namely a main UPF network element, namely a disaster recovery UPF network element, namely a DN, so that when a communication link between the main UPF network element and the DN is faulty, namely an N6 link of the main UPF network element is faulty, transmission data can bypass the N6 link of the disaster recovery UPF network element, so that the service of a user of the terminal device can not be influenced, and further the technical scheme of user service experience is improved.
Fig. 7 shows a flowchart illustrating yet another data transmission method based on a core network in an embodiment of the present application, which may be performed by the master PUF network element described above. As shown in fig. 7, the data transmission method based on the core network provided in the embodiment of the present application includes the following S710 and S720.
And S710, receiving second transmission data to be transmitted to a second DN, which is sent by the second terminal equipment, under the condition that a communication link between the main UPF network element and the second DN is failed.
The failure of the communication link between the primary UPF network element and the second DN, i.e., the N6 link failure of the primary UPF network element, may be a failure affecting data transmission, such as an N6 interface failure, a communication link interruption, or a transmission delay that is too high, which is not specifically limited.
For the second DN, it may be the same network as the first DN, or a different network. For details of the second DN, reference may be made to the description of the first DN in the above section of the embodiments of the present application, which is not limited thereto.
In some embodiments, when a communication link between the primary UPF network element and the second DN fails, the second DN can quickly sense the failure through a communication tunnel with the primary UPF network element and automatically switch to the disaster tolerant UPF network element for communication.
In one embodiment, the primary UPF network element may implement fast handover to the disaster tolerant UPF network element for communication in a manner that modifies the next hop route in the routing table from the primary UPF network element to the disaster tolerant UPF network element.
The second terminal device may be the same device as the first terminal device or a different device, which is not particularly limited.
The specific content of the second terminal device may be referred to the related description of the first terminal device in the foregoing embodiment of the present application, which is not repeated herein.
S720, forwarding the second transmission data to the disaster recovery UPF network element through the communication tunnel so that the disaster recovery UPF network element sends the second transmission data to the second DN.
For example, the disaster tolerant UPF network element may send the second transmission data to the second DN in a manner that the disaster tolerant UPF network element may find routing information of the second transmission data.
According to the data transmission method based on the core network, when the communication link between the main UPF network element and the second DN fails, the main UPF network element transmits the second transmission data to the disaster tolerant UPF network element to transmit the second transmission data to the second DN, the second transmission data can bypass the N6 link of the disaster tolerant UPF network element, and disaster tolerance is further carried out on the failure, so that the service of a terminal device user can not be influenced when the communication link between the main UPF network element and the second DN fails, and further user service experience is improved.
In one example, fig. 8 shows a schematic diagram of a data transmission path when a communication link between a primary UPF network element and a second DN fails. As shown in fig. 8, a solid line L81 shows a transmission path when the N6 link failure does not occur in the primary UPF network element, and a broken line L82 shows a transmission path when the N6 link failure occurs in the primary UPF network element.
As can be seen from comparison between L81 and L82, when N6 fails, the SMF network element 12 still selects the primary UPF network element 111 to perform terminal equipment on-line, and the second DN 42 sends the second transmission data to the disaster recovery UPF network element 112, and then forwards the second transmission data to the primary UPF network element 111 through the disaster recovery UPF network element 112. The primary UPF network element 111 sends the second transmission data to the second terminal device 22 via the base station 31.
In some embodiments, the method may further include a data transmission step when the N6 link fails, i.e., step C1 and step C2 described below.
And step C1, receiving third transmission data which are forwarded by the disaster UPF network element and are to be transmitted to the second terminal equipment through a communication tunnel under the condition that a communication link between the main UPF network element and the second DN is failed. And the third transmission data is sent to the disaster recovery UPF network element by the second DN.
For the third transmission data, it may be data that the second terminal device needs to upload to the second DN.
And step C2, transmitting the third transmission data to the second terminal equipment.
The specific content of sending the third transmission data to the second terminal device may refer to the description of the above part of the embodiment of the present application for sending the transmission data to the terminal device by the UPF network element, which is not described herein.
It should be noted that, the steps C1 and C2 may be independently performed from the steps S710 and S720, and may be performed in conjunction with the steps S710 and S720, which are not particularly limited.
Through the embodiment, when the data is uplink, if the N6 link of the primary UPF network element fails, the primary UPF network element may send the third transmission data to the disaster recovery UPF network element, and then the disaster recovery UPF network element sends the third transmission data to the second DN, so that the data transmission can be successfully realized by bypassing the failed N6 link, and user service experience is improved.
Based on the same inventive concept, fig. 9 shows a flow chart of still another data transmission method based on a core network according to an embodiment of the present application. The method can be executed by the disaster recovery UPF network element. Embodiments of the present application may be combined with each of the alternatives in one or more of the embodiments described above.
As shown in fig. 9, the data transmission method based on the core network provided in the embodiment of the present application includes the following steps S910 and S920.
S910, receiving second transmission data to be transmitted to the second DN, which is forwarded by the main UPF network element, through the communication tunnel under the condition that the communication link between the main UPF network element and the second DN is failed. Wherein the second transmission data is sent by the second terminal device.
S910 is similar to S710, and reference may be made to the specific content of S710, which is not described herein.
And S920, sending the second transmission data to a second DN.
Wherein, S920 is similar to S720, and the specific content of S720 is referred to herein and will not be described in detail.
According to the data transmission method based on the core network, when the communication link between the main UPF network element and the second DN fails, the main UPF network element transmits the second transmission data to the disaster tolerant UPF network element to transmit the second transmission data to the second DN, the second transmission data can bypass the N6 link of the disaster tolerant UPF network element, and disaster tolerance is further carried out on the failure, so that the service of a terminal device user can not be influenced when the communication link between the main UPF network element and the second DN fails, and further user service experience is improved.
In some embodiments, the method further comprises step D1 and step D2.
And step D1, receiving third transmission data sent by the second DN under the condition that a communication link between the main UPF network element and the second DN is failed.
Step D1 is similar to step C1, and the specific content of step C1 will be referred to herein and will not be described again.
And D2, forwarding the third transmission data to the main UPF network element so that the main UPF network element can send the third transmission data to the second terminal equipment.
Step D2 is similar to step C2, and the specific content of step C2 will be referred to herein and will not be described again.
It should be noted that, the step D1 and the step D2 may be independently performed independently from the step S910 and the step S920, and may be performed in conjunction with the step S910 and the step S920, which is not particularly limited.
Illustratively, in order to understand the data transmission scheme when the N6 failure occurs in the primary UPF network element as a whole, description will be made with reference to fig. 10.
Fig. 10 is a flow chart of another exemplary data transmission method based on the core network according to an embodiment of the present application.
As shown in fig. 10, the data transmission method based on the core network provided in the embodiment of the present application includes the following steps S1001 to S1006.
S1001, the master UPF network element receives second transmission data sent by the second terminal device.
S1002, the main UPF network element forwards the second transmission data to the disaster recovery UPF network element through the communication tunnel.
S1003, the disaster recovery UPF network element sends the second transmission data to a second DN.
And S1004, the second DN sends third transmission data to the main UPF network element.
S1005, the main UPF network element forwards the third transmission data to the disaster recovery UPF network element through the communication tunnel.
S1006, the disaster recovery UPF network element sends the third transmission data to the second terminal device.
In this example, the order of S1001 to S1003 and S1004 to S1006 is not particularly limited.
After the data transmission method in the case of the N6 failure of the primary UPF network element is illustrated by fig. 7 to 10, based on the same inventive concept, the embodiment of the present application further provides a data transmission scheme in the case of the failure of the communication link between the primary UPF network element and the SMF network element, which will be described by fig. 11 to 14.
In the related art, if a communication link between the primary UPF network element and the SMF network element fails, that is, if an N4 link of the primary UPF network element fails, service cannot be continuously provided for the newly-online terminal device.
The inventor discovers through research that the newly-online terminal equipment can be online on the disaster recovery UPF network element after the N4 link fault occurs. Based on this, the inventor proposes that after the N4 link failure occurs, the main UPF network element may forward the transmission data to the disaster recovery UPF network element after receiving the transmission data sent by the DN, so as to further transmit the transmission data to the terminal device of the disaster recovery UPF network element. Therefore, the technical scheme of disaster recovery can be carried out on the N4 link failure.
Fig. 11 shows a flowchart illustrating yet another data transmission method based on a core network in an embodiment of the present application, which may be performed by the master PUF network element described above. As shown in fig. 11, the data transmission method based on the core network provided in the embodiment of the present application includes the following S1110 and S1120.
And S1110, receiving fourth transmission data sent by the third DN under the condition that a communication link between the main UPF network element and the SMF network element fails.
The failure of the communication link between the primary UPF network element and the SMF network element, that is, the N4 link failure of the primary UPF network element, may be a failure that affects data transmission, such as an N4 interface failure, a communication link interruption, or a transmission delay that is too high, which is not particularly limited.
For the fourth transmission data, it may be data that the third DN needs to transmit downstream to the fourth terminal device.
For the third DN, it may be the same network as the first DN, the second DN, or a different network. The specific content of the third DN may be referred to in the above description of the first DN and the second DN in the embodiments of the present application, which is not limited thereto.
In some embodiments, the third DN may determine that the next-hop route of the fourth transmission data is the primary UPF when the primary UPF network element sends an N4 failure.
It should be noted that, S1110 is similar to S310 described above, and reference may be made to the relevant content of S310, which is not described herein.
And S1120, forwarding the fourth transmission data to the disaster tolerant UPF network element through the communication tunnel under the condition that the session to which the fourth transmission data belongs is not created in the main UPF network element, so that the disaster tolerant UPF network element sends the fourth transmission data to the third terminal equipment corresponding to the session to which the fourth transmission data belongs.
For the third terminal device, it may be a terminal device that needs to upload data to the second DN. It should be noted that the second terminal device may be the same device as the above device, or different devices, which will not be described herein.
For other contents of the third terminal device, reference may be made to the description related to the first terminal device and the second terminal device in the foregoing embodiments of the present application, which is not repeated herein.
It should be noted that, S1120 is similar to S320 described above, and reference may be made to the relevant content of S320, which is not repeated here.
According to the data transmission method based on the core network, when a communication link between a main UPF network element and an SMF network element is faulty, namely, when the main UPF network element is faulty in an N4 link, the main UPF network element can forward the transmission data to a disaster recovery UPF network element after receiving the transmission data sent by a DN, so that the transmission data is further transmitted to terminal equipment which needs to be on line to the disaster recovery UPF network element, and therefore disaster recovery can be carried out on the N4 link fault.
And in some embodiments, after the N4 failure is recovered, the session can be normally and continuously disconnected and disconnected again in the use process, and finally all the services are migrated back to the main UPF network element, so that the services can be automatically and seamlessly migrated, and the whole migration process does not need manual intervention.
In some embodiments, after S1110, the method further includes the following step E1.
And E1, transmitting the fourth transmission data to the third terminal equipment under the condition that the session to which the fourth transmission data belongs is created in the main UPF network element.
It should be noted that, step E1 is similar to step A1, and reference may be made to the description of step A1 in the above section of the embodiment of the present application, which is not repeated.
In one example, fig. 12 shows a schematic diagram of a data transmission path when a communication link between a primary UPF network element and an SMF network element fails.
As shown in fig. 12, in the case where the third terminal device 23 is on the disaster recovery UPF network element 112, the transmission path of the fourth transmission data may be shown as a dotted line L121.
In case the third terminal device 23 is online to the primary UPF network element 111, the transmission path of the fourth transmission data may be as shown in implementation L122.
Specifically, after the third DN 43 sends the fourth transmission data to the primary UPF network element 111, if the session to which the fourth transmission data belongs is created in the primary UPF network element 111, the fourth transmission data continues to be transmitted to the base station 32 along the real line L122, and then to the third terminal device 23. Similarly, if the session to which the fourth transmission data belongs is created in the disaster recovery UPF network element 112, the session is transmitted to the disaster recovery UPF network element 112 along the communication tunnel, and then the disaster recovery UPF network element 112 continues to transmit to the base station 32 along the dashed line L121, and then transmits to the third terminal device 23.
Through the step E1, during the failure period of the N4 link, the original service on the main UPF network element and the new service on the disaster recovery UPF network element can be operated continuously at the same time, and the service use experience of the user is improved.
In some embodiments, the method further comprises the following step E2.
And E2, receiving fifth transmission data sent by the third terminal equipment and sending the fifth transmission data to the first DN according to the routing information under the condition that a communication link between the main UPF network element and the SMF network element fails.
Illustratively, with continued reference to fig. 12, when the third terminal device is online on the primary UPF network element 111, its transmission path of uplink data is shown as solid line L122.
Optionally, when the first terminal device is on line on the disaster recovery UPF network element 112, a transmission path of uplink data of the first terminal device is shown by a dash-dot line L123.
Fig. 13 is a schematic flow chart of another data transmission method based on a core network according to an embodiment of the present application based on the same inventive concept. The method can be executed by the disaster recovery UPF network element. Embodiments of the present application may be combined with each of the alternatives in one or more of the embodiments described above.
As shown in fig. 13, the data transmission method based on the core network provided in the embodiment of the present application includes the following steps S1310 and S1320.
And S1310, under the condition that a communication link between the main UPF network element and the SMF network element fails, receiving fourth transmission data sent by the main UPF network element, wherein the fourth transmission data is sent to the main UPF network element by a third DN, and the session to which the fourth transmission data belongs is not created is determined by the main UPF network element.
Wherein, S1310 is similar to S1110, and the specific content of S1110 may be referred to herein, and will not be described herein.
And S1320, the fourth transmission data is sent to the third terminal equipment corresponding to the session.
Wherein S1320 is similar to S1120, reference may be made to the specific content of S1120, and the description thereof will not be repeated here.
According to the data transmission method based on the core network, when a communication link between a main UPF network element and an SMF network element is faulty, namely, when the main UPF network element is faulty in an N4 link, the main UPF network element can forward the transmission data to a disaster recovery UPF network element after receiving the transmission data sent by a DN, so that the transmission data is further transmitted to terminal equipment which needs to be on line to the disaster recovery UPF network element, and therefore disaster recovery can be carried out on the N4 link fault.
In one example, in the case that the first terminal device is online to the disaster recovery UPF network element, the method further includes the following step F1.
And F1, receiving transmission data sent by the third terminal equipment under the condition that a communication link between the main UPF network element and the SMF network element fails, and sending the transmission data to a third DN according to the routing information.
It should be noted that, the step F1 can be referred to the above description of the step E2, and will not be repeated here.
In order to understand the data transmission scheme when the communication link between the primary UPF network element and the SMF network element is failed as a whole, description will be made with reference to fig. 14.
Fig. 14 is a flow chart illustrating yet another exemplary data transmission method based on a core network according to an embodiment of the present application.
As shown in fig. 14, the core network-based data transmission method provided in the embodiment of the present application includes the following steps S1401 to S1405.
S1401, the third DN sends fourth transmission data to the primary UPF network element.
S1402, the primary UPF network element determines whether the session of the fourth transmission data is created locally (i.e., the primary UPF network element).
S1403, if the above determination result is yes, the master UPF network element sends fourth transmission data to the third terminal device.
And S1404, if the judging result is negative, the main UPF network element forwards the fourth transmission data to the disaster recovery UPF network element through the communication tunnel.
S1405, the disaster recovery UPF network element sends the fourth transmission data to the third terminal device.
After the core network-based data transmission method provided by the embodiment of the present application is described through fig. 3 to fig. 14, the specific structures of the main UPF network element and the disaster recovery UPF network element are described next.
Based on the same inventive concept, the embodiments of the present application also provide a primary UPF network element, as follows. Fig. 15 shows a schematic structural diagram of a primary UPF network element in an embodiment of the present application, as shown in fig. 15, where a primary UPF network element 1500 includes: the data receiving module 1510 and the data forwarding module 1520.
A data receiving module 1510, configured to receive, in case of failure recovery of a primary UPF network element, first transmission data sent by a first data network DN;
the data forwarding module 1520 is configured to forward, when the session of the first transmission data is not created on the primary UPF network element, the first transmission data to the disaster recovery UPF network element through the communication tunnel, so that the disaster recovery UPF network element sends the first transmission data to the first terminal device corresponding to the session.
In some embodiments, the primary UPF network element 1500 also includes a data transmission module.
And the data sending module is used for sending the first transmission data to the first terminal equipment under the condition that the session with the first transmission data is created on the main UPF network element.
In some embodiments, the data receiving module 1510 is further configured to receive, in the event of a failure of the communication link between the primary UPF network element and the second DN, second transmission data sent by the second terminal device to be transmitted to the second DN;
the data forwarding module 1520 is further configured to forward the second transmission data to the disaster tolerant UPF network element through the communication tunnel, so that the disaster tolerant UPF network element sends the second transmission data to the second DN.
In some embodiments, the data receiving module 1510 is further configured to receive, through the communication tunnel, third transmission data forwarded by the disaster recovery UPF network element and to be transmitted to the second terminal device, where the communication link between the primary UPF network element and the second DN is faulty, and the third transmission data is sent to the disaster recovery UPF network element by the second DN;
the primary UPF network element 1500 also includes a data transmission module. And the data sending module is used for sending the third transmission data to the second terminal equipment.
In some embodiments, the data receiving module 1510 is further configured to receive fourth transmission data sent by the third DN in a case where a communication link between the primary UPF network element and the SMF network element fails;
The data forwarding module 1520 is further configured to forward, when the session to which the fourth transmission data belongs is not created in the primary UPF network element, the fourth transmission data to the disaster tolerant UPF network element through the communication tunnel, so that the disaster tolerant UPF network element sends the fourth transmission data to a third terminal device corresponding to the session to which the fourth transmission data belongs.
In some embodiments, the primary UPF network element 1500 also includes a data transmission module.
And the data sending module is used for sending the fourth transmission data to the third terminal equipment under the condition that the session to which the fourth transmission data belongs is created in the main UPF network element.
After the failure recovery of the primary UPF network element, the primary UPF network element may receive the first transmission data sent by the first DN, forward the first transmission data to the disaster recovery UPF network element through a communication tunnel between the primary UPF network element and the disaster recovery UPF network element, and then send the first transmission data to the corresponding first terminal device by the disaster recovery UPF network element. Because after the UPF network element is recovered from the fault, the first DN defaults the next hop route of the transmission data to the main UPF network element, and compared with a scheme that the session created on the disaster-tolerant UPF network element during the fault is required to be offline from the disaster-tolerant UPF network element and offline again on the main UPF network element, the embodiment of the invention uses the main UPF network element to forward the data to the disaster-tolerant UPF network element, and the session created on the disaster-tolerant UPF network element during the fault is not required to be offline again, thereby ensuring the service experience of the user of the terminal equipment corresponding to the session.
It should be noted that, the primary UPF network element 1500 shown in fig. 15 may perform the steps in the method embodiments shown in fig. 3, fig. 7, and fig. 11, and implement the processes and effects in the method embodiments shown in fig. 3, fig. 7, and fig. 11, which are not described herein.
Based on the same inventive concept, the embodiments of the present application also provide a disaster recovery UPF network element, as follows. Fig. 16 shows a schematic structural diagram of a disaster recovery UPF network element in an embodiment of the present application, as shown in fig. 16, where a disaster recovery UPF network element 1600 includes: the data receiving module 1610 and the data transmitting module 1620.
A data receiving module 1610, configured to receive, in a case of failure recovery of a primary UPF network element, first transmission data sent by the primary UPF network element through a communication tunnel, where the first transmission data is sent to the primary UPF network element by a first DN, and determine, by the primary UPF network element, that a session to which the first transmission data belongs is not created;
the data sending module 1620 is configured to send the first transmission data to a first terminal device corresponding to the session.
In some embodiments, the data receiving module 1610 is further configured to receive, in a case where a communication link between the primary UPF network element and the second DN fails, second transmission data forwarded by the primary UPF network element and to be transmitted to the second DN through the communication tunnel, where the second transmission data is sent by the second terminal device;
The data sending module 1620 is further configured to send the second transmission data to the second DN.
In some embodiments, the data receiving module 1610 is further configured to receive third transmission data sent by the second DN in a case where a communication link between the primary UPF network element and the second DN fails;
and, the disaster recovery UPF network element 1600 further includes a data forwarding module. The data forwarding module is used for forwarding the third transmission data to the main UPF network element so that the main UPF network element sends the third transmission data to the second terminal equipment.
In some embodiments, the data receiving module 1610 is further configured to receive fourth transmission data sent by the primary UPF network element in the case that a communication link between the primary UPF network element and the SMF network element fails, where the fourth transmission data is sent by the third DN to the primary UPF network element and it is determined by the primary UPF network element that a session to which the fourth transmission data belongs is not created;
the data sending module 1620 is further configured to send the fourth transmission data to a third terminal device corresponding to the session.
After the disaster recovery UPF network element is recovered, for the first terminal device that creates the session in the disaster recovery UPF network element, the disaster recovery UPF network element may forward the first transmission data sent by the first DN to the disaster recovery UPF network element through a communication tunnel between the disaster recovery UPF network element and the main UPF network element, and then the disaster recovery UPF network element sends the first transmission data to the corresponding first terminal device. Because after the UPF network element is recovered from the fault, the first DN defaults the next hop route of the transmission data to the main UPF network element, and compared with a scheme that the session created on the disaster-tolerant UPF network element during the fault is required to be offline from the disaster-tolerant UPF network element and offline again on the main UPF network element, the embodiment of the invention uses the main UPF network element to forward the data to the disaster-tolerant UPF network element, and the session created on the disaster-tolerant UPF network element during the fault is not required to be offline again, thereby ensuring the service experience of the user of the terminal equipment corresponding to the session.
It should be noted that, the disaster tolerant UPF network element 1600 shown in fig. 16 may perform the steps in the method embodiments shown in fig. 5, 9 and 13, and implement the processes and effects in the method embodiments shown in fig. 5, 9 and 13, which are not described herein.
And it should be further noted that, when the same UPF network element can implement the functions of the main UPF network element and the disaster recovery UPF network element, the same UPF network element may include the main UPF network element and the disaster recovery UPF network element function module, which will not be described herein.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 1700 according to such an embodiment of the present application is described below with reference to fig. 17. The electronic device 1700 shown in fig. 17 is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 17, the electronic device 1700 is in the form of a general purpose computing device. The components of electronic device 1700 may include, but are not limited to: the at least one processing unit 1710, the at least one storage unit 1720, and a bus 1730 connecting the different system components (including the storage unit 1720 and the processing unit 1710).
Wherein the storage unit stores program code that is executable by the processing unit 1710, such that the processing unit 1710 performs the steps according to various exemplary embodiments of the present application described in the above section of the "exemplary method" of the present specification.
The storage unit 1720 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 17201 and/or a cache memory unit 17202, and may further include a read only memory unit (ROM) 17203.
The storage unit 1720 may also include a program/utility 17204 having a set (at least one) of program modules 17205, such program modules 17205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 1730 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, a graphics accelerator port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1700 may also communicate with one or more external devices 1740 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1700, and/or any device (e.g., router, modem, etc.) that enables the electronic device 1700 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1750.
Also, electronic device 1700 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, for example, the Internet, through network adapter 1760.
As shown in fig. 17, network adapter 1760 communicates with other modules of electronic device 1700 via bus 1730.
It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 1700, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present application.
In an exemplary embodiment of the present application, a computer-readable storage medium, which may be a readable signal medium or a readable storage medium, is also provided. On which a program product is stored which enables the implementation of the method described above.
In some possible implementations, the various aspects of the present application may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the present application as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
More specific examples of the computer readable storage medium in this application may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present application, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein.
Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing.
A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
In some examples, program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In particular implementations, the program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory.
Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the various steps of the methods herein are depicted in the accompanying drawings in a particular order, this is not required to either suggest that the steps must be performed in that particular order, or that all of the illustrated steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the description of the above embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware.
Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein.
This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

Claims (14)

1. The data transmission method based on the core network is characterized in that the core network comprises a main user plane function UPF network element and a disaster recovery UPF network element, a communication tunnel is arranged between the main UPF network element and the disaster recovery UPF network element, and the method is applied to the main UPF network element and comprises the following steps:
under the condition that the main UPF network element is recovered from faults, first transmission data sent by a first data network DN are received;
and forwarding the first transmission data to the disaster recovery UPF network element through the communication tunnel under the condition that the session of the first transmission data is not created on the main UPF network element, so that the disaster recovery UPF network element sends the first transmission data to first terminal equipment corresponding to the session.
2. The method according to claim 1, characterized in that after said receiving the first transmission data sent by the first data network DN, the method further comprises:
And sending the first transmission data to the first terminal equipment under the condition that the session of the first transmission data is created on the main UPF network element.
3. The method according to claim 1, wherein the method further comprises:
receiving second transmission data to be transmitted to a second DN, which is sent by a second terminal device, under the condition that a communication link between the main UPF network element and the second DN fails;
and forwarding the second transmission data to the disaster recovery UPF network element through the communication tunnel so that the disaster recovery UPF network element sends the second transmission data to the second DN.
4. A method according to claim 1 or 3, characterized in that the method further comprises:
receiving third transmission data to be transmitted to a second terminal device, which is forwarded by the disaster recovery UPF network element, through the communication tunnel under the condition that a communication link between the main UPF network element and a second DN is failed, wherein the third transmission data is sent to the disaster recovery UPF network element by the second DN;
and sending the third transmission data to the second terminal equipment.
5. A method according to claim 1 or 3, characterized in that the method further comprises:
Receiving fourth transmission data sent by a third DN under the condition that a communication link between the main UPF network element and the SMF network element fails;
and forwarding the fourth transmission data to the disaster recovery UPF network element through the communication tunnel under the condition that the session to which the fourth transmission data belongs is not created in the main UPF network element, so that the disaster recovery UPF network element sends the fourth transmission data to a third terminal device corresponding to the session to which the fourth transmission data belongs.
6. The method of claim 5, wherein after said receiving fourth transmission data sent by the third DN, the method further comprises:
and sending the fourth transmission data to the third terminal equipment under the condition that the session to which the fourth transmission data belongs is created in the main UPF network element.
7. The data transmission method based on the core network is characterized in that the core network comprises a main user plane function UPF network element and a disaster recovery UPF network element, a communication tunnel is arranged between the main UPF network element and the disaster recovery UPF network element, and the method is applied to the disaster recovery UPF network element and comprises the following steps:
under the condition that the main UPF network element is recovered from faults, first transmission data sent by the main UPF network element are received through the communication tunnel, wherein the first transmission data are sent to the main UPF network element by a first DN, and a session to which the first transmission data belong is determined not to be created by the main UPF network element;
And sending the first transmission data to first terminal equipment corresponding to the session.
8. The method of claim 7, wherein the method further comprises:
receiving second transmission data to be transmitted to a second DN, which is forwarded by the main UPF network element, through the communication tunnel under the condition that a communication link between the main UPF network element and the second DN is failed, wherein the second transmission data is sent by second terminal equipment;
and sending the second transmission data to the second DN.
9. The method of claim 8, wherein the method further comprises:
receiving third transmission data sent by a second DN under the condition that a communication link between the main UPF network element and the second DN is failed;
and forwarding the third transmission data to the main UPF network element so that the main UPF network element sends the third transmission data to the second terminal equipment.
10. The method according to claim 7 or 8, characterized in that the method further comprises:
receiving fourth transmission data sent by a main UPF network element under the condition that a communication link between the main UPF network element and an SMF network element fails, wherein the fourth transmission data is sent to the main UPF network element by a third DN and a session to which the fourth transmission data belongs is not created is determined by the main UPF network element;
And sending the fourth transmission data to third terminal equipment corresponding to the session.
11. A main UPF network element, wherein a core network to which the main UPF network element belongs further includes a disaster recovery UPF network element, a communication tunnel is provided between the main UPF network element and the disaster recovery UPF network element, and the main UPF network element includes:
the data receiving module is used for receiving first transmission data sent by a first data network DN under the condition that the main UPF network element is in fault recovery;
and the data forwarding module is used for forwarding the first transmission data to the disaster recovery UPF network element through the communication tunnel under the condition that the session of the first transmission data is not created on the main UPF network element, so that the disaster recovery UPF network element sends the first transmission data to first terminal equipment corresponding to the session.
12. The disaster recovery UPF network element is characterized in that a core network to which the disaster recovery UPF network element belongs further comprises a main UPF network element, a communication tunnel is arranged between the main UPF network element and the disaster recovery UPF network element, and the disaster recovery UPF network element comprises:
a data receiving module, configured to receive, in case of failure recovery of the primary UPF network element, first transmission data sent by the primary UPF network element through the communication tunnel, where the first transmission data is sent to the primary UPF network element by a first DN, and it is determined by the primary UPF network element that a session to which the first transmission data belongs is not created;
And the data sending module is used for sending the first transmission data to the first terminal equipment corresponding to the session.
13. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the core network based data transmission method of any of claims 1-10 via execution of the executable instructions.
14. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the core network based data transmission method of any of claims 1-10.
CN202210593645.5A 2022-05-27 2022-05-27 UPF network element, data transmission method, equipment and medium based on core network Active CN115022909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210593645.5A CN115022909B (en) 2022-05-27 2022-05-27 UPF network element, data transmission method, equipment and medium based on core network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210593645.5A CN115022909B (en) 2022-05-27 2022-05-27 UPF network element, data transmission method, equipment and medium based on core network

Publications (2)

Publication Number Publication Date
CN115022909A CN115022909A (en) 2022-09-06
CN115022909B true CN115022909B (en) 2024-01-30

Family

ID=83071515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210593645.5A Active CN115022909B (en) 2022-05-27 2022-05-27 UPF network element, data transmission method, equipment and medium based on core network

Country Status (1)

Country Link
CN (1) CN115022909B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116390272B (en) * 2023-04-11 2024-04-19 广州爱浦路网络技术有限公司 Method, device and electronic equipment for realizing UPF control by using 5G core network PFCP-GW
CN116367204B (en) * 2023-05-31 2023-09-12 阿里巴巴(中国)有限公司 User equipment service processing method, electronic equipment, storage medium and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253627A1 (en) * 2019-06-18 2020-12-24 中国移动通信有限公司研究院 Method and device for establishing and releasing local area network tunnel
CN113573344A (en) * 2021-06-21 2021-10-29 深圳震有科技股份有限公司 SMF session detection method based on 5G and terminal
WO2022042466A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Fault recovery method and apparatus
CN114465948A (en) * 2022-02-16 2022-05-10 中国电信股份有限公司 Main/standby disaster tolerance method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253627A1 (en) * 2019-06-18 2020-12-24 中国移动通信有限公司研究院 Method and device for establishing and releasing local area network tunnel
WO2022042466A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Fault recovery method and apparatus
CN113573344A (en) * 2021-06-21 2021-10-29 深圳震有科技股份有限公司 SMF session detection method based on 5G and terminal
CN114465948A (en) * 2022-02-16 2022-05-10 中国电信股份有限公司 Main/standby disaster tolerance method, device, equipment and medium

Also Published As

Publication number Publication date
CN115022909A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN115022909B (en) UPF network element, data transmission method, equipment and medium based on core network
WO2017036288A1 (en) Network element upgrading method and device
US8984114B2 (en) Dynamic session migration between network security gateways
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN102970160B (en) The method and apparatus of a kind of auxiliary monitor terminal and standby server high-speed traffic
CN104243205A (en) Message processing method and device used during virtual switch fault
CN111988222A (en) Data transmission method and device, electronic equipment and computer readable storage medium
US11924024B2 (en) Switching method and apparatus, device, and storage medium
CN113315665B (en) Message sending method, device, equipment and medium of dual-network-card terminal equipment
CN114465948B (en) Main and standby disaster recovery method, device, equipment and medium
CN111741508B (en) Method, controller, forwarding device, device and medium for establishing communication connection
EP3695569B1 (en) A system and method for providing a layer 2 fast re-switch for a wireless controller
CN108900441B (en) Network switching method, first electronic device and readable storage medium
CN110391987B (en) Method, apparatus and computer readable medium for selecting a designated forwarder from a carrier edge device set
CN101217293B (en) Media operation trusteeship switching system and method
CN115396489A (en) UPF disaster recovery method and device, electronic equipment and computer readable storage medium
CN112492634B (en) Transmission PTN escape circuit implementation method and device based on mobile network
CN114302463A (en) Network switching method, system, device and storage medium
CN114302453A (en) Network element switching method and device, storage medium and electronic equipment
CN114727324B (en) Network disaster recovery processing method and device, storage medium and electronic equipment
JP5767309B2 (en) Emergency switching method and system
CN114727235B (en) Multicast service processing method and device, storage medium and electronic equipment
WO2023233666A1 (en) Uninterrupted redundancy switching device, uninterrupted redundancy switching method, uninterrupted redundancy switching system and program
CN114980232B (en) Network access method, device, system and storage medium
CN110266597B (en) Flow control method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant