Method for realizing disaster recovery communication, and related device

By configuring multiple candidate paths between SMF and UPF in a 5G mobile network and switching alternate paths, the problem of session message release caused by inter-node communication failure is solved, and the disaster recovery capability and reliability of the network are improved.

WO2024234644A1PCT designated stage expired Publication Date: 2024-11-21ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/139839
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-17
Filing Date
2023-12-19
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

In 5G mobile network, when the PFCP coupled communication path between the two nodes of SMF and UPF fails, the session message is released, resulting in the termination of network services, and the network security and reliability and processing capabilities cannot be met.

Method used

Disaster recovery communication is achieved by preconfiguring at least two candidate paths between SMF and UPF, selecting one as the main path, and switching to the alternate path when the main path fails.

Benefits of technology

It effectively avoids SMF and UPF to release session messages, improves the network's disaster recovery capabilities in abnormal situations, and meets users' requirements for network security, reliability and processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023139839_21112024_PF_FP_ABST
    Figure CN2023139839_21112024_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of communications. Disclosed are a method for realizing disaster recovery communication, and a related device. The method comprises: a session management function (SMF) network element determining at least two candidate paths between the SMF network element and a user plane function (UPF) network element on the basis of a pre-configured source IP address, and at least two destination IP addresses corresponding to a first logical identifier of the UPF network element; selecting one of the at least two candidate paths as a main path; and on the basis of the main path, sending a PFCP session establishment request message to the UPF network element indicated by the first logical identifier, and when it is determined that a fault occurs in the main path, switching to a standby path other than the main path among the candidate paths for communication.
Need to check novelty before this filing date? Find Prior Art

Description

Method and related equipment for realizing disaster recovery communication

[0001] Cross-references

[0002] The present invention claims priority to a Chinese patent application filed with the Patent Office of China on May 17, 2023, with application number 202310558792.3 and invention name “Method and Related Equipment for Implementing Disaster Recovery Communication”. The entire contents of the application are incorporated herein by reference. Technical Field

[0003] The embodiments of the present application relate to the field of communication technology, and in particular to a method for implementing disaster recovery communication and related equipment. Background Art

[0004] In 5G mobile networks, the N4 interface is a bridge between the SMF (Session Management Function) node and the UPF (User Plane Function) node. It is used to transmit PFCP (Packet Forwarding Control Protocol) request and response messages between the SMF and UPF nodes, such as node management and session management information.

[0005] Before transmitting session messages, a PFCP coupling is established between the SMF and UPF nodes. The SMF and UPF exchange node identifiers, Node IDs, features, and configurations by establishing a PFCP coupling. The Node ID can use FQDN (Fully Qualified Domain Name) or IP address as the value. As shown in Figure 1, SMF-1 and UPF-1 identify the PFCP coupling by the IP address of the other end. However, when a transmission failure such as network congestion or IP address conflict occurs, the communication path between SMF and UPF is disconnected, and SMF and UPF will release the current session message, resulting in the termination of network services, which cannot meet the user's requirements for network security, reliability, and network processing capabilities.

[0006] Summary of the Invention

[0007] The embodiment of the present application provides a method and related equipment for implementing disaster recovery communication, so as to at least solve the problem in the prior art that when the transmission path between the two network element nodes SMF and UPF fails, SMF and UPF release the current session message, resulting in termination of network service.

[0008] In order to solve the above technical problems, this application is implemented as follows:

[0009] In the first aspect, an embodiment of the present application provides a method for realizing disaster recovery communication, including: the session management function SMF network element determines at least two candidate paths between the SMF network element and the UPF network element based on a pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the user plane function UPF network element; selects one of the at least two candidate paths as the main path; sends a PFCP session establishment request message to the UPF network element indicated by the first logical identifier based on the main path, and when it is determined that the main path fails, switches to a backup path other than the main path in the candidate path for communication.

[0010] In the second aspect, an embodiment of the present application provides a method for realizing disaster recovery communication, including: a user plane function UPF network element receives a PFCP session establishment request message sent by a session management function SMF network element; based on the source IP address and destination IP address corresponding to the PFCP session establishment request message, a first target path is determined, and the first target path includes a primary path and a backup path; based on the target communication path, a PFCP session establishment response message is sent to the UPF network element.

[0011] In the third aspect, an embodiment of the present application provides a session management function SMF network element, including: a first determination module, used to determine at least two candidate paths between the SMF network element and the UPF network element based on a pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the user plane function UPF network element; a path selection module, used to select one of the at least two candidate paths as the main path; a communication module, used to send a PFCP session establishment request message to the UPF network element indicated by the first logical identifier based on the main path, and when it is determined that the main path fails, switch to a backup path other than the main path in the candidate path for communication.

[0012] In the fourth aspect, an embodiment of the present application provides a user plane function UPF network element, including: a message receiving module for receiving a PFCP session establishment request message sent by a session management function SMF network element; a second determination module for determining a first target path based on the source IP address and destination IP address corresponding to the PFCP session establishment request message, the target path including a primary path and a backup path; a message sending module for sending a PFCP session establishment response message to the UPF network element based on the target communication path.

[0013] In the fifth aspect, an embodiment of the present application provides a session management function SMF network element, including a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect above are implemented.

[0014] In the sixth aspect, an embodiment of the present application provides a user plane function UPF network element, characterized in that it includes a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the second aspect above are implemented.

[0015] In a seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first or second aspect above are implemented.

[0016] In an eighth aspect, an embodiment of the present application provides a system for implementing disaster recovery communication, comprising the session management function SMF network element as described in the fifth aspect above and the user plane function UPF network element as described in the sixth aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] FIG1 shows a schematic diagram of N4 interface communication based on IP address;

[0019] FIG2 is a schematic diagram showing a flow chart of a method for implementing disaster recovery communication provided in an embodiment of the present application;

[0020] FIG3 shows a schematic diagram of N4 interface communication of PFCP coupled multipath based on shared logical identification provided in an embodiment of the present application;

[0021] FIG4 shows a schematic diagram of a normal process of establishing a PFCP coupling initiated by SMF-1 according to an embodiment of the present application;

[0022] FIG5 shows a schematic diagram of a process of establishing abnormal disaster recovery by PFCP coupling initiated by SMF-1 according to an embodiment of the present application;

[0023] FIG6 shows another flow chart of a method for implementing disaster recovery communication according to an embodiment of the present application;

[0024] FIG7 shows a schematic diagram of a normal process of establishing a PFCP session initiated by SMF-1 according to an embodiment of the present application;

[0025] FIG8 shows a schematic diagram of a process for establishing abnormal disaster recovery for a PFCP session initiated by SMF-1 according to an embodiment of the present application;

[0026] FIG9 shows a schematic structural diagram of a session management function SMF network element provided in an embodiment of the present application;

[0027] FIG10 shows a schematic structural diagram of a user plane function UPF network element provided in an embodiment of the present application;

[0028] FIG11 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0030] Figure 1 shows a schematic diagram of IP-address-based N4 interface communication. The N4 interface transmits PFCP session request and response messages between the SMF and UPF, including information such as node management and session management. Before transmitting PFCP session messages, the two network element nodes, SMF and UPF, must establish a PFCP association. As shown in the figure, MF-1 and UPF-1 identify the PFCP association using the other end's IP address, establishing a transmission path between the two network element nodes. However, if network congestion or an IP address conflict occurs, the communication path between SMF-1 and UPF-1 will be disconnected. At this time, SMF-1 and UPF-1 will release the current session messages, resulting in network service termination.

[0031] Based on this, an embodiment of the present application provides a method for implementing disaster recovery communication. This method introduces the concepts of shared logical identification and PFCP coupled multipathing. Its purpose is to provide an emergency communication mechanism when IP failures of two nodes cause PFCP coupled communication anomalies, thereby improving the disaster recovery capability of device communication when network anomalies occur. Figure 2 shows a flow chart of the method for implementing disaster recovery communication provided by an embodiment of the present application. As shown in the figure, the method specifically includes the following steps:

[0032] S201: The session management function SMF network element determines at least two candidate paths between the SMF network element and the user plane function UPF network element based on a pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the UPF network element.

[0033] S202: Select one candidate path from the at least two candidate paths as a main path.

[0034] S203: Send a PFCP session establishment request message to the UPF network element indicated by the first logical identifier based on the primary path, and switch to a backup path other than the primary path among the candidate paths for communication if it is determined that the primary path fails.

[0035] Through the above steps, since the first logical identifier of the user plane function UPF network element corresponds to at least two destination IP addresses, at least two IP addresses belong to the same network element and share the same logical identifier. The session management function SMF network element can determine at least two candidate paths based on the pre-configured source IP address and at least two destination IP addresses. When the SMF network element initiates a PFCP coupling management or session management request, it selects a transmission path to send a message based on the network element logical identifier and IP address of the UPF. If the transmission path fails, the SMF actively switches to the backup path and resends the PFCP coupling management or session management request message to the opposite UPF. In this way, when an IP failure occurs in the SMF or UPF network element, resulting in PFCP coupling communication abnormality, an emergency mechanism for passing through other candidate paths can be provided, thereby improving the disaster recovery capability of device communication when network abnormalities occur.

[0036] The session management function SMF network element further includes, before determining at least two candidate paths between the SMF network element and the UPF network element based on the pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the user plane function UPF network element:

[0037] S204: The SMF network element sends a PFCP coupling establishment request message to the UPF network element.

[0038] S205: Receive a PFCP coupling establishment response message sent by the UPF network element, where the PFCP coupling establishment response message corresponds to the PFCP coupling establishment request message and includes the first logical identifier of the UPF network element.

[0039] S206: Determine a first mapping relationship between the first logical identifier and a plurality of pre-configured destination IP addresses.

[0040] S207: Based on the first mapping relationship, determine at least two destination IP addresses corresponding to the first logical identifier of the UPF network element.

[0041] This is explained with reference to a specific example. As shown in Figure 3, the logical identifier of the SMF-1 network element is SMF-1, and the logical identifier of the UPF-1 network element is UPF-1. The SMF-1 network element uses m IP addresses for external communication, and the UPF-1 network element uses n IP addresses for external communication, where m ≥ 2 and n ≥ 2. m and n can be set to corresponding values ​​according to specific needs. The IP address of UPF-1 is configured on SMF-1, and the IP address of SMF-1 is configured on UPF-1. SMF-1 and UPF-1 establish m*n transmission paths based on m+n IP addresses for communication on the N4 interface.

[0042] Before transmitting PFCP session messages, a PFCP association is established between the SMF and UPF network elements. As shown in Figures 4 and 5, SMF-1 initiates a PFCP association establishment request message to UPF-1. Based on the configured IP address of UPF-1, SMF-1 selects Path 1 to send the PFCP association establishment request message, carrying the logical Node ID of SMF-1.

[0043] In one possible scenario, as shown in Figure 4, SMF-1 receives the PFCP coupling establishment response message returned by UPF-1, then SMF-1 determines that the status of path 1 is normal, determines a first mapping relationship between UPF-1 and multiple pre-configured destination IP addresses, and based on the first mapping relationship, determines at least two destination IP addresses corresponding to UPF-1 to facilitate the selection of a candidate path for transmitting the PFCP session.

[0044] In another possible situation, as shown in Figure 5, if SMF-1 does not receive the PFCP coupling establishment response message returned by UPF-1, SMF-1 determines that the status of path 1 is abnormal, and then switches to path 2 and resends the PFCP coupling establishment request message. If it receives the PFCP coupling establishment response message returned by UPF-1, SMF-1 determines that the status of path 2 is normal, and the PFCP session can be transferred through path 2 subsequently.

[0045] Through the above steps, at least two destination IP addresses corresponding to the first logical identifier of the UPF network element can be determined, and then the SMF network element determines at least two candidate paths between the SMF network element and the UPF network element based on the pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the user plane function UPF network element, and performs disaster recovery communication through at least two candidate paths.

[0046] Among them, a candidate path is selected from the candidate paths as the main path. When it is determined that the main path fails, communication is switched to a backup path other than the main path among the candidate paths. The backup path can be determined in the following manner: based on the source IP address and the destination IP address corresponding to the first logical identifier, the priority of the backup path is determined; switching to the target backup path in sequence according to the priority until the target backup path meets a preset condition, and communication is performed through the target backup path; wherein the backup path includes the target backup path, and the preset condition is that the target backup path has not failed.

[0047] In a specific implementation, the destination IP address corresponding to the first logical identifier can be divided into a primary IP address and a backup IP address. In this way, the priority of the candidate path between the source IP address and the primary IP address is higher than the priority of the source IP address and the backup IP address. When it is determined that the main path fails, the target backup path is switched in sequence according to the priority until the target backup path is not faulty.

[0048] In one possible implementation, a heartbeat mechanism is introduced to maintain the status of each candidate path, that is, whether the main path fails can be determined in the following manner: a PFCP session establishment response message sent by the UPF network element is received, and the PFCP session establishment response message corresponds to the PFCP session establishment request message; if the PFCP session establishment response message is not received within a preset time period, it is determined that the main path fails.

[0049] After switching to a backup path other than the target path in the candidate path for communication, it also includes: the subsequent request messages of the SMF network element to the user plane function UPF are all communicated through the backup path.

[0050] As shown in Figure 3, if path 1 is used as the primary path and a failure occurs in path 1, the backup path 2 is selected for communication. Subsequent request messages from SMF-1 to UPF-1 are communicated via path 2.

[0051] The embodiment of the present application introduces the concepts of shared logical identification and PFCP coupled multi-path to establish at least two transmission paths between the SMF network element and the UPF network element. When the SMF network element initiates a PFCP node management message or session management message, it selects a transmission path to send the node management message or session management request message based on the network element logical identification and IP address of the peer UPF. If the SMF does not receive the PFCP node management message or session management response message returned by the UPF, it determines that the path is faulty, and the SMF actively switches the path and resends the PFCP node management message or session management request message to the peer UPF. In this way, the faulty path can be discovered in a timely manner, and when it is determined that the path has failed, the path can be switched in a timely manner, avoiding the SMF and UPF from releasing the current session message, thus meeting the user's requirements for network security, reliability, and network processing capabilities.

[0052] FIG6 shows another flow chart of a method for implementing disaster recovery communication provided by an embodiment of the present application. As shown in the figure, the method 600 for implementing disaster recovery communication includes the following steps:

[0053] S601: The user plane function UPF network element receives a PFCP session establishment request message sent by the session management function SMF network element.

[0054] S602: Determine a first target path based on the source IP address and the destination IP address corresponding to the PFCP session establishment request message, where the first target path includes a primary path and a backup path.

[0055] S603: Based on the target communication path, send a PFCP session establishment response message to the UPF network element.

[0056] Through the above steps, since at least two candidate paths are established between the SMF network element and the UPF network element, the SMF network element selects one of the candidate paths as the primary path, and when the primary path fails, it selects other backup paths for communication. Therefore, the user plane function UPF network element first determines the first target path based on the PFCP session establishment request message. The first target path can be the primary path or the backup path. Based on the first target path, the UPF network element sends a PFCP session establishment response message to the network element. In this way, the UPF network element sends the PFCP session establishment response message based on the path selected by the SMF network element that has not failed, and can respond to the PFCP session establishment request message in a timely manner, avoiding the SMF from releasing the current session message and ensuring the stability of the network service.

[0057] Before receiving the PFCP session establishment request message sent by the session management function SMF network element, the method further includes:

[0058] S604: Receive the PFCP coupling establishment request message sent by the UPF network element.

[0059] S605: Determine a second target path based on the source IP address and the destination IP address corresponding to the PFCP association establishment request message.

[0060] S604: Based on the second target path, send a PFCP coupling establishment response message to the UPF network element; the PFCP coupling establishment response message corresponds to the PFCP coupling establishment request message, and the PFCP coupling establishment response message includes the first logical identifier of the UPF network element.

[0061] In a specific implementation, during the process of establishing a PFCP coupling, the user plane function UPF receives a PFCP coupling establishment request message sent by the SMF network element, and based on the second target path determined by the SMF network element, sends a PFCP coupling establishment response message to the SMF network element. The PFCP coupling establishment response message includes the first logical identifier of the UPF network element to establish a candidate path between the SMF network element and the UPF for transmitting the PFCP session.

[0062] Among them, the PFCP coupling establishment request message includes the second logical identifier of the SMF network element; the second target path is determined based on the source IP address and destination IP address corresponding to the PFCP coupling establishment request message, including: determining a second mapping relationship between the second logical identifier and multiple pre-configured source IP addresses; based on the second mapping relationship, determining at least two source IP addresses corresponding to the second logical identifier of the SMF network element; and determining the second target path based on at least two source IP addresses and the destination IP address corresponding to the PFCP coupling establishment request message.

[0063] Through the above steps, the user plane function UPF network element matches the second logical identifier of the SMF network element with the pre-configured source IP address. In this way, the UPF network element can determine the second target path based on at least two source IP addresses and the destination IP address corresponding to the PFCP coupling establishment request message.

[0064] This is explained with a specific example. The PFCP association establishment request message sent by SMF-1 carries SMF-1's Node ID, and the association establishment response returned by UPF-1 carries UPF-1's Node ID. UPF-1 maps the configured SMF-1 IP address to SMF-1's Node ID, and SMF-1 maps the configured UPF-1 IP address to UPF-1's Node ID, meaning that the IP addresses share the same Node ID.

[0065] After the PFCP coupling between the SMF and UPF network elements is successfully established, the PFCP session management process begins. As shown in Figures 7 and 8, SMF-1 initiates the PFCP session establishment process to the peer UPF. Based on the peer UPF's Node ID: the IP address mapped to UPF-1, SMF-1 selects Path 1 to send a PFCP session establishment request, carrying the Node ID of SMF-1.

[0066] In one possible scenario, as shown in FIG5 , if SMF-1 receives a session establishment response message returned by UPF-1, SMF-1 determines that the status of path 1 is normal.

[0067] In another possible situation, as shown in Figure 6, if SMF-1 does not receive the session establishment response message returned by UPF-1, SMF-1 determines that the status of path 1 is abnormal, switches to path 2 and resends the PFCP session establishment request message. If it receives the session establishment response returned by UPF-1, SMF-1 determines that the status of path 2 is normal.

[0068] Figure 9 shows a structural diagram of the session management function SMF network element provided by an embodiment of the present application. As shown in the figure, the session management function SMF network element 900 includes: a first determination module 910, used to determine at least two candidate paths between the SMF network element and the UPF network element based on a pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the user plane function UPF network element; a path selection module 920, used to select one of the at least two candidate paths as the main path; a communication module 930, used to send a PFCP session establishment request message to the UPF network element indicated by the first logical identifier based on the main path, and when it is determined that the main path fails, switch to a backup path other than the main path in the candidate path for communication.

[0069] In a possible embodiment, the session management function SMF network element 900 further includes: a request message sending module, used to send a PFCP coupling establishment request message to the UPF network element; a response message receiving module, used to receive a PFCP coupling establishment response message sent by the UPF network element, the PFCP coupling establishment response message corresponding to the PFCP coupling establishment request message, and the PFCP coupling establishment response message includes the first logical identifier of the UPF network element; a mapping relationship determination module, used to determine a first mapping relationship between the first logical identifier and a plurality of pre-configured destination IP addresses; an IP address determination module, used to determine at least two destination IP addresses corresponding to the first logical identifier of the UPF network element based on the first mapping relationship.

[0070] In one possible embodiment, when the communication module 930 is used to switch to a backup path other than the main path in the candidate path for communication, it is specifically used to: determine the priority of the backup path based on the source IP address and the destination IP address corresponding to the first logical identifier; switch to the target backup path in sequence according to the priority until the target backup path meets a preset condition, and communicate through the target backup path; wherein, the backup path includes a target backup path, and the preset condition is that the target backup path has not failed.

[0071] In one possible embodiment, when the communication module 930 is used to determine that a fault occurs in the main path, it is specifically used to: receive a PFCP session establishment response message sent by the UPF network element, where the PFCP session establishment response message corresponds to the PFCP session establishment request message; and if the PFCP session establishment response message is not received within a preset time period, determine that a fault occurs in the main path.

[0072] In a possible implementation, after being used to switch to a backup path other than the target path among the candidate paths for communication, the communication module 930 is further used to communicate subsequent request messages for the user plane function UPF through the backup path.

[0073] The session management function (SMF) network element provided in an embodiment of the present application includes a first determination module, a path selection module, and a communication module. The first determination module determines at least two candidate paths between the SMF network element and the UPF network element based on a pre-configured source IP address and at least two destination IP addresses corresponding to a first logical identifier of the user plane function (UPF) network element. The path selection module selects one of the at least two candidate paths as a primary path. Furthermore, the communication module sends a PFCP session establishment request message to the UPF network element indicated by the first logical identifier based on the primary path. If it is determined that the primary path has failed, the communication module switches to a backup path other than the primary path among the candidate paths for communication. In this way, when an IP failure occurs in the SMF or UPF network element, resulting in PFCP coupling communication anomalies, an emergency mechanism for communication via other candidate paths can be provided, thereby improving the disaster recovery capability of device communication in the event of network anomalies. At the same time, the SMF and UPF are prevented from releasing current session messages, thereby meeting user requirements for network security, reliability, and network processing capabilities.

[0074] Figure 10 shows a structural diagram of the user plane function UPF network element provided in an embodiment of the present application. As shown in the figure, the user plane function UPF network element 1000 includes: a message receiving module 1010, used to receive a PFCP session establishment request message sent by a session management function SMF network element; a second determination module 1020, used to determine a first target path based on the source IP address and destination IP address corresponding to the PFCP session establishment request message, the target path including a primary path and a backup path; a message sending module 1030, used to send a PFCP session establishment response message to the UPF network element based on the first target path.

[0075] In a possible implementation, the user plane function UPF network element 1000 further includes: a request message receiving module for receiving a PFCP coupling establishment request message sent by the SMF network element; a target path determination module for determining a second target path based on the source IP address and destination IP address corresponding to the PFCP coupling establishment request message; a response message sending module for sending a PFCP coupling establishment response message to the SMF network element based on the second target path; the PFCP coupling establishment response message corresponds to the PFCP coupling establishment request message, and the PFCP coupling establishment response message includes the first logical identifier of the UPF network element.

[0076] In one possible implementation, the PFCP coupling establishment request message includes the second logical identifier of the SMF network element; when the target path determination module is used to determine the second target path based on the source IP address and destination IP address corresponding to the PFCP coupling establishment request message, it is specifically used to: determine a second mapping relationship between the second logical identifier and a plurality of pre-configured source IP addresses; based on the second mapping relationship, determine at least two source IP addresses corresponding to the second logical identifier of the SMF network element; determine the second target path based on at least two of the source IP addresses and the destination IP address corresponding to the PFCP coupling establishment request message.

[0077] The user plane function (UPF) network element provided in an embodiment of the present application includes a message receiving module, a second determination module, and a message sending module. The message receiving module receives a PFCP session establishment request message sent by a session management function (SMF) network element. The second determination module determines a first target path based on the source IP address and destination IP address corresponding to the PFCP session establishment request message. Based on the first target path, the message sending module sends a PFCP session establishment response message to the UPF network element. In this way, the UPF network element sends the PFCP session establishment response message based on the unfailed path selected by the SMF network element, which can respond to the PFCP session establishment request message in a timely manner, avoid the SMF releasing the current session message, and ensure the stability of network services.

[0078] FIG11 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application. Referring to the figure, at the hardware level, the electronic device includes a processor, and optionally, an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage device. Of course, the computer device may also include hardware required for other services.

[0079] The processor, network interface, and memory can be interconnected via an internal bus, such as an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. These buses can be classified as address buses, data buses, and control buses. For ease of illustration, the figure uses only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

[0080] The memory stores programs. Specifically, the programs may include program code, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0081] The processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, forming a device for locating the target user at a logical level. The processor executes the program stored in the memory and specifically performs the method disclosed in the embodiment shown in Figure 2 or Figure 6, and realizes the functions and beneficial effects of each method described in the method embodiments above, which will not be repeated here.

[0082] The methods disclosed in the embodiments shown in FIG. 2 or FIG. 6 of the present application can be implemented in a processor or by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the method can be completed by hardware integrated logic circuits in the processor or by software instructions. The processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0083] The computer device can also execute the methods described in the above method embodiments and realize the functions and beneficial effects of the methods described in the above method embodiments, which will not be repeated here.

[0084] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0085] An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple applications, the electronic device executes the method disclosed in the embodiment shown in Figure 2 or Figure 6 and realizes the functions and beneficial effects of the various methods described in the previous method embodiments, which will not be repeated here.

[0086] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0087] Furthermore, an embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the following process is implemented: the method disclosed in the embodiment shown in Figure 2 or Figure 6 and the functions and beneficial effects of the various methods described in the previous method embodiments are implemented, which will not be repeated here.

[0088] In short, the above description is only a preferred embodiment of the present application and does not limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

[0089] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0090] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0091] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0092] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

Claims

1. A method for implementing disaster recovery communication, wherein: include: The session management function SMF network element determines at least two candidate paths between the SMF network element and the UPF network element based on the pre-configured source IP address and at least two destination IP addresses corresponding to the first logical identifier of the user plane function UPF network element; Selecting one candidate path from at least two candidate paths as a main path; A PFCP session establishment request message is sent to the UPF network element indicated by the first logical identifier based on the main path, and when it is determined that the main path fails, communication is switched to a backup path among the candidate paths except the main path.

2. The method according to claim 1, wherein: Before determining at least two candidate paths between the SMF network element and the UPF network element based on the pre-configured source IP address and the destination IP address corresponding to the first logical identifier of the user plane function UPF network element, the method further includes: The SMF network element sends a PFCP coupling establishment request message to the UPF network element; receiving a PFCP coupling establishment response message sent by the UPF network element, wherein the PFCP coupling establishment response message corresponds to the PFCP coupling establishment request message, and the PFCP coupling establishment response message includes a first logical identifier of the UPF network element; Determine a first mapping relationship between the first logical identifier and a plurality of pre-configured destination IP addresses; Based on the first mapping relationship, determine at least two destination IP addresses corresponding to the first logical identifier of the UPF network element.

3. The method according to claim 1, wherein: The switching to a standby path other than the primary path among the candidate paths for communication includes: Determining the priority of the backup path based on the source IP address and the destination IP address corresponding to the first logical identifier; Switch to the target backup path in sequence according to the priority until the target backup path meets the preset conditions, and communicate through the target backup path; wherein the backup path includes the target The backup path is a preset condition that the target backup path has no failure.

4. The method according to claim 1, wherein: The determining that the primary path fails includes: Receiving a PFCP session establishment response message sent by the UPF network element, where the PFCP session establishment response message corresponds to the PFCP session establishment request message; If the PFCP session establishment response message is not received within a preset time period, it is determined that a failure occurs on the primary path.

5. The method according to claim 1, wherein: After switching to a standby path other than the target path among the candidate paths for communication, the method further includes: The subsequent request messages of the SMF network element to the user plane function UPF are communicated through the backup path.

6. A method for implementing disaster recovery communication, wherein: include: The user plane function UPF network element receives the PFCP session establishment request message sent by the session management function SMF network element; Determine a first target path based on a source IP address and a destination IP address corresponding to the PFCP session establishment request message, where the first target path includes a primary path and a backup path; Based on the first target path, a PFCP session establishment response message is sent to the UPF network element.

7. The method according to claim 6, wherein: Before receiving the PFCP session establishment request message sent by the session management function SMF network element, the method further includes: Receiving a PFCP coupling establishment request message sent by the SMF network element; Determine a second target path based on the source IP address and the destination IP address corresponding to the PFCP association establishment request message; Based on the second target path, a PFCP coupling establishment response message is sent to the SMF network element; the PFCP coupling establishment response message corresponds to the PFCP coupling establishment request message, and the PFCP coupling establishment response message includes the first logical identifier of the UPF network element.

8. The method according to claim 7, wherein: The PFCP coupling establishment request message includes the second logical identifier of the SMF network element; The determining of the second target path based on the source IP address and the destination IP address corresponding to the PFCP association establishment request message includes: Determine a second mapping relationship between the second logical identifier and a plurality of pre-configured source IP addresses; Based on the second mapping relationship, determine at least two source IP addresses corresponding to the second logical identifier of the SMF network element; A second target path is determined based on at least two of the source IP addresses and a destination IP address corresponding to the PFCP association establishment request message.

9. A session management function SMF network element, wherein: include: A first determination module, used to determine at least two candidate paths between the SMF network element and the UPF network element based on at least two destination IP addresses corresponding to the pre-configured source IP address and the first logical identifier of the user plane function UPF network element; A path selection module, configured to select one of the at least two candidate paths as a main path; A communication module is used to send a PFCP session establishment request message to the UPF network element indicated by the first logical identifier based on the main path, and when it is determined that the main path fails, switch to a backup path among the candidate paths other than the main path for communication.

10. A user plane function UPF network element, wherein: include: A message receiving module, used to receive a PFCP session establishment request message sent by a session management function SMF network element; A second determination module, configured to determine a first target path based on a source IP address and a destination IP address corresponding to the PFCP session establishment request message, wherein the target path includes a primary path and a backup path; A message sending module is used to send a PFCP session establishment response message to the UPF network element based on the target communication path.

11. A session management function SMF network element, wherein: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.

12. A user plane function UPF network element, wherein: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 6 to 8 are implemented.

13. A readable storage medium, wherein: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

14. A system for implementing disaster recovery communication, wherein: It includes the session management function SMF network element as described in claim 11 and the user plane function UPF network element as described in claim 12.

Citation Information

Patent Citations

  • UPF disaster recovery method and device, electronic equipment and computer readable storage medium

    CN115396489A

  • User plane function disaster recovery method and communication device

    CN115696408A

  • Gas Insulated Circuit Breaker with flow regulator

    KR1020220144959A

  • Enhanced PFCP association procedure for session restoration

    US20220400410A1