Communication method and apparatus

By creating session management network elements in the visiting place or roaming place, and using dynamic offloading rules and tunnel establishment, the problem of users being unable to access private data networks when roaming is solved, enabling terminal devices to access public and private networks at the same time, and in the roaming place. Offload public data network traffic to avoid traffic detours, meet IP address allocation specifications, and improve user experience.

WO2024193440A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/081769
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-18
Filing Date
2024-03-14
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Existing fourth- and fifth-generation communication systems cannot effectively access private data networks when users roam. As a result, users cannot continue to access the network when they leave the private data network area, and the public data network traffic returns to its home location for processing, resulting in traffic Problems with bypassing and IP address allocation that do not meet specifications.

Method used

Create a session based on the identity 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 public data network traffic in the roaming location to avoid traffic detours. Specific methods include policy control network elements issuing dynamic traffic distribution rules, and terminal equipment creating tunnels and traffic distribution rules at the visited location to ensure that packets are distributed to the correct user plane functional network element.

Benefits of technology

This enables terminal devices to simultaneously access public and private data networks when roaming across provinces/cities, avoiding traffic detours, meeting IP address allocation specifications, and improving user experience and network access convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081769_26092024_PF_FP
    Figure CN2024081769_26092024_PF_FP
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and in particular to a communication method and apparatus, aiming to create a session by means of an SMF network element in a visited location (or roaming location) according to the identifier of a private data network, so that a user of a terminal device can access a public data network and a private data network at the same time. The method comprises: a first SMF network element receives first information from a PCF network element, wherein the first information comprises the identifier of a first private data network subscribed 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 from the second SMF network element comprising second tunnel information of a second UPF network element, wherein the second UPF network element is a UPF network element selected according to the first private data network; the first SMF network element sends second information to the first UPF network element, wherein the second information comprises the second tunnel information and a first distribution rule.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China 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 into this application; this application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on May 18, 2023, with application number 202310566365.X and application name “A communication method and device”, the entire contents of which are incorporated by reference into this application. Technical Field

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

[0004] Currently, fourth-generation (4G) and fifth-generation (5G) communication systems support user plane function (UPF) network elements with uplink classifier (ULCL) capabilities. These network elements distribute user packets to different session anchors (such as packet data unit (PDU) session anchors), enabling users to access different data networks simultaneously. For example, users can access private data networks such as those of enterprises and public data networks such as the Internet.

[0005] 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. There is a problem that when the user leaves the location of the private data network, he cannot continue to access the private data network.

[0006] Summary of the Invention

[0007] An embodiment of the present application provides a communication method and apparatus, which aims to create a session based on the identifier of a private data network through an SMF network element in 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 in the visited location (or roaming location) to avoid traffic detour.

[0008] In a first aspect, an embodiment of the present application provides a communication method, the method comprising: a first session management network element receiving 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, the first session management network element being a visited session management network element of the terminal device; the first session management network element sending a first request to a second session management network element, the first request including an identifier of the first dedicated data network, the second session management network element being a session management network element that supports the first dedicated data network; the first session management network element receiving 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, the second user plane function network element being a user plane function network element selected by the second session management network element based on the first dedicated data network; the first session management network element sending second information to the first user plane function network element, the second information including second tunnel information and a first diversion rule, the first diversion rule being 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, the first user plane function network element being 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 obtaining information of the second session management network element supporting the first dedicated data network through the network storage function network element.

[0009] Using the above method, in scenarios such as cross-provincial / cross-city roaming by terminal device users, 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., visited location), avoiding traffic detour.

[0010] 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.

[0011] The above design expands the dynamic traffic diversion rules issued by the policy control function network element to carry information such as the domain name corresponding to the dedicated data network, enabling the user plane function network element to divert messages (or traffic) based on the domain name. This also avoids the need to configure predefined traffic diversion rules for the home location in the session management network element in the roaming (or visited) location.

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

[0013] The above design facilitates the establishment of 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.

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

[0015] 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.

[0016] In one possible design, the method further includes: when the terminal device is 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 including the first tunnel information and the second diversion rule of the first user plane function network element, the second diversion rule being used to instruct the second user plane function network element to send messages sent by the terminal device that are not from 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 determining that the terminal device has moved out of the service range of the second user plane function network element. Optionally, the second diversion rule includes a list of IP addresses and / or a list of domain names corresponding to the first dedicated data network.

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

[0018] In one possible design, the method further includes: the first session management network element sending first tunnel information and a third diversion rule of the first user plane function network element to a third user plane function network element, wherein the third diversion rule is used to instruct the third user plane function network element to send messages sent by the terminal device that are not from the second dedicated data network to the first user plane function network element, and the third user plane function network element is a user plane function network element selected by the first session management network element based on the second dedicated data network. Optionally, the third diversion rule includes a list of IP addresses and / or a list of domain names corresponding to the second dedicated data network.

[0019] The above design can 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.

[0020] 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.

[0021] 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 a UPF&PGW-U network element.

[0022] 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 this application.

[0023] Similarly, the first user plane functional 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 functional 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 functional network element being a UPF&PGW-U network element is only an example and does not constitute a limitation to this application.

[0024] Through the above design, terminal device users are supported in scenarios such as cross-provincial / cross-city roaming. When accessing the roaming location (or visited location) through 4G, the SMF&PGW-C network element in the roaming location (or visited location) can automatically create a session based on the identifier of the private data network, allowing terminal device users to 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 location, and unloaded at the roaming location (i.e., visited location), avoiding traffic detour.

[0025] In a second aspect, an embodiment of the present application provides a communication method, which includes: 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, and 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.

[0026] 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.

[0027] 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.

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

[0029] 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.

[0030] 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.

[0031] 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).

[0032] 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 including an identifier of a first dedicated data network to which a terminal device has subscribed, the first session management network element being a visited session management network element of the terminal device, and the second session management network element being 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, the first response including second tunnel information of a second user plane function network element, the second user plane function network element being a user plane function network element selected by the second session management network element based on the first dedicated data network.

[0033] 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.

[0034] 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.

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

[0036] In one possible design, the method also includes: the second session management network element obtains a dedicated IP address from the 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.

[0037] In a fourth aspect, an embodiment of the present application provides a communication method, which includes: a second user plane functional network element receives a third message from a first user plane functional network element, the third message includes the IP address of a terminal device, the first user plane functional network element is a user plane functional network element selected for a general data network subscribed for 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 for 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.

[0038] 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 based on 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.

[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 fifth aspect, an embodiment of the present application provides a communication method, which includes: a second user plane functional network element receives third information from a second session management network element, the third information includes first tunnel information and an IP address of a terminal device, the first tunnel identifier is a tunnel identifier of the first user plane functional network element, the first user plane functional network element is a user plane functional network element selected for a general data network subscribed for the terminal device, the second user plane functional network element is a user plane functional network element selected for a first dedicated data network subscribed for 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 user plane functional network element establishes a downlink tunnel with the first user plane functional network element according to the first tunnel information, 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; 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.

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

[0042] 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.

[0043] In one possible implementation, the communication device may include modules or units corresponding to the methods, operations, steps, and actions described in the first aspect, such as a processing unit and an interface unit. The modules or units may be implemented as hardware circuits, software, or a combination of hardware circuits and software.

[0044] 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, chip, or chip system, etc.), or a device used to match the first user plane function, etc.

[0045] In one possible implementation, the communication device may include modules or units corresponding to the methods, operations, steps, and actions described in the second aspect, such as a processing unit and an interface unit. The modules or units may be implemented as hardware circuits, software, or a combination of hardware circuits and software.

[0046] 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.

[0047] In one possible implementation, the communication device may include modules or units corresponding to the methods, operations, steps, and actions described in the third aspect, such as a processing unit and an interface unit. The modules or units may be implemented as hardware circuits, software, or a combination of hardware circuits and software.

[0048] 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, chip, or chip system, etc.), or a device used to match the second user plane function, etc.

[0049] In one possible implementation, the communication device may include modules or units corresponding to the methods, operations, steps, and actions described in the fourth or fifth aspects, such as a processing unit and an interface unit. The modules or units may be implemented as hardware circuits, software, or a combination of hardware circuits and software.

[0050] 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, the second aspect, the third aspect, the fourth aspect, or the fifth aspect through a logic circuit or 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 is understandable that the interface circuit can be a transceiver, a transceiver, a transceiver, or an input / output interface.

[0051] 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.

[0052] In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is 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.

[0053] 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.

[0054] 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 instruction is executed by the processor, the method of the first aspect or the second aspect or the third aspect or the fourth aspect or the fifth aspect mentioned above can be implemented.

[0055] 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.

[0056] 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

[0057] FIG1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;

[0058] FIG2 is a schematic diagram of ULCL shunting provided in an embodiment of the present application;

[0059] FIG3 is a schematic diagram of a core network element deployment according to an embodiment of the present application;

[0060] FIG4 is a schematic diagram of a ULCL shunting solution provided in an embodiment of the present application;

[0061] FIG5 is a schematic diagram of a communication method according to an embodiment of the present application;

[0062] FIG6 is a schematic diagram of a logical relationship of cells provided in an embodiment of the present application;

[0063] FIG7 is one of the schematic diagrams of IP address configuration provided in an embodiment of the present application;

[0064] FIG8 is a second schematic diagram of IP address configuration provided in an embodiment of the present application;

[0065] FIG9 is a second schematic diagram of a communication method provided in an embodiment of the present application;

[0066] FIG10 is a schematic diagram of a two-stage flow splitting method provided in an embodiment of the present application;

[0067] FIG11 is a schematic diagram of message diversion of a terminal device provided in an embodiment of the present application;

[0068] FIG12 is a third schematic diagram of a communication method provided in an embodiment of the present application;

[0069] FIG13 is a schematic diagram of a structure of a communication device according to an embodiment of the present application;

[0070] FIG14 is a second schematic diagram of the structure of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0072] 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.

[0073] 2) Universal DN, also known as public network, large network, etc., usually refers to the Internet, or can refer to the operator's access point or access network to the Internet, such as China Unicom's 3Gnet.

[0074] 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 anchor function.

[0075] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, fourth-generation (4G) communication systems, fifth-generation (5G) communication systems, and sixth-generation (6G) communication systems that evolve beyond 5G. The following describes some network architectures applicable to the present application. In the following description, a user equipment (UE) terminal device is used as an example.

[0076] As shown in Figure 1, it is a schematic diagram of a possible 5G network architecture applicable to this application, which 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 can be referred to as core network network elements or core network devices. It should be understood that the network elements / devices involved in FIG1 may be one or more when deployed.

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

[0078] Access network equipment: This equipment is primarily responsible for air interface-side functions such as radio resource management, quality of service (QoS) management, data compression, and encryption. Access network equipment can include base stations, pole sites, integrated access and backhaul (IAB) nodes, Node Bs, mobile base stations, evolved NodeBs (eNodeBs), transmission reception points (TRPs), radio access networks (RANs), radio access network equipment, evolved NodeBs (eNodeBs) in LTE systems or evolved LTE-Advanced (LTE-A) systems, next-generation NodeBs (gNBs) in 5G mobile communication systems, and base stations in future mobile communication systems. It can also be a module or unit that performs some of the functions of a base station, such as a centralized unit (CU) or a distributed unit (DU). A RAN device can be a macro base station, a micro base station (also known as a small cell), an indoor base station, a relay node, or a donor node. The embodiments of the present application do not limit the specific technology and specific device form adopted by the access network device.

[0079] 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 communicate using non-3GPP technologies, where non-3GPP technologies include: wireless fidelity (Wi-Fi), world-wide interoperability for microwave access (WiMAX), code division multiple access (CDMA) network, etc. Compared with the trusted non-3GPP access network device, the 3GPP core network can be directly accessed. The network element needs to interconnect and communicate 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.

[0080] AMF network element: A core network element, primarily responsible for signaling processing, such as access control, mobility management, attach and detach, and gateway selection. When the AMF network element provides services for a session in a terminal device, it provides control plane storage resources for the session, as well as storage for the session identifier and the SMF network element identifier associated with the session identifier.

[0081] 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.

[0082] The UPF network element is responsible for forwarding and receiving user data from terminal devices. It receives user data from the data network and transmits it to the terminal device via the access network equipment. The UPF network element also receives user data from the terminal device via the access network equipment and forwards it to the data network. The transmission resources and scheduling functions provided by the UPF network element to the terminal device are managed and controlled by the SMF network element.

[0083] 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.

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

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

[0086] UDM network element: 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.

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

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

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

[0090] 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.

[0091] 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.

[0092] The N9 interface is the user plane interface between the intermediate (I)-UPF and the 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.

[0093] 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.

[0094] 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.

[0095] In Figure 1, N1, N2, N5, N6, N7, N8, N10, N11, N12, N13, N15, N22, N58, and N59 are interface serial numbers. For example, the meaning of the above interface serial numbers can be found in the definition in the 3GPP standard protocol.

[0096] Figure 2 is a schematic diagram of ULCL diversion provided by an embodiment of the present application. The ULCL UPF network element can divert user data and divert user messages to the 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 the PDU session anchor and is the processing point for terminating the general packet radio service (GPRS) tunneling 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. The PSA1 UPF and PSA2 UPF network elements can respectively provide N6 interfaces for diverting messages to different DNs. The ULCL UPF network element identifies uplink packets (or traffic) according to the diversion rules and decides whether to send the packets to the primary anchor point or the secondary anchor point. Generally, packets matching the diversion rules are sent through the N6 interface of the secondary anchor point to access the local DN, and the remaining packets are sent to the primary anchor point through the N9 GTP tunnel to access the Internet.

[0097] Continuing with the 5G network architecture, refer to the core network element deployment diagram shown in Figure 3. AMF, SMF, PCF, and charging function (CHF) elements are typically deployed by province. The role of the primary anchor UPF element: Public network UPF elements are deployed by city or province, exiting the internet (i.e., public DN). ULCL UPF elements and secondary anchor UPF elements, serving as private network UPF elements, are typically deployed together at the edge of the operator's network, close to the campus DN (i.e., dedicated DN).

[0098] Referring to the ULCL diversion scheme shown in Figure 4, 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 for services, the diversion rules of private data network messages are generally It is often only pre-configured or defined on the SMF network element or UPF network element in the location of the private data network. When users roam across provinces / cities, they use the SMF / UPF in the roaming province / city as an anchor point for access. Because the SMF network element in the roaming province / city cannot directly manage the UPF network element in the home province / city, and the diversion rules for private data network messages are usually only pre-configured or defined on the network element or UPF network element in the location of the private data network, there is a problem that when users leave the location of the private data network, they can no longer access the private data network and can only access the internet. Although there are plans to return all user traffic in the roaming area to the home province for processing, this plan also requires public data network traffic to return to the home province for processing, resulting in traffic detours. Moreover, when all user traffic 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 for the user's session, rather than the roaming location, which does not meet the IP address allocation specifications.

[0099] In view of this, the present application provides a communication method and apparatus, which aims to create a session automatically based on the identifier of a private data network through an SMF network element in a visited location (or roaming location), so that a terminal device user can access both a public data network and a private data network at the same time, and the public data network traffic is offloaded in the visited location (or roaming location) to avoid traffic detours. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0100] It should be understood that in the embodiments 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 similarly, the policy control network element 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 embodiments of the present application, the specific forms of the user plane function network element, session management network element, etc. are not limited. For ease of explanation, in the embodiments 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.

[0101] Furthermore, it should be understood that ordinal numbers such as "first" and "second" in the embodiments of the present application are used to distinguish between multiple objects and are not used to limit the size, content, sequence, timing, priority, or importance of the multiple objects. For example, the references to a first session management network element and a second session management network element do not indicate a difference in priority or importance between the two network elements.

[0102] FIG5 is a schematic diagram of a communication method provided in an embodiment of the present application, the method comprising:

[0103] S501: The PCF network element sends first information to the first SMF network element. Correspondingly, the first SMF network element receives the first information.

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

[0105] 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.

[0106] 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.

[0107] In another possible implementation, the PCF network element may proactively send the first information to the first SMF network element when it recognizes 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.

[0108] 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.

[0109] 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 the identifier of the dedicated DN (such as DNN) and other information. 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 registered the first dedicated DN through the NRF network element, thereby obtaining the information of 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.

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

[0111] 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.

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

[0113] 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 information element in the request, or the general DNN can be carried by the DNN information element, and the identifier of the first dedicated DN can be carried by the selected DNN information element.

[0114] 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 the UPF network element selected by the first SMF network element based on the universal DN signed by the terminal device. The first tunnel information may include the IP address and / or tunnel identifier (such as the tunnel endpoint identifier (TEID)) of the first UPF network element.

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

[0116] After receiving the first request, the second SMF network element can select the anchor UPF network element corresponding to the first dedicated DN according to the identifier of the first dedicated DN (such as DNN), that is, the second UPF network element, and send a 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.

[0117] 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.

[0118] 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.

[0119] The second information includes the second tunnel information and the first diversion rule, and the first diversion rule is used to instruct that the message of the first dedicated DN sent by the terminal device be 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 being the first dedicated DN, or a message sent by the terminal device to the first dedicated DN.

[0120] 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 based on the second tunnel information. The uplink tunnel can be used to transmit messages sent by 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 that are not 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.

[0121] In one 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.

[0122] 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.

[0123] 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.

[0124] 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.

[0125] Referring to the schematic diagram of the logical relationship of the information cells transmitted through the N7 interface between the PCF network element and the first SMF network element as shown in FIG6 , in an embodiment of the present application, the policy / decision information (Smpolicydeciston) can carry the PCC rule 1 (PCC rules-rule1) field of the public network (such as the general DN) service rules, 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) service, the flow information (flowinformatuin) field, etc., and an extended field (such as the cross-service area ULCL rule indicator (CrossServiceAreaULCLRuleIndicator) field) can be added to the PCC rule to indicate that this rule is used for message (or traffic) diversion when the terminal device user roams across regions. The flow description list (flowDescriptionList) and host list (hostlist) fields are added to 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 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). In addition, Smpolicydeciston can also carry the reference data (Reftcdata) field, the priority (precedence) field, the traffic control data (Trafficcontroldata) field, the DN access identifier (DN access identifier, DNAI), and the tcId field, where the tcId field can be used to univocally identify the traffic control policy data within a PDU session.

[0126] 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.

[0127] 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, it can send the first message to the second UPF network element, and parse the second message (such as a DNS response message) from the second UPF network element to obtain the source IP address of the second message, and associate the source IP of the second message 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.

[0128] It should be understood that in the embodiments 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.

[0129] In some implementations, after the first SMF network element establishes a session for 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 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.

[0130] After the second UPF network element receives the third message, it 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). 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) is supported. 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 (Layer 3), application layer, etc.

[0131] 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).

[0132] In some implementations, the first SMF network element may further 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 further carry the IP address of the terminal device. When the second SMF network element sends a third message including the first tunnel information of the first UPF network element to the second UPF network element, the third message may further carry the IP address of the terminal device, etc., so that the second UPF network element can obtain the IP address of the terminal device in the visited location (or roaming location).

[0133] 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.

[0134] As shown in Figure 7, the information of the universal DN and private DN (such as the first private DN) signed by the terminal device can be saved in the UDM network element, and the private IP address (static) signed by the terminal device in the first private 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 private DN and the IP address of the terminal device (public or public network IP address)), the second SMF network element can query the private IP address signed by the terminal device in the first private DN through the UDM network element, and can carry the private 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 private IP address of the terminal device in the first private DN, for address conversion of messages transmitted between the first private DN and the terminal device.

[0135] As shown in Figure 8, 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, for address conversion of 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.

[0136] 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.

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

[0138] S901: The second SMF network element in the home location registers the first dedicated DN supported by it with the NRF network element.

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

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

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

[0142] 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.

[0143] S905: The second SMF network element at the home location selects the second UPF network element for the campus DN based on the identifier of the campus DN.

[0144] In addition, the first activation request can also carry the first tunnel information of the first UPF network element, and the second SMF network element in the home location can 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.

[0145] 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, where the activation response carries the second tunnel information of the second UPF network element.

[0146] 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.

[0147] The first diversion rule is used to instruct that the message of the campus DN sent by the terminal device be sent to the second UPF network element. The first UPF network element can establish an uplink tunnel with the second UPF network element based on the second tunnel information, and can divert the message of the campus DN from the terminal device and the message from the internet based on 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 between the first UPF network element and the campus DN, 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.

[0148] 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 associates 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 the messages transmitted between the campus DN and the terminal device, etc.

[0149] The implementation of the communication method shown in FIG. 9 may refer to the introduction of the communication method shown in FIG. 5 , and will not be described in detail.

[0150] 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.

[0151] 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 based on 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.

[0152] As shown in Figure 10, take a dual-domain user with a second dedicated DN being a supermarket DN, a first dedicated DN being a campus DN, a passing DN being the internet, and a terminal device being a 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 (anchor point corresponding to the supermarket DN), and can perform a first-level diversion on 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 the campus DN and the internet) to the first UPF network element. The first UPF network element has the function of a primary anchor point (anchor point corresponding to the internet), and can perform a second-level diversion on 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 rules, the billing rules for campus DN messages (or traffic), the billing rules for Internet messages (or traffic), the billing rules for supermarket DN messages (or traffic), etc. to the third UPF network element for billing the traffic of terminal devices.

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

[0154] 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.

[0155] Referring to the terminal device message diversion diagram shown in FIG11 , the enterprise intranet identifier in FIG11 is the first dedicated DN, and the internet identifier is the public DN. When the terminal device is located within the service range of the second UPF network element, the first SMF network element (such as the SMF network element in FIG11 ) may send fourth information to the second UPF network element, the fourth information including the first tunnel information and the second diversion rule of the first UPF network element, the second diversion rule may include the IP address list and / or 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 sent by the terminal device that is not the first dedicated DN to the first UPF network element; when the first SMF determines that the terminal device has moved out of the service range of the second UPF network element, the first SMF network element may send second information to the first UPF network element, the second information including the second tunnel information and the first diversion rule.

[0156] 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.

[0157] In addition, it should be understood that the above description is mainly based on the perspective that both the home location and the visited location (roaming location) are 5G networks, and the terminal device accesses the visited location through the 5G network. It is understandable that in some implementations, the terminal device may also use 4G access in the visited location (roaming location) (such as accessing the visited location's 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 (i.e., the first SMF network element) may also be a network element that integrates session management and packet data network gateway control plane functions in the visited location, such as a network element that has both the SMF network element in the 5G network and the PGW-C function in the 4G network, which may be referred to as an SMF&PGW-C network element; the first user plane function network element (such as the first UPF network element) may be a network element that integrates user plane functions and packet data network gateway data plane functions, such as a network element that has both the UPF network element in the 5G network and the PGW-U function in the 4G network, which may be referred to as a UPF&PGW-U network element.

[0158] In one 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).

[0159] 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.

[0160] 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 receiving the 4G GTP-U message, the UPF&PGW-U network element 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 5G GTP-U message header, converting the 5G GTP-U message into a 4G The GTP-U message is then sent to the terminal device.

[0161] In addition, it can be understood that in the embodiment 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.

[0162] Similarly, the first user plane functional network element can be not only 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 functional 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 first user plane functional network element being a UPF&PGW-U network element is only an example and does not constitute a limitation to this application.

[0163] The following describes the communication method provided in the embodiment of the present application by taking as an example a 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. The method may include:

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

[0165] In an embodiment of the present application, the user subscription 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 subscription information of the terminal device may include information about the 5G dedicated DN (such as the first dedicated DN) subscribed by the terminal device. When the terminal device accesses the 4G network in the visited location, the MME network element of the visited location may select an SMF&PGW-C network element that has both the functions of a 5G SMF network element and a 4G PGW-C network element, and a UPF&PGW-U that has 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 subscribed to a 5G dedicated DN.

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

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

[0168] As an example: when the 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 may proactively send the first information to the SMF&PGW-C network element when it recognizes that the user contract 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.

[0169] 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.

[0170] It should be understood that the SMF&PGW-C network element supports N16a interface 4 / 5G parameter mapping. When the terminal device accesses the roaming area in 4G, the SMF&PGW-C network element can map the terminal device's 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 tracking area identity (TAI) of the terminal device in 4G is less than that in 5G. The terminal device can be padded 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 NF instance ID (NF Instance ID) or IP address of the SMF&SPGW-C can be taken as the AMF instance ID (AMF instance id), and the radio access technology (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 the terminal device session. This application is not limited to this.

[0171] S1204: The second SMF network element at the home location selects the second UPF network element for the campus DN based on the identifier of the campus DN.

[0172] 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 for the second UPF network element to establish a downlink tunnel with the UPF&GW-U network element (i.e., the first UPF network element).

[0173] 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.

[0174] 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.

[0175] The first diversion rule is used to instruct that the message of the campus DN sent by the terminal device be 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 based on the second tunnel information, and can divert the message of the campus DN from the terminal device and the message from the internet according to the first diversion rule, such as sending the message from the campus DN of the terminal device to the second UPF network element through the uplink tunnel established between the terminal device and 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.

[0176] 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 to perform address conversion on the messages transmitted between the campus DN and the terminal device, etc.

[0177] 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.

[0178] The implementation of the communication method shown in FIG12 may refer to the introduction of the communication method shown in FIG5 or FIG9, and will not be described in detail.

[0179] 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. Those skilled in the art should readily appreciate that, in combination with the various exemplary units and method steps described in the embodiments disclosed herein, 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 hardware or in a manner driven by computer software depends on the specific application scenario and design constraints of the technical solution.

[0180] Figures 13 and 14 are schematic diagrams of possible communication devices provided in embodiments 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-mentioned method embodiments, thereby also achieving the beneficial effects of the above-mentioned method embodiments.

[0181] As shown in Figure 13, communication device 1300 includes a processing unit 1310 and an interface unit 1320, where interface unit 1320 can also be a transceiver unit or an input / output interface. Communication device 1300 can be used to implement the functions of the first communication device or the second communication device in the method embodiments shown in Figures 5, 7, 8, 9, 10, 11, or 12.

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

[0183] 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 to by a terminal device, where the communication device is a visited session management network element of the terminal device; send a first request to a second session management network element, the first request including an identifier of the first dedicated data network, where the second session management network element is a session management network element that supports the first dedicated data network; and 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, where 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.

[0184] The processing unit 1310 is used to determine the 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.

[0185] 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.

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

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

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

[0189] 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 located within the service range of the second user plane functional network element. The fourth information includes the first tunnel information and the second diversion rule of the first user plane functional network element. The second diversion rule is used to instruct the second user plane functional network element to send the message sent by the terminal device that is not from the first dedicated data network 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.

[0190] 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.

[0191] 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 functional network element to the third user plane functional network element. The third diversion rule is used to instruct the third user plane functional network element to send the message sent by the terminal device that is not from the second dedicated data network to the first user plane functional network element. The third user plane functional network element is the user plane functional network element selected by the processing unit 1310 according to the second dedicated data network.

[0192] 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.

[0193] In one possible design, when the terminal device accesses 4G at the visited location, 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.

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

[0195] 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 location 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 to 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 to by the terminal device, and the first diversion rule is used to instruct that messages sent by the terminal device for the first dedicated data network be sent to the second user plane function network element;

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

[0197] 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.

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

[0199] 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.

[0200] In one possible design, when the terminal device accesses 4G at the visited location, 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.

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

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

[0203] Interface unit 1320 is used to receive a first request from a first session management network element, the first request including an identifier of a first dedicated data network to which the terminal device is subscribed, the first session management network element being a visited session management network element of the terminal device, and the communication device being a session management network element supporting the first dedicated data network; processing unit 1310 is used to determine a first response, the first response including second tunnel information of a second user plane function network element, the second user plane function network element being a user plane function network element selected by processing unit 1310 based on the first dedicated data network; interface unit 1320 is also used to send a first response to the first session management network element.

[0204] 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, where the third information includes the first tunnel information.

[0205] 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.

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

[0207] 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.

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

[0209] 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 to by the terminal device, and the communication device is a user plane function network element selected for the first dedicated data network subscribed to by the terminal device;

[0210] 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 messages transmitted between the first private data network and the terminal device.

[0211] 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;

[0212] The processing unit 1310 is further configured to establish a downlink tunnel with the first user plane functional network element according to the first tunnel information, where the downlink tunnel is used to transmit messages sent by the interface unit 1320 to the first user plane functional network element.

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

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

[0215] 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 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 the universal data network subscribed to by the terminal device, the communication device is a user plane function network element selected for the 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.

[0216] The processing unit 1310 is used to establish a downlink tunnel with the first user plane functional network element based on the first tunnel information, and the downlink tunnel is used to transmit the message sent by the interface unit 1320 to the first user plane functional network element; and to associate 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 the message transmitted between the first private data network and the terminal device.

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

[0218] As shown in Figure 14, the present application also provides a communication device 1400, which includes 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 is understandable 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 further include a memory 1430 for storing instructions executed by the processor 1410 or storing input data required by the processor 1410 to execute instructions or storing data generated after the processor 1410 executes instructions. The memory 1430 may be a physically independent unit, or may be coupled to the processor 1410, or the processor 1410 may include the memory 1430.

[0219] When the communication device 1400 is used to implement the method shown in Figure 5, Figure 7, Figure 8 or Figure 9 or Figure 10 or Figure 11 or Figure 12, 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.

[0220] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may be 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.

[0221] 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 write information to the storage medium. Of course, the storage medium can also be an integral part 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.

[0222] In the above embodiments, all or part of the embodiments can be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments can be implemented 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 instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer can 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 instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer program or instructions can be transmitted from one network device, terminal, computer, server, or data center to another network device, terminal, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disk; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.

[0223] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0224] Furthermore, it should be understood that in the embodiments of this application, the word "exemplary" is used to indicate an example, illustration, or description. Any embodiment or design described in this application as "exemplary" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.

[0225] It is understood that the various numbers used in the embodiments of this application are merely for ease of description and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above-mentioned processes does not necessarily imply a specific order of execution; the order of execution of the processes should be determined by their functions and inherent 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 second tunnel information and a first diversion rule from a first session management network element, wherein the first session management network element is a visited session management network element of a terminal device, 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 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 indicate that the first dedicated data network sent by the terminal device The message is sent 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 a 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 claim 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 according to claim 20, characterized in that 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 the 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.

32. A communication system, characterized in that: The communication system includes a first session management network element and a first user plane function network element, the first session management network element is used to execute the method according to any one of claims 1-10, and the first user plane function network element is used to execute the method according to any one of claims 11-16.

33. The communication system according to claim 32, characterized in that It also includes a second session management network element, wherein the second session management network element is used to execute the method according to any one of claims 17 to 21.

34. The communication system according to claim 32 or 33, characterized in that: It also includes a second user plane function network element, which is used to execute the method as described in any one of claims 22-26.

Citation Information

Patent Citations

  • Method and system for accessing multiple data centers in roaming scene based on 5G ULCL shunting

    CN115119191A

  • Communication method and communication apparatus

    WO2022001951A1

  • Network access method and apparatus

    WO2022206979A1

Cited By

  • Private network access system, information transmission method, storage medium and program product

    CN119854057A

  • Communication method and communication device

    CN120152060A

  • Communication method and communication system

    CN121078022A