Communication method and device

By using the session management network element of the visited or roaming place in the communication system to create a session based on the private data network identifier, the problem of the terminal device being unable to access the private data network when roaming is solved, and the terminal device is able to access public and private data networks. Access simultaneously and offload public data network traffic in roaming areas, avoiding traffic detours, meeting IP address allocation specifications, and improving user experience and network efficiency.

CN118678490APending Publication Date: 2024-09-20HUAWEI TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310566365.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2023-05-18
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The existing communication system cannot continue to access the private data network when the terminal device is roaming, and the public data network traffic is returned to the home location for processing, resulting in traffic detours and unable to meet IP address allocation specifications.

Method used

Create a session based on the identifier of the private data network through the session management network element in the visiting or roaming location, so that the terminal device can access the public data network and the private data network at the same time, and offload the public data network traffic in the roaming location to avoid traffic detours. Specific methods include receiving information issued by policy control network elements, determining user plane functional network elements that support dedicated data networks, establishing tunnels and traffic distribution rules, and ensuring packet distribution from terminal devices.

Benefits of technology

It enables terminal devices to access private data networks in roaming scenarios, avoids traffic detours, meets IP address allocation specifications, and improves user experience and network efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118678490A
    Figure CN118678490A
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to a communication method and device, and aims to create a session through a visited (or roaming) SMF network element according to an identifier of a private data network, so that a terminal equipment user can access a public data network and the private data network at the same time. The method comprises: a first SMF network element receiving first information from a PCF network element, the first information comprising an identifier of a first dedicated data network signed by a terminal device; the first SMF network element sends a first request comprising the identifier of the first private data network to a second SMF network element supporting the first private data network; the first SMF network element receives a first response including second tunnel information of a second UPF network element from a second SMF network element, wherein the second UPF network element is the UPF network element selected according to the first dedicated data network; and the first SMF network element sends second information to the first UPF network element, wherein the second information comprises the second tunnel information and the first shunting rule.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on March 20, 2023, with application number 202310303879.6 and application name “A Communication Method and Device”, the entire contents of which are incorporated by reference in this application. Technical Field

[0002] The embodiments of the present application relate to the field of communication technology, and in particular, to a communication method and device. Background Art

[0003] At present, the fourth generation (4G) and fifth generation (5G) communication systems support user plane function (UPF) network elements with uplink classifier (ULCL) functions, which can divert user messages to different session anchor points (such as packet data unit (PDU) session anchor points) to enable users to access different data networks at the same time. For example, users can access private data networks of enterprises and public data networks such as the Internet at the same time.

[0004] However, the diversion rules of the private data network messages are usually pre-configured or defined on the session management function (SMF) network element or UPF network element at the location of the private data network, which causes the problem that the user cannot continue to access the private data network when leaving the location of the private data network. Summary of the invention

[0005] An embodiment of the present application provides a communication method and apparatus, which aims to create a session according to the identifier of a private data network through an SMF network element at a visited location (or roaming location), so that a terminal device user can access a public data network and a private data network at the same time, and the public data network traffic is unloaded at the visited location (or roaming location) to avoid traffic detour.

[0006] In a first aspect, an embodiment of the present application provides a communication method, the method comprising: a first session management network element receives first information from a policy control network element, the first information includes an identifier of a first dedicated data network subscribed by a terminal device, and the first session management network element is a visited session management network element of the terminal device; the first session management network element sends a first request to a second session management network element, the first request includes an identifier of the first dedicated data network, and the second session management network element is a session management network element supporting the first dedicated data network; the first session management network element receives a first response from the second session management network element, the first response includes second tunnel information of a second user plane function network element, and the second user plane function network element is a user plane function network element selected by the second session management network element according to the first dedicated data network; the first session management network element sends second information to the first user plane function network element, the second information includes second tunnel information and a first diversion rule, the first diversion rule is used to instruct the first user plane function network element to send a message of the first dedicated data network sent by the terminal device to the second user plane function network element, and the first user plane function network element is a user plane function network element selected for the universal data network subscribed by the terminal device. Optionally, the method further includes: the first session management network element acquiring information of the second session management network element supporting the first dedicated data network through the network storage function network element.

[0007] By adopting the above method, in scenarios where the terminal device user roams across provinces / cities, the session management network element in the roaming location (or visited location) can automatically create a session based on the identifier of the private data network, so that the terminal device user can access the public data network and the private data network at the same time, and the public data network traffic can still be sent to the public data network by the user plane function network element in the visited location, and unloaded in the roaming location (i.e. the visited location), avoiding traffic detour.

[0008] In one possible design, the first information also includes an Internet protocol (IP) address list and / or a domain name list corresponding to the first dedicated data network; the first diversion rule includes an IP address list and / or a domain name list.

[0009] Through the above design, the dynamic diversion rules issued by the policy control function network element can be expanded to carry the domain name and other information corresponding to the dedicated data network, and can support the user plane function network element to divert messages (or traffic) according to the domain name. At the same time, it is avoided that the predefined diversion rules of the home location are configured in the roaming (or visited) session management network element.

[0010] In one possible design, the first request also includes first tunnel information of the first user plane functional network element.

[0011] The above design is conducive to establishing a downlink tunnel between the second user plane function network element selected for the first dedicated data network and the first user plane function network element, thereby facilitating the transmission of downlink messages from the first dedicated data network to the terminal device.

[0012] In one possible design, the first request also includes the IP address of the terminal device.

[0013] Through the above design, it is beneficial for the second user plane functional network element selected for the first dedicated data network to obtain the IP address of the terminal device, and associate the IP address of the terminal device with the dedicated IP address of the terminal device in the first dedicated data network, so as to perform address conversion on the messages transmitted between the first dedicated data network and the terminal device.

[0014] In one possible design, the method further includes: when the terminal device is located within the service range of the second user plane function network element, the first session management network element sends fourth information to the second user plane function network element, the fourth information includes the first tunnel information and the second diversion rule of the first user plane function network element, and the second diversion rule is used to instruct the second user plane function network element to send the message of the non-first dedicated data network sent by the terminal device to the first user plane function network element; before the first session management network element sends the second information to the first user plane function network element, the method further includes: the first session management network element determines that the terminal device moves out of the service range of the second user plane function network element. Optionally, the second diversion rule includes an IP address list and / or domain name list corresponding to the first dedicated data network.

[0015] The above design can support the migration of diversion rules when terminal device users move within and outside the park, thereby improving user experience.

[0016] In a possible design, the method further includes: the first session management network element sends the first tunnel information and the third diversion rule of the first user plane function network element to the third user plane function network element, the third diversion rule is used to instruct the third user plane function network element to send the message of the non-second dedicated data network sent by the terminal device to the first user plane function network element, and the third user plane function network element is the user plane function network element selected by the first session management network element according to the second dedicated data network. Optionally, the third diversion rule includes an IP address list and / or domain name list corresponding to the second dedicated data network.

[0017] Through the above design, it is possible to support the scenario where the dedicated data network of the visited location (or roaming location) and the dedicated data network of the home location are superimposed, thereby realizing secondary diversion of messages.

[0018] In one possible design, when the terminal device accesses 4G in a visited location (or roaming location) (such as accessing the visited location's public land mobile network (PLMN) through a 4G network), the first session management function network element is a session management and packet data network gateway control plane function fusion network element of the visited location; the first user plane function network element is a user plane function and packet data network gateway data plane function fusion network element of the visited location.

[0019] Among them, the session management and packet data network gateway control plane function fusion network element can be a device or network element that integrates the session management function (SMF) network element in the 5G network and the packet data network gateway (PGW)-control plane function (C) in the 4G network, which can be called an SMF&PGW-C network element; the user plane function and packet data network gateway data plane function fusion network element can be a device or network element that integrates the user plane function (UPF) network element in the 5G network and the PGW-user plane function (U) in the 4G network, which can be called an UPF&PGW-U network element.

[0020] In addition, it can be understood that the first session management function network element can not only be an SMF&PGW-C network element, but also an SMF&PGW network element, or an SMF&PGW-C&PGW-U network element, that is, when the terminal device accesses 4G at the visited location, the first session management function network element can not only have the functions of the SMF network element and the PGW-C, but also have the functions of PGW-U. The above-mentioned first session management function network element being an SMF&PGW-C network element is only an example and does not constitute a limitation to the present application.

[0021] Similarly, the first user plane function network element can not only be a UPF&PGW-U network element, but also a UPF&PGW network element, or a UPF&PGW-C&PGW-U network element, that is, when the terminal device accesses 4G at the visited location, the first user plane function network element can not only have the functions of the UPF network element and PGW-U in the 5G network, but also have the functions of PGW-C. The above-mentioned first user plane function network element being a UPF&PGW-U network element is only an example and does not constitute a limitation to the present application.

[0022] Through the above design, terminal device users are supported to roam across provinces / cities and other scenarios. When accessing the roaming area (or visited area) through 4G, the SMF&PGW-C network element in the roaming area (or visited area) can automatically create a session according to the identifier of the private data network, so that the terminal device users can access the public data network and the private data network at the same time, and the public data network traffic can still be sent to the public data network by the user plane function network element of the visited area, and unloaded at the roaming area (i.e. the visited area) to avoid traffic detour.

[0023] In a second aspect, an embodiment of the present application provides a communication method, the method comprising: a first user plane functional network element receives second tunnel information and a first diversion rule from a first session management network element, the first session management network element is a visited session management network element of a terminal device, the first user plane functional network element is a user plane functional network element selected for a universal data network subscribed for the terminal device, the second tunnel information is tunnel information of a second user plane functional network element selected for a first dedicated data network subscribed for the terminal device, the first diversion rule is used to indicate that a message of the first dedicated data network sent by the terminal device is sent to the second user plane functional network element; the first user plane functional network element establishes an uplink tunnel with the second user plane functional network element according to the second tunnel information, and the uplink tunnel is used to transmit messages sent by the first user plane functional network element to the second user plane functional network element.

[0024] In one possible design, the first diversion rule includes an IP address list and / or a domain name list corresponding to the first private data network.

[0025] In one possible design, when the first diversion rule includes a domain name list corresponding to the first dedicated data network, the method also includes: the first user plane functional network element sends a first message from the terminal device to the second user plane functional network element through an uplink tunnel, and the first domain name carried by the first message belongs to the domain name list; the first user plane functional network element receives a second message from the second user plane functional network element, and the second message is a response message to the first message; the first user plane functional network element associates the source IP of the second message with the first domain name.

[0026] In one possible design, the method also includes: the first user plane function network element sends a third message to the second user plane function network element, and the third message includes the IP address of the terminal device.

[0027] In one possible design, when the terminal device accesses the PLMN of the visited location (or roaming location) through 4G (such as accessing the visited location through the 4G network), the first session management function network element is the session management and packet data network gateway control plane function fusion network element of the visited location; the first user plane function network element is the user plane function and packet data network gateway data plane function fusion network element of the visited location.

[0028] In one possible design, the method also includes: the first user plane functional network element converts the 4G and 5G message formats of the messages transmitted between the first dedicated data network and the terminal device.

[0029] The above design can support the terminal device to communicate with the dedicated data network of the home 5G when accessing the 4G in the visited area (or roaming area).

[0030] In a third aspect, an embodiment of the present application provides a communication method, the method comprising: a second session management network element receives a first request from a first session management network element, the first request includes an identifier of a first dedicated data network to which a terminal device has subscribed, the first session management network element is a visited session management network element of the terminal device, and the second session management network element is a session management network element that supports the first dedicated data network; the second session management network element sends a first response to the first session management network element, the first response includes second tunnel information of a second user plane function network element, and the second user plane function network element is a user plane function network element selected by the second session management network element based on the first dedicated data network.

[0031] In one possible design, the first request also includes first tunnel information of the first user plane functional network element, and the method also includes: the second session management network element sends third information to the second user plane functional network element, and the third information includes the first tunnel information.

[0032] In one possible design, the first request also includes the IP address of the terminal device, and the third information also includes the IP address of the terminal device.

[0033] In one possible design, the third information also includes a private IP address of the terminal device in the first private data network.

[0034] In one possible design, the method also includes: the second session management network element obtains a dedicated IP address from a user data management network element, or obtains a dedicated IP address from a server corresponding to the first dedicated data network, such as an authentication, authorization, accounting (AAA) server.

[0035] In a fourth aspect, an embodiment of the present application provides a communication method, the method comprising: a second user plane functional network element receives a third message from a first user plane functional network element, the third message includes an IP address of a terminal device, the first user plane functional network element is a user plane functional network element selected for a universal data network subscribed to by the terminal device, and the second user plane functional network element is a user plane functional network element selected for a first dedicated data network subscribed to by the terminal device; the second user plane functional network element associates the IP address of the terminal device with the dedicated IP address of the terminal device in the first dedicated data network, and the association between the IP address of the terminal device and the dedicated IP address is used to perform address conversion on messages transmitted between the first dedicated data network and the terminal device.

[0036] In one possible design, the method also includes: the second user plane functional network element receives third information from the second session management network element, the third information includes first tunnel information, the first tunnel identifier is the tunnel identifier of the first user plane functional network element, and the second session management network element is a session management network element supporting the first dedicated data network; the second user plane functional network element establishes a downlink tunnel with the first user plane functional network element according to the first tunnel information, and the downlink tunnel is used to transmit messages sent by the second user plane functional network element to the first user plane functional network element.

[0037] In one possible design, the third information also includes a private IP address of the terminal device in the first private data network.

[0038] In a fifth aspect, an embodiment of the present application provides a communication method, the method comprising: a second user plane function network element receives third information from a second session management network element, the third information comprising first tunnel information and an IP address of a terminal device, the first tunnel identifier is a tunnel identifier of the first user plane function network element, the first user plane function network element is a user plane function network element selected for a general data network subscribed to by the terminal device, the second user plane function network element is a user plane function network element selected for a first dedicated data network subscribed to by the terminal device, and the second session management network element is a session management network element supporting the first dedicated data network; the second user plane function network element establishes a downlink tunnel with the first user plane function network element according to the first tunnel information, the downlink tunnel is used to transmit messages sent by the second user plane function network element to the first user plane function network element; and the IP address of the terminal device is associated with the dedicated IP address of the terminal device in the first dedicated data network, and the association between the IP address of the terminal device and the dedicated IP address is used to perform address conversion on messages transmitted between the first dedicated data network and the terminal device.

[0039] In one possible design, the third information also includes a private IP address of the terminal device in the first private data network.

[0040] In a sixth aspect, an embodiment of the present application provides a communication device, which can be used for the communication device of the first aspect. The communication device can be a first session management network element, a component of the first session management network element (such as a processor, a chip, or a chip system, etc.), or a device used in conjunction with the first session management network element, etc.

[0041] In a possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the first aspect, such as a processing unit and an interface unit. The module or unit may be a hardware circuit, or software, or a combination of a hardware circuit and software.

[0042] In the seventh aspect, an embodiment of the present application provides a communication device, which can be used for the communication device of the second aspect. The communication device can be a first user plane function network element, a component of the first user plane function (such as a processor, a chip, or a chip system, etc.), or a device used to match the first user plane function, etc.

[0043] In a possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the second aspect, such as a processing unit and an interface unit. The module or unit may be a hardware circuit, or software, or a combination of a hardware circuit and software.

[0044] In an eighth aspect, an embodiment of the present application provides a communication device, which can be used for the communication device of the third aspect. The communication device can be a second session management network element, a component of the second session management network element (such as a processor, a chip, or a chip system, etc.), or a device used in conjunction with the second session management network element, etc.

[0045] In a possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the third aspect, such as a processing unit and an interface unit. The module or unit may be a hardware circuit, or software, or a combination of a hardware circuit and software.

[0046] In the ninth aspect, an embodiment of the present application provides a communication device, which can be used for the communication device of the fourth aspect or the fifth aspect. The communication device can be a second user plane function network element, a component of the second user plane function (such as a processor, a chip, or a chip system, etc.), or a device matched with the second user plane function, etc.

[0047] In a possible implementation, the communication device may include a module or unit corresponding to the method / operation / step / action described in the fourth aspect or the fifth aspect, such as a processing unit and an interface unit. The module or unit may be a hardware circuit, or software, or a combination of a hardware circuit and software.

[0048] In a tenth aspect, an embodiment of the present application provides a communication device, which includes an interface circuit and a processor, and the processor and the interface circuit are coupled to each other. The processor is used to implement the method of the first aspect or the second aspect or the third aspect or the fourth aspect or the fifth aspect through a logic circuit or an execution instruction. The interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device. It can be understood that the interface circuit can be a transceiver or a transceiver or a transceiver or an input-output interface.

[0049] Optionally, the communication device may further include a memory for storing instructions executed by the processor or storing input data required by the processor to execute instructions or storing data generated after the processor executes instructions. The memory may be a physically independent unit or may be coupled to the processor, or the processor may include the memory.

[0050] In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instructions are stored. When the computer program or instructions are executed by a processor, the method of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect mentioned above can be implemented.

[0051] In the twelfth aspect, the embodiments of the present application also provide a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the method of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect mentioned above can be implemented.

[0052] In the thirteenth aspect, an embodiment of the present application also provides a chip system, which includes a processor, the processor is used to couple with a memory, and the memory is used to store programs or instructions. When the program or instructions are executed by the processor, the method of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect mentioned above can be implemented.

[0053] In the fourteenth aspect, an embodiment of the present application also provides a communication system, which may include: the first session management network element of the first aspect, the first user plane function network element of the second aspect, the second session management network element of the third aspect, and the second user plane function network element of the fourth aspect or the fifth aspect.

[0054] The technical effects that can be achieved in the above-mentioned second to fourteenth aspects can refer to the technical effects that can be achieved in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A schematic diagram of a communication system architecture provided in an embodiment of the present application;

[0056] Figure 2 A schematic diagram of ULCL current splitting provided in an embodiment of the present application;

[0057] Figure 3 A schematic diagram of core network element deployment provided in an embodiment of the present application;

[0058] Figure 4 A schematic diagram of a ULCL current splitting solution provided in an embodiment of the present application;

[0059] Figure 5 One of the schematic diagrams of the communication method provided in the embodiment of the present application;

[0060] Figure 6 A schematic diagram of a logical relationship of cells provided in an embodiment of the present application;

[0061] Figure 7 One of the IP address configuration diagrams provided in the embodiment of the present application;

[0062] Figure 8 The second schematic diagram of IP address configuration provided in the embodiment of the present application;

[0063] Fig. 9 A second schematic diagram of a communication method provided in an embodiment of the present application;

[0064] Fig.10 A schematic diagram of a two-stage flow splitting provided in an embodiment of the present application;

[0065] Fig.11 A schematic diagram of terminal device message diversion provided in an embodiment of the present application;

[0066] Fig.12 The third schematic diagram of the communication method provided in the embodiment of the present application;

[0067] Fig.13 One of the structural schematic diagrams of the communication device provided in the embodiment of the present application;

[0068] Fig.14 The second structural diagram of the communication device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0069] In order to facilitate understanding by those skilled in the art, some terms used in the embodiments of the present application are first explained.

[0070] 1) Dedicated data network (DN), also known as dedicated data network, private network, private network, etc., usually refers to an internal network, which can be the intranet of an enterprise, the intranet of a park, the intranet of a supermarket, etc.

[0071] 2) Universal DN, also known as public network, big network, etc., usually refers to the Internet, or it can refer to the access point or access network of the operator to the Internet, such as China Unicom's 3gnet.

[0072] 3) Anchor UPF network element. In the embodiment of the present application, each UPF network element that can communicate with the DN through the N6 interface can be called an anchor UPF network element, or a UPF network element with an anchor function.

[0073] The technical solution of the embodiment of the present application can be applied to various communication systems, for example, it can be applied to communication systems such as the fourth generation (4G) communication system, the fifth generation (5G) communication system, and can also be applied to communication systems evolved after 5G such as the sixth generation (6G) communication system. The following introduces some network architectures applicable to the present application. In the following introduction, the terminal device is taken as a user equipment (UE) as an example.

[0074] like Figure 1As shown, it is a possible 5G network architecture schematic diagram applicable to the present application, and the 5G network architecture includes UE, data network (DN) and operator network. The operator network may include one or more of the following network elements (or devices): access network (AN) equipment or radio access network (RAN) equipment, user plane function (UPF) network element, access and mobility management function (AMF) network element, session management function (SMF) network element, policy control function (PCF) network element, application function (AF) network element, network slice selection function (NSSF) network element, authentication server function (AUSF) network element, user data management (UDM) network element, network slice-specific authentication and authorization function (NSSAAF) network element. In the above-mentioned operator network, network elements or devices other than access network devices may be referred to as core network elements or core network devices. It is important to understand that Figure 1 The network elements / devices involved in the deployment may be one or more.

[0075] Terminal equipment: The terminal equipment and the access network equipment communicate with each other using a certain air interface technology. The air interface may be a wireless air interface based on the 5G standard, such as the new radio (NR); or, the air interface may be an air interface based on the next generation mobile communication network technology standard of 5G; or, the air interface may be an air interface based on the 4G standard (such as the long term evolution (LTE) system). The terminal equipment may be a user equipment (UE), a handheld terminal, a laptop, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer, a wireless modem, a handheld device, a laptop computer, a cordless phone, a machine type communication (MTC) terminal or other equipment that can access the network.

[0076] Access network equipment: mainly responsible for the wireless resource management, quality of service (QoS) management, data compression and encryption functions on the air interface side. Among them, the access network equipment can be a base station, a pole station, an integrated access and backhaul (IAB) node, a Node B, a mobile base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a wireless access network, a wireless access network equipment, an evolved NodeB (eNodeB) in an LTE system or an evolved LTE system (LTE-Advanced, LTE-A), a next generation NodeB (gNB) in a 5G mobile communication system, a base station in a future mobile communication system, etc.; it can also be a module or unit that completes part of the functions of a base station, for example, a centralized unit (CU) or a distributed unit (DU). The wireless access network equipment can be a macro base station, a micro base station (also called a small station) or an indoor station, a relay node or a donor node, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the access network device.

[0077] In addition, the access network device can also be an untrusted non-3GPP access network device. The untrusted non-3GPP access network device can allow the terminal device and the 3GPP core network to interconnect and interoperate using non-3GPP technologies, where non-3GPP technologies include: wireless fidelity (Wi-Fi), worldwide interoperability for microwave access (WiMAX), code division multiple access (CDMA) networks, etc. Compared with trusted non-3GPP access network devices, which can directly access the 3GPP core network, the network element needs to interconnect and interoperate with the 3GPP core network through a secure tunnel established by a security gateway, where the security gateway is, for example, an evolved packet data gateway (ePDG) or a non-3GPP inter working function (N3IWF) network element.

[0078] AMF network element: It belongs to the core network element and is mainly responsible for signaling processing, such as access control, mobility management, attachment and detachment, and gateway selection. When the AMF network element provides services for a session in a terminal device, it will provide storage resources for the control plane for the session, as well as store the session identifier, the SMF network element identifier associated with the session identifier, etc.

[0079] SMF network element: responsible for user plane network element selection, user plane network element redirection, Internet protocol (IP) address allocation, bearer establishment, modification and release, and QoS control.

[0080] UPF network element: responsible for forwarding and receiving user data in terminal devices. It can receive user data from the data network and transmit it to the terminal device through the access network device; UPF network element can also receive user data from the terminal device through the access network device and forward it to the data network. The transmission resources and scheduling functions that provide services to terminal devices in the UPF network element are managed and controlled by the SMF network element.

[0081] PCF network element: mainly supports providing a unified policy framework to control network behavior, provides policy rules to the control layer network functions, and is responsible for obtaining user contract information related to the policy.

[0082] AUSF network element: mainly provides authentication functions and supports authentication of 3GPP access and Non-3GPP access.

[0083] NEF network element: mainly supports the secure interaction between 3GPP network and third-party applications. NEF network element can safely expose network capabilities and events to third parties to enhance or improve the quality of application services. 3GPP network can also securely obtain relevant data from third parties to enhance the network's intelligent decision-making. At the same time, the network element supports the recovery of structured data from a unified database or the storage of structured data in a unified database.

[0084] UDM network element: The main functions include supporting authentication credentials processing in 3GPP authentication and key negotiation mechanisms, user identity processing, access authorization, registration and mobility management, contract management, short message management, etc.

[0085] UDR network element: Mainly responsible for storing structured data, including contract data and policy data, externally exposed structured data and application-related data.

[0086] NRF network element: The main functions include service discovery, maintaining the NF context of available network function (NF) instances and the services they support.

[0087] NSSF network element: The main functions include selecting a set of network slice instances for terminal devices, determining the allowed NSSAI, and determining the set of AMF network elements that can serve terminal devices.

[0088] AF network element: mainly supports interaction with the 3GPP core network to provide services, such as influencing data routing decisions, policy control functions, or providing some third-party services to the network side.

[0089] The above-mentioned N4 interface is the interface connecting the control plane SMF network element and the user plane UPF network element. The SMF network element can interact with the UPF network element through the N4 interface, and can complete the creation, modification and release of user plane sessions, so that users (ie UE) can access the Internet through the UPF network element.

[0090] The N9 interface is the user plane interface between the intermediate (I)-UPF and UPF, and is used to transmit uplink and downlink user data flows between UPF network elements. When the anchor UPF network element can cover the user's location, the anchor UPF network element is directly connected to the (R)AN through the N3 interface. When the anchor UPF network element cannot cover the user's location, an I-UPF network element is inserted between the anchor UPF network element and the (R)AN. The I-UPF network element is decoupled from the (R)AN connection through the N3 interface and connected to the anchor UPF network element through the N9 interface. In another possible scenario, when the user needs to divert traffic locally, the ULCL UPF network element can be connected to the UPF network element of the auxiliary anchor point and the UPF network element of the main anchor point respectively through the N9 interface.

[0091] The N7 interface is the interface between the SMF network element and the PCF network element. The SMF network element can obtain the session policy from the PCF network element through the N7 interface.

[0092] The N16a interface is the interface between I-SMF and SMF. When a user roams across provinces (or regions) and accesses from the roaming location, the I-SMF network element in the visited (or roaming) province can connect to the SMF network element in the home province through the N16a interface to transmit session information.

[0093] Figure 1 Among them, N1, N2, N5, N6, N7, N8, N10, N11, N12, N13, N15, N22, N58, and N59 are interface sequence numbers. Exemplarily, the meanings of the above interface sequence numbers can be found in the definitions in the 3GPP standard protocol.

[0094] Figure 2A ULCL diversion schematic diagram provided for an embodiment of the present application, the ULCL UPF network element can divert user data, and divert user messages to the PDU session anchor (PDU Session anchor, PSA) 2UPF network element (auxiliary anchor UPF) and PSA1 UPF network element (primary anchor UPF) according to the ULCL rules. Among them, the UL CL UPF network element and the PSA network element are UPF network elements that have or support ULCL and PSA functions. PSA is a PDU session anchor point and is the processing point for terminating the general packet radio service (GPRS) tunneling protocol (GRPS tunnelling protocol, GTP) GTP tunnel. Only the UPF network element that serves as PSA or the UPF network element that has the PSA function can use the N6 interface to connect to the DN. PSA1 UPF and PSA2 UPF network elements can respectively provide N6 interfaces for diverting messages to different DNs. The ULCL UPF network element determines whether to send the uplink message (or traffic) to the primary anchor point or the secondary anchor point after identifying the message according to the diversion rule. Generally, the message matching the diversion rule accesses the local DN through the N6 interface of the secondary anchor point, and the remaining messages are sent to the primary anchor point through the N9 GTP tunnel to access the Internet.

[0095] Still using the 5G network architecture for illustration, refer to Figure 3 As shown in the core network element deployment diagram, AMF network elements, SMF network elements, PCF network elements, charging function (CHF) network elements, etc. are usually deployed according to provinces. The role of the main anchor UPF network element Public network UPF network elements are deployed by city or province, and exit the Internet (i.e. public DN); ULCL UPF network elements and auxiliary anchor UPF network elements are private network UPF network elements, usually deployed in one, deployed at the edge of the operator network, close to the campus DN (i.e. dedicated DN).

[0096] Reference Figure 4The ULCL diversion scheme shown in the figure, for the enterprise intranet (private data network) of the place where the terminal equipment is contracted, the terminal equipment can divert the messages between the enterprise intranet and the internet (public data network) through the private network UPF network element in the city where the enterprise intranet is located. However, AMF network elements, SMF network elements, PCF network elements, etc. are usually deployed according to provinces. Although the SMF network elements and UPF network elements in all provinces and cities support access to the internet, due to the large number of private data networks in the industry, the diversion rules of private data network messages are usually only pre-configured or defined on the SMF network elements or UPF network elements where the private data network is located. When the user roams across provinces / cities, the SMF / UPF of the roaming province / city is used as an anchor point for access. Since the SMF network elements in the roaming province / city cannot directly manage the UPF network elements in the province / city to which it belongs, the diversion rules of private data network messages are usually only pre-configured or defined on the network elements or UPF network elements where the private data network is located. As a result, when the user leaves the location of the private data network, he cannot continue to access the private data network and can only access the Internet. Although there are plans to return all traffic of users in the roaming area to the home province for processing, the public data network traffic in this plan also needs to be returned to the home province for processing, which results in traffic detour. Moreover, when all traffic of users in the roaming area is returned to the home province for processing, the home province (such as the SMF network element in the home province) allocates the IP address of the session to the user instead of the roaming area, which results in failure to meet the IP address allocation specifications.

[0097] In view of this, the present application provides a communication method and apparatus, which aims to create a session by itself according to the identifier of the private data network through the SMF network element of the visited (or roaming) location, so that the terminal device user can access the public data network and the private data network at the same time, and the public data network traffic is unloaded at the visited (or roaming) location to avoid traffic detour. The embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0098] It should be understood that in the embodiment of the present application, the user plane function network element can be the above-mentioned UPF network element, or it can be a network element with the above-mentioned UPF network element function in a future communication system such as a 6G system, the session management network element can be the above-mentioned SMF network element, or it can be a network element with the above-mentioned SMF network element function in a future communication system such as a 6G system, the network storage function network element can be the above-mentioned NRF network element, or it can be a network element with the above-mentioned NRF network element function in a future communication system such as a 6G system, and similar policy control network elements can be the above-mentioned PCF network element, etc., or it can be a network element with the above-mentioned PCF network element function in a future communication system such as a 6G system. In the embodiment of the present application, the specific form of the user plane function network element, the session management network element, etc. is not limited. For the convenience of explanation, in the embodiment of the present application, the user plane function network element is a UPF network element, the session management network element is an SMF network element, and the network storage function network element is an NRF network element as an example for explanation.

[0099] In addition, it should be understood that the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, timing, priority or importance of the multiple objects. For example, the first session management network element and the second session management network element do not mean that the priorities or importance of the two network elements are different.

[0100] Figure 5 A schematic diagram of a communication method provided in an embodiment of the present application, the method comprising:

[0101] S501: The PCF network element sends first information to the first SMF network element, and correspondingly, the first SMF network element receives the first information.

[0102] Among them, the first information includes the identifier of the first dedicated DN signed by the terminal device (such as the data network name (data nnetwork name, DNN) of the first dedicated DN), and the first SMF network element is the visited SMF network element of the terminal device.

[0103] In an embodiment of the present application, the first information may refer to the policy / decision information sent by the PCF network element to the first SMF network element.

[0104] In one possible implementation, when the first SMF network element receives a session establishment or update process from the AMF network element, it can initiate a session management policy association establishment / modification process with the PCF network element. In the session management policy association establishment / modification process, the PCF network element can send first information including the identifier of the dedicated DN signed by the terminal device, the diversion strategy for the terminal device message (or traffic), and other information to the first SMF network element.

[0105] In another possible implementation, the PCF network element may proactively send the first information to the first SMF network element upon recognizing that the user contract information of the terminal device has changed (for example, the service contracted by the terminal device has changed from a public network service to a public network service and a first private network service), and the user has established a session.

[0106] After the first SMF network element obtains the identifier of the first dedicated DN (such as DNN) signed by the terminal device through the first information from the PCF network element, it can determine the information of the second SMF network element that supports the first dedicated DN.

[0107] As an example, the NRF network element, as a network element with network storage function, can accept and save the information of the dedicated DN supported by the SMF network element registration. The dedicated DN supported by the SMF network element can be a dedicated DN within the SMF network element deployment area, and the information of the dedicated DN registered by the SMF network element can include information such as the identifier of the dedicated DN (such as DNN). After the first SMF network element obtains the identifier of the first dedicated DN signed by the terminal device, it can query the SMF network element that registers the first dedicated DN through the NRF network element, thereby obtaining information about the second SMF network element that supports the first dedicated DN, such as the IP address, identifier and other information of the second SMF network element.

[0108] In some implementations, the first SMF network element locally, or network elements such as UDM, may also store the association between the information of some SMF network elements and the dedicated DN registered with the SMF network element. The first SMF network element may also obtain the information of the second SMF network element that supports the first dedicated DN through itself or network elements such as UDM.

[0109] In addition, it can be understood that the first information sent by the PCF network element can also include the identifier of the universal DN signed by the terminal device (such as the DNN of the universal DN), and the first SMF network element can also create a session based on the identifier of the universal DN, such as a session between the terminal device and the universal DN, so that the terminal device can perform universal DN services.

[0110] S502: The first SMF network element sends a first request to the second SMF network element, and correspondingly, the second SMF network element receives the first request.

[0111] After the first SMF network element determines the second SMF network element that supports the first dedicated DN, it can send a first request including the identifier of the first dedicated DN to the second SMF network element, where the first request can be an activation request, a DNN activation request, a dedicated DNN activation request, etc. As an example: in the first request, the identifier of the first dedicated DN (such as the DNN of the first dedicated DN) can be carried by the DNN cell in the request, or the general DNN can be carried by the DNN cell, and the identifier of the first dedicated DN can be carried by the selected DNN cell.

[0112] In some implementations, in order to facilitate the sending of downlink messages of the first dedicated DN to the terminal device, the first request may also carry the first tunnel information of the first UPF network element, where the first UPF network element is a UPF network element selected by the first SMF network element based on the universal DN subscribed to by the terminal device, and the first tunnel information may include the IP address and / or tunnel identifier (such as a tunnel endpoint identifier (TEID)) of the first UPF network element.

[0113] S503: The second SMF network element sends a first response to the first SMF network element, and correspondingly, the first SMF network element receives the first response.

[0114] After receiving the first request, the second SMF network element can select the anchor UPF network element corresponding to the first dedicated DN, that is, the second UPF network element, according to the identifier of the first dedicated DN (such as DNN), and send the first response including the second tunnel information of the second UPF network element to the first SMF network element. The second tunnel information of the second UPF network element may include the IP address and / or tunnel identifier (such as TEID) of the second UPF network element.

[0115] In addition, the second SMF network element can also send the third information including the first tunnel information of the first UPF network element to the second UPF network element, so that the second UPF network element can establish a downlink tunnel with the first UPF network element based on the first tunnel information of the first UPF network element, where the downlink tunnel can be used to transmit messages sent by the second UPF network element to the first UPF network element.

[0116] S504: The first SMF network element sends the second information to the first UPF network element, and correspondingly, the first UPF network element receives the second information.

[0117] The second information includes the second tunnel information and the first diversion rule, and the first diversion rule is used to indicate that the message of the first dedicated DN sent by the terminal device is sent (or diverted) to the second UPF network element. It should be understood that the message of the first dedicated DN sent by the terminal device can also be understood as a message sent by the terminal device with the destination address of the first dedicated DN, or a message sent by the terminal device to the first dedicated DN.

[0118] After the first UPF network element receives the second tunnel information and the first diversion rule from the second UPF network element, it can establish an uplink tunnel with the second UPF network element according to the second tunnel information. The uplink tunnel can be used to transmit messages sent from the first UPF network element to the second UPF network element. And according to the first diversion rule, the messages sent by the terminal device can be diverted. For example: identify the message of the first dedicated DN sent by the terminal device, and send the message of the first dedicated DN to the second UPF network element through the uplink tunnel established with the second UPF network element. For messages from the terminal device other than the first dedicated DN (such as messages through DN), the first user plane function network element can send (or forward) the message to the public DN.

[0119] In a possible implementation, the first diversion rule may include an IP address list and / or a domain name list of the first dedicated DN. The IP address list may include one or more IP addresses corresponding to the first dedicated DN, and the domain name list may include one or more domain names corresponding to the first dedicated DN. For example, the domain name list may include multiple domain names of the network or network subdirectory corresponding to the first dedicated DN, and the IP address list may include the IP addresses corresponding to the network or network subdirectory corresponding to the first dedicated DN, etc.

[0120] Taking the first diversion rule including the IP address list corresponding to the first dedicated DN as an example, after the first UPF network element receives the message from the terminal device, it can identify the destination IP address of the message. If the destination IP address of the message belongs to the IP address list corresponding to the first dedicated DN, the first UPF network element can send (or divert) the message to the second UPF network element, otherwise the first UPF network element will send (or divert) the message to the public DN.

[0121] Taking the first diversion rule including the domain name list corresponding to the first dedicated DN as an example, after the first UPF network element receives the message from the terminal device, it can identify the domain name carried by the message. If the domain name carried by the message belongs to the domain name list corresponding to the first dedicated DN, the first UPF network element can send (or divert) the message to the second UPF network element, otherwise the first UPF network element will send (or divert) the message to the public DN.

[0122] In a possible implementation, the IP address list and / or domain name list corresponding to the first dedicated DN can be obtained through the first information (such as policy / decision information) sent by the PCF network element.

[0123] Refer to Figure 6The schematic diagram of the logical relationship of the cells transmitted on the N7 interface between the PCF network element and the first SMF network element shown in the figure, in the embodiment of the present application, based on the PCC rule 1 (PCC rules-rule1) field that can carry the business rules of the public network (such as the general DN), the PCC rule 2 (PCC rules-rule2) field that can carry the dynamic diversion rules of the private network (such as the first dedicated DN) business, the flow information (flowinformatuin) field, etc., the PCC rule can be extended with a field (such as the Cross-ServiceAreaULCLRuleIndicator field) to indicate that this rule is used for the diversion of messages (or traffic) when the terminal device user roams across regions. The flow description list (flowDescriptionList) and host list (hostList) fields are extended in the flowinformatuin field to carry (or carry) the IP address list and domain name list corresponding to the private network (such as the first dedicated DN). The selected DNN field can also be extended in the location route (RouteToLocation) field to carry the identifier of the home private network (such as the DNN of the first dedicated DN), and the dedicated network slice (dedicatedNetworksnssai) field can be extended to carry the private network slice information (such as the slice information of the first dedicated DN).

[0124] In some implementations, the first SMF network element can also obtain the IP address list and / or domain name list corresponding to the first dedicated DN through the second SMF network element and other network elements that support the first dedicated DN. This application does not limit this.

[0125] In addition, in the case where the first diversion rule includes a domain name list corresponding to the first dedicated DN, after the first UPF network element receives a first message (such as a domain name system (DNS) request message) from a terminal device carrying a first domain name belonging to the domain name list, the first message can be sent to a second UPF network element, and the second message (such as a DNS response message) from the second UPF network element is parsed to obtain the source IP address of the second message, and the source IP of the second message is associated with the first domain name. Through the above method, the first UPF network element can learn the IP address corresponding to the domain name, and after subsequently receiving a message with the destination address as the IP address, it can also send (or divert) the message to the second UPF network element according to the IP address, thereby transmitting it to the first dedicated DN.

[0126] It should be understood that in an embodiment of the present application, for the diversion rules saved by SMF network elements, PCF network elements, or UPF network elements, such as the first diversion rule, it can support the aggregation of IP addresses and / or domain names corresponding to dedicated DNs (such as campus DNs) at the granularity of dedicated DNs to optimize the data structure and save memory overhead.

[0127] In some implementations, after the first SMF network element creates a session of the first dedicated DN, the first UPF network element sends a third message carrying the IP address of the terminal device to the second UPF network element. As an example, the third message may be a message actively constructed by the first UPF network element, and the source IP in the GTP user plane (GRPS tunneling protocol user plane, GTP-U) encapsulation of the message may be the IP address of the terminal device, wherein the IP address of the terminal device may be the IP address of the terminal device at the visited location, such as the public IP address of the terminal device at the public DN, wherein the public IP address of the public DN may also be referred to as a public network IP address, etc., which may be allocated to the terminal device by the first SMF network element at the visited location, such as being allocated to the terminal device during the process of establishing a session from the terminal device to the public DN by the first SMF network element.

[0128] After receiving the third message, the second UPF network element can associate the IP address of the terminal device with the private IP address of the terminal device in the first private DN. The association between the IP address of the terminal device and the private IP address is used to perform address conversion on the message transmitted between the first private DN and the terminal device. For the downlink message between the first private DN and the terminal device, the private IP address (i.e., private network IP) can be replaced with the IP address of the terminal device (i.e., public or public network IP address). For the uplink message between the first private DN and the terminal device, the IP address of the terminal device (i.e., public or public network IP address) is replaced with the private IP address (i.e., private network IP), supporting 1:1 address conversion of the IP address of the terminal device (i.e., public or public network IP address) and the private IP address (i.e., private network IP). It should be understood that the address conversion in the embodiment of the present application can be used for IP address conversion or replacement at the network layer (3 layers), application layer, etc.

[0129] In addition, the GTPU private extension header (such as the GTPU message header) carried by the third message sent by the first UPF network element may also carry indication information that the third message is a message constructed by the network itself. The second UPF network element may not charge for the third message carrying the indication information and may not forward it to the first dedicated DN. It may only be used to obtain the IP address of the terminal device assigned to the visited location (or roaming location).

[0130] In some implementations, the first SMF network element may also send the IP address of the terminal device to the second SMF network element, and the second SMF network element may send the IP address of the terminal device to the second UPF network element. As an example, when the first SMF network element sends a first request to the second SMF network element through the N16a interface, the first request may also carry the IP address of the terminal device, and when the second SMF network element sends the third information including the first tunnel information of the first UPF network element to the second UPF network element, the third information may also carry the IP address of the terminal device, etc., so that the second UPF network element can know the IP address of the terminal device in the visited location (or roaming location).

[0131] It should be understood that in the embodiment of the present application, the dedicated IP address of the terminal device in the first dedicated DN can be allocated to the terminal device by the second UPF network element, or it can be allocated to the terminal device by the second SMF network element, the UDM network element, the server corresponding to the first dedicated DN, such as the authentication, authorization, accounting (AAA) server, etc., and sent to the second UPF network element by the second SMF network element, etc. For example: the second SMF network element can also carry the dedicated IP address of the terminal device in the first dedicated DN in the third information sent to the second UPF network element.

[0132] Reference Figure 7 As shown, the information of the universal DN and the dedicated DN (such as the first dedicated DN) signed by the terminal device can be saved in the UDM network element, and the dedicated IP address (static) signed by the terminal device in the first dedicated DN can also be saved or configured. After the second SMF network element receives the first request from the first SMF network element (including the identifier of the first dedicated DN and the IP address of the terminal device (public or public network IP address)), the second SMF network element can query the dedicated IP address signed by the terminal device in the first dedicated DN through the UDM network element, and can carry the dedicated IP address and the IP address of the terminal device (public or public network IP address) in the third information sent to the second UPF network element, so that the second UPF network element can associate the IP address of the terminal device with the dedicated IP address of the terminal device in the first dedicated DN, which is used for address conversion of messages transmitted between the first dedicated DN and the terminal device.

[0133] Reference Figure 8As shown, after the second SMF network element receives the first request from the first SMF network element (including the identifier of the first dedicated DN and the IP address of the terminal device (public or public network IP address)), the second SMF network element can obtain the dedicated IP address allocated by the AAA server to the terminal device in the first dedicated DN through the AAA server associated with the first dedicated DN, and can carry the dedicated IP address of the terminal device in the first dedicated DN and the IP address of the terminal device (public or public network IP address) in the third information sent to the second UPF network element, so that the second UPF network element can associate the IP address of the terminal device with the dedicated IP address of the terminal device in the first dedicated DN, which is used to perform address conversion on the message transmitted between the first dedicated DN and the terminal device. In addition, it should be understood that the data or information exchanged between the second SMF network element and the AAA server can be transferred by the second UPF network element, etc.

[0134] In some implementations, the second SMF network element can also obtain the dedicated IP address pool of the first dedicated DN through a server associated with the first dedicated DN, such as an AAA server, and the dedicated IP address pool includes multiple dedicated IP addresses. After the second SMF network element obtains the dedicated IP address pool from the AAA server, the second SMF network element can allocate a dedicated IP address to the terminal device in the dedicated IP address pool, or send the dedicated IP address pool to the second UPF network element, and the second UPF network element allocates a dedicated IP address to the terminal device in the dedicated IP address pool.

[0135] The first dedicated DN is a campus DN, the public DN is the internet, and the terminal device accesses the campus DN of the terminal device's home location in the roaming location. The communication method provided in the embodiment of the present application is described. The method may include:

[0136] S901: The second SMF network element at the home location registers the first dedicated DN supported by the NRF network element.

[0137] S902: The PCF network element sends first information to the first SMF network element in the roaming location.

[0138] Among them, the first information may include the identifier of the campus DN signed by the terminal device (such as the DNN of the campus DN), and the IP address list and / or domain name list corresponding to the campus DN.

[0139] S903: The first SMF network element in the roaming location obtains the information of the second SMF network element in the home location through the NRF network element.

[0140] S904: The first SMF network element in the roaming location sends a first activation request to the second SMF network element in the home location, and the first activation request carries the identifier of the campus DN.

[0141] S905: The second SMF network element at the home location selects the second UPF network element for the campus DN according to the identifier of the campus DN.

[0142] In addition, the first activation request may also carry the first tunnel information of the first UPF network element, and the second SMF network element at the home location may also send the first tunnel information to the second UPF network element for the second UPF network element to establish a downlink tunnel with the first UPF network element.

[0143] S906: The second SMF network element in the home location sends a first activation response to the first SMF network element in the roaming location, wherein the activation response carries the second tunnel information of the second UPF network element.

[0144] S907: The first SMF network element in the roaming location sends second information to the first UPF, where the second information includes second tunnel information and the first diversion rule.

[0145] The first diversion rule is used to indicate that the message of the campus DN sent by the terminal device is sent to the second UPF network element. The first UPF network element can establish an uplink tunnel with the second UPF network element according to the second tunnel information, and can divert the message of the campus DN from the terminal device and the message of the Internet according to the first diversion rule, such as sending the message of the campus DN from the terminal device to the second UPF network element through the uplink tunnel established with the second UPF network element, so that the second UPF network element forwards it to the campus DN, and sends the message from the Internet of the terminal device to the Internet.

[0146] In addition, the first UPF network element can also construct a GTPU message carrying the IP address assigned to the terminal device by the first SMF network element or the first UPF network element, and send it to the second UPF network element. The second UPF network element will associate the IP address of the terminal device with the dedicated IP address of the terminal device in the campus DN, which is used to perform address conversion on messages transmitted between the campus DN and the terminal device.

[0147] Above Fig. 9 The implementation of the communication method shown can refer to the above Figure 5 The introduction of the communication method shown will not be repeated here.

[0148] In addition, considering some scenarios, some dedicated DNs for implementing specific services may be deployed in specific areas. Regardless of whether the terminal device user is a user in the location of the dedicated DN for the specific service (such as the local city or province), the dedicated DN for the specific service can be used when entering the specific area of ​​the service. In this embodiment of the present application, multi-level diversion of terminal device messages can also be supported.

[0149] For example: when there is a second dedicated DN in the visited location (or roaming location) of the terminal device, the first SMF network element in the visited location can also send the first tunnel information and the third diversion rule of the first UPF network element to the third UPF network element. The third diversion rule is used to instruct the third user plane function network element to send the message of the non-second dedicated DN sent by the terminal device to the first UPF network element. The third UPF network element is the UPF network element selected by the first SMF network element according to the second dedicated DN. The third diversion rule may include an IP address list and / or domain name list corresponding to the second dedicated DN.

[0150] Reference Fig.10 As shown, take the case where the second dedicated DN is a supermarket DN, the first dedicated DN is a campus DN, the passing DN is the internet, and the terminal device is a dual-domain user of the campus DN and the internet as an example. The third UPF network element in the roaming location has the function of ULCL+secondary anchor point (corresponding to the anchor point of the supermarket DN), and can perform primary diversion of the message from the terminal device according to the third diversion rule, and send the message from the supermarket DN of the terminal device to the supermarket DN, and send the message from the non-supermarket DN of the terminal device (such as campus DN and internet messages) to the first UPF network element. The first UPF network element has the function of the main anchor point (corresponding to the anchor point of the internet), and can perform secondary diversion of the message from the third UPF network element according to the first diversion rule, and send the message from the campus DN to the second UPF network element, and send the message from the internet to the internet. In addition, the first SMF network element can also send the first diversion rule, the billing rules for the campus DN's messages (or traffic), the billing rules for the internet's messages (or traffic), the billing rules for the supermarket DN's messages (or traffic), etc. to the third UPF network element for billing the traffic of the terminal device.

[0151] exist Fig.10 In the example, through secondary diversion, the Internet messages sent by the terminal device can be unloaded at the roaming location, and the campus DN traffic at the home location is diverted to the second UPF network element at the home location as the campus DN anchor point.

[0152] In some implementations, when the visited location of the terminal device is the same as the location of the first dedicated DN, such as the same province or city, the communication method of the present application can also be used, that is, the second SMF network element of the visited location can also be the same SMF network element as the first SMF network element supporting the first dedicated DN.

[0153] Reference Fig.11 The schematic diagram of terminal device message diversion is shown in FIG. Fig.11In the enterprise intranet identifier first private DN, internet identifier public DN. In the case where the terminal device is located within the service range of the second UPF network element, the first SMF network element (such as Fig.11 The SMF network element in the second UPF network element) can send fourth information to the second UPF network element, the fourth information includes the first tunnel information and the second diversion rule of the first UPF network element, the second diversion rule may include an IP address list and / or a domain name list corresponding to the first dedicated DN, and the second diversion rule is used to instruct the second UPF network element to send the message of the non-first dedicated DN sent by the terminal device to the first UPF network element; when the first SMF determines that the terminal device moves out of the service scope of the second UPF network element, the first SMF network element can send second information to the first UPF network element, the second information includes the second tunnel information and the first diversion rule.

[0154] That is to say, when the terminal device is located within the business scope of the first dedicated DN (such as the park corresponding to the first dedicated DN), the SMF network element can send the diversion rules to the second UPF network element (that is, the private network UPF corresponding to the dedicated DN), and use the second UPF to divert messages. When the terminal device is located outside the business scope of the first dedicated DN, the SMF network element can send the diversion rules to the first UPF network element (that is, the large network or public network UPF corresponding to the universal DN), and use the first UPF network element to divert messages. The SMF network element realizes the migration of the ULCL diversion point according to the user location of the terminal device.

[0155] In addition, it should be understood that the above is mainly introduced from the perspective that both the home location and the visited location (roaming location) are 5G networks, and the terminal device is accessed through the 5G network in the visited location. It can be understood that in some implementations, the terminal device can also use 4G access in the visited location (roaming location) (such as accessing the visited location public land mobile network (PLMN) through the 4G network). When the terminal device accesses the visited location through 4G, the first session management function network element (that is, the first SMF network element mentioned above) can also be a session management and packet data network gateway control plane function fusion network element of the visited location, such as a network element with SMF network elements in 5G networks and PGW-C functions in 4G networks, which can be called SMF&PGW-C network elements; the first user plane function network element (such as the first UPF network element mentioned above) can be a user plane function and packet data network gateway data plane function fusion network element, such as a network element with UPF network elements in 5G networks and PGW-U functions in 4G networks, which can be called UPF&PGW-U network elements.

[0156] In a possible implementation, the mobile management entity (MME) of the visited location can select SMF&PGW-C network element access for the terminal device when the accessed terminal device has signed a 5G dedicated DN (such as the first dedicated DN).

[0157] In addition, when the terminal device uses 4G access in the visited area (roaming area), the UPF&PGW-U network element can also convert the messages transmitted between the first dedicated DN and the terminal device into 4G and 5G message formats to support the transmission of messages between the first dedicated DN and the terminal device.

[0158] Taking the GTP-U message transmitted between the first dedicated DN and the terminal device as an example, since the terminal device uses 4G to access the visited location, the message sent by the terminal device to the first dedicated DN is a 4G GTP-U message. After the UPF&PGW-U network element receives the 4G GTP-U message, it can convert the message into a 5G GTP-U message, such as adding the QoS flow identifier (Qos flow identifier) ​​and other fields required by the 5G GTP-U message in the 4G GTP-U message header, converting the 4G GTP-U message into a 5G GTP-U message and sending it to the first dedicated DN; similarly, the message sent from the first dedicated DN to the terminal device is a 5G GTP-U message. After receiving the 5G GTP-U message, the UPF&PGW-U network element can convert the message into a 4G GTP-U message, such as deleting the QoS flow identifier and other fields required only by the 5G GTP-U message in the 5GGTP-U message header, and converting the 5G The GTP-U message is converted into a 4GGTP-U message and sent to the terminal device.

[0159] In addition, it can be understood that in the embodiments of the present application, the first session management function network element can not only be an SMF&PGW-C network element, but also an SMF&PGW network element, or an SMF&PGW-C&PGW-U network element, that is, when the terminal device accesses 4G at the visited location, the first session management function network element can not only have the functions of the SMF network element and the PGW-C, but also have the functions of PGW-U. The first session management function network element being an SMF&PGW-C network element is only an example and does not constitute a limitation to the present application.

[0160] Similarly, the first user plane function network element can not only be a UPF&PGW-U network element, but also a UPF&PGW network element, or a UPF&PGW-C&PGW-U network element. That is, when the terminal device accesses 4G at the visited location, the first user plane function network element can not only have the functions of the UPF network element and the PGW-U in the 5G network, but also have the functions of PGW-C. The first user plane function network element being a UPF&PGW-U network element is only an example and does not constitute a limitation to the present application.

[0161] The following takes the case where a terminal device uses 4G to access a roaming location (or a visited location), the first session management function network element (i.e., the first SMF network element) is a UPF&PGW-U network element, the first user plane function network element (such as the first UPF network element) is a UPF&PGW-U network element, the first dedicated DN is a campus DN, the public DN is the internet, and the terminal device accesses the campus DN of the terminal device's home location in the roaming location as an example to illustrate the communication method provided in the embodiment of the present application. The method may include:

[0162] S1201: The MME network element selects the SMF&PGW-C network element (i.e., the first SMF network element) according to the user subscription information of the terminal device.

[0163] In an embodiment of the present application, the user contract information of the terminal device may be retained in the UDM network element or the UDM&HSS network element (the integrated network element or device of UDM and HSS), and the user contract information of the terminal device may include information of the 5G dedicated DN (such as the first dedicated DN) contracted by the terminal device. When the terminal device accesses the 4G in the visited location, the MME network element of the visited location may select an SMF&PGW-C network element having both the functions of a 5G SMF network element and a 4G PGW-C network element, and a UPF&PGW-U having both the functions of a 5G UPF network element and a 4G PGW-U network element for the terminal device to access, if the user has signed a 5G dedicated DN.

[0164] S1202: The PCF network element sends the first information to the SMF&PGW-C network element (ie, the first SMF network element) in the roaming location.

[0165] Among them, the first information may include the identifier of the campus DN signed by the terminal device (such as the DNN of the campus DN), and the IP address list and / or domain name list corresponding to the campus DN.

[0166] As an example: when a terminal device accesses, the SMF&PGW-C network element can initiate a session management policy association establishment / modification process with the PCF network element. In the session management policy association establishment / modification process, the PCF network element can send the first information including the identifier of the dedicated DN subscribed by the terminal device, the diversion strategy for the terminal device message (or traffic), etc. to the SMF&PGW-C network element. Alternatively, the PCF network element can proactively send the first information to the SMF&PGW-C network element when it recognizes that the user subscription information of the terminal device has changed (for example, the service subscribed by the terminal device has changed from a public network service to a public network service and a first private network service), and the user has established a session.

[0167] S1203: The SMF&PGW-C network element (i.e., the first SMF network element) in the roaming location sends a first activation request to the second SMF network element in the home location. The first activation request carries the identifier of the campus DN.

[0168] It should be understood that the SMF&PGW-C network element supports N16a interface 4 / 5G parameter mapping. When the terminal device 4G accesses the roaming area, the SMF&PGW-C network element can map the terminal device 4G parameters to 5G parameters for the establishment of a dedicated DN (such as the first dedicated DN) session of the terminal device. For example: the tracing area identity (TAI) of the terminal device in 4G is less than that in 5G. The terminal device can be supplemented with 0 on the basis of the TAI in 4G to obtain the TAI in 5G, thereby ensuring the correctness of the TAI format in the dedicated DN (such as the first dedicated DN). In addition, the NFInstance ID or IP address of the SMF&SPGW-C can be taken as the AMF instance ID, and the radio access technology uses the 5G RAT value "NR". These parameters can be sent to the second SMF network element through the first activation request, or can be sent to the second SMF network element through other messages or signaling for the establishment of a terminal device session, which is not limited in this application.

[0169] S1204: The second SMF network element at the home location selects the second UPF network element for the campus DN according to the identifier of the campus DN.

[0170] In addition, the first activation request can also carry the first tunnel information of the UPF&GW-U network element (i.e., the first UPF network element), and the second SMF network element at the home location can also send the first tunnel information to the second UPF network element, so that the second UPF network element can establish a downlink tunnel with the UPF&GW-U network element (i.e., the first UPF network element).

[0171] S1205: The second SMF network element in the home location sends a first activation response to the SMF&PGW-C network element (i.e., the first SMF network element) in the roaming location, where the activation response carries the second tunnel information of the second UPF network element.

[0172] S1206: The SMF&PGW-C network element (i.e., the first SMF network element) in the roaming location sends the second information to the UPF&GW-U network element (i.e., the first UPF network element), where the second information includes the second tunnel information and the first diversion rule.

[0173] The first diversion rule is used to indicate that the message of the campus DN sent by the terminal device is sent to the second UPF network element. The UPF&GW-U network element (i.e., the first UPF network element) can establish an uplink tunnel with the second UPF network element according to the second tunnel information, and can divert the message of the campus DN from the terminal device and the message of the internet according to the first diversion rule, such as sending the message of the campus DN from the terminal device to the second UPF network element through the uplink tunnel established with the second UPF network element, which is then forwarded to the campus DN by the second UPF network element, and the message from the internet of the terminal device is sent to the internet.

[0174] In addition, the UPF&GW-U network element (i.e., the first UPF network element) can also construct a GTPU message carrying the IP address allocated to the terminal device by the SMF&PGW-C network element (i.e., the first SMF network element) or the UPF&GW-U network element (i.e., the first UPF network element), and send it to the second UPF network element. The second UPF network element associates the IP address of the terminal device with the dedicated IP address of the terminal device in the campus DN, which is used for address conversion of messages transmitted between the campus DN and the terminal device, etc.

[0175] In addition, it should be understood that when the terminal device uses 4G access in the visited area (roaming area), the UPF&PGW-U network element can also convert the messages transmitted between the first dedicated DN and the terminal device into 4G and 5G message formats to support the transmission of messages between the first dedicated DN and the terminal device.

[0176] Above Fig.12 The implementation of the communication method shown can refer to the above Figure 5 or Figure 7 The introduction of the communication method shown will not be repeated here.

[0177] It is understandable that, in order to implement the functions in the above embodiments, the first session management network element, the second session management network element, the first user plane function network element, and the second user plane function network element include hardware structures and / or software modules corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0178] Fig.13 and Fig.14 A schematic diagram of the structure of a possible communication device provided for an embodiment of the present application. These communication devices can be used to implement the functions of the first session management network element, the second session management network element, the first user plane function network element or the second user plane function network element in the above method embodiment, and thus can also achieve the beneficial effects possessed by the above method embodiment.

[0179] like Fig.13 As shown, the communication device 1300 includes a processing unit 1310 and an interface unit 1320, wherein the interface unit 1320 can also be a transceiver unit or an input / output interface. The communication device 1300 can be used to implement the above Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 The functions of the first communication device or the second communication device in the method embodiment shown in FIG.

[0180] When the communication device 1300 is used to implement Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 In the method embodiment shown, the function of the first session management network element is:

[0181] The interface unit 1320 is configured to receive first information from a policy control network element, the first information including an identifier of a first dedicated data network subscribed by a terminal device, and the communication device is a visited session management network element of the terminal device; and send a first request to a second session management network element, the first request including an identifier of the first dedicated data network, and the second session management network element is a session management network element supporting the first dedicated data network; receive a first response from the second session management network element, the first response including second tunnel information of a second user plane function network element, and the second user plane function network element is a user plane function network element selected by the second session management network element according to the first dedicated data network;

[0182] The processing unit 1310 is used to determine a first diversion rule; the interface unit 1320 is also used to send second information to the first user plane functional network element, the second information includes second tunnel information and the first diversion rule, the first diversion rule is used to instruct the first user plane functional network element to send the message of the first dedicated data network sent by the terminal device to the second user plane functional network element, and the first user plane functional network element is a user plane functional network element selected for the universal data network subscribed for the terminal device.

[0183] In one possible design, the first information also includes an Internet Protocol IP address list and / or a domain name list corresponding to the first dedicated data network; the first diversion rule includes an IP address list and / or a domain name list.

[0184] In one possible design, the processing unit 1310 is further used to obtain information about a second session management network element supporting the first dedicated data network through a network storage function network element.

[0185] In one possible design, the first request also includes first tunnel information of the first user plane functional network element.

[0186] In one possible design, the first request also includes the IP address of the terminal device.

[0187] In one possible design, the interface unit 1320 is also used to send fourth information to the second user plane functional network element when the terminal device is within the service range of the second user plane functional network element, the fourth information including the first tunnel information and the second diversion rule of the first user plane functional network element, the second diversion rule being used to instruct the second user plane functional network element to send the message of the non-first dedicated data network sent by the terminal device to the first user plane functional network element; the processing unit 1310 is also used to determine that the terminal device moves out of the service range of the second user plane functional network element before the interface unit 1320 sends the second information to the first user plane functional network element.

[0188] In one possible design, the second diversion rule includes an IP address list and / or a domain name list corresponding to the first private data network.

[0189] In one possible design, the interface unit 1320 is also used to send the first tunnel information and the third diversion rule of the first user plane function network element to the third user plane function network element, and the third diversion rule is used to instruct the third user plane function network element to send the message of the non-second dedicated data network sent by the terminal device to the first user plane function network element. The third user plane function network element is the user plane function network element selected by the processing unit 1310 according to the second dedicated data network.

[0190] In one possible design, the third diversion rule includes an IP address list and / or a domain name list corresponding to the second private data network.

[0191] In a possible design, when the terminal device accesses 4G at the visited site, the first session management function network element is a fusion network element of the session management and packet data network gateway control plane functions of the visited site; the first user plane function network element is a fusion network element of the user plane function and packet data network gateway data plane functions of the visited site.

[0192] When the communication device 1300 is used to implement Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 In the method embodiment shown, the function of the first user plane function network element is:

[0193] The interface unit 1320 is configured to receive second tunnel information and a first diversion rule from a first session management network element, where the first session management network element is a visited session management network element of a terminal device, the communication device is a user plane function network element selected for a universal data network subscribed by the terminal device, the second tunnel information is tunnel information of a second user plane function network element selected for a first dedicated data network subscribed by the terminal device, and the first diversion rule is used to instruct that a message of the first dedicated data network sent by the terminal device is sent to the second user plane function network element;

[0194] The processing unit 1310 is used to establish an uplink tunnel with the second user plane function network element according to the second tunnel information, and the uplink tunnel is used to transmit the message sent by the interface unit 1320 to the second user plane function network element.

[0195] In one possible design, the first diversion rule includes an Internet Protocol IP address list and / or a domain name list corresponding to the first dedicated data network.

[0196] In one possible design, the interface unit 1320 is also used to send a first message from a terminal device to a second user plane functional network element through an uplink tunnel, and a first domain name carried by the first message belongs to a domain name list; receive a second message from the second user plane functional network element, and the second message is a response message to the first message; the processing unit 1310 is also used to associate a source IP of the second message with the first domain name.

[0197] In one possible design, the interface unit 1320 is also used to send a third message to the second user plane functional network element, where the third message includes the IP address of the terminal device.

[0198] In a possible design, when the terminal device accesses 4G at the visited site, the first session management function network element is a fusion network element of the session management and packet data network gateway control plane functions of the visited site; the first user plane function network element is a fusion network element of the user plane function and packet data network gateway data plane functions of the visited site.

[0199] In one possible design, the processing unit 1310 is also used to convert the 4G and 5G message header formats of the messages transmitted between the first dedicated data network and the terminal device.

[0200] When the communication device 1300 is used to implement Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 The function of the second session management network element in the method embodiment shown is:

[0201] The interface unit 1320 is used to receive a first request from a first session management network element, the first request includes an identifier of a first dedicated data network to which the terminal device has subscribed, the first session management network element is a visited session management network element of the terminal device, and the communication device is a session management network element that supports the first dedicated data network; the processing unit 1310 is used to determine a first response, the first response includes second tunnel information of a second user plane function network element, and the second user plane function network element is a user plane function network element selected by the processing unit 1310 according to the first dedicated data network; the interface unit 1320 is also used to send a first response to the first session management network element.

[0202] In one possible design, the first request also includes first tunnel information of the first user plane functional network element, and the interface unit 1320 is also used to send third information to the second user plane functional network element, and the third information includes the first tunnel information.

[0203] In one possible design, the first request also includes an Internet Protocol IP address of the terminal device, and the third information also includes the IP address of the terminal device.

[0204] In one possible design, the third information also includes a private IP address of the terminal device in the first private data network.

[0205] In one possible design, the interface unit 1320 is also used to obtain a dedicated IP address from a user data management network element, or to obtain a dedicated IP address from a server corresponding to the first dedicated data network.

[0206] When the communication device 1300 is used to implement Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 In the method embodiment shown, the function of the second user plane function network element is:

[0207] The interface unit 1320 is configured to receive a third message from the first user plane function network element, where the third message includes an Internet Protocol IP address of the terminal device, the first user plane function network element is a user plane function network element selected for the universal data network subscribed by the terminal device, and the communication device is a user plane function network element selected for the first dedicated data network subscribed by the terminal device;

[0208] The processing unit 1310 is used to associate the IP address of the terminal device with the private IP address of the terminal device in the first private data network. The association between the IP address of the terminal device and the private IP address is used to perform address conversion on the message transmitted between the first private data network and the terminal device.

[0209] In one possible design, the interface unit 1320 is further configured to receive third information from the second session management network element, where the third information includes first tunnel information, the first tunnel identifier is a tunnel identifier of the first user plane function network element, and the second session management network element is a session management network element supporting the first dedicated data network;

[0210] The processing unit 1310 is further configured to establish a downlink tunnel with the first user plane function network element according to the first tunnel information, and the downlink tunnel is used to transmit the message sent by the transmission interface unit 1320 to the first user plane function network element.

[0211] In one possible design, the third information also includes a private IP address of the terminal device in the first private data network.

[0212] When the communication device 1300 is used to implement Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 In the method embodiment shown, the function of the second user plane function network element is:

[0213] The interface unit 1320 is configured to receive third information from the second session management network element, where the third information includes the first tunnel information and the Internet Protocol IP address of the terminal device, the first tunnel identifier is the tunnel identifier of the first user plane function network element, the first user plane function network element is a user plane function network element selected for the universal data network subscribed by the terminal device, the communication device is a user plane function network element selected for the first dedicated data network subscribed by the terminal device, and the second session management network element is a session management network element supporting the first dedicated data network;

[0214] The processing unit 1310 is used to establish a downlink tunnel with the first user plane functional network element according to the first tunnel information, and the downlink tunnel is used to transmit the message sent by the transmission interface unit 1320 to the first user plane functional network element; and to associate the IP address of the terminal device with the dedicated IP address of the terminal device in the first dedicated data network, and the association between the IP address of the terminal device and the dedicated IP address is used to perform address conversion on the message transmitted between the first dedicated data network and the terminal device.

[0215] In one possible design, the third information also includes a private IP address of the terminal device in the first private data network.

[0216] like Fig.14 As shown, the present application also provides a communication device 1400, including a processor 1410, and may also include a communication interface 1420. The processor 1410 and the communication interface 1420 are coupled to each other. It can be understood that the communication interface 1420 can be a transceiver, an input-output interface, an input interface, an output interface, an interface circuit, etc. Optionally, the communication device 1400 may also include a memory 1430 for storing instructions executed by the processor 1410 or storing input data required for the processor 1410 to run the instructions or storing data generated after the processor 1410 runs the instructions. Among them, the memory 1430 may be a physically independent unit, or it may be coupled to the processor 1410, or the processor 1410 may include the memory 1430.

[0217] When the communication device 1400 is used to implement Figure 5 , Figure 7 , Figure 8 or Fig. 9 or Fig.10 or Fig.11 or Fig.12 When the method shown is performed, the processor 1410 can be used to implement the functions of the above-mentioned processing unit 1310, and the communication interface 1420 can be used to implement the functions of the above-mentioned interface unit 1320.

[0218] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), logic circuits, field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0219] The method steps in the embodiments of the present application can be implemented by hardware, or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium can also be present in a network device or a terminal device as discrete components.

[0220] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one network device, terminal, computer, server or data center to another network device, terminal, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc; it may also be a semiconductor medium, for example, a solid-state hard disk. The computer-readable storage medium may be a volatile or nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.

[0221] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0222] In addition, it should be understood that in the embodiments of the present application, the word "exemplary" is used to indicate an example, illustration or description. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a specific way.

[0223] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.

Claims

1. A communication method, characterized in that: include: The first session management network element receives first information from the policy control network element, where the first information includes an identifier of a first dedicated data network subscribed by the terminal device, and the first session management network element is a visited location session management network element of the terminal device; The first session management network element sends a first request to a second session management network element, where the first request includes an identifier of the first dedicated data network, and the second session management network element is a session management network element that supports the first dedicated data network; The first session management network element receives a first response from the second session management network element, where the first response includes second tunnel information of a second user plane function network element, where the second user plane function network element is a user plane function network element selected by the second session management network element according to the first dedicated data network; The first session management network element sends second information to the first user plane function network element, the second information includes the second tunnel information and a first diversion rule, the first diversion rule is used to instruct the first user plane function network element to send the message of the first dedicated data network sent by the terminal device to the second user plane function network element, the first user plane function network element is a user plane function network element selected for the universal data network subscribed by the terminal device.

2. The method according to claim 1, characterized in that The first information also includes an Internet Protocol IP address list and / or a domain name list corresponding to the first dedicated data network; The first diversion rule includes the IP address list and / or domain name list.

3. The method according to claim 1 or 2, characterized in that The method further comprises: The first session management network element obtains information about the second session management network element supporting the first dedicated data network through a network storage function network element.

4. The method according to any one of claims 1 to 3, characterized in that The first request also includes first tunnel information of the first user plane function network element.

5. The method according to claim 4, characterized in that The first request also includes the IP address of the terminal device.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When the terminal device is located within the service range of the second user plane function network element, the first session management network element sends fourth information to the second user plane function network element, where the fourth information includes first tunnel information and second diversion rule of the first user plane function network element, and the second diversion rule is used to instruct the second user plane function network element to send a message sent by the terminal device that is not on the first dedicated data network to the first user plane function network element; Before the first session management network element sends the second information to the first user plane function network element, the method further includes: The first session management network element determines that the terminal device moves out of the service scope of the second user plane function network element.

7. The method according to claim 6, characterized in that The second diversion rule includes an IP address list and / or a domain name list corresponding to the first dedicated data network.

8. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The first session management network element sends the first tunnel information and the third diversion rule of the first user plane function network element to the third user plane function network element, and the third diversion rule is used to instruct the third user plane function network element to send the message of the non-second dedicated data network sent by the terminal device to the first user plane function network element, and the third user plane function network element is the user plane function network element selected by the first session management network element according to the second dedicated data network.

9. The method according to claim 8, characterized in that The third diversion rule includes an IP address list and / or a domain name list corresponding to the second private data network.

10. The method according to any one of claims 1 to 9, characterized in that When the terminal device accesses the visited location 4G, the first session management function network element is a fusion network element of the session management and packet data network gateway control plane functions of the visited location; the first user plane function network element is a fusion network element of the user plane function and packet data network gateway data plane functions of the visited location.

11. A communication method, characterized in that: include: The first user plane function network element receives the second tunnel information and the first diversion rule from the first session management network element, where the first session management network element is a visited session management network element of the terminal device, the first user plane function network element is a user plane function network element selected for the universal data network subscribed by the terminal device, the second tunnel information is tunnel information of the second user plane function network element selected for the first dedicated data network subscribed by the terminal device, and the first diversion rule is used to instruct to send a message of the first dedicated data network sent by the terminal device to the second user plane function network element; The first user plane function network element establishes an uplink tunnel with the second user plane function network element according to the second tunnel information, and the uplink tunnel is used to transmit messages sent by the first user plane function network element to the second user plane function network element.

12. The method according to claim 11, characterized in that The first traffic diversion rule includes an Internet Protocol IP address list and / or a domain name list corresponding to the first dedicated data network.

13. The method according to claim 12, characterized in that In the case where the first traffic diversion rule includes a domain name list corresponding to the first dedicated data network, the method further includes: The first user plane function network element sends a first message from the terminal device to the second user plane function network element through the uplink tunnel, where the first domain name carried by the first message belongs to the domain name list; The first user plane function network element receives a second message from the second user plane function network element, where the second message is a response message to the first message; The first user plane functional network element associates the source IP of the second message with the first domain name.

14. The method according to any one of claims 11 to 13, characterized in that The method further comprises: The first user plane function network element sends a third message to the second user plane function network element, and the third message includes the IP address of the terminal device.

15. The method according to any one of claims 11 to 14, characterized in that When the terminal device accesses the visited location 4G, the first session management function network element is a fusion network element of the session management and packet data network gateway control plane functions of the visited location; the first user plane function network element is a fusion network element of the user plane function and packet data network gateway data plane functions of the visited location.

16. The method according to any one of claims 15, characterized in that The method further comprises: The first user plane functional network element converts the 4G and 5G message formats of the messages transmitted between the first dedicated data network and the terminal device.

17. A communication method, characterized in that: include: The second session management network element receives a first request from the first session management network element, where the first request includes an identifier of a first dedicated data network subscribed by the terminal device, the first session management network element is a visited session management network element of the terminal device, and the second session management network element is a session management network element supporting the first dedicated data network; The second session management network element sends a first response to the first session management network element, where the first response includes second tunnel information of a second user plane function network element, where the second user plane function network element is a user plane function network element selected by the second session management network element according to the first dedicated data network.

18. The method according to claim 17, characterized in that The first request also includes first tunnel information of the first user plane function network element, and the method further includes: The second session management network element sends third information to the second user plane function network element, where the third information includes the first tunnel information.

19. The method according to claim 18, characterized in that The first request also includes an Internet Protocol (IP) address of the terminal device, and the third information also includes the IP address of the terminal device.

20. The method according to claim 18 or 19, characterized in that The third information also includes the private IP address of the terminal device in the first private data network.

21. The method of claim 20, wherein: The method further comprises: The second session management network element obtains the dedicated IP address from a user data management network element, or obtains the dedicated IP address from a server corresponding to the first dedicated data network.

22. A communication method, characterized in that: include: The second user plane function network element receives a third message from the first user plane function network element, where the third message includes an Internet interconnection protocol IP address of the terminal device, the first user plane function network element is a user plane function network element selected for the general data network subscribed by the terminal device, and the second user plane function network element is a user plane function network element selected for the first dedicated data network subscribed by the terminal device; The second user plane functional network element associates the IP address of the terminal device with the private IP address of the terminal device in the first private data network, and the association between the IP address of the terminal device and the private IP address is used to perform address conversion on messages transmitted between the first private data network and the terminal device.

23. The method of claim 22, wherein: The method further comprises: The second user plane function network element receives third information from the second session management network element, where the third information includes first tunnel information, the first tunnel identifier is a tunnel identifier of the first user plane function network element, and the second session management network element is a session management network element supporting the first dedicated data network; The second user plane function network element establishes a downlink tunnel with the first user plane function network element according to the first tunnel information, and the downlink tunnel is used to transmit messages sent by the second user plane function network element to the first user plane function network element.

24. The method of claim 23, wherein: The third information also includes the private IP address of the terminal device in the first private data network.

25. A communication method, characterized in that: include: The second user plane function network element receives third information from the second session management network element, where the third information includes first tunnel information and an Internet Protocol IP address of a terminal device, the first tunnel identifier is a tunnel identifier of the first user plane function network element, the first user plane function network element is a user plane function network element selected for a universal data network subscribed by the terminal device, the second user plane function network element is a user plane function network element selected for a first dedicated data network subscribed by the terminal device, and the second session management network element is a session management network element supporting the first dedicated data network; The second user plane function network element establishes a downlink tunnel with the first user plane function network element according to the first tunnel information, where the downlink tunnel is used to transmit a message sent by the second user plane function network element to the first user plane function network element; And the IP address of the terminal device is associated with the private IP address of the terminal device in the first private data network, and the association between the IP address of the terminal device and the private IP address is used to perform address conversion on the messages transmitted between the first private data network and the terminal device.

26. The method of claim 25, wherein: The third information also includes the private IP address of the terminal device in the first private data network.

27. A communication device, characterized in that: including an interface unit and a processing unit; An interface unit for receiving and sending data; A processing unit, configured to execute the method according to any one of claims 1 to 26 through the interface unit.

28. A communication device, characterized in that: It includes a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor, or send signals from the processor to other communication devices outside the communication device, and the processor is used to implement the method as described in any one of claims 1-26 through logic circuits or execution instructions.

29. A computer program product, characterized in that The method comprises a computer program or an instruction, and when the computer program or the instruction is executed by a processor, the method according to any one of claims 1 to 26 is implemented.

30. A chip system, characterized in that: The chip system includes a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, and when the program or instructions are executed by the processor, the method as described in any one of claims 1-26 is implemented.

31. A computer-readable storage medium, characterized in that: The storage medium stores a computer program or instruction. When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 26 is implemented.

Citation Information

Cited By

  • Communication method and apparatus

    EP4676159A1

  • Communication method and communication apparatus

    WO2026179894A1

  • Communication method and apparatus

    WO2026208260A1