Communication method and device

By realizing computing power routing capabilities in the user-plane functional network element (UPF) of 5G network, the problem of access delay of terminal devices due to insufficient computing power resources is solved, and more efficient data processing and storage space saving is achieved.

CN119729887APending Publication Date: 2025-03-28HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311259622.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In 5G networks, the user-plane functional network element (UPF) and multi-access edge computing (MEC) platforms have a long delay in accessing applications due to insufficient computing power resources.

Method used

By realizing computing power routing capabilities in the user-plane functional network element (UPF), the data packets are determined and forwarded to the second user-plane functional network element (UPF) with sufficient resources based on the resources required for the application of the data packets sent by the terminal device, so that the data packets can be processed accordingly.

Benefits of technology

It improves the processing efficiency of data packets, reduces the delay of terminal devices to access applications, and saves the storage space of the first user-side function network element.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729887A_ABST
    Figure CN119729887A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a communication method and device. The first user plane function network element receives a first data message from the terminal device, the first data message corresponds to a first application, a second user plane function network element is determined according to the at least one DNAI and resources required by the first application, the at least one DNAI is a DNAI corresponding to the first application, the second user plane function network element corresponds to a first DNAI in the at least one DNAI, and the first data message corresponds to the first application. And sending the first data message to the second user plane function network element. According to the embodiment of the invention, when the first user plane function network element forwards the first data message to the second user plane function network element corresponding to the first DNAI, the first DNAI is selected based on the resource required by the first application, so that the resource of the first application corresponding to the first DNAI can support the access of the terminal equipment; therefore, the time delay of accessing the first application by the terminal equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] At present, the user plane function (UPF) network element in the fifth generation (5G) network can forward the data message from the terminal device to the multi-access edge computing (MEC) platform. The UPF network element and the MEC platform correspond to the same data network access identifier (DNAI). If the data message corresponds to an application, the application server (AP) supporting the application deployed on the MEC platform can process the data message.

[0003] However, the application server supporting the application deployed on the MEC platform may not be able to process the data message in time due to insufficient computing resources, resulting in a long delay in the terminal device accessing the application. Summary of the invention

[0004] Embodiments of the present application provide a communication method and device for reducing access latency.

[0005] In the first aspect, an embodiment of the present application provides a communication method, which can be executed by a first user plane functional network element, or by a chip system, which can realize the function of the first user plane functional network element. The method includes: receiving a first data message from a terminal device, the first data message corresponding to a first application; determining a second user plane functional network element according to at least one DNAI and the resources required by the first application, the at least one DNAI being the DNAI corresponding to the first application, and the second user plane functional network element corresponding to the first DNAI in the at least one DNAI; sending the first data message to the second user plane functional network element.

[0006] In the embodiment of the present application, after receiving the first data message, the first user plane function network element can determine the second user plane function network element in combination with the resources required by the first application. For example, the MEC platform corresponding to the DNAI corresponding to the second user plane function network element is a MEC platform whose resources can support processing the first data message. Thus, after the first user plane function network element sends the first data message to the second user plane function network element, the first data message can be processed by the MEC platform corresponding to the second user plane function network element, thereby improving the processing efficiency of the data message and reducing the delay of the terminal device accessing the first application.

[0007] In an optional implementation, determining the second user plane function network element includes: sending the first DNAI to the first network element, and receiving the address of the second user plane function network element from the first network element. In this implementation, the first user plane function network element can obtain the address of the second user plane function network element corresponding to the first DNAI by interacting with the first network element, without pre-storing the address of the user plane function network element corresponding to the DNAI, thereby saving storage space of the first user plane function network element.

[0008] In an optional implementation, the first network element includes a session management function network element or a network storage function network element.

[0009] In an optional implementation, determining the second user plane function network element includes: determining the address of the second user plane function network element according to the address of the user plane function network element corresponding to the at least one DNAI, and the user plane function network element corresponding to the at least one DNAI includes the second user plane function network element. In this implementation, the first user plane function network element can also determine the address of the second user plane function network element by the address of the user plane function network element corresponding to the DNAI stored in advance, thereby reducing the interaction process of the network elements.

[0010] In an optional implementation, the method further includes: sending the address of the second user plane function network element to the session management function network element. In this implementation, the session management function network element can determine that the next-hop user plane function network element selected by the first user plane function network element for routing forwarding is the second user plane function network element, and the next-hop user plane function network element can be the next hop of the first user plane function network element, or can also be the next hop of the base station, and then can perform corresponding processing, such as requesting the first user plane function network element or the base station to establish a tunnel (such as an N9 tunnel or an N3 tunnel) between the second user plane function network element to forward data packets, or judging whether the data packets can be forwarded to the second user plane function network element, etc. For example, before selecting the second user plane functional network element as the next-hop user plane functional network element, the first user plane functional network element may have selected a user plane functional network element different from the second user plane functional network element (for example, user plane functional network element A) as the next-hop user plane functional network element, that is, the first user plane functional network element may have forwarded the received data packet to the MEC platform corresponding to the DNAI corresponding to the user plane functional network element A (for example, MEC platform A) for processing. Therefore, the session management functional network element can request the application functional network element to allow the historical information of MEC platform A processing the data packet to be migrated to the MEC platform corresponding to the DNAI corresponding to the second user plane functional network element (for example, MEC platform B), so that MEC platform B can process the data packet in combination with the historical information of MEC platform A processing the data packet. If the application functional network element allows migration, the session management functional network element can determine that the first user plane functional network element can forward the data packet to the second user plane functional network element.

[0011] In an optional implementation, the method further includes: receiving first indication information from the session management function network element, the first indication information being used to instruct the first user plane function network element to send a data message to the second user plane function network element. In this implementation, the session management function network element instructs the first user plane function network element to forward the data message, so that the message forwarding process can be performed under the control of the core network.

[0012] In an optional implementation, the method further includes: receiving a session modification request from the session management function network element, the session modification request is used to request the first user plane function network element to assign a tunnel identifier to a first tunnel, the first tunnel is a tunnel between the first user plane function network element and the second user plane function network element for transmitting data packets, the session modification request includes a first identifier, the first identifier is the tunnel identifier assigned by the second user plane function network element to the first tunnel; sending a second identifier to the session management function network element, the second identifier is the tunnel identifier assigned by the first user plane function network element to the first tunnel; establishing the first tunnel according to the first identifier and the second identifier. In this implementation, the tunnel identifier can be transmitted between the first user plane function network element and the second user plane function network element through the session management function network element to establish a first tunnel (for example, an N9 tunnel), and the N9 tunnel is established through the session management function network element, which complies with the provisions of the existing protocol and has better compatibility.

[0013] In an optional implementation, the method further includes: sending a tunnel establishment request to the second user plane function network element, the tunnel establishment request including a second identifier, the second identifier being a tunnel identifier assigned by the first user plane function network element to a first tunnel, the first tunnel being a tunnel between the first user plane function network element and the second user plane function network element for transmitting data packets; receiving a first identifier from the second user plane function network element, the first identifier being a tunnel identifier assigned by the second user plane function network element to the first tunnel; and establishing the first tunnel according to the first identifier and the second identifier. In this implementation, the tunnel identifier can be directly transmitted (for example, via the general packet radio service tunneling protocol (GTP)) between the first user plane function network element and the second user plane function network element to establish a first tunnel (for example, an N9 tunnel), thereby reducing the interaction process of network elements.

[0014] In an optional implementation, the method further includes: receiving a first request from a session management function network element, the first request being used to request the first user plane function network element to report first information after receiving a data message from the terminal device, the first information including a DNAI and / or an address, and the first information being used to determine a second user plane function network element. In this implementation, the session management function network element can determine the next hop user plane function network element selected by the first user plane function network element for routing forwarding, the next hop user plane function network element can be the next hop of the first user plane function network element, or can also be the next hop of the base station, and then can perform corresponding processing, such as requesting the first user plane function network element to establish a tunnel (e.g., an N9 tunnel) between the first user plane function network element and the next hop user plane function network element to forward the data message, or requesting the base station to establish a tunnel (e.g., an N3 tunnel) between the next hop user plane function network element, or judging whether the data message can be forwarded to the next hop user plane function network element.

[0015] In an optional embodiment, the method also includes: sending a registration request to a network storage function network element, the registration request including one or more of the following information: a data network name (DNN) corresponding to the first user plane function network element; single network slice selection assistance information (S-NSSAI, S-NSSAI) corresponding to the first user plane function network element; or, second indication information, used to indicate that the first user plane function network element has computing power routing capability, and the computing power routing capability is used by the first user plane function network element to forward the data message of the application according to the resources required by the application. In this implementation, since the network storage functional network element can pre-select and store the DNN and / or S-NSSAI corresponding to the user plane functional network element with computing power routing capability, the first user plane functional network element can indirectly report to the network storage functional network element that the first user plane functional network element has computing power routing capability through the DNN and / or S-NSSAI corresponding to the first user plane functional network element, or can directly report to the network storage functional network element that the first user plane functional network element has computing power routing capability through the second indication information. The indication method is relatively flexible and also enables the network side to clearly understand the capabilities of the first user plane functional network element.

[0016] In a second aspect, an embodiment of the present application further provides a communication method, which can be executed by a session management function network element, or by a chip system, and the chip system can implement the function of the session management function network element. The method includes: sending a first request to a first user plane function network element, the first request is used to request the first user plane function network element to report first information after receiving a data message from a terminal device, the first information includes a DNAI and / or an address, the first information is used to determine a second user plane function network element, and the data message corresponds to a first application; receiving a first DNAI from the first user plane function network element and / or an address of the second user plane function network element, the first DNAI is a DNAI in at least one DNAI, the at least one DNAI is a DNAI corresponding to the first application, and the second user plane function network element corresponds to the first DNAI; establishing a tunnel for transmitting data messages according to the first DNAI and / or the address of the second user plane function network element.

[0017] In an optional implementation, the method further includes: sending the first DNAI to a network storage function network element, receiving the address of the second user plane function network element from the network storage function network element; and sending the address of the second user plane function network element to the first user plane function network element.

[0018] In an optional embodiment, the method also includes: sending a second request to the application function network element, the second request is used to request to migrate the context information of the first application corresponding to the second DNAI to the first DNAI, the second DNAI is a DNAI among the at least one DNAI other than the first DNAI, the context information includes historical information of the first application, and the second request includes the first DNAI; receiving a first response from the application function network element, the first response is used to indicate that the context information of the first application corresponding to the second DNAI is allowed to be migrated to the first DNAI.

[0019] In an optional embodiment, the second request also includes third indication information, used to indicate that the first DNAI is determined from the at least one DNAI according to the resources required by the first application.

[0020] In an optional implementation, first indication information is sent to the first user plane function network element, where the first indication information is used to instruct the first user plane function network element to send a data message to the second user plane function network element.

[0021] In an optional embodiment, a tunnel for transmitting data packets is established according to the address of the first DNAI and / or the second user plane functional network element, including: establishing a first tunnel according to the address of the first DNAI and / or the second user plane functional network element, the first tunnel is a tunnel for transmitting data packets between the first user plane functional network element and the second user plane functional network element; or, establishing a second tunnel according to the address of the first DNAI and / or the second user plane functional network element, the second tunnel is a tunnel for transmitting data packets between the access network device and the second user plane functional network element.

[0022] In an optional implementation, establishing a first tunnel according to the address of the first DNAI and / or the second user plane function network element includes: sending a third request to the second user plane function network element, the third request being used to request the second user plane function network element to assign a tunnel identifier to the first tunnel; receiving a first identifier from the second user plane function network element, the first identifier being the tunnel identifier assigned by the second user plane function network element to the first tunnel; sending a session modification request to the first user plane function network element, the session modification request being used to request the first user plane function network element to assign a tunnel identifier to the first tunnel, the session modification request including the first identifier; receiving a second identifier from the first user plane function network element, the second identifier being the tunnel identifier assigned by the first user plane function network element to the first tunnel; and sending the second identifier to the second user plane function network element.

[0023] In an optional embodiment, a second tunnel is established according to the address of the first DNAI and / or the second user plane function network element, including: sending a fourth request to the second user plane function network element, the fourth request is used to request the second user plane function network element to assign a tunnel identifier to the second tunnel; receiving a third identifier from the second user plane function network element, the third identifier is the tunnel identifier assigned by the second user plane function network element to the second tunnel; sending the third identifier to an access and mobility management function network element; receiving a fourth identifier from the access and mobility management function network element, the fourth identifier is the tunnel identifier assigned by the access network device to the second tunnel; and sending the fourth identifier to the second user plane function network element.

[0024] In an optional embodiment, the method also includes: receiving a session establishment request from the terminal device, the session establishment request is used to request the session management function network element to establish a first session, and the first session is used for the terminal device to access the first application; sending a discovery request to the network storage function network element, the discovery request is used to request the network storage function network element to discover a user plane function network element with computing power routing capability, and the computing power routing capability is used for the user plane function network element to forward the data message of the application according to the resources required by the application; receiving a discovery response from the network storage function network element, and the discovery response is used to indicate that the first user plane function network element has the computing power routing capability.

[0025] In an optional embodiment, the session establishment request includes one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; or, fourth indication information, used to indicate that the data packet transmitted on the first session has a computing power routing requirement.

[0026] In an optional embodiment, the discovery request includes one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; the location information of the terminal device; or, fifth indication information, used to instruct the network storage function network element to discover the user plane function network element with the computing power routing capability.

[0027] Regarding the technical effects brought about by the second aspect or some optional implementation methods, reference may be made to the introduction to the technical effects of the first aspect or corresponding implementation methods.

[0028] In a third aspect, an embodiment of the present application provides a communication device, including a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory to enable the device to execute any implementation method in the first to second aspects above. The memory can be a volatile or non-volatile memory, such as a cache in a semiconductor chip.

[0029] In a fourth aspect, an embodiment of the present application provides a communication device, which may be a user plane function network element or a session management function network, or a chip for a user plane function network element or a session management function network. The device has the function of implementing any implementation method of the first aspect to the second aspect above. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0030] In a fifth aspect, an embodiment of the present application provides a communication device, comprising a unit or means for executing each step of any implementation method in the first to second aspects above.

[0031] In a sixth aspect, an embodiment of the present application provides a communication device, including a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and execute any implementation method in the first to second aspects above. The processor may be one or more processors.

[0032] In a seventh aspect, an embodiment of the present application provides a communication device, comprising a processor coupled to a memory, the processor being used to call a program stored in the memory to execute any implementation method in the first to second aspects above. The memory may be located inside the device or outside the device. The processor may also be one or more processors.

[0033] In an eighth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a communication device, any implementation method in the above-mentioned first to second aspects is executed.

[0034] In the ninth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a communication device, any implementation method in the above-mentioned first to second aspects is executed.

[0035] In the tenth aspect, an embodiment of the present application also provides a chip system, including: a processor, used to execute any implementation method in the above-mentioned first aspect to the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1A and Figure 1B Schematic diagram of two network architectures provided for embodiments of the present application;

[0037] Figure 2A A schematic diagram of a network architecture provided for an embodiment of the present application;

[0038] Figure 2B Another schematic diagram of a network architecture provided in an embodiment of the present application;

[0039] Figure 2C and Figure 2D Schematic diagram of two communication scenarios provided in embodiments of the present application;

[0040] Figure 3 A flow chart of a communication method provided in an embodiment of the present application;

[0041] Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8Flowcharts of five communication methods provided in embodiments of the present application;

[0042] Fig. 9 A schematic diagram of a device provided in an embodiment of the present application;

[0043] Fig.10 A schematic diagram of another device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0045] In the embodiments of the present application, the number of nouns, unless otherwise specified, means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plural" means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A or B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. For example, A / B means: A or B. "At least one of the following" or "one or more of them" and other similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c, or one or more of a, b, or c, means: a, b, c, a and b, a and c, b and c, or a and b and c. Each of a, b, and c can be single or multiple.

[0046] The ordinal numbers such as "first" and "second" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the size, content, order, timing, priority or importance of multiple objects. In addition, the numbering of the steps in each embodiment introduced in the embodiments of the present application is only to distinguish different steps, and is not used to limit the order between the steps. For example, S301 may occur before S302, or may occur after S302, or may also occur at the same time as S302.

[0047] Below, some terms or concepts in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0048] (1) In the embodiments of the present application, the terminal device is a device with wireless transceiver function, which can be a fixed device, a mobile device, a handheld device (such as a mobile phone), a wearable device, a vehicle-mounted device, or a wireless device built into the above device (such as a communication module, a modem, or a chip system, etc.). The terminal device is used to connect people, objects, machines, etc., and can be widely used in various scenarios, such as but not limited to the following scenarios: cellular communication, device-to-device communication (device-to-device, D2D), V2X, machine-to-machine / machine-type communication (machine-to-machine / machine-typecommunications, M2M / MTC), Internet of Things (Internet of Things, IoT), virtual reality (virtual reality, VR), augmented reality (augmented reality, AR), industrial control (industrial control), self-driving, remote medical, smart grid (smart grid), smart furniture, smart office, smart wearable, smart transportation, smart city (smart city), drones, robots and other scenarios of terminal devices. The terminal device may sometimes be referred to as user equipment (UE), terminal, access station, UE station, remote station, wireless communication device, or user device, etc.

[0049] In the embodiment of the present application, the communication device for implementing the function of the terminal device may be a terminal device, or may be a device capable of supporting the terminal device to implement the function, such as a chip system, which may be installed in the terminal device. In the technical solution provided in the embodiment of the present application, the technical solution provided in the embodiment of the present application is described by taking the device for implementing the function of the terminal device as an example, which is a terminal device. In addition, for the convenience of description, the terminal device is described in the embodiment of the present application by taking UE as an example.

[0050] (2) The network equipment in the embodiments of the present application, for example, includes access network equipment and / or core network equipment. The access network equipment is a device with wireless transceiver function, which is used to communicate with the terminal device. The access network equipment includes but is not limited to base stations (base transceiver station (BTS), Node B, eNodeB / eNB, or gNodeB / gNB), transmission reception points (TRP), base stations subsequently evolved from the third generation partnership project (3GPP), access nodes in wireless fidelity (Wi-Fi) systems, wireless relay nodes, wireless backhaul nodes, etc. The base station can be: a macro base station, a micro base station, a pico base station, a small station, a relay station, etc. Multiple base stations can support networks with the same access technology, or they can support networks with different access technologies. A base station can include one or more co-sited or non-co-sited transmission receiving points. The access network device may also be a wireless controller, a centralized unit (CU), and / or a distributed unit (DU) in a cloud radio access network (CRAN) scenario. The access network device may also be a server, etc. For example, the network device in the vehicle to everything (V2X) technology may be a road side unit (RSU). The following describes the access network device using a base station as an example. The base station can communicate with a terminal device, or it can communicate with the terminal device through a relay station. The terminal device can communicate with multiple base stations in different access technologies. The core network device is used to implement functions such as mobility management, data processing, session management, policy and billing. The names of the devices that implement core network functions in systems with different access technologies may be different, and the embodiments of the present application do not limit this. Taking the 5th generation (5G) mobile communication system as an example, the core network equipment includes: access and mobility management function (AMF), session management function (SMF), policy control function (PCF) or user plane function (UPF), etc.

[0051] In the embodiment of the present application, the communication device for realizing the function of the network device may be a network device, or may be a device capable of supporting the network device to realize the function, such as a chip system, which may be installed in the network device. In the technical solution provided in the embodiment of the present application, the technical solution provided in the embodiment of the present application is described by taking the device for realizing the function of the network device as an example that the network device is used as the device.

[0052] Please refer to Figure 1A , is a schematic diagram of a 5G network architecture based on a service-oriented architecture, which is also a network architecture applied in the embodiments of the present application. Figure 1A The 5G network architecture shown may include three parts, namely, the UE part, the data network (DN) and the operator network part.

[0053] Among them, the operator network may include one or more of the following network elements: authentication server function (AUSF) network element, network exposure function (NEF) network element, PCF network element, unified data management (UDM) network element, unified data repository (UDR), network storage function (NRF) network element, application function (AF) network element, AMF network element, SMF network element, (radio) access network ((R)AN) or UPF network element, etc.

[0054] The above-mentioned operator network includes a radio access network and a core network. The UE accesses the core network through the (R)AN, and the core network includes user plane network elements and control plane network elements. Among them, the user plane network elements of the core network include UPF; the control plane network elements of the core network include at least one of AUSF, AMF, SMF, NSSF, NEF, NRF, UDM, PCF, or AF.

[0055] User plane network elements (such as UPF) are mainly responsible for packet forwarding, quality of service (QoS) control, billing information statistics, etc. Control plane network elements are mainly responsible for business process interaction, issuing packet forwarding strategies and QoS control strategies to the user plane.

[0056] The core network control plane can adopt a service-oriented architecture, that is, the interaction between control plane network elements adopts the service call method to replace the point-to-point communication method in the traditional architecture. In the service-oriented architecture, a control plane network element will open services to other control plane network elements for other control plane network elements to call; in point-to-point communication, there will be a set of specific messages on the communication interface between control plane network elements, which can only be used by the control plane network elements at both ends of the interface when communicating.

[0057] The functions of network elements in the core network are described as follows:

[0058] UPF supports all or part of the following functions: interconnecting protocol data unit (PDU) sessions with data networks, packet routing and forwarding (for example, supporting uplink classifier for forwarding traffic to the data network, supporting branching points to support multi-homed PDU sessions), or packet inspection.

[0059] AMF, UE access management and mobility management. Responsible for UE status maintenance, UE reachability management, non-mobility management (MM) non-access-stratum (NAS) message forwarding, session management (SM) N2 message forwarding.

[0060] SMF, UE session management, allocates resources for UE sessions and releases resources. The resources include session quality of service (QoS), session path, forwarding rules, etc. SMF is responsible for selecting or reselecting UPF, allocating Internet protocol (IP) addresses, and establishing, modifying, and releasing bearers.

[0061] NEF opens network functions to third parties in the form of northbound application programming interface (API).

[0062] NRF provides storage and selection functions for network function entity information for other network elements.

[0063] UDM, User Subscription Context Management, is responsible for managing the UE's subscription data and notifying the corresponding network element when the subscription data is modified.

[0064] UDR, a unified data repository function, is responsible for storing and retrieving contract data, policy data, and public architecture data, etc., which can be used by network elements such as UDM, PCF, or NEF to obtain relevant data. UDR can have different data access authentication mechanisms for different types of data (such as contract data, policy data, etc.) to ensure the security of data access. UDR should be able to return a failure response with an appropriate reason value for illegal service operations or data access requests.

[0065] PCF, user policy management, is used to generate and manage user, session, and QoS flow processing policies.

[0066] AF, application management, provides some application layer services to UE. When providing services to UE, AF has requirements for QoS (policy) and charging strategy, and needs to notify the network. In addition, AF also needs the core network to feedback application-related information.

[0067] The relevant interfaces between network element functions involved in the embodiments of the present application include:

[0068] N1: Interface between UE and core network control plane.

[0069] N2: Communication interface between (R)AN and core network control plane.

[0070] N3: Communication interface between (R)AN and UPF, used to transmit user plane data.

[0071] N4: Communication interface between SMF and UPF, used by SMF to configure policies for UPF, etc.

[0072] N6: Communication port between UPF and DN.

[0073] Please refer to Figure 1B , is a schematic diagram of a 5G network architecture based on a point-to-point interface, which is another network architecture used in the embodiments of the present application. Figure 1B For network elements within, please refer to Figure 1A Introduction to relevant network elements in. Figure 1B and Figure 1A The main difference is that Figure 1B The interfaces between network elements are point-to-point interfaces, not service-oriented interfaces.

[0074] (3) Computing first network (CFN) is a new type of information infrastructure that allocates and flexibly schedules computing resources, storage resources, and network resources on demand between cloud computing, edge computing, and terminal. The purpose of CFN is to enable data flow to select the optimal path and optimal computing node in the outbound process, and the optimal path in the return process.

[0075] CFN dynamic anycast (Dyncast) is a key technology of CFN's control layer or routing layer. It distributes the computing power information of computing nodes through network protocols and combines network information to provide users with the best computing power allocation and network connection.

[0076] (4) Multi-access edge computing (MEC) refers to cloud computing located at the edge of the network. It deploys computing power closer to users, reduces network latency, and provides users with computing power and applications nearby, thereby significantly improving the service experience.

[0077] Among them, the UPF network element in the 5G network is the key network element for the integration of MEC and 5G networks. MEC is mainly responsible for calculating the data packets forwarded by the UPF network element. For example, the UPF network element can connect to the MEC data center (ie, MEC platform) through the N6 interface. The UPF network element can forward the data packets accessing a certain application to the MEC platform, so that the application server supporting the application deployed on the MEC platform can process the data packets.

[0078] Please refer to Figure 2A , is a network architecture diagram provided for an embodiment of the present application, taking a 5G network as an example. Figure 2A The network architecture shown may include UE, base station, three UPF network elements (respectively UPF1 network element, UPF2 network element and UPF3 network element) and three MEC platforms (respectively MEC platform 1, MEC platform 2 and MEC platform 3). Among them, the base station can connect to the UPF1 network element through the N3 interface, and the UPF1 network element can connect to the UPF2 network element and the UPF3 network element through the N9 interface. The UPF1 network element, the UPF2 network element and the UPF3 network element can connect to the MEC platform 1, MEC platform 2 and MEC platform 3 respectively through the N6 interface.

[0079] Please refer to Figure 2B , is another network architecture diagram provided for an embodiment of the present application, taking a 5G network as an example. Figure 2BThe network architecture shown may include UE, base station, three UPF network elements (respectively UPF1 network element, UPF2 network element and UPF3 network element) and three MEC platforms (respectively MEC platform 1, MEC platform 2 and MEC platform 3). Among them, the base station can connect to any UPF network element among UPF1 network element, UPF2 network element and UPF3 network element through N3 interface, which can be understood as the base station connecting to one UPF network element through N3 interface. UPF1 network element, UPF2 network element and UPF3 network element can be connected to MEC platform 1, MEC platform 2 and MEC platform 3 respectively through N6 interface.

[0080] It should be understood that Figure 2A Or 2B is only for the sake of ease of understanding, and an exemplary network architecture is shown, but this should not constitute any limitation to the present application. The network architecture may also include a larger number of UPF network elements, and may also include a larger number of MEC platforms; the MEC platforms that interact with different UPF network elements may be the same MEC platforms or different MEC platforms; the number of MEC platforms that interact with different UPF network elements may be the same or different, and the embodiments of the present application do not limit this.

[0081] The following describes the method provided by the embodiments of the present application in conjunction with the accompanying drawings. The various embodiments of this article can be applied to Figure 1A or Figure 1B For example, the UPF network element described in each embodiment of this document may be Figure 1A or Figure 1B The UPF network element in the embodiment of the present invention may be Figure 1A or Figure 1B The SMF network element in the embodiment of the present invention may be Figure 1A or Figure 1B The NRF network element in the embodiment of the present invention may be Figure 1A or Figure 1B The AF network element in the embodiment of the present invention may be Figure 1A or Figure 1B AMF network element in.

[0082] The various embodiments of this article can also be applied to Figure 2A or Figure 2B For example, the base station described in each embodiment of this document may be Figure 2A or Figure 2B The UPF network element described in each embodiment of this article may be Figure 2A or Figure 2B The UPF network element in the embodiment of this article can be Figure 2A or Figure 2BThe MEC platform in.

[0083] Please refer to Figure 2C , is a schematic diagram of a communication scenario provided in an embodiment of the present application. It should be understood that, Figure 2C The scenario shown can be applied to Figure 2A network architecture. In this scenario, the UPF1 network element and the UPF2 network element can periodically synchronize the resources of the MEC platform corresponding to their respective data network access identifiers (DNAI) through the border gateway protocol (BGP) protocol. For example, the UPF1 network element can obtain the resources of the MEC platform 2 corresponding to the DNAI#2 corresponding to the UPF2 network element, and the resources of the MEC platform 2 can be the resources (such as computing power resources) of the application server 3 (supporting application 1) and the application server 4 (supporting application 2) deployed on the MEC platform 2. After the UPF1 network element receives the data packet 1 from UE1 for accessing application 1, it can perform computing power routing and determine that the application server supporting application 1 with the best (or appropriate) computing power resources is application server 3. The UPF1 network element can report the address (such as the Internet Protocol (IP) address) of DNAI#2 and / or the UPF2 network element corresponding to DNAI#2 to the SMF network element. The SMF network element can determine the optimal (or appropriate) path for transmitting data message 1 (such as UE1, base station, UPF1 network element, UPF2 network element, and application server 3 deployed on MEC platform 2) according to DNAI#2 and / or the address of the UPF2 network element corresponding to DNAI#2. The SMF network element or UPF1 network element can establish an N9 tunnel for transmitting data message 1 between the UPF1 network element and the UPF2 network element, so that the UPF1 network element can forward the data message 1 to the UPF2 network element. Among them, the optimal (or appropriate) path is compared with the original path for transmitting data message 1 when the UPF1 network element does not perform computing power routing (such as UE1, base station, UPF1 network element, and application server 1 deployed on MEC platform 1), and whether the computing power resources of the application server deployed on the MEC platform can process the data message in time, thereby reducing the delay of UE accessing the application.

[0084] Please refer to Figure 2D , is a schematic diagram of another communication scenario provided in an embodiment of the present application. It should be understood that, Figure 2D The scenario shown can be applied to Figure 2Bnetwork architecture. In this scenario, the UPF1 network element and the UPF2 network element can periodically synchronize the resources of the MEC platform corresponding to their respective DNAIs through the BGP protocol. For example, the UPF1 network element can obtain the resources of the MEC platform 2 corresponding to the DNAI#2 corresponding to the UPF2 network element, and the resources of the MEC platform 2 can be the resources (such as computing power resources) of the application server 3 (supporting application 1) and the application server 4 (supporting application 2) deployed on the MEC platform 2. After the UPF1 network element receives the data packet 1 from UE1 to access application 1, it can perform computing power routing and determine that the application server supporting application 1 with the best (or appropriate) computing power resources is application server 3. The UPF1 network element can report the address of the UPF2 network element corresponding to DNAI#2 and / or DNAI#2 to the SMF network element. The SMF network element can determine the optimal (or appropriate) path for transmitting data packet 1 (such as UE1, base station, UPF2 network element, and application server 3 deployed on MEC platform 2) based on the address of the UPF2 network element corresponding to DNAI#2 and / or DNAI#2. The SMF network element can establish the N3 tunnel for transmitting data message 1 between the base station and the UPF2 network element, and switch the N3 tunnel for transmitting data message 1 between the base station and the UPF1 network element to the N3 tunnel for transmitting data message 1 between the base station and the UPF2 network element, so that the base station can forward the data message 1 to the UPF2 network element. Among them, the optimal (or appropriate) path is compared with the original path for transmitting data message 1 when the UPF1 network element does not perform computing power routing (such as UE1, base station, UPF1 network element, application server 1 deployed on MEC platform 1), and whether the computing power resources of the application server deployed on the MEC platform can process the data message in time, thereby reducing the delay of UE accessing the application.

[0085] In the drawings corresponding to the various embodiments of the present application, all steps indicated by dotted lines are optional steps.

[0086] This application embodiment provides a communication method, see Figure 3 , which is a flow chart of the method. This method can be applied to Figure 2A or Figure 2B The network architecture is not limited. This method can be applied to Figure 2C or Figure 2D The communication scenarios are not restricted. Figure 3 In the illustrated embodiment, it is taken as an example that the first UPF network element is UPF1 network element and the second UPF network element is UPF2 network element or UPF3 network element.

[0087] S301, UE sends a first data message to a first UPF network element, and correspondingly, the first UPF network element receives the first data message from the UE. The first data message corresponds to a first application.

[0088] Among them, an N3 tunnel is established between the base station and the first UPF network element, and the UE can send the first data message to the first UPF network element through the base station.

[0089] In a possible implementation, before the UE sends the first data message to the first UPF network element, the UE, the SMF network element and the NRF network element may perform the following steps:

[0090] Step A1: The UE sends a session establishment request to the SMF network element, and correspondingly, the SMF network element receives the session establishment request from the UE.

[0091] Among them, the session establishment request can be used to request the SMF network element to establish a first session, and the first session can be used for the UE to access the first application. The session establishment request may include but is not limited to one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; or, indication information 1. Indication information 1 can also be referred to as the fourth indication information. Indication information 1 can be used to indicate that the data packet transmitted on the first session has a computing power routing requirement. The computing power routing requirement may refer to the need for a network device (such as a UPF network element) to forward the data packet of the application according to the resources required by the application (such as computing power resources). The resources required for the application may refer to the computing power resources of the application server deployed on the MEC platform that supports the application, such as the number of connected users and / or the central processing unit (CPU) load of the application server.

[0092] Step A2: The SMF network element sends a discovery request to the NRF network element, and correspondingly, the NRF network element receives the discovery request from the SMF network element.

[0093] Among them, the discovery request can be a Nnrf_NFDiscovery_Request message. The discovery request can be used to request the NRF network element to discover the UPF network element with computing power routing capability. The discovery request may include but is not limited to one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; the location information of the UE; or, indication information 2. Indication information 2 may also be referred to as the fifth indication information. Indication information 2 can be used to instruct the NRF network element to discover the UPF network element with computing power routing capability. The computing power routing capability can be used to forward the data message of the application according to the resources required by the application (such as computing power resources). Optionally, the computing power routing capability may be a CFN routing capability (such as CFN Dyncast).

[0094] Step A3: The NRF network element sends a discovery response to the SMF network element, and correspondingly, the SMF network element receives a discovery response from the NRF network element.

[0095] The discovery response may be a Nnrf_NFDiscovery_Response message. The discovery response may include the address of the first UPF network element. Optionally, the discovery response may also include indication information that may be used to indicate that the first UPF network element has computing power routing capability, so that the SMF network element may select the first UPF network element to forward the data message transmitted on the first session.

[0096] In one possible implementation, before the NRF network element sends a discovery response to the SMF network element, the first UPF network element and the NRF network element may perform the following steps: the first UPF network element sends a registration request to the NRF network element, and correspondingly, the NRF network element receives the registration request from the first UPF network element.

[0097] The registration request may be a Nnrf_NFManagement_NFRegister Request message. The registration request may include but is not limited to one or more of the following information: a DNN corresponding to the first UPF network element; an S-NSSAI corresponding to the first UPF network element; or indication information 3. Indication information 3 may also be referred to as second indication information. Indication information 3 may be used to indicate that the first UPF network element has computing power routing capability.

[0098] Step A4: The SMF network element sends a session establishment response to the UE, and correspondingly, the UE receives the session establishment response from the SMF network element. The session establishment response can be used to indicate that the first session is successfully established.

[0099] S302: The first UPF network element determines a second UPF network element according to at least one DNAI and resources required by the first application. The at least one DNAI is a DNAI corresponding to the first application, and the second UPF network element corresponds to a first DNAI in the at least one DNAI.

[0100] In the above 301, the first UPF network element can receive the first data message corresponding to the first application from the UE. If the first UPF network element directly forwards the first data message to the MEC platform corresponding to the first UPF network element, so that the application server supporting the first application deployed on the MEC platform processes the first data message, since the first UPF network element does not consider the computing power resources of the application server supporting the first application deployed on the MEC platform, it may happen that the computing power resources of the application server supporting the first application deployed on the MEC platform are insufficient and cannot process the first data message in time, resulting in a long delay for the UE to access the first application. Therefore, in order to reduce the delay of the UE to access the first application, when forwarding the first data message to the application server supporting the first application, the first UPF network element can consider whether the computing power resources of each application server supporting the first application can process the first data message in time, thereby reducing the delay of the UE to access the first application.

[0101] Specifically, S302 includes S302a and S302b.

[0102] S302a. The first UPF network element determines the first DNAI based on at least one DNAI and resources required by the first application.

[0103] Among them, at least one DNAI is the DNAI corresponding to the first application, and the DNAI corresponding to the first application may refer to the DNAI corresponding to the deployment location of the first application. For example, the application server #1 supporting the first application is deployed on the MEC platform corresponding to DNAI#1, then DNAI#1 is a DNAI corresponding to the first application. The resources required for the first application may refer to the computing power resources of the application server supporting the first application deployed on the MEC platform corresponding to the DNAI corresponding to the first application. For example, the application server #1 supporting the first application is deployed on the MEC platform corresponding to DNAI#1, then the resources required for the first application corresponding to DNAI#1 are the computing power resources of application server #1. The first DNAI may be the DNAI corresponding to the application server that supports the first application and has the best (or appropriate) computing power resources.

[0104] In a possible implementation, multiple UPF network elements can periodically synchronize the resources of the MEC platform corresponding to their respective DNAIs through the BGP protocol. That is, the first UPF network element can obtain the resources of the MEC platform corresponding to the DNAIs of other UPF network elements from other UPF network elements through the BGP protocol. Among them, one DNAI can correspond to at least one UPF network element, so a UPF network element can obtain the resources of the MEC platform corresponding to a DNAI from each UPF network element corresponding to the DNAI, or can obtain the resources of the MEC platform corresponding to the DNAI from a UPF network element corresponding to the DNAI.

[0105] Exemplarily, the first UPF network element can obtain the resources of the MEC platforms corresponding to DNAI#1, DNAI#2 and DNAI#3 as shown in Table 1 through the BGP protocol. Among them, the MEC platform corresponding to DNAI#1 deploys application server #1 (supporting application #1) and application server #2 (supporting application #2), the MEC platform corresponding to DNAI#2 deploys application server #3 (supporting application #1), application server #4 (supporting application #2) and application server #5 (supporting application #3), and the MEC platform corresponding to DNAI#3 deploys application server #6 (supporting application #1). Therefore, the resources of the MEC platform corresponding to DNAI#1, DNAI#2 and DNAI#3 corresponding to the deployment location of application #1 can be the number of users and / or CPU load connected to application server #1, the number of users and / or CPU load connected to application server #3 and the number of users and / or CPU load connected to application server #6, respectively; the resources of the MEC platform corresponding to DNAI#1 and DNAI#2 corresponding to the deployment location of application #2 can be the number of users and / or CPU load connected to application server #2 and the number of users and / or CPU load connected to application server #4, respectively; the resources of the MEC platform corresponding to DNAI#2 corresponding to the deployment location of application #3 can be the number of users and / or CPU load connected to application server #5.

[0106] After the first UPF network element receives data packet 1 for accessing application #1 from the UE, the first UPF network element can determine an application server with optimal (or suitable) computing resources from application server #1, application server #3 and application server #6 supporting application #1 based on the resources of the MEC platform corresponding to DNAI #1, DNAI #2 and DNAI #3 corresponding to the deployment location of application #1, and determine the DNAI corresponding to the application server with optimal (or suitable) computing resources as the first DNAI.

[0107] Application Type Application Server DNAI corresponding to the application deployment location Number of users CPU Load Application #1 (anycast address is IP #1) Application Server #1 DNAI#1 40 50% Application #2 (anycast address is IP #1) Application Server #2 DNAI#1 20 28% Application #1 (anycast address is IP #1) Application Server #3 DNAI#2 80 70% Application #2 (anycast address is IP #1) Application Server #4 DNAI#2 40 50% Application #3 (anycast address is IP #1) Application Server #5 DNAI#2 100 90% Application #1 (anycast address is IP #1) Application Server #6 DNAI#3 60 40%

[0108] Table 1

[0109] S302b. The first UPF network element obtains the address of the second UPF network element.

[0110] The second UPF network element may correspond to the first DNAI. The address of the second UPF network element may be an Internet protocol (IP) address of the second UPF network element.

[0111] In a first example, the first UPF network element may send a first DNAI to the first network element, and receive the address of the second UPF network element from the first network element, wherein the first network element includes an SMF network element or an NRF network element.

[0112] For example, the first UPF network element and the SMF network element can perform the following steps to obtain the address of the second UPF network element:

[0113] Step B1: The first UPF network element sends the first DNAI to the SMF network element, and correspondingly, the SMF network element receives the first DNAI from the first UPF network element.

[0114] Step B2: The SMF network element sends the address of the second UPF network element to the first UPF network element, and correspondingly, the first UPF network element receives the address of the second UPF network element from the SMF network element.

[0115] Optionally, the SMF network element and the NRF network element may perform the following steps to obtain the address of the second UPF network element:

[0116] Step C1: The SMF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the SMF network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0117] Step C2: The NRF network element sends the address of the second UPF network element to the SMF network element, and correspondingly, the SMF network element receives the address of the second UPF network element from the NRF network element. The address of the second UPF network element may be carried in the Nnrf_NFDiscovery_Response message.

[0118] Alternatively, the first UPF network element and the NRF network element may perform the following steps to obtain the address of the second UPF network element:

[0119] Step D1: The first UPF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the first UPF network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0120] Step D2: The NRF network element sends the address of the second UPF network element to the first UPF network element, and correspondingly, the first UPF network element receives the address of the second UPF network element from the NRF network element. The address of the second UPF network element may be carried in the Nnrf_NFDiscovery_Response message.

[0121] In the second example, the first UPF network element determines the address of the second UPF network element according to the address of the UPF network element corresponding to at least one DNAI. For example, when the above-mentioned multiple UPF network elements periodically synchronize the resources of the MEC platform corresponding to their respective DNAIs through the BGP protocol, their respective addresses are also synchronized.

[0122] In a possible implementation, after the first UPF network element obtains the address of the second UPF network element by sending the first DNAI to the NRF network element in the above-mentioned first example, or obtains the address of the second UPF network element through the above-mentioned second example, the first UPF network element and the SMF network element may perform the following steps: the first UPF network element sends the address of the second UPF network element to the SMF network element, and correspondingly, the SMF network element receives the address of the second UPF network element from the first UPF network element.

[0123] In a possible implementation, after the SMF network element receives the discovery response from the NRF network element, the SMF network element can determine that the first UPF network element has computing power routing capability, that is, the SMF network element can determine that the first UPF network element can perform computing power routing forwarding on the data message from the UE to meet the computing power routing requirements of the data message transmitted by the UE on the first session. Therefore, the SMF network element and the first UPF network element can perform the following steps: the SMF network element sends request 1 to the first UPF network element, and correspondingly, the first UPF network element receives request 1 from the SMF network element. Request 1 may also be referred to as the first request. Request 1 may be an N4 session establishment request. Request 1 may be used to request the first UPF network element to report first information after receiving the data message from the UE, the first information including DNAI and / or address, and the first information is used to determine the second user plane function network element. It can be understood that request 1 can be used to request the first UPF network element to report the information of the next-hop UPF network element after receiving the data message from the UE. The next-hop UPF network element can be the next hop of the first UPF network element, for example, the first UPF network element forwards the data message to the next-hop UPF network element, or it can also be the next hop of the base station, for example, the base station forwards the data message to the next-hop UPF network element, and the information of the next-hop UPF network element includes the DNAI corresponding to the next-hop UPF network element and / or the address of the next-hop UPF. Thus, the SMF network element can obtain the DNAI (for example, the first DNAI) corresponding to the next-hop UPF network element and / or the address of the next-hop UPF network element (for example, the second UPF network element) determined when the first UPF network element performs computing power routing forwarding on the first data message corresponding to the first application from the UE, so as to establish a tunnel (i.e., N9 tunnel) for transmitting data messages between the first UPF network element and the second UPF network element, or establish a tunnel (i.e., N3 tunnel) for transmitting data messages between the base station and the second UPF network element.

[0124] Specifically, after the SMF network element receives the first DNAI from the first UPF network element and / or the address of the second UPF network element, the SMF network element can establish a tunnel for transmitting data messages according to the address of the first DNAI and / or the second UPF network element. The tunnel can be a first tunnel or a second tunnel, the first tunnel can be a tunnel for transmitting data messages between the first UPF network element and the second UPF network element (i.e., an N9 tunnel), and the second tunnel can be a tunnel for transmitting data messages between the base station and the second UPF network element (i.e., an N3 tunnel).

[0125] In one example, the SMF network element, the first UPF network element, and the second UPF network element may perform the following steps to establish a first tunnel:

[0126] Step E1: The SMF network element sends request 2 to the second UPF network element, and correspondingly, the second UPF network element receives request 2 from the SMF network element. Request 2 may also be referred to as a third request. Request 2 may be an N4 session establishment request. Request 2 may be used to request the second UPF network element to allocate a tunnel identifier for the first tunnel.

[0127] Step E2: The second UPF network element sends a first identifier to the SMF network element, and correspondingly, the SMF network element receives the first identifier from the second UPF network element. The first identifier is a tunnel identifier allocated by the second UPF network element to the first tunnel. The first identifier can be carried in the N4 session establishment response.

[0128] Step E3: The SMF network element sends a session modification request to the first UPF network element, and correspondingly, the first UPF network element receives the session modification request from the SMF network element. The session modification request may be an N4 session modification request. The session modification request may be used to request the first UPF network element to allocate a tunnel identifier for the first tunnel. The session modification request may include the first identifier.

[0129] Step E4: The first UPF network element sends a second identifier to the SMF network element, and correspondingly, the SMF network element receives the second identifier from the first UPF network element. The second identifier is the tunnel identifier assigned by the first UPF network element to the first tunnel. The second identifier can be carried in the N4 session modification response.

[0130] Step E5: The SMF network element sends a second identifier to the second UPF network element, and correspondingly, the second UPF network element receives the second identifier from the SMF network element. The second identifier can be carried in the N4 session modification request.

[0131] Step E6: The first UPF network element establishes the first tunnel according to the first identifier and the second identifier, and the second UPF network element establishes the first tunnel according to the first identifier and the second identifier.

[0132] As another example, the SMF network element, the second UPF network element, the AMF network element and the base station can perform the following steps to establish a second tunnel:

[0133] Step F1: The SMF network element sends request 3 to the second UPF network element, and correspondingly, the second UPF network element receives request 3 from the SMF network element. Request 3 may also be referred to as the fourth request. Request 3 may be an N4 session establishment request. Request 3 may be used to request the second UPF network element to allocate a tunnel identifier for the second tunnel;

[0134] Step F2: The second UPF network element sends a third identifier to the SMF network element, and correspondingly, the SMF network element receives the third identifier from the second UPF network element. The third identifier is a tunnel identifier allocated by the second UPF network element to the second tunnel, and the third identifier can be carried in the N4 session establishment response.

[0135] Step F3: The SMF network element sends a third identifier to the AMF network element, and correspondingly, the AMF network element receives the third identifier from the SMF network element. The third identifier may be carried in the N2 session management (SM) information of the Namf_Communication_N1N2MessageTransfer message.

[0136] Step F4: The AMF network element sends a third identifier to the base station, and correspondingly, the base station receives the third identifier from the AMF network element. The third identifier may be carried in the N2 SM information of the N2 message.

[0137] Step F5: The base station sends a fourth identifier to the AMF network element, and correspondingly, the AMF network element receives the fourth identifier from the base station. The fourth identifier may be carried in the N2 SM information of the N2 message.

[0138] Step F6: The AMF network element sends a fourth identifier to the SMF network element, and correspondingly, the SMF network element receives the fourth identifier from the AMF network element. The fourth identifier is the tunnel identifier allocated by the base station for the second tunnel, and the fourth identifier can be carried in the N2 SM information of the Nsmf_PDUSession_UpdateSMContext message.

[0139] Step F7: The SMF network element sends a fourth identifier to the second UPF network element, and correspondingly, the second UPF network element receives the fourth identifier from the SMF network element. The fourth identifier may be carried in the N4 session modification request.

[0140] Step F8: The second UPF network element establishes a second tunnel according to the third identifier and the fourth identifier, and the base station establishes a second tunnel according to the third identifier and the fourth identifier.

[0141] S303. The first UPF network element sends a first data message to the second UPF network element. Correspondingly, the second UPF network element receives the first data message from the first UPF network element.

[0142] Among them, the tunnel for transmitting data messages between the first UPF network element and the second UPF network element is the first tunnel, and the first tunnel can be established by transmitting the tunnel identifier assigned by the first UPF network element and the second UPF network element through the SMF network element, that is, the SMF network element, the first UPF network element and the second UPF network element execute the above steps E1-E6 to establish the first tunnel. Alternatively, the first tunnel can also be established by transmitting the tunnel identifier assigned by the first UPF network element and the second UPF network element through GTP-C in the general packet radio service tunneling protocol (GTP), that is, the first UPF network element and the second UPF network element execute the following steps to establish the first tunnel:

[0143] Step G1: The first UPF network element sends a tunnel establishment request to the second UPF network element, and correspondingly, the second UPF network element receives the tunnel establishment request from the first UPF network element, wherein the tunnel establishment request includes a second identifier.

[0144] Step G2: The second UPF network element sends the first identifier to the first UPF network element, and correspondingly, the first UPF network element receives the first identifier from the second UPF network element.

[0145] Step G3: The first UPF network element establishes the first tunnel according to the first identifier and the second identifier, and the second UPF network element establishes the first tunnel according to the first identifier and the second identifier.

[0146] In a possible implementation, the first UPF network element may be a UPF1 network element, and the second UPF network element may be a UPF2 network element or a UPF3 network element. It can be understood that the UPF1 network element may send a first data message to the UPF2 network element or the UPF3 network element. When the UPF1 network element sends the first data message to the UPF2 network element, the application server that currently has the best (or appropriate) computing power resources is the application server supporting the first application deployed on the MEC platform (or DNAI) corresponding to the UPF2 network element. At this time, the DNAI corresponding to the UPF2 network element can be called the first DNAI. When the UPF1 network element sends the first data message to the UPF3 network element, the application server that currently has the best (or suitable) computing power resources is the application server that supports the first application and is deployed on the MEC platform (or DNAI) corresponding to the UPF3 network element. It can be understood that as time goes by, the application server that currently has the best (or suitable) computing power resources may be updated from the application server that supports the first application and is deployed on the MEC platform (or DNAI) corresponding to the UPF2 network element to the application server that supports the first application and is deployed on the MEC platform (or DNAI) corresponding to the UPF3 network element. At this time, the DNAI corresponding to the UPF3 network element can be called the first DNAI, and the DNAI corresponding to the UPF2 network element can be called the second DNAI, that is, the second DNAI is a DNAI other than the first DNAI in at least one DNAI corresponding to the first application.

[0147] For example, the MEC platform corresponding to DNAI#1 deploys application server #1 (supporting application #1), the MEC platform corresponding to DNAI#2 deploys application server #3 (supporting application #1), and the MEC platform corresponding to DNAI#3 deploys application server #6 (supporting application #1). UPF3 network element corresponds to DNAI#1, and UPF2 network element corresponds to DNAI#2. When the application server with the best (or appropriate) computing power resources is application server #3 corresponding to DNAI#2, after the UPF1 network element receives data packet 1 for accessing application #1 from the UE, it needs to send data packet 1 for accessing application #1 to the UPF2 network element. As time goes by, the application server with the best (or appropriate) computing power resources may be updated from application server #3 corresponding to DNAI#2 to application server #1 corresponding to DNAI#1. At this time, after the UPF1 network element receives data packet 1 for accessing application #1 from the UE, it needs to send data packet 1 for accessing application #1 to the UPF3 network element.

[0148] Therefore, after the SMF network element receives the first DNAI from the first UPF network element, if the second UPF network element is a UPF3 network element, the SMF network element and the AF network element may perform the following steps to determine whether to migrate the context information of the first application corresponding to the second DNAI to the first DNAI:

[0149] Step H1: The SMF network element sends request 4 to the AF network element, and correspondingly, the AF network element receives request 4 from the SMF network element.

[0150] Among them, request 4 can also be called the second request. Request 4 can be an Nsmf_EventExposure_Notify message. Request 4 can be used to request that the context information of the first application corresponding to the second DNAI be migrated to the first DNAI. Among them, the context information of the first application includes historical information of the first application, and request 4 can include the first DNAI. Optionally, request 4 can also include indication information 4. Indication information 4 can also be called third indication information. Indication information 4 can be used to indicate that the first DNAI is determined from at least one DNAI corresponding to the first application based on the resources required by the first application.

[0151] Step H2: The AF network element migrates the context information of the first application corresponding to the second DNAI to the first DNAI. For example, the application server supporting the first application deployed on the MEC platform corresponding to the second DNAI is application server #1, and the application server supporting the first application deployed on the MEC platform corresponding to the first DNAI is application server #2. The AF network element can determine whether to migrate the context information of application server #1 to application server #2 based on the migration energy consumption between application server #1 and application server #2.

[0152] Step H3: The AF network element sends a response 1 to the SMF network element, and correspondingly, the SMF network element receives the response 1 from the AF network element. Response 1 may also be referred to as a first response. Response 1 may be an Nsmf_EventExposure_AppRelocationInfo message. Response 1 may be used to indicate that the context information of the first application corresponding to the second DNAI is allowed to be migrated to the first DNAI.

[0153] Optionally, if the AF network element does not allow the context information of the first application corresponding to the second DNAI to be migrated to the first DNAI, the AF network element may send a response 2 to the SMF network element, and accordingly, the SMF network element receives the response 2 from the AF network element. Among them, the response 2 may be an Nsmf_EventExposure_AppRelocationInfo message. The response 2 may be used to allow the context information of the first application corresponding to the second DNAI to be migrated to the third DNAI. The response 2 may include the third DNAI. The third UPF network element corresponds to the third DNAI.

[0154] In a possible implementation, after the SMF network element receives the response 1 from the AF network element, the SMF network element and the first UPF network element may perform the following steps: the SMF network element sends an indication message 5 to the first UPF network element, and accordingly, the first UPF network element receives the indication message 5 from the SMF network element. The indication message 5 may also be referred to as the first indication message. The indication message 5 may be used to instruct the first UPF network element to send a first data message to the UPF network element corresponding to the first DNAI. Optionally, the indication message 5 may be used to instruct the first UPF network element to send a first data message to the second UPF network element.

[0155] Optionally, after the SMF network element receives the response 2 from the AF network element, the SMF network element and the first UPF network element may perform the following steps: the SMF network element sends an indication message 6 to the first UPF network element, and correspondingly, the first UPF network element receives the indication message 6 from the SMF network element. The indication message 6 may be used to instruct the first UPF network element to send a first data message to the third UPF network element.

[0156] Please refer to Figure 4 , is another flow chart of a communication method provided in an embodiment of the present application. It should be understood that, Figure 4 yes Figure 3 An exemplary interaction diagram of the method shown is not limited to this embodiment of the present application. Figure 4 The method shown can be applied to Figure 2A The network architecture. Figure 4 In the illustrated embodiment, it is taken as an example that the first UPF network element is UPF1 network element and the second UPF network element is UPF2 network element.

[0157] S401: UPF1 network element and UPF2 network element periodically synchronize the resources of the MEC platform corresponding to their respective DNAIs through the BGP protocol. Optionally, UPF1 network element and UPF2 network element synchronize their respective addresses through the BGP protocol.

[0158] The specific implementation process of the above S401 can refer to the content of the above S302 and will not be repeated here.

[0159] S402: The UPF1 network element sends a registration request to the NRF network element, and accordingly, the NRF network element receives the registration request from the UPF1 network element. The registration request may be a Nnrf_NFManagement_NFRegister Request message. The registration request may include but is not limited to one or more of the following information: the DNN corresponding to the UPF1 network element; the S-NSSAI corresponding to the UPF1 network element; or, indication information 3. Indication information 3 may be used to indicate that the UPF1 network element has computing power routing capability.

[0160] S403: The UE sends a session establishment request to the SMF network element, and accordingly, the SMF network element receives the session establishment request from the UE. The session establishment request can be used to request the SMF network element to establish a first session, and the first session can be used for the UE to access the first application. The session establishment request may include, but is not limited to, one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; or, indication information 1. Indication information 1 can be used to indicate that the data message transmitted on the first session has a computing power routing requirement.

[0161] S404: The SMF network element sends a discovery request to the NRF network element, and accordingly, the NRF network element receives the discovery request from the SMF network element. The discovery request may be a Nnrf_NFDiscovery_Request message. The discovery request may be used to request the NRF network element to discover a UPF network element with computing power routing capability. The discovery request may include, but is not limited to, one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; the location information of the UE; or, indication information 2. Indication information 2 may be used to instruct the NRF network element to discover a UPF network element with computing power routing capability.

[0162] S405: The NRF network element sends a discovery response to the SMF network element, and accordingly, the SMF network element receives a discovery response from the NRF network element. The discovery response may be a Nnrf_NFDiscovery_Response message. The discovery response includes the address of the UPF1 network element, and optionally, the discovery response also includes indication information that can be used to indicate that the UPF1 network element has computing power routing capability.

[0163] The specific implementation process of the above S402-S405 can refer to the content of the above S301 and will not be repeated here.

[0164] S406: The SMF network element sends request 1 to the UPF1 network element, and accordingly, the UPF1 network element receives request 1 from the SMF network element. The request 1 may be used to request the UPF1 network element to report information about the next-hop UPF network element after receiving the data message from the UE, where the next-hop UPF network element refers to the next hop of the UPF1 network element, for example, the UPF1 network element forwards the data message to the next-hop UPF network element, and the information about the next-hop UPF network element includes the DNAI corresponding to the next-hop UPF network element and / or the address of the next-hop UPF network element.

[0165] After receiving the discovery response from the NRF network element, the SMF network element can determine that the UPF1 network element has the computing power routing capability, that is, the SMF network element can determine that the UPF1 network element can perform computing power routing forwarding on the data message from the UE to meet the computing power routing requirements of the data message transmitted by the UE on the first session. Therefore, the SMF network element can send request 1 to the UPF1 network element to obtain the next-hop forwarding path information determined by the UPF1 network element when the UPF1 network element performs computing power routing forwarding on the first data message corresponding to the first application from the UE. The next-hop forwarding path information includes the DNAI corresponding to the next-hop UPF network element (that is, the first DNAI) and / or the address of the next-hop UPF network element (that is, the UPF2 network element). The next-hop UPF network element refers to the next hop of the UPF1 network element. For example, the UPF1 network element forwards the data message to the UPF2 network element.

[0166] S407: The SMF network element sends a session establishment response to the UE, and correspondingly, the UE receives the session establishment response from the SMF network element. The session establishment response can be used to indicate that the first session is successfully established.

[0167] S408: The UE sends a first data message corresponding to the first application to the UPF1 network element, and correspondingly, the UPF1 network element receives the first data message corresponding to the first application from the UE.

[0168] The specific implementation process of the above S408 can refer to the content of the above S301 and will not be repeated here.

[0169] S409: The UPF1 network element determines the first DNAI based on at least one DNAI and the resources required by the first application. The at least one DNAI may be the DNAI corresponding to the first application, and the DNAI corresponding to the first application may refer to the DNAI corresponding to the deployment location of the first application. For example, an application server supporting the first application is deployed on the MEC platform corresponding to DNAI#1, and DNAI#1 is a DNAI corresponding to the first application. The resources required for the first application may refer to the computing power resources of the application server supporting the first application deployed on the MEC platform corresponding to the DNAI corresponding to the first application. The first DNAI may be the DNAI corresponding to the UPF2 network element, and the UPF2 network element may be the UPF network element required for the next-hop forwarding path determined when the UPF1 network element performs computing power routing forwarding on the first data message corresponding to the first application from the UE, that is, the next-hop UPF network element, and the next-hop UPF network element refers to the next hop of the UPF1 network element, for example, the UPF1 network element forwards the data message to the UPF2 network element.

[0170] The specific implementation process of the above S409 can refer to the content of the above S302 and will not be repeated here.

[0171] S410: The UPF1 network element sends the address of the first DNAI and / or the UPF2 network element to the SMF network element. Correspondingly, the SMF network element receives the first DNAI and / or the address of the UPF2 network element from the UPF1 network element.

[0172] Optionally, in the case where the UPF1 network element sends the address of the UPF2 network element to the SMF network element, the above S410 further includes the following steps before the UPF1 network element sends the address of the UPF2 network element to the SMF network element:

[0173] S410a: The UPF1 network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the UPF1 network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0174] S410b: The NRF network element sends the address of the UPF2 network element to the UPF1 network element, and correspondingly, the UPF1 network element receives the address of the UPF2 network element from the NRF network element. The address of the UPF2 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0175] Optionally, in the case where the UPF1 network element sends the first DNAI to the SMF network element, the above S409 further includes the following steps after the UPF1 network element sends the first DNAI to the SMF network element:

[0176] S410c: The SMF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the SMF network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0177] S410d: The NRF network element sends the address of the UPF2 network element to the SMF network element, and correspondingly, the SMF network element receives the address of the UPF2 network element from the NRF network element. The address of the UPF2 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0178] S410e: The SMF network element sends the address of the UPF2 network element to the UPF1 network element. Correspondingly, the UPF1 network element receives the address of the UPF2 network element from the SMF network element.

[0179] The above steps S410a-S410e are optional steps. Figure 4 Indicated by dotted line.

[0180] S411: The SMF network element sends request 2 to the UPF2 network element. Accordingly, the UPF2 network element receives request 2 from the SMF network element. The request 2 may be an N4 session establishment request. The request 2 may be used to request the UPF2 network element to allocate a tunnel identifier for the first tunnel. The first tunnel is a tunnel for transmitting data packets between the UPF1 network element and the UPF2 network element (i.e., an N9 tunnel).

[0181] S412: The UPF2 network element sends a first identifier to the SMF network element, and correspondingly, the SMF network element receives the first identifier from the UPF2 network element. The first identifier may be carried in the N4 session establishment response. The first identifier is a tunnel identifier allocated by the UPF2 network element to the first tunnel.

[0182] S413: The SMF network element sends a session modification request to the UPF1 network element. Accordingly, the UPF1 network element receives the session modification request from the SMF network element. The session modification request may be an N4 session modification request. The session modification request may be used to request the UPF1 network element to allocate a tunnel identifier for the first tunnel. The session modification request may include the first identifier.

[0183] S414: The UPF1 network element sends a second identifier to the SMF network element, and correspondingly, the SMF network element receives the second identifier from the UPF1 network element. The second identifier can be carried in the N4 session modification response. The second identifier is the tunnel identifier allocated by the UPF1 network element to the first tunnel.

[0184] S415: The SMF network element sends a second identifier to the UPF2 network element, and correspondingly, the UPF2 network element receives the second identifier from the SMF network element. The second identifier can be carried in the N4 session modification response.

[0185] S416: The UPF2 network element establishes a first tunnel according to the first identifier and the second identifier, and the UPF2 network element establishes a first tunnel according to the first identifier and the second identifier.

[0186] The specific implementation process of the above S410, S410a-S410e, S411-S416 can refer to the content of the above S302 and will not be repeated here.

[0187] S417: The UPF1 network element sends a first data message to the UPF2 network element, and correspondingly, the UPF2 network element receives the first data message from the UPF1 network element.

[0188] The specific implementation process of the above S417 can refer to the content of the above S303 and will not be repeated here.

[0189] Please refer to Figure 5 , is another flow chart of a communication method provided in an embodiment of the present application. It should be understood that, Figure 5 yes Figure 3 An exemplary interaction diagram of the method shown is not limited to this embodiment of the present application. Figure 5 The method shown can be applied to Figure 2A The network architecture. Figure 5 In the illustrated embodiment, it is taken as an example that the first UPF network element is UPF1 network element and the second UPF network element is UPF3 network element.

[0190] S501: The UE sends a first data message corresponding to a first application to the UPF1 network element. Correspondingly, the UPF1 network element receives the first data message corresponding to the first application from the UE.

[0191] S502: The UPF1 network element sends a first data message to the UPF2 network element. Correspondingly, the UPF2 network element receives the first data message from the UPF1 network element.

[0192] The specific implementation process of the above S501-S502 can refer to the above Figure 4 The content will not be repeated here.

[0193] S503: The UPF1 network element determines the first DNAI based on at least one DNAI and the resources required by the first application. The at least one DNAI may be the DNAI corresponding to the first application, and the DNAI corresponding to the first application may refer to the DNAI corresponding to the deployment location of the first application. For example, an application server supporting the first application is deployed on the MEC platform corresponding to DNAI#1, and DNAI#1 is a DNAI corresponding to the first application. The resources required for the first application may refer to the computing power resources of the application server supporting the first application deployed on the MEC platform corresponding to the DNAI corresponding to the first application. The first DNAI may be the DNAI corresponding to the UPF3 network element, and the UPF3 network element may be the UPF network element required for the next-hop forwarding path determined by the UPF1 network element when performing computing power routing forwarding on the first data message corresponding to the first application from the UE, that is, the next-hop UPF network element, and the next-hop UPF network element refers to the next hop of the UPF1 network element, for example, the UPF1 network element forwards the data message to the UPF3 network element.

[0194] The specific implementation process of the above S503 can refer to the content of the above S302 and will not be repeated here.

[0195] S504: The UPF1 network element sends the first DNAI to the SMF network element, and correspondingly, the SMF network element receives the first DNAI from the UPF1 network element.

[0196] The specific implementation process of the above S504 can refer to the content of the above S302 and will not be repeated here.

[0197] S505: The SMF network element sends request 4 to the AF network element, and correspondingly, the AF network element receives request 4 from the SMF network element. The request 4 may be an Nsmf_EventExposure_Notify message. The request 4 may be used to request that the context information of the first application corresponding to the second DNAI be migrated to the first DNAI. The second DNAI may be the DNAI corresponding to the UPF2 network element in the above S502. The request 4 may include the first DNAI. Optionally, the request 4 may also include indication information 4. The indication information 4 may be used to indicate that the first DNAI is determined from at least one DNAI corresponding to the first application based on the resources required by the first application.

[0198] S506: The AF network element migrates the context information of the first application corresponding to the second DNAI to the first DNAI.

[0199] S507: The AF network element sends a response 1 to the SMF network element, and correspondingly, the SMF network element receives the response 1 from the AF network element. The response 1 may be a Nsmf_EventExposure_AppRelocationInfo message. The response 1 may be used to indicate that the context information of the first application corresponding to the second DNAI is allowed to be migrated to the first DNAI.

[0200] The specific implementation process of the above S505-S507 can refer to the content of the above S303 and will not be repeated here.

[0201] S508: The SMF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the SMF network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0202] S509: The NRF network element sends the address of the UPF3 network element to the SMF network element, and correspondingly, the SMF network element receives the address of the UPF3 network element from the NRF network element. The address of the UPF3 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0203] S510: The SMF network element sends request 2 to the UPF3 network element, and accordingly, the UPF2 network element receives request 2 from the SMF network element. The request 2 may be an N4 session establishment request. The request 2 may be used to request the UPF3 network element to allocate a tunnel identifier for the first tunnel. The first tunnel is a tunnel for transmitting data packets between the UPF1 network element and the UPF3 network element (i.e., the N9 tunnel).

[0204] S511: The UPF3 network element sends a first identifier to the SMF network element, and correspondingly, the SMF network element receives the first identifier from the UPF3 network element. The first identifier can be carried in the N4 session establishment response. The first identifier is a tunnel identifier allocated by the UPF3 network element to the first tunnel.

[0205] S512: The SMF network element sends a session modification request to the UPF1 network element. Accordingly, the UPF1 network element receives the session modification request from the SMF network element. The session modification request may be an N4 session modification request. The session modification request may be used to request the UPF1 network element to allocate a tunnel identifier for the first tunnel. The session modification request may include the first identifier.

[0206] S513: The UPF1 network element sends a second identifier to the SMF network element, and correspondingly, the SMF network element receives the second identifier from the UPF1 network element. The second identifier can be carried in the N4 session modification response. The second identifier is the tunnel identifier allocated by the UPF1 network element to the first tunnel.

[0207] S514: The SMF network element sends a second identifier to the UPF3 network element, and correspondingly, the UPF3 network element receives the second identifier from the SMF network element. The second identifier can be carried in the N4 session modification response.

[0208] S515: The UPF1 network element establishes a first tunnel according to the first identifier and the second identifier, and the UPF3 network element establishes a first tunnel according to the first identifier and the second identifier.

[0209] The specific implementation process of the above S508-S515 can refer to the content of the above S302 and will not be repeated here.

[0210] S516: The UPF1 network element sends a first data message to the UPF3 network element, and correspondingly, the UPF3 network element receives the first data message from the UPF1 network element.

[0211] The specific implementation process of the above S516 can refer to the content of the above S303 and will not be repeated here.

[0212] Please refer to Figure 6 , is another flow chart of a communication method provided in an embodiment of the present application. It should be understood that, Figure 6 yes Figure 3 An exemplary interaction diagram of the method shown is not limited to this embodiment of the present application. Figure 6 The method shown can be applied to Figure 2A The network architecture. Figure 6 In the illustrated embodiment, it is taken as an example that the first UPF network element is UPF1 network element and the second UPF network element is UPF2 network element.

[0213] S601: UPF1 network element and UPF2 network element periodically synchronize the resources of the MEC platform corresponding to their respective DNAIs through the BGP protocol. Optionally, UPF1 network element and UPF2 network element synchronize their respective addresses through the BGP protocol.

[0214] S602: The UPF1 network element sends a registration request to the NRF network element, and accordingly, the NRF network element receives the registration request from the UPF1 network element. The registration request may be a Nnrf_NFManagement_NFRegister Request message. The registration request may include but is not limited to one or more of the following information: the DNN corresponding to the UPF1 network element; the S-NSSAI corresponding to the UPF1 network element; or, indication information 3. Indication information 3 may be used to indicate that the UPF1 network element has computing power routing capability.

[0215] S603: The UE sends a session establishment request to the SMF network element, and accordingly, the SMF network element receives the session establishment request from the UE. The session establishment request can be used to request the SMF network element to establish a first session, and the first session can be used for the UE to access the first application. The session establishment request may include, but is not limited to, one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; or, indication information 1. Indication information 1 can be used to indicate that the data message transmitted on the first session has a computing power routing requirement.

[0216] S604: The SMF network element sends a discovery request to the NRF network element, and accordingly, the NRF network element receives the discovery request from the SMF network element. The discovery request may be a Nnrf_NFDiscovery_Request message. The discovery request may be used to request the NRF network element to discover a UPF network element with computing power routing capability. The discovery request may include, but is not limited to, one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; the location information of the UE; or, indication information 2. Indication information 2 may be used to instruct the NRF network element to discover a UPF network element with computing power routing capability.

[0217] S605: The NRF network element sends a discovery response to the SMF network element, and accordingly, the SMF network element receives a discovery response from the NRF network element. The discovery response may be a Nnrf_NFDiscovery_Response message. The discovery response includes the address of the UPF1 network element, and optionally, the discovery response also includes indication information that can be used to indicate that the UPF1 network element has computing power routing capability.

[0218] The specific implementation process of the above S601-S605 can refer to the content of the above S401-S405, which will not be repeated here.

[0219] S606: The SMF network element sends a session establishment response to the UE, and correspondingly, the UE receives the session establishment response from the SMF network element. The session establishment response may be used to indicate that the first session is successfully established.

[0220] S607: The UE sends a first data message corresponding to the first application to the UPF1 network element. Correspondingly, the UPF1 network element receives the first data message corresponding to the first application from the UE.

[0221] The specific implementation process of the above S606-S607 can refer to the content of the above S407-S408, which will not be repeated here.

[0222] S608: The UPF1 network element determines the first DNAI based on at least one DNAI and the resources required by the first application. The at least one DNAI may be the DNAI corresponding to the first application, and the DNAI corresponding to the first application may refer to the DNAI corresponding to the deployment location of the first application. For example, an application server supporting the first application is deployed on the MEC platform corresponding to DNAI#1, and DNAI#1 is a DNAI corresponding to the first application. The resources required for the first application may refer to the computing power resources of the application server supporting the first application deployed on the MEC platform corresponding to the DNAI corresponding to the first application. The first DNAI may be the DNAI corresponding to the UPF2 network element, and the UPF2 network element may be the UPF network element required for the next-hop forwarding path determined when the UPF1 network element performs computing power routing forwarding on the first data message corresponding to the first application from the UE, that is, the next-hop UPF network element, and the next-hop UPF network element refers to the next hop of the UPF1 network element, for example, the UPF1 network element forwards the data message to the UPF2 network element.

[0223] Optionally, after the UPF1 network element determines the first DNAI according to the at least one DNAI and the resources required by the first application, the above S608 further includes the following steps:

[0224] S608a: The UPF1 network element sends the first DNAI to the SMF network element, and correspondingly, the SMF network element receives the first DNAI from the UPF1 network element.

[0225] S608b: The SMF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the SMF network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0226] S608c: The NRF network element sends the address of the UPF2 network element to the SMF network element, and correspondingly, the SMF network element receives the address of the UPF2 network element from the NRF network element. The address of the UPF2 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0227] S608d: The SMF network element sends the address of the UPF2 network element to the UPF1 network element. Correspondingly, the UPF1 network element receives the address of the UPF2 network element from the SMF network element.

[0228] Optionally, after the UPF1 network element determines the first DNAI according to the at least one DNAI and the resources required by the first application, the above S608 further includes the following steps:

[0229] S608e: The UPF1 network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the UPF1 network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0230] S608f: The NRF network element sends the address of the UPF2 network element to the UPF1 network element, and correspondingly, the UPF1 network element receives the address of the UPF2 network element from the NRF network element. The address of the UPF2 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0231] The above steps S608a-S608f are optional steps. Figure 6 The specific implementation process of the above S608, S608a-S608f can refer to the content of the above S302, which will not be repeated here.

[0232] S609: UPF1 network element sends a tunnel establishment request to UPF2 network element, and accordingly, UPF2 network element receives the tunnel establishment request from UPF1 network element. The tunnel establishment request includes a second identifier, which is a tunnel identifier assigned by UPF1 network element to the first tunnel, and the first tunnel is a tunnel for transmitting data packets between UPF1 network element and UPF2 network element (i.e., N9 tunnel).

[0233] S610: The UPF2 network element sends a first identifier to the UPF1 network element, and correspondingly, the UPF1 network element receives the first identifier from the UPF2 network element. The first identifier is a tunnel identifier allocated by the UPF2 network element to the first tunnel.

[0234] S611: UPF1 network element establishes a first tunnel according to the first identifier and the second identifier, and UPF2 network element establishes a first tunnel according to the first identifier and the second identifier.

[0235] S612: The UPF1 network element sends a first data message to the UPF2 network element. Correspondingly, the UPF2 network element receives the first data message from the UPF1 network element.

[0236] The specific implementation process of the above S609-S612 can refer to the content of the above S303 and will not be repeated here.

[0237] Please refer to Figure 7 , is another flow chart of a communication method provided in an embodiment of the present application. It should be understood that, Figure 7 yes Figure 3 An exemplary interaction diagram of the method shown is not limited to this embodiment of the present application. Figure 7 The method shown can be applied to Figure 2A The network architecture. Figure 7 In the illustrated embodiment, it is taken as an example that the first UPF network element is UPF1 network element and the second UPF network element is UPF3 network element.

[0238] S701: The UE sends a first data message corresponding to a first application to the UPF1 network element. Correspondingly, the UPF1 network element receives the first data message corresponding to the first application from the UE.

[0239] S702: The UPF1 network element sends a first data message to the UPF2 network element. Correspondingly, the UPF2 network element receives the first data message from the UPF1 network element.

[0240] S703: The UPF1 network element determines the first DNAI based on at least one DNAI and the resources required by the first application. The at least one DNAI may be the DNAI corresponding to the first application, and the DNAI corresponding to the first application may refer to the DNAI corresponding to the deployment location of the first application. For example, an application server supporting the first application is deployed on the MEC platform corresponding to DNAI#1, and DNAI#1 is a DNAI corresponding to the first application. The resources required for the first application may refer to the computing power resources of the application server supporting the first application deployed on the MEC platform corresponding to the DNAI corresponding to the first application. The first DNAI may be the DNAI corresponding to the UPF3 network element, and the UPF3 network element may be the UPF network element required for the next-hop forwarding path determined by the UPF1 network element when performing computing power routing forwarding on the first data message corresponding to the first application from the UE, that is, the next-hop UPF network element, and the next-hop UPF network element refers to the next hop of the UPF1 network element, for example, the UPF1 network element forwards the data message to the UPF3 network element.

[0241] S704: The UPF1 network element sends the first DNAI to the SMF network element, and correspondingly, the SMF network element receives the first DNAI from the UPF1 network element.

[0242] S705: The SMF network element sends request 4 to the AF network element, and correspondingly, the AF network element receives request 4 from the SMF network element. The request 4 may be an Nsmf_EventExposure_Notify message. The request 4 may be used to request that the context information of the first application corresponding to the second DNAI be migrated to the first DNAI. The second DNAI may be the DNAI corresponding to the UPF2 network element in the above S702. The request 4 may include the first DNAI. Optionally, the request 4 may also include indication information 4. The indication information 4 may be used to indicate that the first DNAI is determined from at least one DNAI corresponding to the first application based on the resources required by the first application.

[0243] S706: The AF network element migrates the context information of the first application corresponding to the second DNAI to the first DNAI.

[0244] S707: The AF network element sends a response 1 to the SMF network element, and correspondingly, the SMF network element receives the response 1 from the AF network element. The response 1 may be a Nsmf_EventExposure_AppRelocationInfo message. The response 1 may be used to indicate that the context information of the first application corresponding to the second DNAI is allowed to be migrated to the first DNAI.

[0245] Optionally, after the SMF network element receives the response 1 from the AF network element, the above S707 further includes the following steps:

[0246] S707a: The SMF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the SMF network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0247] S707b: The NRF network element sends the address of the UPF3 network element to the SMF network element, and correspondingly, the SMF network element receives the address of the UPF3 network element from the NRF network element. The address of the UPF3 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0248] The above steps S707a-S707b are optional steps. Figure 7 The specific implementation process of the above S701-S707, S707a-S707b can refer to the above S501-S509 content, which will not be repeated here.

[0249] S708: The SMF network element sends indication information 5 to the UPF1 network element. Accordingly, the UPF1 network element can receive the indication information 5 from the SMF network element. The indication information 5 can be used to instruct the UPF1 network element to send a first data message to the UPF network element corresponding to the first DNAI. Optionally, the indication information 5 can be used to instruct the UPF1 network element to send a first data message to the UPF3 network element, and the indication information 5 includes the address of the UPF3 network element.

[0250] The specific implementation process of the above S708 can refer to the content of the above S303 and will not be repeated here.

[0251] S709: UPF1 network element sends a tunnel establishment request to UPF3 network element, and accordingly, UPF3 network element receives the tunnel establishment request from UPF1 network element. The tunnel establishment request includes a second identifier, which is a tunnel identifier assigned by UPF1 network element to the first tunnel, and the first tunnel is a tunnel for transmitting data packets between UPF1 network element and UPF3 network element (i.e., N9 tunnel).

[0252] Optionally, before the UPF1 network element sends the tunnel establishment request to the UPF3 network element, the above S709 further includes the following steps:

[0253] S709a: The UPF1 network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the UPF1 network element. The first DNAI may be carried in the Nnrf_NFDiscovery_Request message.

[0254] S709b: The NRF network element sends the address of the UPF3 network element to the UPF1 network element, and correspondingly, the UPF1 network element receives the address of the UPF3 network element from the NRF network element. The address of the UPF3 network element may be carried in the Nnrf_NFDiscovery_Response message.

[0255] The above steps S709a-S709b are optional steps. Figure 7 The specific implementation process of the above S709a-S709b can refer to the content of the above S302, which will not be repeated here.

[0256] S710: The UPF3 network element sends a first identifier to the UPF1 network element, and correspondingly, the UPF1 network element receives the first identifier from the UPF3 network element. The first identifier is a tunnel identifier allocated by the UPF3 network element to the first tunnel.

[0257] S711: UPF1 network element establishes a first tunnel according to the first identifier and the second identifier, and UPF3 network element establishes a first tunnel according to the first identifier and the second identifier.

[0258] S712: The UPF1 network element sends a first data message to the UPF3 network element. Correspondingly, the UPF3 network element receives the first data message from the UPF1 network element.

[0259] The specific implementation process of the above S709-S712 can refer to the content of the above S609-S612 and will not be repeated here.

[0260] Please refer to Figure 8 , is another flow chart of a communication method provided in an embodiment of the present application. It should be understood that, Figure 8 yes Figure 3 An exemplary interaction diagram of the method shown is not limited to this embodiment of the present application. Figure 8 The method shown can be applied to Figure 2B The network architecture. Figure 8 In the illustrated embodiment, it is taken as an example that the first UPF network element is UPF1 network element and the second UPF network element is UPF2 network element.

[0261] S801: UPF1 network element and UPF2 network element periodically synchronize the resources of the MEC platform corresponding to their respective DNAIs through the BGP protocol. Optionally, UPF1 network element and UPF2 network element periodically synchronize their respective addresses through the BGP protocol.

[0262] S802: The UPF1 network element sends a registration request to the NRF network element, and accordingly, the NRF network element receives the registration request from the UPF1 network element. The registration request may be a Nnrf_NFManagement_NFRegister Request message. The registration request may include but is not limited to one or more of the following information: the DNN corresponding to the UPF1 network element; the S-NSSAI corresponding to the UPF1 network element; or, indication information 3. Indication information 3 may be used to indicate that the UPF1 network element has computing power routing capability.

[0263] S803: The UE sends a session establishment request to the SMF network element, and accordingly, the SMF network element receives the session establishment request from the UE. The session establishment request can be used to request the SMF network element to establish a first session, and the first session can be used for the UE to access the first application. The session establishment request may include, but is not limited to, one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; or, indication information 1. Indication information 1 can be used to indicate that the data message transmitted on the first session has a computing power routing requirement.

[0264] S804: The SMF network element sends a discovery request to the NRF network element, and accordingly, the NRF network element receives the discovery request from the SMF network element. The discovery request may be a Nnrf_NFDiscovery_Request message. The discovery request may be used to request the NRF network element to discover a UPF network element with computing power routing capability. The discovery request may include, but is not limited to, one or more of the following information: the DNN corresponding to the first session; the S-NSSAI corresponding to the first session; the location information of the UE; or, indication information 2. Indication information 2 may be used to instruct the NRF network element to discover a UPF network element with computing power routing capability.

[0265] S805: The NRF network element sends a discovery response to the SMF network element, and accordingly, the SMF network element receives a discovery response from the NRF network element. The discovery response may be a Nnrf_NFDiscovery_Response message. The discovery response includes the address of the UPF1 network element, and optionally, the discovery response also includes indication information that can be used to indicate that the UPF1 network element has computing power routing capability.

[0266] S806: The SMF network element sends request 1 to the UPF1 network element, and accordingly, the UPF1 network element receives request 1 from the SMF network element. The request 1 may be used to request the UPF1 network element to report information about the next-hop UPF network element after receiving a data message from the UE. The next-hop UPF network element refers to the next hop of the base station, for example, the base station forwards the data message to the next-hop UPF network element, and the information about the next-hop UPF network element includes the DNAI corresponding to the next-hop UPF network element and / or the address of the next-hop UPF network element.

[0267] After receiving the discovery response from the NRF network element, the SMF network element can determine that the UPF1 network element has the computing power routing capability, that is, the SMF network element can determine that the UPF1 network element can perform computing power routing forwarding on the data message from the UE to meet the computing power routing requirements of the data message transmitted by the UE on the first session. Therefore, the SMF network element can send request 1 to the UPF1 network element to obtain the next-hop forwarding path information determined by the UPF1 network element when performing computing power routing forwarding on the first data message corresponding to the first application from the UE. The next-hop forwarding path information includes the DNAI corresponding to the next-hop UPF network element (that is, the first DNAI) and / or the address of the next-hop UPF network element (that is, the UPF2 network element). The next-hop UPF network element refers to the next hop of the base station. For example, the base station no longer forwards the data message to the UPF1 network element, but forwards it to the UPF2 network element.

[0268] S807: The SMF network element sends a session establishment response to the UE, and correspondingly, the UE receives the session establishment response from the SMF network element. The session establishment response may be used to indicate that the first session is successfully established.

[0269] S808: The UE sends a first data message corresponding to the first application to the UPF1 network element. Correspondingly, the UPF1 network element receives the first data message for accessing the first application from the UE.

[0270] S809: The UPF1 network element determines the first DNAI based on at least one DNAI and the resources required by the first application. The at least one DNAI may be the DNAI corresponding to the first application, and the DNAI corresponding to the first application may refer to the DNAI corresponding to the deployment location of the first application. For example, an application server supporting the first application is deployed on the MEC platform corresponding to DNAI#1, and DNAI#1 is a DNAI corresponding to the first application. The resources required for the first application may refer to the computing power resources of the application server supporting the first application deployed on the MEC platform corresponding to the DNAI corresponding to the first application. The first DNAI may be the DNAI corresponding to the UPF2 network element, and the UPF2 network element may be the UPF network element required for the next-hop forwarding path determined by the UPF1 network element when performing computing power routing forwarding on the first data message corresponding to the first application from the UE, that is, the next-hop UPF network element. The next-hop UPF network element refers to the next hop of the base station. For example, the base station no longer forwards the data message to the UPF1 network element, but forwards it to the UPF2 network element.

[0271] S810: The UPF1 network element sends the address of the first DNAI and / or the UPF2 network element to the SMF network element. Correspondingly, the SMF network element receives the first DNAI and / or the address of the UPF2 network element from the UPF1 network element.

[0272] Optionally, in the case where the UPF1 network element sends the address of the UPF2 network element to the SMF network element, the above S810 further includes the following steps before the UPF1 network element sends the address of the UPF2 network element to the SMF network element:

[0273] S810a: The UPF1 network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the UPF1 network element.

[0274] S810b: The NRF network element sends the address of the UPF2 network element to the UPF1 network element, and correspondingly, the UPF1 network element receives the address of the UPF2 network element from the NRF network element.

[0275] Optionally, in the case where the UPF1 network element sends the first DNAI to the SMF network element, the above S810 further includes the following steps after the UPF1 network element sends the first DNAI to the SMF network element:

[0276] S810c: The SMF network element sends a first DNAI to the NRF network element, and correspondingly, the NRF network element receives the first DNAI from the SMF network element.

[0277] S810d: The NRF network element sends the address of the UPF2 network element to the SMF network element, and correspondingly, the SMF network element receives the address of the UPF2 network element from the NRF network element.

[0278] S810e: The SMF network element sends the address of the UPF2 network element to the UPF1 network element. Correspondingly, the UPF1 network element receives the address of the UPF2 network element from the SMF network element.

[0279] The above steps S810a-S810e are optional steps. Figure 8 The specific implementation process of the above S801-S810, S810a-S810e can refer to the above S401-S410, S410a-S410e, and will not be repeated here.

[0280] S811: The SMF network element sends request 3 to the UPF2 network element, and accordingly, the UPF2 network element receives request 3 from the SMF network element. The request 3 may be an N4 session establishment request. The request 3 may be used to request the UPF2 network element to allocate a tunnel identifier for the second tunnel, where the second tunnel is a tunnel for transmitting data packets between the base station and the UPF2 network element (i.e., an N3 tunnel).

[0281] S812: The UPF2 network element sends a third identifier to the SMF network element, and correspondingly, the SMF network element receives the third identifier from the UPF2 network element. The third identifier can be carried in the N4 session establishment response. The third identifier is the tunnel identifier allocated by the UPF2 network element for the second tunnel.

[0282] S813: The SMF network element sends a third identifier to the AMF network element, and correspondingly, the AMF network element receives the third identifier from the SMF network element. The third identifier can be carried in the N2 SMinformation of the Namf_Communication_N1N2MessageTransfer message.

[0283] S814: The AMF network element sends a third identifier to the base station, and correspondingly, the base station receives the third identifier from the AMF network element. The third identifier can be carried in the N2 SM information of the N2 message.

[0284] S815: The base station sends a fourth identifier to the AMF network element, and accordingly, the AMF network element receives the fourth identifier from the base station. The fourth identifier is a tunnel identifier allocated by the base station for the second tunnel. The fourth identifier can be carried in the N2 SMinformation of the N2 message.

[0285] S816: The AMF network element sends a fourth identifier to the SMF network element, and correspondingly, the SMF network element receives the fourth identifier from the AMF network element. The fourth identifier may be carried in the N2 SM information of the Nsmf_PDUSession_UpdateSMContext message.

[0286] S817: The SMF network element sends a fourth identifier to the UPF2 network element, and correspondingly, the UPF2 network element receives the fourth identifier from the SMF network element. The fourth identifier may be carried in the N4 session modification request.

[0287] S818: The UPF2 network element establishes a second tunnel according to the third identifier and the fourth identifier, and the base station establishes a second tunnel based on the third identifier and the fourth identifier.

[0288] The specific implementation process of the above S811-S818 can refer to the content of the above S302 and will not be repeated here.

[0289] S819: The UE sends a first data message to the base station, and correspondingly, the base station receives the first data message from the UE.

[0290] S820: The base station sends a first data message to the UPF2 network element, and correspondingly, the UPF2 network element receives the first data message from the base station.

[0291] The specific implementation process of the above S819-S880 can refer to the content of the above S302 and will not be repeated here.

[0292] Fig. 9 A schematic diagram of the structure of a communication device provided in an embodiment of the present application is given. The communication device 900 may be Figure 3-Figure 8 The first UPF network element or the circuit system of the first UPF network element described in any of the embodiments shown in the accompanying drawings is used to implement the method corresponding to the first UPF network element in the above method embodiment. Alternatively, the communication device 900 may be Figure 4-Figure 8 The SMF network element or the circuit system of the SMF network element described in any of the embodiments shown in the accompanying drawings is used to implement the method corresponding to the SMF network element in the above method embodiment. Alternatively, the communication device 900 may be Figure 3-Figure 8 The second UPF network element or the circuit system of the second UPF network element described in any of the embodiments shown in the accompanying drawings is used to implement the method corresponding to the second UPF network element in the above method embodiment. Alternatively, the communication device 900 may be Figure 4-Figure 8 The NRF network element or the circuit system of the NRF network element described in any of the embodiments shown in the accompanying drawings is used to implement the method corresponding to the NRF network element in the above method embodiment. Alternatively, the communication device 900 may be Figure 5 or Figure 7The AF network element or the circuit system of the AF network element described in any of the embodiments shown in the accompanying drawings is used to implement the method corresponding to the AF network element in the above method embodiment. Alternatively, the communication device 900 may be Figure 8 The AMF network element or the circuit system of the AMF network element described in the embodiment shown is used to implement the method corresponding to the AMF network element in the above method embodiment. Alternatively, the communication device 900 may be Figure 8-Figure 8 The base station or the circuit system of the base station described in any of the embodiments shown in the accompanying drawings is used to implement the method corresponding to the base station in the above method embodiment. For example, one circuit system is a chip system.

[0293] The communication device 900 includes at least one processor 901. The processor 901 can be used for internal processing of the device to implement certain control processing functions. Optionally, the processor 901 includes instructions. Optionally, the processor 901 can store data. Optionally, different processors can be independent devices, can be located in different physical locations, and can be located on different integrated circuits. Optionally, different processors can be integrated into one or more processors, for example, integrated on one or more integrated circuits.

[0294] Optionally, the communication device 900 includes one or more memories 903 for storing instructions. Optionally, data may also be stored in the memory 903. The processor and the memory may be provided separately or integrated together.

[0295] Optionally, the communication device 900 includes a communication line 902 and at least one communication interface 904. Since the memory 903, the communication line 902 and the communication interface 904 are all optional, Fig. 9 Indicated by dotted lines.

[0296] Optionally, the communication device 900 may further include a transceiver and / or an antenna. The transceiver may be used to send information to other devices or receive information from other devices. The transceiver may be referred to as a transceiver, a transceiver circuit, an input / output interface, etc., and is used to implement the transceiver function of the communication device 900 through an antenna. Optionally, the transceiver includes a transmitter and a receiver. Exemplarily, the transmitter may be used to generate a radio frequency signal from a baseband signal, and the receiver may be used to convert the radio frequency signal into a baseband signal.

[0297] The processor 901 may include a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0298] The communication link 902 may include a pathway for transmitting information between the above-mentioned components.

[0299] The communication interface 904 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), wired access networks, etc.

[0300] The memory 903 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 903 may exist independently and be connected to the processor 901 via the communication line 902. Alternatively, the memory 903 may also be integrated with the processor 901.

[0301] The memory 903 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 901. The processor 901 is used to execute the computer-executable instructions stored in the memory 903, thereby realizing Figure 3-Figure 8 The steps performed by the first UPF network element, SMF network element, second UPF network element, NRF network element, AF network element, AMF network element, or base station described in the embodiments shown in any of the accompanying drawings.

[0302] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.

[0303] In a specific implementation, as an embodiment, the processor 901 may include one or more CPUs, such as Fig. 9 CPU0 and CPU1 in.

[0304] In a specific implementation, as an embodiment, the communication device 900 may include multiple processors, such as Fig. 9 901 and processor 905 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0305] when Fig. 9 When the device shown is a chip, for example, a chip of a first UPF network element, a chip of an SMF network element, a chip of a second UPF network element, a chip of an NRF network element, a chip of an AF network element, a chip of an AMF network element, or a chip of a base station, the chip includes a processor 901 (and may also include a processor 905), a communication line 902 and a communication interface 904, and optionally, the memory 1103 may be included. Specifically, the communication interface 904 may be an input interface, a pin or a circuit, etc. The memory 903 may be a register, a cache, etc. The processor 901 and the processor 905 may be a general-purpose CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of a program of the communication method of any of the above embodiments.

[0306] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. For example, in the case of dividing each functional module according to each function, Fig.10A schematic diagram of a device is shown, the device 1000 may be the first UPF network element, SMF network element, second UPF network element, NRF network element, AF network element, AMF network element, or base station involved in the above-mentioned various method embodiments, or the device 1000 may be the chip of the first UPF network element, the chip of the SMF network element, the chip of the second UPF network element, the chip of the NRF network element, the chip of the AF network element, the chip of the AMF network element, or the chip of the base station involved in the above-mentioned various method embodiments. The device 1000 includes a sending unit 1001, a processing unit 1002, and a receiving unit 1003.

[0307] It should be understood that the device 1000 can be used to implement the steps performed by the first UPF network element, the SMF network element, the second UPF network element, the NRF network element, the AF network element, the AMF network element, or the base station in the communication method of the embodiment of the present application, and the relevant features can refer to the above Figure 3-Figure 8 The embodiments shown in any of the accompanying drawings will not be described in detail here.

[0308] Optional, Fig.10 The functions / implementation processes of the sending unit 1001, the receiving unit 1003 and the processing unit 1002 can be Fig. 9 The processor 901 in the embodiment calls the computer execution instruction stored in the memory 903 to implement. Or, Fig.10 The function / implementation process of the processing unit 1002 in Fig. 9 The processor 901 in the embodiment calls the computer execution instruction stored in the memory 903 to implement, Fig.10 The functions / implementation processes of the sending unit 1001 and the receiving unit 1003 can be Fig. 9 It is implemented by the communication interface 904 in.

[0309] Optionally, when the device 1000 is a chip or a circuit, the functions / implementation processes of the sending unit 1001 and the receiving unit 1003 can also be implemented through pins or circuits.

[0310] The present application also provides a computer-readable storage medium, which stores a computer program or instruction. When the computer program or instruction is executed, the method performed by the first UPF network element, SMF network element, second UPF network element, NRF network element, AF network element, AMF network element, or base station in the aforementioned method embodiment is implemented. In this way, the functions described in the above embodiments can be implemented in the form of software functional units and sold or used as independent products. Based on this understanding, the technical solution of the present application can be essentially or in other words, the part that contributes or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0311] The present application also provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method performed by the first UPF network element, the SMF network element, the second UPF network element, the NRF network element, the AF network element, the AMF network element, or the base station in any of the aforementioned method embodiments.

[0312] An embodiment of the present application also provides a processing device, including a processor and an interface; the processor is used to execute the method executed by the first UPF network element, SMF network element, second UPF network element, NRF network element, AF network element, AMF network element, or base station involved in any of the above method embodiments.

[0313] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0314] The various illustrative logic units and circuits described in the embodiments of the present application can be implemented or operated by a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.

[0315] The steps of the method or algorithm described in the embodiments of the present application can be directly embedded in the hardware, the software unit executed by the processor, or the combination of the two. The software unit can be stored in RAM, flash memory, ROM, erasable programmable read-only memory (erasable programmable read-only memory, EPROM), EEPROM, register, hard disk, removable disk, CD-ROM or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a terminal device. Optionally, the processor and the storage medium can also be arranged in different components in the terminal device.

[0316] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0317] The contents of the various embodiments of the present application may refer to each other. If there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0318] It can be understood that in the embodiment of the present application, the first UPF network element, the SMF network element, the second UPF network element, the NRF network element, the AF network element, the AMF network element, or the base station can perform some or all of the steps in the embodiment of the present application, and these steps or operations are only examples. In the embodiment of the present application, other operations or variations of various operations can also be performed. In addition, the various steps can be performed in different orders presented in the embodiment of the present application, and it is possible that not all operations in the embodiment of the present application need to be performed.

Claims

1. A communication method, characterized in that: Applied to a first user plane function network element, the method includes: Receiving a first data message from a terminal device, where the first data message corresponds to a first application; Determine a second user plane function network element according to at least one data network access identifier DNAI and resources required by the first application, wherein the at least one DNAI is a DNAI corresponding to the first application, and the second user plane function network element corresponds to a first DNAI in the at least one DNAI; Send the first data packet to the second user plane function network element.

2. The method according to claim 1, characterized in that Determine the second user plane function network element, including: The first DNAI is sent to the first network element, and the address of the second user plane function network element is received from the first network element.

3. The method according to claim 2, characterized in that The first network element includes a session management function network element or a network storage function network element.

4. The method according to claim 1, characterized in that Determine the second user plane function network element, including: The address of the second user plane function network element is determined according to the address of the user plane function network element corresponding to the at least one DNAI, and the user plane function network element corresponding to the at least one DNAI includes the second user plane function network element.

5. The method according to claim 4, characterized in that The method further comprises: Send the address of the second user plane function network element to the session management function network element.

6. The method according to claim 3 or 5, characterized in that The method further comprises: Receive first indication information from the session management function network element, where the first indication information is used to instruct the first user plane function network element to send a data message to the second user plane function network element.

7. The method according to claim 3 or 5, characterized in that The method further comprises: receiving a session modification request from the session management function network element, the session modification request being used to request the first user plane function network element to allocate a tunnel identifier for a first tunnel, the first tunnel being a tunnel for transmitting data messages between the first user plane function network element and the second user plane function network element, the session modification request including a first identifier, the first identifier being a tunnel identifier allocated by the second user plane function network element to the first tunnel; Sending a second identifier to the session management function network element, where the second identifier is a tunnel identifier allocated by the first user plane function network element to the first tunnel; The first tunnel is established according to the first identifier and the second identifier.

8. The method according to any one of claims 2 to 6, characterized in that: The method further comprises: Sending a tunnel establishment request to the second user plane function network element, the tunnel establishment request including a second identifier, where the second identifier is a tunnel identifier allocated by the first user plane function network element to a first tunnel, where the first tunnel is a tunnel between the first user plane function network element and the second user plane function network element for transmitting data packets; receiving a first identifier from the second user plane function network element, where the first identifier is a tunnel identifier allocated by the second user plane function network element to the first tunnel; The first tunnel is established according to the first identifier and the second identifier.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: Receive a first request from a session management function network element, where the first request is used to request the first user plane function network element to report first information after receiving a data packet from the terminal device, where the first information includes a DNAI and / or an address, and the first information is used to determine a second user plane function network element.

10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: Send a registration request to the network storage function network element, where the registration request includes one or more of the following information: The data network name DNN corresponding to the first user plane functional network element; The single network slice selection auxiliary information S-NSSAI corresponding to the first user plane function network element; or, The second indication information is used to indicate that the first user plane function network element has computing power routing capability, and the computing power routing capability is used by the first user plane function network element to forward the data message of the application according to the resources required by the application.

11. A communication method, characterized in that: Applied to a session management function network element, the method comprises: Sending a first request to a first user plane function network element, where the first request is used to request the first user plane function network element to report first information after receiving a data message from a terminal device, where the first information includes a DNAI and / or an address, where the first information is used to determine a second user plane function network element, and the data message corresponds to a first application; Receive a first DNAI from the first user plane function network element and / or an address of the second user plane function network element, where the first DNAI is a DNAI in at least one DNAI, the at least one DNAI is a DNAI corresponding to the first application, and the second user plane function network element corresponds to the first DNAI; A tunnel for transmitting data packets is established according to the address of the first DNAI and / or the second user plane functional network element.

12. The method according to claim 11, characterized in that The method further comprises: Sending the first DNAI to the network storage function network element, Receiving an address of the second user plane function network element from the network storage function network element; Send the address of the second user plane function network element to the first user plane function network element.

13. The method according to claim 11 or 12, characterized in that: The method further comprises: Sending a second request to an application function network element, where the second request is used to request that context information of the first application corresponding to a second DNAI be migrated to the first DNAI, where the second DNAI is a DNAI other than the first DNAI in the at least one DNAI, the context information includes historical information of the first application, and the second request includes the first DNAI; Receive a first response from the application function network element, where the first response is used to indicate that the context information of the first application corresponding to the second DNAI is allowed to be migrated to the first DNAI.

14. The method according to claim 13, characterized in that The second request also includes third indication information, used to indicate that the first DNAI is determined from the at least one DNAI based on the resources required by the first application.

15. The method according to claim 13 or 14, characterized in that The method further comprises: Send first indication information to the first user plane function network element, where the first indication information is used to instruct the first user plane function network element to send a data message to the second user plane function network element.

16. The method according to any one of claims 11 to 15, characterized in that: Establishing a tunnel for transmitting a data message according to the address of the first DNAI and / or the second user plane function network element, including: establishing a first tunnel according to the address of the first DNAI and / or the second user plane function network element, where the first tunnel is a tunnel for transmitting data packets between the first user plane function network element and the second user plane function network element; or, A second tunnel is established according to the address of the first DNAI and / or the second user plane function network element, and the second tunnel is a tunnel for transmitting data packets between the access network device and the second user plane function network element.

17. The method according to claim 16, characterized in that Establishing a first tunnel according to the first DNAI and / or the address of the second user plane function network element includes: Sending a third request to the second user plane function network element, where the third request is used to request the second user plane function network element to allocate a tunnel identifier for the first tunnel; receiving a first identifier from the second user plane function network element, where the first identifier is a tunnel identifier allocated by the second user plane function network element to the first tunnel; Sending a session modification request to the first user plane function network element, where the session modification request is used to request the first user plane function network element to allocate a tunnel identifier for the first tunnel, and the session modification request includes the first identifier; receiving a second identifier from the first user plane function network element, where the second identifier is a tunnel identifier allocated by the first user plane function network element to the first tunnel; Send the second identifier to the second user plane function network element.

18. The method according to claim 16, characterized in that Establishing a second tunnel according to the first DNAI and / or the address of the second user plane function network element includes: Sending a fourth request to the second user plane function network element, where the fourth request is used to request the second user plane function network element to allocate a tunnel identifier for the second tunnel; receiving a third identifier from the second user plane function network element, where the third identifier is a tunnel identifier allocated by the second user plane function network element to the second tunnel; Sending the third identifier to an access and mobility management function network element; receiving a fourth identifier from the access and mobility management function network element, where the fourth identifier is a tunnel identifier allocated by the access network device to the second tunnel; Send the fourth identifier to the second user plane function network element.

19. The method according to any one of claims 11 to 18, characterized in that: The method further comprises: receiving a session establishment request from the terminal device, wherein the session establishment request is used to request the session management function network element to establish a first session, and the first session is used for the terminal device to access the first application; Sending a discovery request to a network storage function network element, wherein the discovery request is used to request the network storage function network element to discover a user plane function network element with computing power routing capability, wherein the computing power routing capability is used by the user plane function network element to forward data packets of the application according to resources required by the application; Receive a discovery response from the network storage function network element, where the discovery response is used to indicate that the first user plane function network element has the computing power routing capability.

20. The method of claim 19, wherein: The session establishment request includes one or more of the following information: The DNN corresponding to the first session; The S-NSSAI corresponding to the first session; or The fourth indication information is used to indicate that the data message transmitted on the first session has a computing power routing requirement.

21. The method of claim 20, wherein: The discovery request includes one or more of the following information: The DNN corresponding to the first session; The S-NSSAI corresponding to the first session; The location information of the terminal device; or, The fifth indication information is used to instruct the network storage function network element to discover the user plane function network element with the computing power routing capability.

22. A communication device, characterized in that: The method comprises a module for executing the method as claimed in any one of claims 1 to 10, or a module for executing the method as claimed in any one of claims 11 to 21.

23. 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 implements the method as described in any one of claims 1 to 10 or the method as described in any one of claims 11 to 21 through a logic circuit or by executing code instructions.

24. A communication device, characterized in that: include: Memory for storing computer programs; A processor, configured to call and run the computer program from the memory to implement the method according to any one of claims 1 to 10, or to implement the method according to any one of claims 11 to 21.

25. A chip system, characterized in that: include: Memory for storing computer programs; A processor, configured to call and run the computer program from the memory, so that a device equipped with the chip system executes the method as described in any one of claims 1 to 10, or executes the method as described in any one of claims 11 to 21.

26. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a communication device, implements the method according to any one of claims 1 to 21.

27. A computer-readable storage medium, characterized in that: The storage medium stores a computer program or an instruction, and when the computer program or the instruction is executed by the communication device, the method according to any one of claims 1 to 21 is implemented.

28. A communication system, characterized in that: include: A first user plane function network element, configured to execute the method according to any one of claims 1 to 10; A session management function network element, configured to execute the method as claimed in any one of claims 11 to 21.

Citation Information

Cited By

  • Communication method and apparatus

    EP4776742A1