Terminal communication method and apparatus, computer device, and storage medium
By obtaining and establishing the N9 interface addresses of public network UPF elements, private network UPF elements, and IPUPS elements, an N9 tunnel is established, which solves the problem that user equipment cannot access the private network and the public network at the same time, and enables user terminals to access both networks.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2026-04-02
AI Technical Summary
In scenarios where user plane functional network elements are deployed to private networks, user equipment cannot access both the private network and the public network simultaneously. This is because the private network UPF network elements and the public network UPF network elements are isolated by inter-network user plane security network elements, which prevents the establishment of uplink classifier sessions.
Obtain the N9 interface addresses of public network UPF network elements, private network UPF network elements, and IPUPS network elements, and establish an N9 tunnel through the signaling interconnection gateway to realize data flow forwarding between public network UPF network elements and private network UPF network elements.
This allows user terminals to access both private and public networks simultaneously, resolving communication barriers caused by IPUPS network element isolation and enabling the normal establishment of ULCL sessions.
Smart Images

Figure CN2025106412_02042026_PF_FP_ABST
Abstract
Description
Terminal communication method and device, computer device and storage medium
[0001] Related applications
[0002] The present application claims priority to the Chinese patent application No. 202411360089.2, filed on September 27, 2024, and entitled "Terminal communication method and device, computer device and storage medium", the contents of which are hereby incorporated by reference in their entirety. TECHNICAL FIELD
[0003] The present application relates to the field of communication technology, and in particular to a terminal communication method and device, a computer device and a storage medium. BACKGROUND
[0004] With the rapid development of the fifth generation communication technology (5G) private network service, the interworking demand between the private network and the public network is increasingly urgent, but this also brings a series of network security, operator control and other problems. In order to solve these problems, a signaling interworking gateway is deployed between the signaling faces of the private network and the public network, and the signaling messages between the two networks need to pass through the signaling interworking gateway for forwarding, so as to realize the functions of network isolation, topology hiding, network security, etc., which not only guarantees the security of the public network and the private network, but also simplifies the complexity of network connection.
[0005] In the scenario of sinking the user plane function (UPF) network element to the private network, some user equipment (UE) has the demand of accessing the private network and the public network at the same time, at this time, the user equipment needs to establish an uplink classifier (ULCL) session, but due to the isolation between the private network UPF network element of the private network and the public network UPF network element of the public network through the inter-PLMN user plane security (IPUPS) network element, the private network UPF network element and the public network UPF network element cannot normally communicate, thereby causing the user equipment to be unable to establish the ULCL session, and also unable to access the private network and the public network at the same time. SUMMARY
[0006] Therefore, it is necessary to provide a terminal communication method and device, a computer device and a storage medium which can access the private network and the public network at the same time.
[0007] In a first aspect, the present application provides a terminal communication method applied to a signaling interworking gateway, the method comprising:
[0008] In a case where the user terminal requests to establish the ULCL session, the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element, and the network element N9 interface address of the IPUPS network element are acquired; and
[0009] The network element N9 interface address is sent to the public network UPF network element and the private network UPF network element, and the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0010] In one of the embodiments, the public network N9 interface address of the public network UPF network element is acquired by:
[0011] The first rule modification request carrying the public network N9 interface address sent by the public network SMF network element is received, wherein the first rule modification request is sent by the public network SMF network element after the public network N9 interface address is acquired from the public network UPF network element.
[0012] In one of the embodiments, the first rule modification request is sent by the public network SMF network element after the first rule configuration response message sent by the public network UPF network element is acquired, wherein the first rule configuration response message carries the public network N9 interface address;
[0013] The first rule configuration response message is sent by the public network UPF network element after receiving the first rule configuration request carrying the first session rule sent by the public network SMF network element;
[0014] The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving the ULCL session establishment request initiated by the user terminal.
[0015] In one of the embodiments, the private network N9 interface address of the private network UPF network element is acquired by:
[0016] The second rule configuration request carrying the second session rule sent by the public network SMF network element is received, wherein the second rule configuration request is sent by the public network SMF network element in a case where the ULCL session establishment request initiated by the user terminal is received;
[0017] The second rule configuration request is forwarded to the private network UPF network element, wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back the second rule configuration response message carrying the private network N9 interface address to the signaling interworking gateway in a case where the session rule configuration is successful;
[0018] Obtain the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0019] In one of the embodiments, the network element N9 interface address of the IPUPS network element is obtained, including:
[0020] In the case of receiving the second rule configuration request, a third session rule configuration request carrying a third session rule is sent to the IPUPS network element, wherein the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in the case of successful session rule configuration, a third rule configuration response message carrying the network element N9 interface address is fed back to the signaling interworking gateway;
[0021] Obtain the network element N9 interface address from the third rule configuration response message fed back by the IPUPS network element.
[0022] In one of the embodiments, the network element N9 interface address is sent to the private network UPF network element, including:
[0023] The public network N9 interface address in the first rule modification request is modified to the network element N9 interface address, and the modified first rule modification request is sent to the private network UPF network element.
[0024] In one of the embodiments, the network element N9 interface address is sent to the public network UPF network element, including:
[0025] The private network N9 interface address in the second rule configuration response message is modified to the network element N9 interface address, and the modified second rule configuration response message is sent to the public network SMF network element;
[0026] The modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0027] In one of the embodiments, the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element, including:
[0028] According to the public network N9 interface address and the private network N9 interface address, a third rule modification request is generated;
[0029] The third rule modification request is sent to the IPUPS network element.
[0030] In a second aspect, the application provides a terminal communication device, which comprises:
[0031] The obtaining module is configured to, in a case where the user terminal requests to establish the ULCL session, obtain a public network N9 interface address of a public network user plane function (UPF) network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an inter-network user plane security (IPUPS) network element.
[0032] The sending module is configured to send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address; wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0033] In one of the embodiments, the obtaining module is further configured to:
[0034] receive a first rule modification request carrying the public network N9 interface address and sent by the public network SMF network element, wherein the first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from the public network UPF network element.
[0035] In one of the embodiments, the first rule modification request is sent by the public network SMF network element after obtaining a first rule configuration response message sent by the public network UPF network element, and the first rule configuration response message carries the public network N9 interface address;
[0036] The first rule configuration response message is sent by the public network UPF network element after receiving a first rule configuration request carrying the first session rule and sent by the public network SMF network element.
[0037] The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving the ULCL session establishment request initiated by the user terminal.
[0038] In one of the embodiments, the obtaining module is further configured to:
[0039] receive a second rule configuration request carrying the second session rule and sent by the public network SMF network element, wherein the second rule configuration request is sent by the public network SMF network element in a case where the ULCL session establishment request initiated by the user terminal is received;
[0040] forward the second rule configuration request to the private network UPF network element, wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back a second rule configuration response message carrying the private network N9 interface address to the signaling interworking gateway in a case where the session rule configuration is successful;
[0041] Obtain the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0042] In one of the embodiments, the obtaining module is further configured to:
[0043] In a case where the second rule configuration request is received, send a third session rule configuration request carrying a third session rule to an IPUPS network element, where the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in a case where the session rule configuration is successful, feed back a third rule configuration response message carrying a network element N9 interface address to the signaling interworking gateway;
[0044] Obtain the network element N9 interface address from the third rule configuration response message fed back by the IPUPS network element.
[0045] In one of the embodiments, the sending module is further configured to:
[0046] Modify the public network N9 interface address in the first rule modification request to the network element N9 interface address, and send the modified first rule modification request to the private network UPF network element.
[0047] In one of the embodiments, the sending module is further configured to:
[0048] Modify the private network N9 interface address in the second rule configuration response message to the network element N9 interface address, and send the modified second rule configuration response message to the public network SMF network element;
[0049] The modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0050] In one of the embodiments, the sending module is further configured to:
[0051] Generate a third rule modification request according to the public network N9 interface address and the private network N9 interface address;
[0052] Send the third rule modification request to the IPUPS network element.
[0053] In a third aspect, the present application further provides a computer device, which comprises a memory and a processor, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:
[0054] In a case where a user terminal requests to establish a ULCL session, obtain a public network N9 interface address of a public network UPF network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an IPUPS network element; and
[0055] send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0056] In a fourth aspect, the present application also provides a non-volatile computer readable storage medium, which stores a computer program, and the computer program causes a processor to implement the following steps when executed by the processor:
[0057] In a case where the user terminal requests to establish the ULCL session, obtaining the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element, and the network element N9 interface address of the IPUPS network element; and
[0058] send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0059] In a fifth aspect, the present application also provides a computer program product, which comprises a computer program, and the computer program causes a processor to implement the following steps when executed by the processor:
[0060] In a case where the user terminal requests to establish the ULCL session, obtaining the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element, and the network element N9 interface address of the IPUPS network element; and
[0061] send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0062] The terminal communication method, device, computer device and storage medium, in the case that the user terminal requests to establish an ULCL session, obtain a public network N9 interface address of a public network UPF network element, a private network N9 interface address of a private network UPF network element and a network element N9 interface address of an IPUPS network element; send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, and the private network UPF network element and the public network UPF network element can forward data streams of the user terminal to each other based on the N9 tunnel, so that the user terminal can access the private network and the public network at the same time. That is, based on the terminal communication method of the present application, even in the case that there is an IPUPS network element between the public network UPF network element and the private network UPF network element, the public network UPF network element and the private network UPF network element can indirectly establish an N9 tunnel through the IPUPS network element, complete the ULCL session establishment, and the user terminal can access the private network and the public network at the same time. The problem that the public network UPF network element and the private network UPF network element cannot normally communicate due to the isolation of the IPUPS network element in the prior art is effectively solved. BRIEF DESCRIPTION OF DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0064] FIG. 1 is an application environment diagram of a terminal communication method provided by an embodiment of the present application.
[0065] FIG. 2 is a flow diagram of a terminal communication method provided by an embodiment of the present application.
[0066] FIG. 3 is a flow diagram of obtaining a public network N9 interface address of a public network UPF network element provided by an embodiment of the present application.
[0067] FIG. 4 is a flow diagram of obtaining a private network N9 interface address of a private network UPF network element provided by an embodiment of the present application.
[0068] FIG. 5 is a flow diagram of obtaining a network element N9 interface address of an IPUPS network element provided by an embodiment of the present application.
[0069] FIG. 6 is a flow diagram of sending a public network N9 interface address and a private network N9 interface address to an IPUPS network element provided by an embodiment of the present application.
[0070] FIG. 7 is a signaling interaction diagram of a terminal communication method according to an embodiment of the present application.
[0071] FIG. 8 is a structural block diagram of a terminal communication apparatus according to an embodiment of the present application.
[0072] FIG. 9 is an internal structural diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0073] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0074] The terminal communication method provided by the embodiments of the present application can be applied in the application environment as shown in FIG. 1. In the case where a user terminal requests to establish an ULCL session, the public network N9 interface address of a public network UPF network element, the private network N9 interface address of a private network UPF network element and the network element N9 interface address of an IPUPS network element are obtained; the network element N9 interface address is sent to the public network UPF network element and the private network UPF network element, and the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address; wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element. In the prior art, as shown in FIG. 1, since the IPUPS network element exists between the public network UPF network element and the private network UPF network element for isolation, the public network UPF network element and the private network UPF network element cannot normally communicate. In this case, if the user terminal is currently accessed to the private network, it needs to pass through the public network UPF network element when accessing the public network, but at this time, there is isolation, which leads to the inability to access the public network. Based on the method of the present application, the public network UPF network element and the private network UPF network element can establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, and can normally communicate, thereby achieving the purpose of the user terminal accessing the private network and the public network at the same time.
[0075] The public network (i.e. the public network DN in FIG. 1) refers to a public wireless communication network established based on the fifth generation mobile communication technology 5G, which provides high-speed, low-latency and high-capacity mobile communication services for the general public. Correspondingly, the private network (i.e. the private network DN in FIG. 1) refers to a private network established based on the fifth generation mobile communication technology 5G, which is usually used for specific organizations, enterprises or application scenarios to provide customized high-speed, low-latency and high-security communication services. It should be noted that the private network and the public network of the present application are described by taking the 5G private network and the 5G public network as examples, and the specific versions of the private network and the public network are not limited.
[0076] Signaling Gateway (SG) is a key device in the communication network, which mainly completes the conversion and interworking between different signaling systems. In different communication networks, there may be great differences in signaling formats and protocols. The role of the signaling gateway is to bridge these differences, so that communication devices in different network environments can effectively exchange information and communicate. The signaling gateway of the present application also has related functions of the present application.
[0077] Uplink Classifier (ULCL) session refers to a special session, that is, when the user's uplink traffic passes through a dedicated UPF network element, part of it is shunted to a private network, and part of it is shunted to a public network UPF network element and forwarded to the public network.
[0078] N9 interface refers to the interface between the private network UPF network element and the public network UPF network element, used to transmit the part of the user ULCL session that is shunted from the private network UPF network element to the public network UPF network element. The private network N9 interface address refers to the N9 interface address of the private network UPF network element. The public network N9 interface address refers to the N9 interface address of the public network UPF network element.
[0079] Session Management Function (SMF) network element is responsible for interacting with the separated user plane, establishing, modifying, and releasing sessions, IP address allocation and management, etc.
[0080] User plane Function (UPF) network element is responsible for routing and forwarding user data packets, data interaction with external data network DN, QoS processing of user plane, implementation of flow control rules (such as gating, redirection, traffic steering), etc. The private network UPF network element refers to the UPF network element sunk into the private network. The public network UPF network element refers to the UPF network element in the public network.
[0081] Packet Forwarding Control Protocol (PFCP) is a protocol used by SMF network element and UPF network element when communicating.
[0082] Radio Access Network (RAN) is a part of the mobile communication network, responsible for connecting user terminals with the core network. RAN is where users directly access the network, and it includes a series of wireless communication technologies, devices and infrastructure, such as base stations, antennas, radio frequencies, etc.
[0083] In one embodiment, FIG. 2 is a flow diagram of a terminal communication method provided by the embodiments of the present application, which is taken as an example of the signaling interworking gateway in FIG. 1, and the method can include the following steps S201-S202.
[0084] S201: In the case of a user terminal requesting to establish a ULCL session, obtaining a public network N9 interface address of a public network UPF network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an IPUPS network element.
[0085] The ULCL session refers to a session that needs to be established when the user terminal requests to access the private network and the public network simultaneously. The private network UPF network element refers to a UPF network element that is sunk into the private network. The public network UPF network element refers to a public network UPF network element. The user terminal (User Equipment, UE for short) refers to a terminal device of a user, and the user terminal of the present application is a terminal device that has a ULCL session requirement, i.e., a terminal device that requests to access the private network and the public network simultaneously. The ULCL session establishment request refers to a session establishment request sent by the user terminal to the SMF network element when the user has a requirement to access the private network and the public network simultaneously. The private network N9 interface address refers to the N9 interface address of the private network UPF network element. The public network N9 interface address refers to the N9 interface address of the public network UPF network element. The network element N9 interface address refers to the N9 interface address of the IPUPS network element.
[0086] As an optional implementation of the embodiments of the present application, the address acquisition request is sent directly or indirectly to the public network UPF network element, so that the public network UPF network element feeds back the public network N9 interface address to the signaling interworking gateway based on the address acquisition request.
[0087] As another optional implementation of the embodiments of the present application, the address acquisition request is sent directly or indirectly to the private network UPF network element, so that the private network UPF network element feeds back the private network N9 interface address to the signaling interworking gateway based on the address acquisition request.
[0088] As still another optional implementation of the embodiments of the present application, the address acquisition request is sent directly or indirectly to the IPUPS network element, so that the IPUPS network element feeds back the network element N9 interface address to the signaling interworking gateway based on the address acquisition request.
[0089] S202: The network element N9 interface address is sent to the public network UPF network element and the private network UPF network element, and the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address.
[0090] The N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0091] As an optional implementation of the embodiment of the present application, the communication indication request carrying the network element N9 interface address is respectively sent to the public network UPF network element and the private network UPF network element, so as to achieve the purpose of sending the network element N9 interface address to the public network UPF network element and the private network UPF network element.
[0092] As another optional implementation of the embodiment of the present application, the communication indication request carrying the public network N9 interface address and the private network N9 interface address is sent to the PUPS network element, so as to achieve the purpose of sending the communication indication request carrying the public network N9 interface address and the private network N9 interface address to the PUPS network element.
[0093] Optionally, based on the optional implementation of the IPUPS network element and the network element N9 interface address for establishing the N9 tunnel, the public network UPF network element sends the session establishment request carrying the public network N9 interface address to the IPUPS network element based on the network element N9 interface address, the IPUPS network element verifies the public network UPF network element based on the pre-received public network N9 interface address, and after verification, the first N9 tunnel is established with the public network UPF network element. The private network UPF network element sends the session establishment request carrying the private network N9 interface address to the IPUPS network element based on the network element N9 interface address, the IPUPS network element verifies the private network UPF network element based on the pre-received private network N9 interface address, and after verification, the second N9 tunnel is established with the private network UPF network element, and the first N9 tunnel and the second N9 tunnel are taken as the N9 tunnel between the public network UPF network element and the private network UPF network element.
[0094] In the case that the user terminal requests to establish the ULCL session, the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element and the network element N9 interface address of the IPUPS network element are obtained; the network element N9 interface address is sent to the public network UPF network element and the private network UPF network element, and the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element. The public network UPF network element and the private network UPF network element establish the N9 tunnel based on the IPUPS network element and the network element N9 interface address, and the private network UPF network element and the public network UPF network element can forward the data flow of the user terminal based on the N9 tunnel, so that the user terminal can access the private network and the public network at the same time. That is, based on the terminal communication method of the present application, even in the case that the IPUPS network element is isolated between the public network UPF network element and the private network UPF network element, the N9 tunnel can be indirectly established between the public network UPF network element and the private network UPF network element through the IPUPS network element, the ULCL session establishment is completed, and the user terminal can access the private network and the public network at the same time. The problem that the public network UPF network element and the private network UPF network element cannot normally communicate due to the isolation of the IPUPS network element in the prior art is effectively solved.
[0095] In one embodiment, in order to obtain the public network N9 interface address of the public network UPF network element, as shown in FIG. 3, the optional implementation of obtaining the public network N9 interface address of the public network UPF network element in step S201 can include the following step S301.
[0096] S301: receiving a first rule modification request carrying the public network N9 interface address sent by the public network SMF network element.
[0097] The first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from the public network UPF network element. The first rule modification request can be a PFCP modification request message. The Packet Forwarding Control Protocol (PFCP) is a protocol used when the SMF network element communicates with the UPF network element.
[0098] Optionally, in the embodiment, the first rule modification request carrying the public network N9 interface address sent by the public network SMF network element is received, and the first rule modification request is parsed to obtain the public network N9 interface address and save the public network N9 interface address.
[0099] Optionally, the first rule modification request in the embodiment is sent by the public network SMF network element after the public network SMF network element obtains the first rule configuration response message (for example, a PFCP establishment response message) sent by the public network UPF network element. The public network N9 interface address is carried in the first rule configuration response message. The first rule configuration response message is sent by the public network UPF network element after the public network UPF network element receives the first rule configuration request sent by the public network SMF network element and carrying the first session rule. The first rule configuration request (for example, a PFCP establishment request message) is sent by the public network SMF network element to the public network UPF network element after the public network SMF network element receives the ULCL session establishment request initiated by the user terminal. Optionally, the first session rule in the embodiment contains the uplink and downlink PDR (Packet Detection Rule, data packet detection rule) rule between a pair of N9 interface and N6 interface in the public network UPF network element. The PDR is a session rule issued by the SMF network element to the UPF network element, which includes how to detect the data packet, how to forward the data packet, and the like. Specifically, the SMF network element sends the first rule configuration request carrying the first session rule to the public network UPF network element after receiving the ULCL session establishment request initiated by the user terminal. The public network UPF network element configures the session rule based on the first session rule, and sends the first rule configuration response message carrying the public network N9 interface address to the public network SMF network element after the session rule configuration is successful. Then, the public network SMF network element sends the first rule modification request carrying the public network N9 interface address to the private network UPF network element through the signaling interworking gateway.
[0100] On the basis of the above-mentioned embodiment, the optional implementation manner of sending the network element N9 interface address to the private network UPF network element is to directly send the network element N9 interface address to the private network UPF network element. Another optional implementation manner is that the signaling interworking gateway modifies the public network N9 interface address in the first rule modification request to the network element N9 interface address, and sends the modified first rule modification request to the private network UPF network element, so as to achieve the purpose of sending the network element N9 interface address to the private network UPF network element.
[0101] It should be noted that the private network UPF network element also needs to send the first rule modification response message (for example, a PFCP modification response message) to the public network SMF network element through the signaling interworking gateway after receiving the first rule modification request, so as to indicate the public network SMF network element that the rule modification is successful.
[0102] In this embodiment, the purpose of sending the public network N9 interface address to the signaling interworking gateway based on the first rule modification request is achieved, and the sending cost is reduced. In addition, the signaling interworking gateway also achieves the purpose of sending the network element N9 interface address to the private network UPF network element by modifying the first rule modification request, and further reduces the sending cost.
[0103] In one embodiment, in order to quickly obtain the private network N9 interface address of the private network UPF network element, as shown in FIG. 4, an optional implementation for obtaining the private network N9 interface address of the private network UPF network element can include the following steps S401-S403.
[0104] S401: receiving a second rule configuration request carrying a second session rule sent by a public network SMF network element.
[0105] The second rule configuration request (for example, a PFCP establishment request message) is sent by the public network SMF network element in the case of receiving a ULCL session establishment request initiated by a user terminal. The second rule configuration request is a request for the private network UPF network element to perform session rule configuration, and the second session rule mainly includes the uplink and downlink PDR rules between a pair of N3 interfaces and N6 interfaces of the private network UPF network element and the uplink and downlink PDR rules between a pair of N3 interfaces and N9 interfaces.
[0106] S402: forwarding the second rule configuration request to the private network UPF network element.
[0107] The second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule (that is, based on the uplink and downlink PDR rules between a pair of N3 interfaces and N6 interfaces and the uplink and downlink PDR rules between a pair of N3 interfaces and N9 interfaces issued to the private network UPF network element), and in the case of successful session rule configuration, a second rule configuration response message carrying the private network N9 interface address is fed back to the signaling interworking gateway.
[0108] S403: obtaining the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0109] The second rule configuration response message is a rule configuration response message sent by the private network UPF network element to the public network SMF network element through the signaling interworking gateway based on the second session rule and in the case of successful session rule configuration.
[0110] Optionally, the private network UPF network element in this embodiment can parse the second rule configuration response message, and then obtain the private network N9 interface address and save the private network N9 interface address.
[0111] In the embodiment, the private network N9 interface address can be obtained from the second rule configuration response message fed back by the private network UPF network element, the complexity of obtaining the private network N9 interface address is effectively reduced, and the obtaining cost is reduced.
[0112] On the basis of the above-mentioned embodiment, in order to send the network element N9 interface address to the public network UPF network element, an optional implementation manner of sending the network element N9 interface address to the public network UPF network element is that the private network N9 interface address in the second rule configuration response message is modified into the network element N9 interface address, and the modified second rule configuration response message is sent to the public network SMF network element. The modified second rule configuration response message is used to instruct the public network SMF network element to send the second rule modification request carrying the network element N9 interface address to the public network UPF network element. The public network UPF network element can obtain the network element N9 interface address based on the second rule modification request.
[0113] It should be noted that after the public network UPF network element receives the second rule modification request, in the case that the rule modification is successful, the public network UPF network element needs to send a corresponding second rule modification response message (for example, a PFCP modification response message) to the public network SMF network element.
[0114] In the embodiment, the private network N9 interface address in the second rule configuration response message is modified into the network element N9 interface address, so that the network element N9 interface address is carried in the second rule modification request sent by the public network SMF network element to the public network UPF network element, which not only achieves the purpose of sending the network element N9 interface address to the public network UPF network element, but also reduces the network element N9 interface sending cost.
[0115] On the basis of the above-mentioned embodiment, in order to obtain the network element N9 interface address of the IPUPS network element, as shown in FIG. 5, an optional implementation manner of obtaining the network element N9 interface address of the IPUPS network element can include the following steps S501 to S502.
[0116] S501: In the case of receiving the second rule configuration request, a third session rule configuration request carrying a third session rule is sent to the IPUPS network element.
[0117] The third session rule configuration request (for example, a PFCP establishment request message) is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in the case that the session rule configuration is successful, a third rule configuration response message carrying the network element N9 interface address is fed back to the signaling interworking gateway. The third session rule mainly includes the uplink and downlink rules between a pair of N9 interfaces of the IPUPS network element.
[0118] S502: Obtain the N9 interface address of the network element from the third rule configuration response message fed back by the IPUPS network element.
[0119] The third rule configuration response message refers to a response message fed back by the IPUPS network element to the signaling interworking gateway after the IPUPS network element receives the third session rule configuration request carrying the third session rule, performs session rule configuration based on the third session rule, and succeeds in the session rule configuration.
[0120] Optionally, in this embodiment, the N9 interface address of the network element can be obtained by parsing the third rule configuration response message fed back by the IPUPS network element.
[0121] In this embodiment, in the case of receiving the second rule configuration request, a third session rule configuration request carrying a third session rule is sent to the IPUPS network element; the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in the case of succeeding in the session rule configuration, feed back a third rule configuration response message carrying the N9 interface address of the network element to the signaling interworking gateway. The N9 interface address of the network element is obtained from the third rule configuration response message fed back by the IPUPS network element. Based on this embodiment, the efficiency of obtaining the N9 interface address of the network element is improved.
[0122] In one embodiment, as shown in FIG. 6, an optional implementation of sending a public network N9 interface address and a private network N9 interface address to an IPUPS network element can include the following steps S601-S602.
[0123] S601: Generate a third rule modification request according to the public network N9 interface address and the private network N9 interface address.
[0124] The third rule modification request refers to a request used to instruct the IPUPS network element to perform rule modification.
[0125] Optionally, the third rule modification request can be a PFCP modification request message, which carries the public network N9 interface address and the private network N9 interface address.
[0126] S602: Send the third rule modification request to the IPUPS network element.
[0127] It should be noted that after the IPUPS receives the third rule modification request and succeeds in the rule modification, a third rule modification response message (for example, a PFCP modification response message) needs to be sent to the signaling interworking gateway.
[0128] In this embodiment, a third rule modification request is generated according to the public network N9 interface address and the private network N9 interface address. The third rule modification request is sent to the IPUPS network element, thereby improving the sending efficiency of the public network N9 interface address and the private network N9 interface address to the IPUPS network element.
[0129] In one embodiment, as shown in FIG. 7, another optional implementation of a terminal communication method can include the following steps S701-S718.
[0130] S701: The SMF network element receives a ULCL session establishment request initiated by a user terminal.
[0131] S702: The SMF network element sends a first rule configuration request carrying a first session rule to a public network UPF network element.
[0132] S703: The SMF network element sends a second rule configuration request carrying a second session rule to a signaling interworking gateway.
[0133] S704: After receiving the second rule configuration request sent by the SMF network element, the signaling interworking gateway forwards the second rule configuration request to a private network UPF network element.
[0134] S705: After receiving the second rule configuration request sent by the SMF network element, the signaling interworking gateway sends a third session rule configuration request carrying a third session rule to an IPUPS network element.
[0135] S706: The IPUPS network element performs session rule configuration based on the third session rule, and feeds back a third rule configuration response message carrying a network element N9 interface address to the signaling interworking gateway in the case that the session rule configuration is successful.
[0136] S707: The public network UPF network element performs session rule configuration based on the first session rule, and sends a first rule configuration response message carrying a public network N9 interface address to a public network SMF network element in the case that the session rule configuration is successful.
[0137] S708: After receiving the first rule configuration response message, the public network SMF network element sends a first rule modification request carrying the public network N9 interface address to the signaling interworking gateway.
[0138] S709: The signaling interworking gateway modifies the public network N9 interface address in the first rule modification request to the network element N9 interface address, and sends the modified first rule modification request to the private network UPF network element.
[0139] S710: The private network UPF network element performs session rule configuration based on the second session rule, and feeds back a second rule configuration response message carrying a private network N9 interface address to the signaling interworking gateway in the case that the session rule configuration is successful.
[0140] S711: The signaling interworking gateway modifies the private network N9 interface address in the second rule configuration response message to the network element N9 interface address, and sends the modified second rule configuration response message to the public network SMF network element.
[0141] S712: The public network SMF network element sends a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0142] S713: The signaling interworking gateway generates a third rule modification request according to the public network N9 interface address and the private network N9 interface address.
[0143] S714: The signaling interworking gateway sends the third rule modification request to the IPUPS network element.
[0144] S715: The private network UPF network element sends a first rule modification response message to the public network SMF network element through the signaling interworking gateway.
[0145] S716: The public network UPF network element sends a second rule modification response message to the public network SMF network element.
[0146] S717: The IPUPS network element sends a third rule modification response message to the signaling interworking gateway.
[0147] S718: The public network SMF network element feeds back a ULCL session establishment response message to the user terminal.
[0148] In this embodiment, in the case that the user terminal requests to establish a ULCL session, the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element, and the network element N9 interface address of the IPUPS network element are obtained; the network element N9 interface address is sent to the public network UPF network element and the private network UPF network element, and the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element. The public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, and the data flow of the user terminal can be forwarded between the private network UPF network element and the public network UPF network element based on the N9 tunnel, so that the user terminal can access the private network and the public network at the same time. That is, based on the terminal communication method of the present application, even in the case that the IPUPS network element is isolated between the public network UPF network element and the private network UPF network element, the N9 tunnel can be indirectly established between the public network UPF network element and the private network UPF network element through the IPUPS network element, the ULCL session establishment is completed, and the user terminal can access the private network and the public network at the same time. The problem that the public network UPF network element and the private network UPF network element cannot normally communicate due to the isolation of the IPUPS network element in the prior art is effectively solved.
[0149] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not strictly limited in sequence, and the steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of the steps or stages is not necessarily sequential, but can be alternately or alternately executed with at least part of other steps or steps or stages in other steps.
[0150] Based on the same inventive concept, the embodiments of the present application also provide a terminal communication device for implementing the terminal communication method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more terminal communication device embodiments provided below can refer to the limitations of the terminal communication method described above, which will not be repeated here.
[0151] In one embodiment, a terminal communication device is also provided. As shown in FIG. 8, it is a structural block diagram of a terminal communication device, which provides a terminal communication device 1, which includes an acquisition module 10 and a sending module 20, wherein:
[0152] The acquisition module 10 is configured to, in the case that the user terminal requests to establish a ULCL session, acquire a public network N9 interface address of a public network user plane function UPF network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an inter-network user plane security IPUPS network element;
[0153] The sending module 20 is configured to send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address; wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0154] The terminal communication device of the application, in the case that the user terminal requests to establish the ULCL session, acquires the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element and the network element N9 interface address of the IPUPS network element; sends the network element N9 interface address to the public network UPF network element and the private network UPF network element, and sends the public network N9 interface address and the private network N9 interface address to the IPUPS network element. The public network UPF network element and the private network UPF network element establish the N9 tunnel based on the IPUPS network element and the network element N9 interface address, and the data flow of the user terminal can be forwarded between the private network UPF network element and the public network UPF network element based on the N9 tunnel, so that the user terminal can access the private network and the public network at the same time. That is, based on the terminal communication method of the application, even in the case that the IPUPS network element exists between the public network UPF network element and the private network UPF network element, the N9 tunnel can be indirectly established between the public network UPF network element and the private network UPF network element through the IPUPS network element, the ULCL session establishment is completed, and the user terminal can access the private network and the public network at the same time. The problem that the public network UPF network element and the private network UPF network element cannot normally communicate due to the isolation of the IPUPS network element in the prior art is effectively solved.
[0155] In one embodiment, the above-mentioned obtaining module 10 is also specifically used for:
[0156] receiving a first rule modification request carrying the public network N9 interface address sent by the public network SMF network element; wherein the first rule modification request is sent by the public network SMF network element after acquiring the public network N9 interface address from the public network UPF network element.
[0157] In one embodiment, the first rule modification request is sent by the public network SMF network element after acquiring the first rule configuration response message sent by the public network UPF network element; wherein the first rule configuration response message carries the public network N9 interface address;
[0158] The first rule configuration response message is sent by the public network UPF network element after receiving the first rule configuration request carrying the first session rule sent by the public network SMF network element;
[0159] The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving the ULCL session establishment request initiated by the user terminal.
[0160] In one embodiment, the above-mentioned obtaining module 10 is also specifically used for:
[0161] receiving a second rule configuration request carrying the second session rule sent by the public network SMF network element; wherein the second rule configuration request is sent by the public network SMF network element in the case of receiving the ULCL session establishment request initiated by the user terminal;
[0162] forwarding a second rule configuration request to the private network UPF network element; wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back a second rule configuration response message carrying a private network N9 interface address to the signaling interworking gateway in the case that the session rule configuration is successful;
[0163] obtaining the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0164] In one embodiment, the obtaining module 10 is further specifically used for:
[0165] in the case that the second rule configuration request is received, sending a third session rule configuration request carrying a third session rule to the IPUPS network element; wherein the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and feed back a third rule configuration response message carrying a network element N9 interface address to the signaling interworking gateway in the case that the session rule configuration is successful;
[0166] obtaining the network element N9 interface address from the third rule configuration response message fed back by the IPUPS network element.
[0167] In one embodiment, the sending module 20 is further specifically used for:
[0168] modifying the public network N9 interface address in the first rule modification request to the network element N9 interface address, and sending the modified first rule modification request to the private network UPF network element.
[0169] In one embodiment, the sending module 20 is further specifically used for:
[0170] modifying the private network N9 interface address in the second rule configuration response message to the network element N9 interface address, and sending the modified second rule configuration response message to the public network SMF network element;
[0171] wherein the modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0172] In one embodiment, the sending module 20 is further specifically used for:
[0173] generating a third rule modification request according to the public network N9 interface address and the private network N9 interface address;
[0174] sending the third rule modification request to the IPUPS network element.
[0175] Each of the modules in the terminal communication device can be implemented by software, hardware, and combinations thereof, in whole or in part. The modules can be embedded in or independent of a processor in the computer device in hardware form, or stored in a memory in the computer device in software form, so as to be invoked and executed by the processor to perform operations corresponding to the modules.
[0176] In an embodiment, a computer device is provided, which can be a platform side, and an internal structure diagram of the computer device can be as shown in FIG. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store interface address related information. The network interface of the computer device is configured to communicate with a user side outside through a network connection. The computer program is executed by the processor to implement a terminal communication method.
[0177] Those skilled in the art can understand that the structure shown in FIG. 9 is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. Specifically, the computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0178] In an embodiment, a computer device is provided, which includes a memory and a processor, and the memory stores a computer program. The processor implements the following steps when executing the computer program:
[0179] In the case where the user terminal requests to establish the ULCL session, the public network N9 interface address of the public network UPF network element, the private network N9 interface address of the private network UPF network element, and the network element N9 interface address of the IPUPS network element are obtained; and
[0180] The network element N9 interface address is sent to the public network UPF network element and the private network UPF network element, and the public network N9 interface address and the private network N9 interface address are sent to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address; wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0181] In an embodiment, the processor further implements the following steps when executing the computer program: obtaining the public network N9 interface address of the public network UPF network element, including:
[0182] receive a first rule modification request carrying a public network N9 interface address sent by a public network SMF network element; wherein the first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from a public network UPF network element.
[0183] In one embodiment, the processor also implements the following steps when executing the computer program: the first rule modification request is sent by the public network SMF network element after obtaining the first rule configuration response message sent by the public network UPF network element; wherein the public network N9 interface address is carried in the first rule configuration response message;
[0184] The first rule configuration response message is sent by the public network UPF network element after receiving the first rule configuration request carrying the first session rule sent by the public network SMF network element;
[0185] The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving the ULCL session establishment request initiated by the user terminal.
[0186] In one embodiment, the processor also implements the following steps when executing the computer program: obtaining a private network N9 interface address of a private network UPF network element, comprising:
[0187] receive a second rule configuration request carrying a second session rule sent by a public network SMF network element; wherein the second rule configuration request is sent by the public network SMF network element in the case of receiving the ULCL session establishment request initiated by the user terminal;
[0188] forward the second rule configuration request to the private network UPF network element; wherein the second rule configuration request is used to instruct the private network UPF network element to configure session rules based on the second session rule, and feed back a second rule configuration response message carrying a private network N9 interface address to the signaling interworking gateway in the case of successful session rule configuration;
[0189] obtain the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0190] In one embodiment, the processor also implements the following steps when executing the computer program: obtaining a network element N9 interface address of an IPUPS network element, comprising:
[0191] In the case of receiving the second rule configuration request, send a third session rule configuration request carrying a third session rule to the IPUPS network element; wherein the third session rule configuration request is used to instruct the IPUPS network element to configure session rules based on the third session rule, and feed back a third rule configuration response message carrying a network element N9 interface address to the signaling interworking gateway in the case of successful session rule configuration;
[0192] Obtain the network element N9 interface address from the third rule configuration response message fed back by the IPUPS network element.
[0193] In one embodiment, the processor, when executing the computer program, also implements the following steps: sending the network element N9 interface address to the private network UPF network element, comprising:
[0194] Modifying the public network N9 interface address in the first rule modification request to the network element N9 interface address, and sending the modified first rule modification request to the private network UPF network element.
[0195] In one embodiment, the processor, when executing the computer program, also implements the following steps: sending the network element N9 interface address to the public network UPF network element, comprising:
[0196] Modifying the private network N9 interface address in the second rule configuration response message to the network element N9 interface address, and sending the modified second rule configuration response message to the public network SMF network element;
[0197] The modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0198] In one embodiment, the processor, when executing the computer program, also implements the following steps: sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element, comprising:
[0199] Generating a third rule modification request according to the public network N9 interface address and the private network N9 interface address;
[0200] Sending the third rule modification request to the IPUPS network element.
[0201] In one embodiment, a non-volatile computer readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, causes the processor to implement the following steps:
[0202] In the case that the user terminal requests to establish a ULCL session, obtaining a public network N9 interface address of a public network UPF network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an IPUPS network element; and
[0203] Sending the network element N9 interface address to the public network UPF network element and the private network UPF network element, and sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address; wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0204] In one embodiment, the computer program is further implemented when executed by the processor to perform the following steps: obtaining a public network N9 interface address of the public network UPF network element, comprising:
[0205] receiving a first rule modification request carrying the public network N9 interface address sent by the public network SMF network element; wherein the first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from the public network UPF network element.
[0206] In one embodiment, the computer program is further implemented when executed by the processor to perform the following steps: the first rule modification request is sent by the public network SMF network element after obtaining a first rule configuration response message sent by the public network UPF network element; wherein the first rule configuration response message carries the public network N9 interface address;
[0207] The first rule configuration response message is sent by the public network UPF network element after receiving a first rule configuration request carrying the first session rule sent by the public network SMF network element;
[0208] The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving a ULCL session establishment request initiated by the user terminal.
[0209] In one embodiment, the computer program is further implemented when executed by the processor to perform the following steps: obtaining a private network N9 interface address of the private network UPF network element, comprising:
[0210] receiving a second rule configuration request carrying a second session rule sent by the public network SMF network element; wherein the second rule configuration request is sent by the public network SMF network element in the case of receiving a ULCL session establishment request initiated by the user terminal;
[0211] forwarding the second rule configuration request to the private network UPF network element; wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back a second rule configuration response message carrying the private network N9 interface address to the signaling interworking gateway in the case of successful session rule configuration;
[0212] obtaining the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0213] In one embodiment, the computer program is further implemented when executed by the processor to perform the following steps: obtaining a network element N9 interface address of the IPUPS network element, comprising:
[0214] In a case of receiving the second rule configuration request, a third session rule configuration request carrying a third session rule is sent to the IPUPS network element; wherein the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in a case of successful session rule configuration, a third rule configuration response message carrying the network element N9 interface address is fed back to the signaling interworking gateway;
[0215] The network element N9 interface address is acquired from the third rule configuration response message fed back from the IPUPS network element.
[0216] In an embodiment, the computer program, when executed by the processor, further implements the following steps: sending the network element N9 interface address to the private network UPF network element, comprising:
[0217] The public network N9 interface address in the first rule modification request is modified to the network element N9 interface address, and the modified first rule modification request is sent to the private network UPF network element.
[0218] In an embodiment, the computer program, when executed by the processor, further implements the following steps: sending the network element N9 interface address to the public network UPF network element, comprising:
[0219] The private network N9 interface address in the second rule configuration response message is modified to the network element N9 interface address, and the modified second rule configuration response message is sent to the public network SMF network element;
[0220] The modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0221] In an embodiment, the computer program, when executed by the processor, further implements the following steps: sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element, comprising:
[0222] The third rule modification request is generated according to the public network N9 interface address and the private network N9 interface address;
[0223] The third rule modification request is sent to the IPUPS network element.
[0224] In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, causes the processor to implement the following steps:
[0225] In a case of a user terminal requesting to establish a ULCL session, a public network N9 interface address of a public network UPF network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an IPUPS network element are acquired; and
[0226] sending a network element N9 interface address to the public network UPF network element and the private network UPF network element, and sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address; wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element.
[0227] In one embodiment, the computer program is further implemented by the processor when executed to perform the following steps: obtaining the public network N9 interface address of the public network UPF network element, comprising:
[0228] receiving a first rule modification request sent by the public network SMF network element and carrying the public network N9 interface address; wherein the first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from the public network UPF network element.
[0229] In one embodiment, the computer program is further implemented by the processor when executed to perform the following steps: the first rule modification request is sent by the public network SMF network element after obtaining a first rule configuration response message sent by the public network UPF network element; wherein the first rule configuration response message carries the public network N9 interface address;
[0230] The first rule configuration response message is sent by the public network UPF network element after receiving a first rule configuration request sent by the public network SMF network element and carrying the first session rule.
[0231] The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving a ULCL session establishment request initiated by the user terminal.
[0232] In one embodiment, the computer program is further implemented by the processor when executed to perform the following steps: obtaining the private network N9 interface address of the private network UPF network element, comprising:
[0233] receiving a second rule configuration request sent by the public network SMF network element and carrying the second session rule; wherein the second rule configuration request is sent by the public network SMF network element in the case of receiving a ULCL session establishment request initiated by the user terminal;
[0234] forwarding the second rule configuration request to the private network UPF network element; wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back a second rule configuration response message carrying the private network N9 interface address to the signaling interworking gateway in the case of successful session rule configuration;
[0235] obtaining the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element.
[0236] In one embodiment, the computer program, when executed by the processor, further implements the following steps: obtaining the network element N9 interface address of the IPUPS network element, comprising:
[0237] In the case of receiving the second rule configuration request, a third session rule configuration request carrying a third session rule is sent to the IPUPS network element; wherein the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in the case of successful session rule configuration, a third rule configuration response message carrying the network element N9 interface address is fed back to the signaling interworking gateway;
[0238] The network element N9 interface address is obtained from the third rule configuration response message fed back by the IPUPS network element.
[0239] In one embodiment, the computer program, when executed by the processor, further implements the following steps: sending the network element N9 interface address to the private network UPF network element, comprising:
[0240] The public network N9 interface address in the first rule modification request is modified to the network element N9 interface address, and the modified first rule modification request is sent to the private network UPF network element.
[0241] In one embodiment, the computer program, when executed by the processor, further implements the following steps: sending the network element N9 interface address to the public network UPF network element, comprising:
[0242] The private network N9 interface address in the second rule configuration response message is modified to the network element N9 interface address, and the modified second rule configuration response message is sent to the public network SMF network element;
[0243] Wherein the modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
[0244] In one embodiment, the computer program, when executed by the processor, further implements the following steps: sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element, comprising:
[0245] According to the public network N9 interface address and the private network N9 interface address, a third rule modification request is generated;
[0246] The third rule modification request is sent to the IPUPS network element.
[0247] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. The non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. The volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0248] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of these technical features does not exist contradictory, it should be considered as the scope of the present application.
[0249] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A terminal communication method applied to a signaling interworking gateway, the method comprising: in a case where a user terminal requests to establish an uplink classifier (ULCL) session, obtaining a public network N9 interface address of a public network user plane function (UPF) network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an inter-network user plane security (IPUPS) network element; sending the network element N9 interface address to the public network UPF network element and the private network UPF network element, and sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, wherein the N9 tunnel is used for mutual forwarding of data streams of the user terminal between the private network UPF network element and the public network UPF network element. 2.The method of claim 1, wherein the obtaining the public network N9 interface address of the public network UPF network element comprises: receiving a first rule modification request carrying the public network N9 interface address and sent by a public network session management function (SMF) network element, wherein the first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from the public network UPF network element. 3.The method of claim 2, wherein the first rule modification request is sent by the public network SMF network element after obtaining a first rule configuration response message sent by the public network UPF network element, and the first rule configuration response message carries the public network N9 interface address; the first rule configuration response message is sent by the public network UPF network element after receiving a first rule configuration request carrying a first session rule and sent by the public network SMF network element; the first rule configuration request is sent by the public network SMF network element to the public network UPF network element after receiving a ULCL session establishment request initiated by the user terminal. 4.The method of claim 1, wherein the obtaining the private network N9 interface address of the private network UPF network element comprises: receiving a second rule configuration request carrying a second session rule and sent by the public network SMF network element, wherein the second rule configuration request is sent by the public network SMF network element in a case where a ULCL session establishment request initiated by the user terminal is received; forwarding the second rule configuration request to the private network UPF network element, wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back a second rule configuration response message carrying the private network N9 interface address to the signaling interworking gateway in a case where the session rule configuration is successful; obtaining the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element. 5.The method of claim 4, wherein the obtaining the network element N9 interface address of the IPUPS network element comprises: In a case of receiving the second rule configuration request, a third session rule configuration request carrying a third session rule is sent to an IPUPS network element, wherein the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and in a case of successful session rule configuration, a third rule configuration response message carrying the network element N9 interface address is fed back to the signaling interworking gateway; The network element N9 interface address is obtained from the third rule configuration response message fed back by the IPUPS network element.
6. The method of claim 2, wherein sending the network element N9 interface address to the private network UPF network element comprises: modifying the public network N9 interface address in the first rule modification request to the network element N9 interface address, and sending the modified first rule modification request to the private network UPF network element.
7. The method of claim 4, wherein sending the network element N9 interface address to the public network UPF network element comprises: modifying the private network N9 interface address in the second rule configuration response message to the network element N9 interface address, and sending the modified second rule configuration response message to the public network SMF network element; wherein the modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element.
8. The method of claim 1, wherein the sending the public network N9 interface address and the private network N9 interface address to the IPUPS network element comprises: generating a third rule modification request according to the public network N9 interface address and the private network N9 interface address; sending the third rule modification request to the IPUPS network element.
9. A terminal communication apparatus configured in an SMF network element, the apparatus comprising: an obtaining module configured to, in a case of a user terminal requesting to establish an uplink classifier (ULCL) session, obtain a public network N9 interface address of a public network user plane function (UPF) network element, a private network N9 interface address of a private network UPF network element, and a network element N9 interface address of an inter-network user plane security (IPUPS) network element; and a sending module configured to send the network element N9 interface address to the public network UPF network element and the private network UPF network element, and send the public network N9 interface address and the private network N9 interface address to the IPUPS network element, so that the public network UPF network element and the private network UPF network element establish an N9 tunnel based on the IPUPS network element and the network element N9 interface address, wherein the N9 tunnel is used for mutual forwarding of data flows of the user terminal between the private network UPF network element and the public network UPF network element.
10. The apparatus of claim 9, wherein the obtaining module is further configured to: receive a first rule modification request carrying a public network N9 interface address sent by a public network SMF network element, wherein the first rule modification request is sent by the public network SMF network element after obtaining the public network N9 interface address from the public network UPF network element. 11.The apparatus of claim 10, wherein the first rule modification request is sent by the public network SMF network element after the public network SMF network element acquires a first rule configuration response message sent by the public network UPF network element, and the first rule configuration response message carries a public network N9 interface address. The first rule configuration response message is sent by the public network UPF network element after the public network UPF network element receives a first rule configuration request sent by the public network SMF network element and carrying a first session rule. The first rule configuration request is sent by the public network SMF network element to the public network UPF network element after the public network SMF network element receives a ULCL session establishment request initiated by a user terminal. 12.The apparatus of claim 9, wherein the acquiring module is further configured to: receive a second rule configuration request sent by the public network SMF network element and carrying a second session rule, wherein the second rule configuration request is sent by the public network SMF network element in a case that the public network SMF network element receives a ULCL session establishment request initiated by a user terminal; forward the second rule configuration request to the private network UPF network element, wherein the second rule configuration request is used to instruct the private network UPF network element to perform session rule configuration based on the second session rule, and feed back a second rule configuration response message carrying a private network N9 interface address to a signaling interworking gateway in a case that the session rule configuration is successful; and acquire the private network N9 interface address from the second rule configuration response message fed back by the private network UPF network element. 13.The apparatus of claim 12, wherein the acquiring module is further configured to: in a case that the second rule configuration request is received, send a third session rule configuration request carrying a third session rule to an IPUPS network element, wherein the third session rule configuration request is used to instruct the IPUPS network element to perform session rule configuration based on the third session rule, and feed back a third rule configuration response message carrying a network element N9 interface address to the signaling interworking gateway in a case that the session rule configuration is successful; and acquire the network element N9 interface address from the third rule configuration response message fed back by the IPUPS network element. 14.The apparatus of claim 10, wherein the sending module is further configured to: modify the public network N9 interface address in the first rule modification request to the network element N9 interface address, and send the modified first rule modification request to the private network UPF network element. 15.The apparatus of claim 12, wherein the sending module is further configured to: modify the private network N9 interface address in the second rule configuration response message to the network element N9 interface address, and send the modified second rule configuration response message to the public network SMF network element; wherein the modified second rule configuration response message is used to instruct the public network SMF network element to send a second rule modification request carrying the network element N9 interface address to the public network UPF network element. 16.The apparatus of claim 9, wherein the sending module is further configured to: generate a third rule modification request according to the public network N9 interface address and the private network N9 interface address. sending the third rule modification request to the IPUPS network element. 17.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in any one of claims 1 to 8 when executing the computer program. 18.A non-volatile computer readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, causes the processor to implement the steps of the method in any one of claims 1 to 8. 19.A computer program product, comprising a computer program, wherein the computer program, when executed by a processor, causes the processor to implement the steps of the method in any one of claims 1 to 8.
Citation Information
Patent Citations
Communication method, user plane gateway and communication system
CN114726829A
Method and device for implementing 5G double-domain private network, and 5G double-domain private network system
CN116528397A
Terminal communication method and device, computer equipment and storage medium
CN119316839A
Network isolation access method, and communication network system, device and storage medium
WO2024001120A1