Methods for applications to access networks, devices, and systems - Patents.com

By integrating applications into mobile communication networks through session and user plane functional entities, the method addresses the lack of flexibility in data exchange, enabling seamless integration and dynamic optimization of application services.

JP7547701B2Active Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023521575
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-31
Filing Date
2021-10-27
Publication Date
2024-09-10
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

Current mobile communication networks lack flexibility in data exchange between applications and mobile communication networks, requiring specific interfaces and deployment solutions for data exchange and management, which limits the integration and optimization of application services.

Method used

A method for applications to access networks through session management functional entities and user plane functional entities, enabling address allocation and data plane forwarding path management within the mobile communication network, allowing applications to be integrated and accessed as special terminal devices, facilitating plug-and-play services and dynamic route optimization.

Benefits of technology

Enhances the flexibility of data exchange between applications and mobile communication networks, enabling seamless integration of applications into network planning, allowing for plug-and-play services and dynamic adjustment of application services for optimal routes, promoting new business development and collaboration between operators and service providers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000058_0000
    Figure 00000058_0000
  • Figure 00000058_0001
    Figure 00000058_0001
  • Figure 00000058_0002
    Figure 00000058_0002
Patent Text Reader

Abstract

An embodiment of the present application provides a method for an application to access a network, a device, and a system, and integrates the application into a mobile communication network plan to improve flexibility of data exchange between the application and the mobile communication network. The method includes the steps of: a session management function entity receiving a first message from an application instance access module, where the first message is used to request establishment of a first connection for a first application instance; the session management function entity determining a first user plane function entity that provides services for the first application instance; the session management function entity sending a second message to the first user plane function entity, where the second message includes identification information of the first application instance; the session management function entity receiving a third message from the first user plane function entity, where the third message includes an establishment result of the first connection; and if the establishment result is successful, the session management function entity sending a fourth message to the application instance access module, where the fourth message includes a first address assigned to the first connection by a core network element.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] TECHNICAL FIELD This application relates to the field of communications technologies, and more particularly to methods for applications to access networks, devices, and systems. [Background technology]

[0002] Currently, the 3rd generation partnership project (3GPP) working group is responsible for formulating the standard architecture of mobile communication networks. However, in a scenario where a terminal device uses a mobile communication network to access an application, the application usually belongs to a different system from the mobile communication network.

[0003] For example, in mobile edge computing (MEC), Internet technology (IT) and cloud computing capabilities are deployed in radio access network (RAN) devices located at the network edge to obtain network information (e.g., user location information and cell load information) in real time. The network information is used by various application instances to provide content-based services and provide differentiated user experiences of mobile broadband. However, MEC is managed by the European Telecommunications Standards Institute (ETSI). In the MEC standard architecture, specific interfaces and deployment solutions are required to implement data exchange and management between mobile communication networks and applications. Alternatively, for example, in the current 3GPP standard, application capability exposure is specifically described, and a network exposure function (NEF) is further added to implement the capability exposure of application functions (AFs). For example, the AF can use the NEF to affect traffic routing. However, in this architecture, the user plane routing and service policies used by the terminal device to access the application need to be influenced by the application's capability exposure.

[0004] In conclusion, currently there is not enough flexibility in the data exchange between applications and mobile communication networks. Summary of the Invention

[0005] In the embodiments of the present application, a method is provided for applications to access networks, devices, and systems, and applications are integrated into mobile communication network planning to improve the flexibility of data exchange between applications and mobile communication networks.

[0006] To achieve the above objectives, the following technical solutions are used in the embodiments of the present application.

[0007] According to a first aspect, a method for an application to access a network is provided. The executing communication device may be a session management function entity, or may be a module applied to the session management function entity, for example, a chip or a chip system. In the following, an example in which the executing entity is a session management function entity is described. The session management function entity receives a first message from an application instance access module, the first message includes an identification information of the first application instance, and the first message is used to request to establish a first connection for the first application instance between the first application instance and the mobile communication network. The session management function entity determines a first user plane function entity that provides a service to the first application instance. The session management function entity sends a second message to the first user plane function entity, the second message includes an identification information of the first application instance, and the second message is used to request to establish a first connection for the first application instance. The session management function entity receives a third message from the first user plane function entity, the third message includes an establishment result of the first connection, and the establishment result includes success. The session management function entity sends a fourth message to the application instance access module, where the fourth message includes the first address assigned to the first connection by the core network element. In this embodiment of the present application, the session management function entity and the first user plane function entity in the mobile communication network establish a first connection for the first application instance between the first application instance and the mobile communication network, and the core network element assigns the first address to the first connection in the process of establishing the first connection. It can be understood that the address assignment and management and data plane forwarding paths corresponding to the first application instance are all within the control scope of the mobile communication network.In other words, in this solution, the first application instance can access the mobile communication network as a special terminal device. Because the first application instance is a specific execution instance of an application, based on this solution, the flexibility of data exchange between the application and the mobile communication network can be improved.

[0008] In relation to the first aspect, in one possible implementation example, the first address is used by the terminal device to perform data communication with the first application instance. For example, the terminal device may access the first application instance using the first address. Based on this solution, a self-organizing network that can realize plug-and-play of application services is formed between the terminal device and the first application instance, and mutual data access can be realized between the terminal device and the application server where the first application instance is located.

[0009] In relation to the first aspect, in one possible implementation example, the first message and the second message further include first route information assigned to the first connection by the application instance access module, and the third message and the fourth message further include second route information assigned to the first connection by the first user plane functional entity. The first route information and the second route information are used to establish a first route in the first connection and between the first user plane functional entity and the application instance access module. Based on this solution, data can be transmitted between the first user plane functional entity and the application instance access module using the first route.

[0010] In relation to the first aspect, in one possible implementation example, the core network element is a first user plane functional entity, and the third message further includes the first address. In other words, in this embodiment of the present application, the first user plane functional entity assigns the first address to the first connection.

[0011] In relation to the first aspect, in one possible implementation example, the core network element is a session management function entity. In other words, in this embodiment of the present application, the session management function entity assigns a first address to the first connection.

[0012] In relation to the first aspect, in one possible implementation example, the second message further includes a first address, which is used by the first user plane function entity to advertise a route. Based on this solution, another network element or entity can subsequently directly find the first user plane function entity by addressing based on the route advertised by the first user plane function entity.

[0013] In relation to the first aspect, in one possible implementation example, the first message further includes a first parameter, which is used to determine a first user plane functional entity providing a service to the first application instance, or the first parameter is used to construct a virtual local area network including the first user plane functional entity. For example, the first parameter includes at least one of the following parameters: location information and a session and service continuity SSC mode of the first application instance, a data network name DNN corresponding to the first connection, or an identification information of a network slice in which the first connection is located.

[0014] In relation to the first aspect, in one possible implementation example, the first message further includes application information corresponding to the first application instance, and the application information is used to establish a virtual local area network including the first user plane functional entity. For example, the application information may include an application name, an application identifier, or an application domain name information.

[0015] In relation to the first aspect, in one possible implementation example, the first message includes a first parameter and application information corresponding to a first application instance, and the first parameter and the application information corresponding to the first application instance are used to construct a virtual local area network including a first user plane functional entity.

[0016] In relation to the first aspect, in one possible implementation example, the method further includes a step of the session management function entity sending a fifth message to the integrated data management function entity, where the fifth message includes identification information of the first application instance, and the fifth message is used to request obtaining subscription data for the first application instance; and a step of the session management function entity receiving subscription data from the integrated data management function entity, where the subscription data is used to determine a first user plane function entity providing a service to the first application instance, or the subscription data is used to construct a virtual local area network including the first user plane function entity.

[0017] In this embodiment of the present application, it can be understood that the parameters for determining a first user plane functional entity providing a service to a first application instance include at least one of a first parameter or subscription data, and the parameters used to construct a virtual local area network including the first user plane functional entity include at least one of the first parameter, application information corresponding to the first application instance, or subscription data.

[0018] In relation to the first aspect, in one possible implementation example, the method further includes a step in which the session management function entity registers with the network repository function entity a function that the session management function entity supports establishing a connection for the application instance. Based on this solution, when the session management function entity is subsequently selected, the session management function entity that supports establishing a connection for the application instance may be obtained from the network repository function entity.

[0019] According to a second aspect, a method for an application to access a network is provided. The executing communication device may be an application instance access module; may be a module applied to the application instance access module, for example, a chip or a chip system; or may be a device including the application instance access module, for example, a first application instance, an application server, an application integration platform, or an application integration platform. In the following, an example in which the executing subject is the application instance access module is described. The application instance access module determines a session management function entity that provides a service to the first application instance. The application instance access module sends a first message to the session management function entity, the first message includes identification information of the first application instance, and the first message is used to request to establish a first connection for the first application instance between the first application instance and the mobile communication network. The application instance access module receives a fourth message from the session management function entity, the fourth message includes a first address assigned to the first connection by a core network element. In this embodiment of the present application, a session management function entity and a first user plane function entity in a mobile communication network establish a first connection for a first application instance between the first application instance and the mobile communication network, and a core network element assigns a first address to the first connection in the process of establishing the first connection. It can be understood that the address assignment and management and data plane forwarding path corresponding to the first application instance are all included in the control scope of the mobile communication network. In other words, in this solution, the first application instance can access the mobile communication network as a special terminal device.Based on this solution, the flexibility of data exchange between the application and the mobile communication network can be improved, since the first application instance is a specific running instance of the application.

[0020] In relation to the second aspect, in one possible implementation example, the first address is used by the terminal device to perform data communication with the first application instance. For example, the terminal device may use the first address to access the first application instance. Based on this solution, a self-organizing network that can realize plug-and-play of application services is formed between the terminal device and the first application instance, and mutual data access can be realized between the terminal device and the application server where the first application instance is located.

[0021] In relation to the second aspect, in one possible implementation example, the first message further includes first route information assigned to the first connection by the application instance access module, and the fourth message further includes second route information assigned to the first connection by the first user plane functional entity. The first route information and the second route information are used to establish a first route between the first user plane functional entity and the application instance access module, where the first user plane functional entity is a user plane functional entity that provides a service to the first application instance. Based on this solution, data can be transmitted between the first user plane functional entity and the application instance access module using the first route. For example, in one possible implementation example, the method further includes a step of: after obtaining the first data from the first application instance, the application instance access module sends the first data to the first user plane functional entity using the first route; or the application instance access module receives the second data from the first user plane functional entity using the first route.

[0022] In relation to the second aspect, in one possible implementation, the method further includes a step in which the application instance access module advertises a route based on the first address. Based on this solution, another network element or entity can then directly find the application instance access module by addressing based on the route advertised by the application instance access module. For example, in one possible implementation, the method further includes a step in which the application instance access module receives second data from a second user plane functional entity, where the second user plane functional entity finds the application instance access module by addressing based on the route advertised by the application instance access module.

[0023] In relation to the second aspect, in one possible implementation example, before the application instance access module sends the first message to the session management function entity, the method further includes the application instance access module receiving a sixth message from the first application instance, where the sixth message includes application information corresponding to the first application instance and is used to request the application instance access module to register. After the application instance access module receives the fourth message from the session management function entity, the method further includes the application instance access module sending a first address to the first application instance.

[0024] In relation to the second aspect, in one possible implementation example, the core network element is a session management function entity, or the core network element is a first user plane function entity that provides a service to a first application instance.

[0025] In relation to the second aspect, in one possible implementation example, the first message further includes a first parameter, which is used to determine a first user plane functional entity providing a service to the first application instance, or the first parameter is used to construct a virtual local area network including the first user plane functional entity. For example, the first parameter includes at least one of the following parameters: location information and a session and service continuity SSC mode of the first application instance, a data network name DNN corresponding to the first connection, or an identification information of a network slice in which the first connection is located.

[0026] In relation to the second aspect, in one possible implementation example, the first message further includes application information corresponding to the first application instance, and the application information is used to establish a virtual local area network including the first user plane functional entity. For example, the application information may include an application name, an application identifier, or an application domain name information.

[0027] In relation to the second aspect, in one possible implementation example, the first message includes a first parameter and application information corresponding to a first application instance, and the first parameter and the application information corresponding to the first application instance are used to construct a virtual local area network including a first user plane functional entity, and the first user plane functional entity is a user plane functional entity that provides a service to the first application instance.

[0028] In relation to the second aspect, in one possible implementation example, the application instance access module determining a session management functional entity providing services to the first application instance includes the application instance access module obtaining information about one or more session management functional entities supporting establishment of a connection for the application instance from a network repository functional entity; and the application instance access module determines the session management functional entity providing services to the first application instance based on the information about the one or more session management functional entities. In other words, in this embodiment of the present application, the application instance access module may interact with the network repository functional entity to determine the session management functional entity providing services to the first application instance.

[0029] According to a third aspect, a method for an application to access a network is provided. The executing communication device may be a first user plane functional entity, or may be a module applied to the first user plane functional entity, for example, a chip or a chip system. In the following, an example in which the executing entity is the first user plane functional entity is described. The first user plane functional entity receives a second message from a session management functional entity, the second message includes identification information of a first application instance, the second message is used to request to establish a first connection for the first application instance between the first application instance and a mobile communication network, and the first user plane functional entity is a user plane functional entity that provides a service to the first application instance. The first user plane functional entity sends a third message to the session management functional entity, the third message includes an establishment result of the first connection, and the establishment result includes success or failure. In this embodiment of the present application, the session management functional entity and the first user plane functional entity in the mobile communication network establish a first connection for the first application instance between the first application instance and the mobile communication network, and the core network element assigns a first address to the first connection in the process of establishing the first connection. It can be understood that the address allocation and management and data plane forwarding path corresponding to the first application instance are all included in the control scope of the mobile communication network. In other words, in this solution, the first application instance can access the mobile communication network as a special terminal device. Because the first application instance is a specific execution instance of an application, based on this solution, the flexibility of data exchange between the application and the mobile communication network can be improved.

[0030] In relation to the third aspect, in one possible implementation example, the second message further includes first route information assigned to the first connection by the application instance access module, and the third message further includes second route information assigned to the first connection by the first user plane functional entity. The first route information and the second route information are used to establish a first route in the first connection and between the first user plane functional entity and the application instance access module. Based on this solution, data can be transmitted between the first user plane functional entity and the application instance access module using the first route.

[0031] In relation to the third aspect, in one possible implementation example, the third message further includes a first address assigned to the first connection by the first user plane functional entity, in other words, in this embodiment of the present application, the first user plane functional entity assigns the first address to the first connection.

[0032] In relation to the third aspect, in one possible implementation example, the second message further includes a first address assigned to the first connection by the session management function entity. In other words, in this embodiment of the present application, the session management function entity assigns the first address to the first connection.

[0033] In relation to the third aspect, in one possible implementation example, the first address is used by the terminal device to perform data communication with the first application instance. For example, the terminal device may access the first application instance using the first address. Based on this solution, a self-organizing network that can realize plug-and-play of application services is formed between the terminal device and the first application instance, and mutual data access can be realized between the terminal device and the application server where the first application instance is located.

[0034] In relation to the third aspect, in one possible implementation, the method further includes a step in which the first user plane functional entity advertises a route based on the first address. Based on this solution, another network element or entity can then directly find the first user plane functional entity by addressing based on the route advertised by the first user plane functional entity. For example, in one possible implementation, the method further includes a step in which the first user plane functional entity receives second data from the second user plane functional entity and transmits the second data to the first application instance using the application instance access module, where the second user plane functional entity finds the first user plane functional entity by addressing based on the route advertised by the first user plane functional entity. In one possible implementation, the second user plane functional entity is a user plane functional entity that provides a service to a terminal device, and the terminal device may access the first application instance using the first address. Based on this solution, data can be transmitted from the terminal device to the first application instance.

[0035] In relation to the third aspect, in one possible implementation example, the method further includes a step in which the first user plane functional entity registers with the network repository functional entity a function that the first user plane functional entity supports establishing a connection for the application instance. Based on this solution, when the user plane functional entity is subsequently selected, the user plane functional entity that supports establishing a connection for the application instance may be obtained from the network repository functional entity.

[0036] In relation to the third aspect, in one possible implementation example, the method further includes: a first user plane functional entity receiving first data from the first application instance using an application instance access module; and the first user plane functional entity transmitting the first data to a second user plane functional entity, where the second user plane functional entity is a user plane functional entity providing a service to a terminal device. The terminal device can access the first application instance using the first address. Based on this solution, data can be transmitted from the first application instance to the terminal device.

[0037] According to a fourth aspect, there is provided a communication device for implementing the above-mentioned method. The communication device includes corresponding modules, units, or means for implementing the above-mentioned method. The modules, units, or means may be implemented by hardware or software, or by executing corresponding software using hardware. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions.

[0038] According to a fifth aspect, there is provided a communications device including a processor coupled to a memory and configured to read computer instructions stored in the memory and then, based on the instructions, perform a method according to any one of the previous aspects.

[0039] In relation to the fifth aspect, in one possible implementation, the communication device further includes a memory, the memory configured to store computer instructions.

[0040] In relation to the fifth aspect, in one possible implementation, the communication device further includes a communication interface, which is used by the communication device to communicate with another device. For example, the communication interface may be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuitry, etc.

[0041] In relation to the fifth aspect, in one possible implementation, the communication device may be a chip or a chip system. When the communication device is a chip system, the communication device may include a chip or may include a chip and another discrete device.

[0042] In relation to the fifth aspect, in one possible implementation, when the communication device is a chip or chip system, the communication interface may be an input / output interface, interface circuit, output circuit, input circuit, pin, or associated circuitry on the chip or chip system, etc. The processor may alternatively be implemented as a processing circuit or logic circuit.

[0043] According to a sixth aspect, there is provided a computer readable storage medium storing instructions which, when executed on a computer, enable the computer to perform a method according to any one of the previous aspects.

[0044] According to a seventh aspect, there is provided a computer program product comprising instructions, which when executed on a computer, enable the computer to perform a method according to any one of the previous aspects.

[0045] For technical effects provided by any possible implementation examples in the fourth to seventh aspects, please refer to the technical effects provided by various implementation examples in the first, second, or third aspects, and the details will not be described again here.

[0046] According to an eighth aspect, there is provided a communication system, the communication system including a session management function entity according to the first aspect and a first user plane function entity according to the third aspect.

[0047] In relation to the eighth aspect, in one possible implementation, the communication system further includes an application instance access module according to the second aspect. [Brief description of the drawings]

[0048] [Figure 1] FIG. 1 is a schematic diagram of an existing 3GPP ULCL architecture.

[0049] [Diagram 2] FIG. 1 is a schematic diagram of the existing 3GPP BP architecture.

[0050] [Diagram 3] FIG. 1 is a simplified schematic diagram of the MEC standard architecture currently defined by ETSI.

[0051] [Figure 4] This is a schematic diagram of a form in which a local APP is deployed in an existing MEC solution.

[0052] [Diagram 5] FIG. 1 is a schematic diagram of the user plane architecture of an existing 5G VN service.

[0053] [Figure 6] FIG. 1 is a schematic diagram of an existing user plane protocol stack forwarded based on an N19 tunnel.

[0054] [Figure 7] FIG. 1 is a schematic diagram of the architecture of a communication system according to an embodiment of the present application;

[0055] [Figure 8] FIG. 2 is a first schematic diagram of the deployment of an application instance access module according to an embodiment of the present application;

[0056] [Figure 9] FIG. 2 is a second schematic diagram of the deployment of an application instance access module according to an embodiment of the present application;

[0057] [Figure 10] FIG. 1 is a schematic diagram of an application of a communication system in a 5G network according to an embodiment of the present application.

[0058] [Figure 11] FIG. 1 is a schematic diagram of a configuration of a communication device according to an embodiment of the present application.

[0059] [Figure 12] FIG. 2 is a first schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application;

[0060] [Figure 13A] FIG. 2 is a second schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application. [Figure 13B] FIG. 2 is a second schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application. [Figure 13C] FIG. 2 is a second schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application.

[0061] [Figure 14A] FIG. 3 is a third schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application. [Figure 14B]FIG. 3 is a third schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application. [Figure 14C] FIG. 3 is a third schematic diagram of interactions in a method for an application to access a network according to an embodiment of the present application.

[0062] [Figure 15] FIG. 1 is a schematic diagram of a configuration of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0063] In order to facilitate understanding of the technical solutions in the embodiments of the present application, the following first provides a brief description of the technologies related to the present application.

[0064] First, an application (APP) and an APP instance are described.

[0065] In the embodiment of the present application, the APP is a type of application service provided, for example, a type of application service providing Internet services. For example, the APP may be Taobao, which is used to provide Internet services for online shopping. Or, the APP may be Tencent Video, which is used to provide Internet services for online video watching.

[0066] In the embodiment of the present application, the APP instance is an instance that runs an APP. For example, if the APP is Taobao, the corresponding APP instance is an instance that runs Taobao; or if the APP is Tencent Video, the corresponding APP instance is an instance that runs Tencent Video.

[0067] In the embodiment of the present application, multiple APP instances can be deployed, so that each APP can provide services jointly, that is, one APP can correspond to multiple APP instances. APP instances usually run on application servers, which are uniformly described here and will not be described in detail again below.

[0068] Secondly, the anchor user plane function (UPF) and intermediate UPF (I-UPF) are described.

[0069] In the embodiment of the present application, the anchor UPF may be a protocol data unit (PDU) session anchor (PSA)-UPF. In the process of the terminal device moving, the anchor UPF of the whole session remains unchanged, and the anchor UPF is responsible for advertising the downlink routing policy of the Internet Protocol (IP) of the terminal device. All packets sent to the terminal device are forwarded to the anchor UPF for processing according to the downlink routing policy.

[0070] In one possible implementation, the I-UPF is located between the RAN device and the anchor UPF, and is continuously switched as the terminal device moves.

[0071] Third, the 3GPP® uplink-classifier (ULCL) architecture and the 3GPP® branching point architecture are described.

[0072] In order to allow applications to choose deployment locations more flexibly and to prevent service traffic deployed at the edge from being detouring at a very high location in the core network, when 3GPP defines user plane services for the 5th generation (5G) core network, user plane ULCL / BP functions that are not supported by the 4th generation (4G) evolved packet core (EPC) will be newly added.

[0073] Figure 1 is a schematic diagram of the existing 3GPP® ULCL architecture. As shown in Figure 1, 3GPP® defines the 3GPP® ULCL architecture as follows: A new UPF ULCL may be inserted between the RAN device and the anchor UPF of the PDU session. As defined in the name of the UPF ULCL, the ULCL serves as an uplink classifier of data flows. Specifically, based on identifying the uplink capability of the service flow, the local anchor UPF is used to offload data to a local data network (DN), or the remote anchor UPF is used to offload data to a remote DN. In addition, the UPF ULCL needs to further aggregate downlink flows. The local DN is the same DN as the remote DN.

[0074] It should be noted that the UPF ULCL and the local anchor UPF in Fig. 1 may be deployed together or separately. This specification does not particularly limit this. Furthermore, the access and mobility management function (AMF) in Fig. 1 is used for mobility management in a mobile network, such as updating a user location, registering a user in a network, or switching users. The session management function (SMF) in Fig. 1 is used for session management in a mobile network, such as establishing, modifying, or releasing a session. This is uniformly described here and will not be described in detail again below.

[0075] Figure 2 is a schematic diagram of the existing 3GPP BP architecture. The 3GPP BP architecture is similar to the 3GPP ULCL architecture, with the difference being, for example, that the UPF ULCL in Figure 1 is replaced with the UPF BP. The function of the UPF BP is the same as that of the UPF ULCL. However, the UPF BP is a traffic steering point insertion for Internet protocol version 6 (IPv6), and the UPF ULCL is a session for Internet protocol version 4 (IPv4) or non-multihomed (IPv6 multihomed, i.e., one session is allowed to have multiple addresses) scenarios. There is a difference between IPv6 and IPv4 in terms of the user plane. For an IPv4 or IPv6 type PDU session, the PDU session anchor may be the IP anchor of the IP address / prefix assigned to the terminal device. In an IPv4-type PDU session or an IPv6 non-multihomed PDU session, when multiple PDU session anchors are used (because a UPF ULCL is inserted), only one PDU session anchor is an IP anchor. However, in an IPv6 multihomed PDU session, there may be multiple IP anchors.

[0076] Fourth, the MEC standard architecture is explained.

[0077] A simple schematic diagram of the MEC standard architecture currently defined by ETSI is shown in Figure 3. As shown in Figure 3, the MEC standard architecture includes a MEC system level and a MEC host level.

[0078] The MEC system level includes the operation support system (OSS) and the multi-access edge orchestrator.

[0079] The MEC host level includes a MEC platform manager (MEPM), a virtualization infrastructure manager, and one or more MEC hosts. The MEC host includes a MEC platform (MEP), a virtualization infrastructure, and multiple MEC APPs.

[0080] Specifically, the MEPM performs MEC APP life cycle management, MEC APP rule and request management, and MEC platform element management through the Mm5 interface. The MEP is configured to execute MEC services and perform service registry, traffic steering rule control, and domain name system (DNS) processing, etc. The MEP has an AF function in a 5G network, and the AF function of the MEP can be realized by the MEC APP. The MEP communicates with the MEC APP through the Mp1 interface and manages the MEC APP. The MEC APP executes a specific service. The device APP can access the MEC APP in the MEC host using the network. In addition, the MEP communicates with the user plane of the virtualization infrastructure through the Mp2 interface. The user plane may be implemented using the UPF. Therefore, the Mp2 interface may be understood as an interface between the MEP and the UPF. It should be noted that the UPF in the MEC host is a UPF deployed at an edge location.

[0081] In addition, as shown in FIG. 3, a customer facing service (CFS) portal is connected to the OSS through an Mx1 interface. A device APP is connected to a user APP life cycle management (LCM) proxy through an Mx2 interface. The user APP LCM proxy is connected to the OSS and the multi-access edge orchestrator through an Mm8 interface and an Mm9 interface, respectively. The OSS is connected to the multi-access edge orchestrator through an Mm1 interface, which is further connected to the MEPM through an Mm2 interface. The multi-access edge orchestrator is connected to the MEPM through an Mm3 interface, which is further connected to the virtualization infrastructure through an Mm4 interface. The virtualization infrastructure is connected to the MEPM through an Mm4 interface. The virtualization infrastructure in the MEC host is connected to the virtualization infrastructure manager through an Mp7 interface. The MEPs of the two MEC hosts communicate with each other through the Mp3 interface. It should be noted that the device APP here is an APP installed on a terminal device (also called user equipment (UE)). This is uniformly described here and will not be described in detail again below.

[0082] It can be understood from the above description of the MEC standard architecture that in the embodiment of the present application, the MEC platform is used to allow the MEC APP to communicate with the virtualization infrastructure in the mobile communication network. In other words, the MEC standard architecture requires a specific interface and deployment solution to implement data exchange and management between the mobile communication network and the application. It is clear that the data exchange between the application and the mobile communication network is not flexible enough in this solution.

[0083] FIG. 4 is a schematic diagram of a form in which a local APP is deployed in an existing MEC solution. As shown in FIG. 4, a terminal device accesses a user plane processing function of a 5G network using a RAN device of the 5G network. In one aspect, the user plane processing function may be connected to a content distribution website using a local IP anchor. In another aspect, the user plane processing function may be connected to the Internet using a central IP anchor. The user plane processing function of FIG. 4 may correspond to the UPF ULCL of FIG. 1 or the UPF BP of FIG. 2. The local IP anchor of FIG. 4 may correspond to the local anchor UPF of FIG. 1 or FIG. 2. The central IP anchor of FIG. 4 may correspond to the remote anchor UPF of FIG. 1 or FIG. 2. The content distribution website of FIG. 4 may correspond to the DN connected to the local anchor UPF of FIG. 1 or FIG. 2. The Internet of FIG. 4 may correspond to the DN connected to the remote anchor UPF of FIG. 1 or FIG. 2. Furthermore, the user plane processing function of FIG. 4 may be deployed in the virtualization infrastructure of FIG. 3, and the content distribution website of FIG. 4 may be deployed in the MEC APP of FIG. 3. It can be understood that the connection between the terminal device and the user plane processing function is a wireless connection, and the connection between the user plane processing function and the content delivery website or the Internet is a wired connection.

[0084] Fifth, we explain 5G virtual network (5GVN).

[0085] Regarding expression, 5GVN may also be called 5G local area network (5GLAN), LAN, LAN type service, LAN-VN, 5GLAN type service, 5GLAN-VN, 5GLAN group, LAN group, etc. In the embodiment of the present application, there is no particular limitation thereon.

[0086] 5GVN services are services provided by current 5G networks, and are mainly applied to home communication, enterprise offices, factory manufacturing, Internet of Vehicles, power grid reconstruction, and public safety stations, etc. The services can provide Internet protocol (IP) or non-IP (e.g., Ethernet) private communication (i.e., point-to-point data transmission) for two or more terminal devices in a group of terminal devices. For example, the devices in a factory form a 5GVN group, and different devices can send Ethernet data packets to each other. Or, the office devices (e.g., mobile phones, computers, or netbook computers) of employees in a department of an enterprise form a 5GVN group, and various office devices can send IP data packets to each other. If two terminal devices are not in the same 5GVN group, the two terminal devices cannot communicate with each other.

[0087] FIG. 5 is a schematic diagram of a user plane architecture of an existing 5GVN service. A terminal device establishes a session to a UPF providing a 5GVN service and accesses the UPF providing the 5GVN service. As shown in FIG. 5, the UPF providing the 5GVN service may communicate with an existing LAN in a data network (DN) through N6, for example, may communicate with a personal computer (PC) in the LAN. Alternatively, the UPF providing the 5GVN service may use a connection between internal UPFs to associate sessions of various terminal devices to realize private communication. In the embodiment of the present application, this is not particularly limited. In the embodiment of the present application, the interface between UPFs providing the 5GVN service is called the next generation (N) 19 interface (abbreviated as N19), and the path between UPFs providing the 5GVN service is called the N19 tunnel. This is uniformly described here and will not be described in detail again below. Of course, the interface between UPFs providing the 5GVN service may alternatively be named differently. In the embodiment of the present application, this is not particularly limited.

[0088] For example, the N19 tunnel in the embodiment of the present application may be established in a general packet radio service (GPRS) tunneling protocol-user plane (GTP-U) manner. This establishment manner may be dynamic or may be pre-configured in the network. The embodiment of the present application does not particularly limit this. Furthermore, in the embodiment of the present application, if the N19 tunnel is established in a GTP-U manner, the corresponding N19 tunnel information may be a UPF ID, a UPF ID+tunnel endpoint identifier (TEID), an IP address+TEID, or an IP address+port number+TEID, etc. The embodiment of the present application does not particularly limit this.

[0089] FIG. 6 is a schematic diagram on an existing user plane protocol stack forwarded based on the N19 tunnel. For example, terminal device 1 and terminal device 2 belonging to the same 5GVN communicate with each other. In this case, before data is exchanged between terminal device 1 and terminal device 2, session 1 needs to be established for terminal device 1, and session 2 needs to be established for terminal device 2. Assume that the anchor UPF corresponding to session 1 is UPF1, and the anchor UPF corresponding to session 2 is UPF2, and then terminal device 1 and terminal device 2 can exchange data using the N19 tunnel between UPF1 and UPF2. Specifically, as shown in FIG. 6, the 3GPP network protocol stack between the terminal device and the UPF (for example, between terminal device 1 and UPF1 or between terminal device 2 and UPF2) includes a PDU session-user plane protocol stack. Above the PDU session-plane protocol stack of terminal device 1 and terminal device 2, there is an application (APP) layer. The 3GPP network protocol stack between UPF1 and UPF2 includes a PDU layer, a GTP-U layer, and a lower protocol layer. The lower protocol layer includes a user datagram protocol (UDP) layer / IP layer, layer 2 (L2), and L1. In addition, in the embodiment of the present application, for a service packet, the UPF does not recognize the APP layer. Therefore, as shown in FIG. 6, the APP layer corresponds to a relay on the UPF side. This is uniformly described here and will not be described in detail again below.

[0090] It should be noted that the N19 tunnel in the embodiment of the present application is a tunnel between UPFs in 5GVN, which is uniformly described here and will not be described in detail again below.

[0091] The following describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, " / " represents the relationship of "or" between related objects. For example, A / B may represent A or B. In the present application, "and / or" is merely a related relationship to describe related objects, and indicates that three relationships may exist. For example, A and / or B may indicate the following three cases: only A exists, both A and B exist, and only B exists, and A and B may be singular or plural. Furthermore, in the description of the present application, unless otherwise specified, "plurality" means two or more. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of singular items or multiple items. For example, at least one item of a, b, or c may refer to a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c may be singular or plural. Furthermore, in order to clearly describe the technical solutions in the embodiments of the present application, the embodiments of the present application use terms such as "first" and "second" to distinguish between the same items or similar items having essentially the same function or purpose. Those skilled in the art will understand that terms such as "first" and "second" do not limit the quantity or execution order, and terms such as "first" and "second" do not indicate clear differences. Furthermore, the embodiments of the present application use expressions such as "example" or "for example" to represent providing an example, illustration, or explanation. Any embodiment or design solution described in the embodiments of the present application as "example" or "for example" should not be described as being preferred or having more advantages than another embodiment or design solution. Indeed, the use of phrases such as "example" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.

[0092] In addition, the network architecture and service scenarios described in the embodiments of the present application are intended to more clearly explain the technical solutions in the embodiments of the present application, and should not be regarded as limitations on the technical solutions provided in the embodiments of the present application. Those skilled in the art will understand that with the evolution of network architectures and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application can also be applied to similar technical problems.

[0093] 7 illustrates a communication system 70 according to an embodiment of the present application. The communication system 70 includes a session management function entity 701 and a first user plane function entity 702. In one possible implementation example, the communication system 70 further includes an application instance access module 703. Any two of the session management function entity 701, the first user plane function entity 702, and the application instance access module 703 may communicate with each other directly, or may communicate with each other through transfer by another device. This embodiment of the present application is not particularly limited thereto.

[0094] The session management function entity 701 is configured to receive a first message from the application instance access module 703, the first message including an identification of the first application instance, the first message being used to request to establish a first connection for the first application instance. The session management function entity 701 is further configured to send a second message to the first user plane function entity 702 after determining a first user plane function entity 702 that provides a service to the first application instance, the second message including an identification of the first application instance, the second message being used to request to establish a first connection for the first application instance. The first user plane function entity 702 is configured to receive the second message from the session management function entity 701 and send a third message to the session management function entity 701, the third message including an establishment result of the first connection, the establishment result including success. The session management function entity 701 is configured to receive a third message from the first user plane function entity 702 and send a fourth message to the application instance access module 703, where the fourth message includes a first address assigned to the first connection by the core network element. The specific implementation of the above-mentioned solution is described in detail in the following method embodiment, so that the details are not described here. In this embodiment of the present application, the session management function entity and the first user plane function entity in the mobile communication network establish a first connection for the first application instance between the first application instance and the mobile communication network, and the core network element assigns a first address to the first connection in the process of establishing the first connection. It can be understood that the address assignment and management and data plane forwarding path corresponding to the first application instance are all included in the control scope of the mobile communication network.In other words, in this solution, the first application instance can access the mobile communication network as a special terminal device. Because the first application instance is a specific running instance of an application, the solution can improve the flexibility of data exchange between the application and the mobile communication network. Furthermore, the solution can incorporate the application into the mobile communication network plan, realize the plug-and-play of the application in the mobile communication system, and dynamically adjust the application service to find the optimal path. This allows new business development and cooperation modes between operators and application service providers to be realized.

[0095] In this embodiment of the present application, the application instance access module 703 is configured to assist the first application instance when accessing a mobile communication network.

[0096] In one possible implementation example, as shown in FIG. 8, the application instance access module 703 in this embodiment of the present application may be integrated into a first application instance, and the first application instance may be executed on an application server.

[0097] In another possible implementation example, the application instance access module 703 in this embodiment of the present application may be deployed separately from the first application instance, as shown in Figure 9. For example, as shown in Figure 9, the application instance access module 703 may be integrated into an APP integration platform (e.g., MEP in Figure 3), and the first application instance may run on an application server.

[0098] Although not shown, it should be noted that the application server shown in Fig. 8 or Fig. 9 may further include another application instance. This embodiment of the present application is described using the first application instance in the application server as merely an example, and is not particularly limited to whether the application server runs another application instance. Furthermore, in Fig. 9, multiple application servers can interact with the APP integration platform. This embodiment of the present application is not particularly limited to this.

[0099] In one possible implementation example, the communication system 70 shown in Figure 7 may be applied to a current 4G network or a 5G network or another future network, but the present embodiment of the present application is not particularly limited thereto.

[0100] For example, as shown in FIG. 10, when the communication system 70 shown in FIG. 7 is applied to a current 5G network, a network element or entity corresponding to the session management function entity 701 of the communication system 70 shown in FIG. 7 may be an SMF in the 5G network architecture, and a network element or entity corresponding to the first user plane function entity 702 of the communication system 70 shown in FIG. 7 may be a first anchor UPF in the 5G network architecture. In addition, a network element or entity corresponding to the application instance access module 703 of the communication system 70 shown in FIG. 7 may be, for example, an application as a user equipment function (APP as user equipment function, AUEF). As shown in FIG. 8, the AUEF may be deployed in a first application instance in an application server; or as shown in FIG. 9, the AUEF may be deployed in an APP integration platform. Of course, the AUEF may be deployed in another manner, for example, in another existing function, device, or platform, or in another newly added function, device, or platform. This embodiment of the present application is not particularly limited thereto.

[0101] In addition, as shown in Figure 10, the current 5G network may further include an AMF, a NEF, a network repository function (NRF), a unified data management (UDM) function, a policy control function (PCF), and another UPF (for example, a second anchor UPF and an I-UPF corresponding to the terminal device in Figure 10). This embodiment of the present application is not particularly limited thereto.

[0102] Although not shown, the current 5G network may further include an authentication server function (AUSF) and a network slice selection function (NSSF), etc. For related explanations, please refer to the 5G system architecture diagram of the 23501 standard. Details will not be described here.

[0103] As shown in FIG. 10, a terminal device accesses a 5G network using a RAN device. The terminal device communicates with the AMF through an N1 interface (abbreviated as N1). The RAN device communicates with the AMF through an N2 interface (abbreviated as N2). The RAN device communicates with the I-UPF through an N3 interface (abbreviated as N3). The I-UPF communicates with the second anchor UPF through an N9 interface (abbreviated as N9). The second anchor UPF communicates with the first anchor UPF through an N19 interface (abbreviated as N19). The SMF network element communicates with the I-UPF, the second anchor UPF, and the first anchor UPF separately through an N4 interface (abbreviated as N4). The SMF network element communicates with the AUEF through an Nx interface (abbreviated as Nx). The first anchor UPF communicates with the AUEF through an Nd interface (abbreviated as Nd). In addition, the control plane functions, for example, the AMF, SMF, NEF, NRF, PCF, or UDM shown in FIG. 10, may interact with each other through service-based interfaces. For example, the external service-based interface provided by the AMF may be Namf, the external service-based interface provided by the SMF may be Nsmf, the external service-based interface provided by the NEF may be Nnef, the external service-based interface provided by the NRF may be Nnrf, the external service-based interface provided by the PCF may be Npcf, and the external service-based interface provided by the UDM may be Nudm. For related descriptions, please refer to the 5G system architecture diagram of the 23501 standard. Details will not be described here.

[0104] In one possible implementation example, the terminal device in the embodiment of the present application may be a device configured to realize wireless communication functions, such as a terminal or a chip that can be used in a terminal. The terminal device includes an indoor or outdoor device, a handheld device, or an in-vehicle device, and may be deployed on the ground; or on the water surface (e.g., on a ship); or in the air (e.g., on an airplane, a balloon, or a satellite). The terminal may be a UE, an access terminal, a terminal unit, a terminal station, a mobile station, a remote station, a remote terminal, a mobile device, a wireless communication device, a terminal agent, or a terminal device, etc., in a 5G network or a future evolved public land mobile network (PLMN). The access terminal may be a mobile phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA) handheld device with wireless communication capabilities, a computing device, another processing device connected to a wireless modem, an in-vehicle device, a wearable device, an unmanned aerial vehicle (UAV), an unmanned aerial vehicle controller (UAVC), a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, or a wireless terminal in a smart home, etc. The terminal may be mobile or fixed.

[0105] In one possible implementation example, the RAN device in the embodiment of the present application is a device that provides wireless communication functions to terminal devices. For example, the access network device includes, but is not limited to, a next-generation Node B (gNodeB, gNB) in 5G, an evolved Node B (eNB), a radio network controller (RNC), a Node B (NodeB, NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., a home evolved Node B or a home Node B, HNB), a baseband unit (BBU), a transmitting and receiving point (TRP), a transmitting point (TP), and a mobile switching center.

[0106] In one possible implementation example, the user plane network element, the access network device, the session management network element, the policy control network element, or the application function network element in the embodiment of the present application may also be called a communication apparatus or a communication device, and may be a general-purpose device or a dedicated device, but the embodiment of the present application is not particularly limited thereto.

[0107] In one possible implementation example, the session management function entity, the first user plane function entity, or the related functions of the application instance access module in the embodiment of the present application may be realized by one device, may be realized jointly by multiple devices, or may be realized by one or more function modules in one device. The embodiment of the present application does not particularly limit this. It can be understood that the above-mentioned functions may be network elements of a hardware device, or may be software functions running on dedicated hardware, a combination of hardware and software, or virtualization functions instantiated on a platform (e.g., a cloud platform).

[0108] For example, the session management function entity, the first user plane function entity, or the related functions of the application instance access module in the embodiment of the present application may be realized using a communication device 1100 in Fig. 11. Fig. 11 is a schematic diagram of the structure of a communication device 1100 according to an embodiment of the present application. The communication device 1100 includes one or more processors 1101, a communication line 1102, and at least one communication interface (Fig. 11 simply illustrates an example in which a communication interface 1104 and one processor 1101 are included). In one possible implementation example, a memory 1103 may be further included.

[0109] The processor 1101 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to control program execution of the solution of the present application.

[0110] The communication lines 1102 may include channels configured to connect various components.

[0111] The communication interface 1104 may be a transceiver module configured to communicate with another device or communication network, such as an Ethernet, RAN, or wireless local area network (WLAN). For example, the transceiver module may be a device such as a transceiver or a transceiver machine. In one possible implementation, the communication interface 1104 may alternatively be a transceiver circuit located in the processor 1101 and configured to implement signal input and signal output of the processor.

[0112] The memory 1103 may be a device having a storage function, for example, a read-only memory (ROM) or another type of static storage device capable of storing static information and instructions, or a random access memory (RAM) or another type of dynamic storage device capable of storing information and instructions; or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another optical disk storage device, an optical disk storage device (including a compact disk, a laser disk, an optical disk, a digital versatile disk, or a Blu-ray disk, etc.), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be configured to hold or store the expected program code in the form of instructions or data structures and that can be accessed by a computer. However, this is not limited to the above. The memory may exist independently and be connected to the processor using a communication line 1102. Alternatively, the memory may be integrated with the processor.

[0113] The memory 1103 is configured to store computer-executable instructions for executing the solution of the present application, and the processor 1101 controls the execution thereof. The processor 1101 is configured to execute the computer-executable instructions stored in the memory 1103 to implement the method for an application to access a network provided in the embodiment of the present application.

[0114] Alternatively, in one possible implementation example, in this embodiment of the present application, the processor 1101 may perform processing-related functions in the method for an application to access a network provided in the following embodiment of the present application, and the communication interface 1104 is responsible for communicating with another device or a communication network. This embodiment of the present application is not particularly limited thereto.

[0115] In one possible implementation example, the computer-executable instructions in this embodiment of the present application may also be referred to as application program code, although this embodiment of the present application is not particularly limited in this respect.

[0116] In a particular implementation, in one embodiment, the processor 1101 may include one or more CPUs, for example, CPU0 and CPU1 of FIG.

[0117] In a particular implementation, in one embodiment, the communication device 1100 may include multiple processors, such as the processor 1101 and the processor 1108 of FIG. 11. Each of these processors may be a single-core processor or a multi-core processor. The processor here may include at least one of the following various computing devices that execute software: for example, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor. Each computing device may include one or more cores configured to execute software instructions to perform calculations or processing.

[0118] In a particular implementation, in one embodiment, the communication device 1100 may further include an output device 1105 and an input device 1106. The output device 1105 communicates with the processor 1101 and can display information in multiple ways. For example, the output device 1105 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 1106 communicates with the processor 1101 and can receive user input in multiple ways. For example, the input device 1106 may be a mouse, a keyboard, a touch screen device, a sensing device, or the like.

[0119] The communication device 1100 may also be called a communication device, and may be a general-purpose device or a dedicated device. For example, the communication device 1100 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, the terminal device described above, the network device described above, or a device having a structure similar to that of FIG. 11. The type of the communication device 1100 is not limited in this embodiment of the present application.

[0120] 12 illustrates a method for an application to access a network according to an embodiment of the present application. The method includes the following steps:

[0121] S1201: An application instance access module determines a session management function entity that provides services to a first application instance.

[0122] In one possible implementation example, the application instance access module determining a session management function entity that provides services to the first application instance includes the application instance access module obtaining, from a network repository function entity, information regarding one or more session management function entities that support establishment of a connection for the application instance; and the application instance access module determining a session management function entity that provides services to the first application instance based on the information regarding the one or more session management function entities.

[0123] S1202: The application instance access module sends a first message to the session management function entity. In response, the session management function entity receives a first message from the application instance access module, where the first message includes identification information of the first application instance, and the first message is used to request establishing a first connection for the first application instance.

[0124] In this embodiment of the present application, the "first connection" established for the first application instance is a connection for the first application instance established between the first application instance and a mobile communication network, which is used for the first application instance to access the mobile communication network as a special terminal device, so that the first application instance can then use the first connection to perform data communication with another device. For example, the first connection here may be a packet data network (PDN) connection in 4G or a PDU session in 5G, or another connection in another future network, which are uniformly described here and will not be described in detail again below.

[0125] In this embodiment of the present application, the identification information of the first application instance can uniquely determine the first application instance, and the identification information of the first application instance can be, for example, an APP instance permanent identifier (AIPI) or an APP instance concealed identifier (AICI), which are uniformly described here and will not be described in detail again below.

[0126] In one possible implementation example, in this embodiment of the present application, the first message may further include a first parameter and / or application information corresponding to the first application instance.

[0127] For example, in this embodiment of the present application, the first parameter includes at least one of the following parameters: location information of the first application instance and a session and service continuity (SSC) mode, a data network name (DNN) corresponding to the first connection, or an identification information of a network slice in which the first connection is located. For example, in this embodiment of the present application, the identification information of a network slice in which the first connection is located may be a single network slice selection assistance information (S-NSSAI) of the network slice in which the first connection is located. For example, in this embodiment of the present application, the location information of the first application instance may be a home public land mobile network (HPLMN) to which the first application instance subscribes; or the location information of the first application instance may be, for example, an area identifier of a tracking area in which the first application instance provides service; or the location information of the first application instance may be, for example, a cell identifier of a cell in which the first application instance provides service.

[0128] For example, in the present embodiment of the present application, the application information corresponding to the first application instance includes an application name, an application identifier, or an application domain name information, and so on.

[0129] S1203: The session management function entity determines a first user plane function entity that provides a service to the first application instance.

[0130] In one possible implementation example, in this embodiment of the present application, the session management function entity may determine a first user plane function entity providing services to the first application instance based on the first parameter.

[0131] For example, the session management function entity may determine a first user plane function entity that provides a service to the first application instance based on the location information of the first application instance included in the first parameter and the S-NSSAI of the network slice in which the first connection is located. For example, the session management function entity may determine, as the first user plane function entity, a user plane function entity that is within the user plane function entity that supports the S-NSSAI of the network slice in which the first connection is located and that is closest to the application server that holds the first application instance.

[0132] In another possible implementation example, in this embodiment of the present application, the session management function entity may further obtain subscription data of the first application instance from the integrated data management function entity, and the session management function entity may determine a first user plane function entity that provides a service to the first application instance based on the subscription data of the first application instance.

[0133] For example, in this embodiment of the present application, the subscription data of the first application instance includes at least one of an allowed connection type, subscribed location information of the first application instance, default quality of service (QoS) parameters, an allowed SSC mode, a subscribed DNN, or an identification of a subscribed network slice.

[0134] For example, the session management function entity may determine a first user plane function entity that provides a service to the first application instance based on the subscribed location information and the subscribed DNN of the first application instance included in the subscription data of the first application instance. For example, the session management function entity may determine a user plane function entity that is in the user plane function entity that supports the subscribed DNN of the first application instance and is closest to the application server that holds the first application instance as the first user plane function entity.

[0135] In this embodiment of the present application, the session management functional entity obtaining subscription data of the first application instance from the integrated data management functional entity may include: the session management functional entity sending a fifth message to the integrated data management functional entity, where the fifth message includes identification information of the first application instance, and the fifth message is used to request obtaining subscription data of the first application instance; and the session management functional entity receiving the subscription data of the first application instance from the integrated data management functional entity.

[0136] In yet another possible implementation example, in this embodiment of the present application, the session management function entity may further obtain subscription data of the first application instance from the integrated data management function entity, and may determine a first user plane function entity providing a service to the first application instance based on the subscription data of the first application instance and the first parameter.

[0137] For example, the session management function entity may determine a first user plane functional entity that provides a service to the first application instance based on the location information of the first application instance in the first parameter and the subscribed DNN of the first application instance in the subscription data of the first application instance. For example, the session management function entity may determine a user plane functional entity that is in the user plane functional entity that supports the subscribed DNN of the first application instance and is closest to the application server that holds the first application instance as the first user plane functional entity.

[0138] It should be noted that the above examples are merely provided examples regarding multiple ways in which the session management function entity determines the first user plane function entity that provides a service to the first application instance. Of course, the session management function entity may alternatively determine the first user plane function entity that provides a service to the first application instance in another way. This embodiment of the present application is not particularly limited thereto.

[0139] In one possible implementation example, in this embodiment of the present application, the session management function entity may further assign a first address to the first connection. The first address is used by the terminal device to perform data communication with the first application instance. For example, the terminal device may access the first application instance using the first address.

[0140] For example, the first address in this embodiment of the present application may include an IP address, an IPv6 prefix, or a media access control (MAC) address, which are uniformly described herein and will not be described in detail again below.

[0141] S1204: The session management function entity sends a second message to the first user plane function entity. In response, the first user plane function entity receives a second message from the session management function entity, where the second message includes identification information of the first application instance, and the second message is used to request to establish a first connection for the first application instance.

[0142] In one possible implementation example, in this embodiment of the present application, when the session management function entity assigns the first address to the first connection, the second message may further include the first address. The first address is used for route advertisement by the first user plane function entity. In this way, in the next data communication process, another entity or module can directly find the first user plane function entity by addressing based on the route advertised by the first user plane function entity. For example, the method for an application to access a network provided in this embodiment of the present application may further include: the first user plane function entity receives second data from the second user plane function entity, and sends the second data to the first application instance using the application instance access module, where the second user plane function entity finds the first user plane function entity by addressing based on the route advertised by the first user plane function entity. For related addressing schemes, please refer to the prior art. Details will not be described here.

[0143] In one possible implementation example, in this embodiment of the present application, the first address may alternatively be assigned by the first user plane functional entity, in other words, the first user plane functional entity may assign the first address to the first connection.

[0144] S1205: The first user plane function entity sends a third message to the session management function entity. In response, the session management function entity receives a third message from the first user plane function entity, where the third message includes an establishment result of the first connection, and the establishment result includes success or failure.

[0145] In one possible implementation example, in this embodiment of the present application, if the first address is assigned by the first user plane functional entity, the third message further includes the first address.

[0146] S1206: If the establishment result is successful, the session management function entity sends a fourth message to the application instance access module. In response, the application instance access module receives a fourth message from the session management function entity.

[0147] The fourth message includes a first address assigned to the first connection by the session management function entity, or includes a first address assigned to the first connection by the first user plane function entity.

[0148] In one possible implementation example, in this embodiment of the present application, after obtaining the first address, the application instance access module may advertise a route based on the first address. In this way, in the next data communication process, another entity or module can directly find the application instance access module by addressing based on the route advertised by the application instance access module. For example, the method for an application to access a network provided in this embodiment of the present application may further include: the application instance access module receives second data from a second user plane function entity, where the second user plane function entity finds the application instance access module by addressing based on the route advertised by the application instance access module. For related addressing schemes, please refer to the prior art. Details will not be described here.

[0149] In one possible implementation example, in the method for an application to access a network shown in Figure 12, the first message and the second message may further include first route information assigned to the first connection by the application instance access module. The third message and the fourth message may further include second route information assigned to the first connection by the first user plane functional entity. The first route information and the second route information are used to establish a first route in the first connection between the first user plane functional entity and the application instance access module, and the first route is used for data transmission between the first user plane functional entity and the application instance access module. For example, after obtaining the first data from the first application instance, the application instance access module sends the first data to the first user plane functional entity using the first route; or the application instance access module receives the second data from the first user plane functional entity using the first route.

[0150] Please note that the "path" in this embodiment of the present application may also be called a tunnel, or may have another name. This embodiment of the present application does not particularly limit this. For example, the first route information may be replaced with the first tunnel information, and the second route information may be replaced with the second tunnel information. This will not be described in detail one by one here.

[0151] For example, in this embodiment of the present application, the first path between the first user plane function entity and the application instance access module may include a GTP-U tunnel, a generic routing encapsulation (GRE) tunnel, or an IP tunnel, but this embodiment of the present application is not particularly limited thereto.

[0152] In this embodiment of the present application, the first route information and the second route information may be different to accommodate different types of routes.

[0153] For example, assuming that the first path is a GTP-U tunnel, the first path information may be an address of the application instance access module, and the second path information may be an address of the first user plane functional entity; or the first path information may be an endpoint identifier of the first path on the application instance access module side and an address of the application instance access module, and the second path information may be an endpoint identifier of the first path on the first user plane functional entity side and an address of the first user plane functional entity; or the first path information may be an endpoint identifier of the first path on the application instance access module side and an address and port number of the application instance access module, and the second path information may be an endpoint identifier of the first path on the first user plane functional entity side and an address and port number of the first user plane functional entity.

[0154] For example, assuming that the first path is a GRE tunnel, the first path information may be an address of the application instance access module, and the second path information may be an address of the first user plane functional entity; or the first path information may be an endpoint identifier of the first path on the application instance access module side and an address of the application instance access module, and the second path information may be an endpoint identifier of the first path on the first user plane functional entity side and an address of the first user plane functional entity; or the first path information may be an endpoint identifier of the first path on the application instance access module side and an address and key of the application instance access module, and the second path information may be an endpoint identifier of the first path on the first user plane functional entity side and an address and key of the first user plane functional entity.

[0155] For example, assuming the first path is an IP tunnel, the first path information may be an address of an application instance access module and the second path information may be an address of a first user plane functional entity; or the first path information may be an address and port number of the application instance access module and the second path information may be an address and port number of the first user plane functional entity.

[0156] The endpoint identifier in this embodiment of the present application may be, for example, a fully qualified tunnel endpoint identifier (FTEID), which is uniformly described herein and will not be described in detail again below.

[0157] In one possible implementation example, in the method for an application to access a network shown in FIG. 12, the session management function entity can further construct a virtual local area network including a first user plane function entity based on at least one of the first parameter, application information corresponding to the first application instance, or subscription data of the first application instance.

[0158] For example, when going online, the first application instance may register application information corresponding to the first application instance, and the terminal device may subscribe to a service corresponding to the first application instance. In this case, the session management function entity may build a virtual local area network using a first user plane function entity that provides a service to the first application instance together with a user plane function entity that provides a service to the terminal device that subscribes to the service corresponding to the first application instance based on the application information corresponding to the first application instance. Alternatively, the session management function entity may build a virtual local area network using a first user plane function entity that provides a service to the first application instance together with a user plane function entity that supports the S-NSSAI of the network slice in the user plane function entity that provides a service to the terminal device that subscribes to the service corresponding to the first application instance based on the application information corresponding to the first application instance and the S-NSSAI of the network slice in which the first connection is located, which is included in the first parameter. Alternatively, the session management function entity may build a virtual local area network using a first user plane function entity providing services to the first application instance based on application information corresponding to the first application instance and a subscribed DNN of the first application instance in the subscription data of the first application instance, together with a user plane function entity in the user plane function entity providing services to a terminal device that supports the subscribed DNN of the first application instance and subscribes to a service corresponding to the first application instance.

[0159] It should be noted that in this embodiment of the present application, the manner of constructing a virtual network is similar to the existing manner of constructing a 5GVN. For example, the difference is that in this embodiment of the present application, when constructing a virtual local area network, the first application instance can be regarded as a special type of terminal device that constructs a virtual local area network together with another general terminal device. Furthermore, in this embodiment of the present application, if a virtual local area network can be constructed for the first application instance and the terminal device, the procedure for establishing a first connection for the first application instance and the procedure for establishing a second connection for the terminal device require that the same virtual local area network address be assigned to the first connection and the second connection. For example, assume that the first application instance is deployed in a certain area and provides a service to a terminal device that subscribes to a corresponding service in the area. In this case, the procedure for establishing a first connection for the first application instance and the procedure for establishing a second connection for the terminal device require that the same virtual local area network address be assigned to the first connection and the second connection.

[0160] In one possible implementation example, the method for an application to access a network provided in this embodiment of the present application may further include a step in which the session management function entity registers with the network repository function entity a function that the session management function entity supports to establish a connection for the application instance. Based on this solution, when the session management function entity is subsequently selected, the session management function entity that supports to establish a connection for the application instance may be obtained from the network repository function entity.

[0161] In one possible implementation example, the method for an application to access a network provided in this embodiment of the present application may further include a step in which the first user plane functional entity registers with the network repository functional entity a function that the first user plane functional entity supports establishing a connection for the application instance. Based on this solution, when the user plane functional entity is subsequently selected, the user plane functional entity that supports establishing a connection for the application instance may be obtained from the network repository functional entity.

[0162] In one possible implementation example, before the step (step S1201) of the application instance access module determining a session management function entity providing a service to the first application instance, the method for an application to access a network provided in this embodiment of the present application may further include a step in which the application instance access module receives a sixth message from the first application instance, where the sixth message includes application information corresponding to the first application instance and is used to request registration. After the step (step S1206) of the application instance access module receiving a fourth message from the session management function entity, the method for an application to access a network provided in this embodiment of the present application may further include a step in which the application instance access module sends a first address to the first application instance. This solution is applicable to a scenario in which the application instance access module is deployed separately from the first application instance.

[0163] Although the present embodiment of the present application is described using an example in which a first connection is established for a first application instance, it can be understood that the first application instance does not need to support only one connection. One or more connections may be established for the first application instance, and each connection has a corresponding route and corresponding route information. This is uniformly described here and will not be described in detail again below.

[0164] In this embodiment of the present application, a session management function entity and a first user plane function entity in a mobile communication network establish a first connection for a first application instance between a first application instance and a mobile communication network, and a core network element assigns a first address to the first connection in the process of establishing the first connection. It can be understood that the address assignment and management and data plane forwarding path corresponding to the first application instance are all included in the control scope of the mobile communication network. In other words, in this solution, the first application instance can access the mobile communication network as a special terminal device. Because the first application instance is a specific running instance of an application, based on this solution, the flexibility of data exchange between the application and the mobile communication network can be improved. Furthermore, based on this solution, the application can be integrated into the mobile communication network plan, the plug-and-play of the application can be realized in the mobile communication system, and the application service can be dynamically adjusted to find the optimal path. This allows a new business development and cooperation mode to be realized between the operator and the application service provider.

[0165] 11 can call an application program code stored in the memory 1103 and instruct the session management functional entity, the application instance access module, or the first user plane functional entity to perform the operations of the session management functional entity, the application instance access module, or the first user plane functional entity in steps S1201 to S1206. This embodiment is not limited to this.

[0166] The method for an application to access a network provided in the embodiment of the present application is specifically described below with reference to a specific example.

[0167] It should be noted that the names of messages between entities or modules, or the names of parameters included in messages, etc., included in the following embodiments of the present application are merely examples, and other names may be used in specific implementations, and the present embodiment of the present application is not particularly limited thereto.

[0168] First, an example is used in which the communication system shown in FIG. 7 is applied to the 5G network shown in FIG. 10. Based on the embodiment shown in FIG. 12, FIG. 13A-FIG. 13C show a method for an application to access a network according to an embodiment of the present application. In the method for an application to access a network, a first APP instance in an application server provides an AUEF (i.e., the AUEF may be regarded as a functional module in the first APP instance). As a special terminal device, the SMF / UPF supports the first APP instance to directly access the 5G network, and supports functions such as address allocation and route establishment for a session established for the first APP instance (for ease of explanation, the session established for the first APP instance is hereinafter referred to as the session of the first APP instance for short). For example, a possible implementation example of the method for an application to access a network includes the following steps S1300-S1302.

[0169] S1300: The SMF registers with the NRF whether the SMF supports establishment of a PDU session for an APP instance.

[0170] For example, in this embodiment of the present application, the SMF may use the Nnrf_Network Function (NF) Management_NF Register service operation or the Nnrf_NFManagement_NF Update service operation to register with the NRF whether the SMF supports the establishment of a PDU session for an APP instance. The input parameters of the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation include at least indication information indicating whether the SMF supports the establishment of a PDU session for an APP instance. Of course, the input parameters of the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation may further include another parameter. For details, please refer to the existing 3GPP (registered trademark) standard. Details will not be described here.

[0171] In one possible implementation example, in this embodiment of the present application, the SMF supporting the establishment of a PDU session for an APP instance may also be referred to as an APP Session Management Function (ASMF). When the ASMF registers with the NRF that the ASMF supports the establishment of a PDU session for an APP instance, a new information element (IE) needs to be obtained by extension to support the description of this function. For example, the ASMF may use the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation to register with the NRF that the ASMF supports the establishment of a PDU session for an APP instance. The input parameters of the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation include at least indication information indicating whether the ASMF supports the establishment of a PDU session for an APP instance. In this embodiment of the present application, there is no particular limitation on this.

[0172] S1301: The first anchor UPF registers with the NRF whether the first anchor UPF supports the establishment of a PDU session for an APP instance.

[0173] For example, in this embodiment of the present application, the first anchor UPF may use the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation to register with the NRF whether the first anchor UPF supports the establishment of a PDU session for an APP instance. The input parameters of the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation include at least indication information indicating whether the first anchor UPF supports the establishment of a PDU session for an APP instance. Of course, the input parameters of the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation may further include another parameter. For details, please refer to the existing 3GPP (registered trademark) standard. Details will not be described here.

[0174] In one possible implementation example, in this embodiment of the present application, the first anchor UPF supporting the establishment of a PDU session for an APP instance may also be referred to as a first anchor APP user plane function (AUPF). When the first anchor AUPF registers with the NRF that it supports the establishment of a PDU session for an APP instance, it needs to obtain a new IE by extension to support the description of this function. For example, the first anchor AUPF may use the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation to register with the NRF that it supports the establishment of a PDU session for an APP instance. The input parameters of the Nnrf_NFManagement_NFRegister service operation or the Nnrf_NFManagement_NFUpdate service operation include at least indication information indicating whether the first anchor AUPF supports the establishment of a PDU session for an APP instance. In this embodiment of the present application, there is no particular limitation on this.

[0175] S1302: An application server on which a first APP instance is located obtains information about one or more SMFs that support establishment of a PDU session for the APP instance from an NRF.

[0176] In this embodiment of the present application, the information about the SMF includes the identification information of the SMF. For example, in this embodiment of the present application, the identification information of the SMF may be the IP address of the SMF or the fully qualified domain name (FQDN) of the SMF. In this embodiment of the present application, there is no particular limitation thereon.

[0177] In one possible implementation example, in the present embodiment of the present application, the information on the SMF may further include attribute information on the SMF, such as load information, although the present embodiment of the present application is not particularly limited thereto.

[0178] In one possible implementation example, an application server on which a first APP instance is located may use a Nnrf_NFDiscovery_Request service operation to query the NRF for information about SMFs that support the establishment of a PDU session for the APP instance, where the input parameters of the Nnrf_NFDiscovery_Request service operation include functional requirements for supporting the establishment of a PDU session for the APP instance, and the output parameters of the Nnrf_NFDiscovery_Request service operation include information about one or more SMFs that support the establishment of a PDU session for the APP instance.

[0179] In another possible implementation example, the application server on which the first APP instance is located may use the Nnrf_NFManagement_NFStatusSubscribe service operation to subscribe to the NRF information about SMFs that support the establishment of a PDU session for the APP instance. In this case, the input parameters of the Nnrf_NFManagement_StatusSubscribe service operation include the functional requirements for supporting the establishment of a PDU session for the APP instance. Furthermore, the NRF may use the Nnrf_NFManagement_StatusNotify service operation to return information about one or more SMFs that support the establishment of a PDU session for the APP instance to the APP instance.

[0180] Of course, in this embodiment of the present application, if the application server on which the first APP instance is located cannot obtain information about one or more SMFs that support the establishment of a PDU session for the APP instance from the NRF, the application server on which the first APP instance is located may alternatively configure an SMF that supports the establishment of a PDU session for the APP instance. For example, the application server may determine a specific SMF as an SMF that supports the establishment of a PDU session for the APP instance. This embodiment of the present application is not particularly limited. Alternatively, in this embodiment of the present application, step S1302 may not be performed. Instead, the application server on which the first APP instance is located directly configures an SMF that supports the establishment of a PDU session for the APP instance. For example, the application server on which the first APP instance is located may determine a specific SMF as an SMF that supports the establishment of a PDU session for the APP instance. This embodiment of the present application is not particularly limited.

[0181] Furthermore, in this embodiment of the present application, the application server on which the first APP instance is located may initiate a session establishment procedure, which includes the following step S1303.

[0182] S1303: The application server on which the first APP instance is located sends a Nsmf_PDU session create request to the selected SMF that supports the establishment of a PDU session for the APP instance. In response, the SMF receives a Nsmf_PDU session create request from the application server, where the Nsmf_PDU session create request includes identification information of the first APP instance and is used to request the establishment of a PDU session for the first APP instance.

[0183] For a related description of the identification information of the first APP instance, please refer to the embodiment shown in Figure 12. Details will not be described again here.

[0184] It should be noted that the Nsmf_PDU session creation request in this embodiment of the present application is merely an example of the first message in Fig. 12, and the first message may alternatively be another message. This embodiment of the present application is not particularly limited thereto.

[0185] It should be noted that this embodiment of the present application is described using an example in which the SMF in step S1300 is a selected SMF that supports the establishment of a PDU session for an APP instance, which is uniformly described here and will not be described again in detail below.

[0186] In one possible implementation example, in this embodiment of the present application, when the NRF returns information about multiple SMFs that support the establishment of a PDU session for an APP instance to the application server, the application server may determine the SMF that provides the service to the first APP instance based on attribute information (e.g., load information of the SMF), or may randomly select the SMF that provides the service to the first APP instance. This embodiment of the present application is not particularly limited thereto.

[0187] In one possible implementation example, the Nsmf_PDU session creation request in this embodiment of the present application may further include application information corresponding to the first APP instance, and the application information can uniquely determine the APP. For example, the application information may be, for example, an APP name, an APP ID, or an APP domain name information. This is uniformly described here, and will not be described in detail again below.

[0188] In one possible implementation example, the Nsmf_PDU session creation request in this embodiment of the present application may further include first path information, the first path information is used to establish a path between the first anchor UPF and the AUEF, and the first anchor UPF is the anchor UPF that serves the first APP instance. For a related description of the first path information, please refer to the embodiment shown in Figure 12. Details will not be described again here.

[0189] In one possible implementation example, the Nsmf_PDU session creation request in this embodiment of the present application may further include a first parameter. For a related description of the first parameter, please refer to the embodiment of Figure 12. Details will not be described again here.

[0190] In one possible implementation example, the method for an application to access a network provided in this embodiment of the present application may further include the following steps S1304 and S1305.

[0191] S1304: The SMF sends a subscription data management (SDM)_Get Request to the UDM. In response, the UDM receives an SDM_Get Request from the SMF, where the SDM_Get Request includes the identification information of the first APP instance and is used to request subscription data of the first APP instance.

[0192] It should be noted that the SDM_Acquire Request of the SMF in this embodiment of the present application is merely an example of the fifth message in Fig. 12, and the fifth message may alternatively be another message. This embodiment of the present application is not particularly limited thereto.

[0193] In one possible implementation example, in this embodiment of the present application, when the Nsmf_PDU session creation request includes application information corresponding to a first APP instance, the SDM_acquire request may further include application information corresponding to the first APP instance, the application information corresponding to the first APP instance is used to construct a virtual local area network including a first anchor UPF, and the first anchor UPF is an anchor UPF that provides services to the first APP instance.

[0194] In one possible implementation example, in this embodiment of the present application, when the Nsmf_PDU session creation request includes a first parameter, the SDM_acquire request may further include a first parameter, which is used to construct a virtual local area network including a first anchor UPF.

[0195] S1305: The UDM sends an SDM_Get Response to the SMF. In response to this, the SMF receives an SDM_Get Response from the UDM, and the SDM_Get Response includes the subscription data of the first APP instance.

[0196] For a related description of the subscription data of the first APP instance, please refer to the embodiment of Figure 12. The details will not be described again here.

[0197] In this embodiment of the present application, the default QoS parameters in the subscription data of the first APP instance may include, for example, a 5G QoS identifier (5QI) or an allocation and retention priority (ARP). In this embodiment of the present application, there is no particular limitation thereon.

[0198] Furthermore, the method for an application to access a network provided in this embodiment of the present application may include the following steps S1306 to S1309.

[0199] S1306: The SMF determines the anchor UPF that provides services to the first APP instance.

[0200] It should be noted that this embodiment of the present application is described using an example in which the first anchor UPF in step S1301 is the selected anchor UPF that provides services to the first APP instance, which is described uniformly here and will not be described in detail again below.

[0201] In one possible implementation example, in this embodiment of the present application, the SMF may query the NRF for information on UPFs that support the establishment of a PDU session for an APP instance. Specifically, the SMF sends a query request to the NRF, and the query request includes the location information of the first APP instance obtained using step S1303 or the location information of the first APP instance obtained using step S1305. Furthermore, the NRF sends the SMF information on one or more UPFs that support the establishment of a PDU session for an APP instance.

[0202] In this embodiment of the present application, the information about the UPF includes the identification information of the UPF. For example, in this embodiment of the present application, the identification information of the UPF may be the IP address of the UPF. In this embodiment of the present application, there is no particular limitation thereon.

[0203] In one possible implementation example, in this embodiment of the present application, the information about the UPF may further include UPF location information or UPF attribute information (e.g., load information), etc. In this embodiment of the present application, there is no particular limitation thereon.

[0204] In one possible implementation example, in this embodiment of the present application, when the NRF returns information about multiple UPFs that support the establishment of a PDU session for an APP instance to the SMF, the SMF may determine an anchor UPF that serves the first APP instance based on at least one of the location information of the UPF, the attribute information of the UPF, the location information of the first APP instance obtained using step S1303 and / or the location information of the first APP instance obtained using step S1305, the SSC mode, the DNN, and the identification information of the network slice. For details, please refer to the existing method in which the SMF selects a UPF that serves a terminal device. Details will not be described here.

[0205] Of course, in this embodiment of the present application, if the SMF cannot obtain information about one or more UPFs that support the establishment of a PDU session for an APP instance from the NRF, the SMF may alternatively set a UPF that supports the establishment of a PDU session for the APP instance. For example, the SMF may determine a specific UPF as a UPF that supports the establishment of a PDU session for an APP instance. This embodiment of the present application is not particularly limited thereto.

[0206] S1307: The SMF sends an N4 session establishment request to the selected first anchor UPF. In response, the first anchor UPF receives an N4 session establishment request from the SMF, where the N4 session establishment request includes the identification information of the first APP instance and is used to request to establish a PDU session for the first APP instance.

[0207] It should be noted that the N4 session establishment request in this embodiment of the present application is merely an example of the second message in Fig. 12, and the second message may alternatively be another message, and this embodiment of the present application is not particularly limited thereto.

[0208] In one possible implementation example, in this embodiment of the present application, if the Nsmf_PDU session creation request in step S1303 includes the first route information, the N4 session establishment request further includes the first route information.

[0209] In one possible implementation example, in this embodiment of the present application, when the subscription data of the first APP instance includes default QoS parameters, the N4 session establishment request may further include QoS policy information determined according to the QoS parameters, and the QoS policy information is used by the first anchor UPF to subsequently send data. In this embodiment of the present application, there is no particular limitation thereon.

[0210] S1308: The first anchor UPF sends an N4 session establishment response to the SMF. In response, the SMF receives an N4 session establishment response from the first anchor UPF, where the N4 session establishment response includes a session establishment result, and the session establishment result may be, for example, success or failure.

[0211] It should be noted that the N4 session establishment response in this embodiment of the present application is merely an example of the third message in Fig. 12, and the third message may alternatively be another message, and this embodiment of the present application is not particularly limited thereto.

[0212] In one possible implementation example, in this embodiment of the present application, the first anchor UPF may allocate second route information, and the second route information is used to establish a route between the first anchor UPF and the AUEF. Furthermore, the N4 session establishment response may include the second route information. For a related description of the second route information, please refer to the embodiment shown in Figure 12. Details will not be described again here.

[0213] In one possible implementation example, the first anchor UPF in this embodiment of the present application may further support functions such as routing policy advertisement and forwarding path selection for the first APP instance in the 5G network. This embodiment of the present application is not particularly limited thereto.

[0214] In addition, in this embodiment of the present application, the SMF or the first anchor UPF may further allocate a first address to the session of the first APP instance. For a related description of the first address, please refer to the embodiment shown in Figure 12. Details will not be described again here.

[0215] S1309: After the SMF determines that the session is successfully established, the SMF sends a Nsmf_PDU session create response to the application server where the first APP instance is located. In response, the application server where the first APP instance is located receives a Nsmf_PDU session create response from the SMF, where the Nsmf_PDU session create response includes a session identifier assigned to the first APP instance by the SMF and a first address assigned to the session of the first APP instance by the SMF or the first anchor UPF.

[0216] It should be noted that the Nsmf_PDU session creation response in this embodiment of the present application is merely an example of the fourth message in Fig. 12, and the fourth message may alternatively be another message. This embodiment of the present application is not particularly limited thereto.

[0217] In one possible implementation example, in this embodiment of the present application, if the N4 session establishment response in step S1308 includes second route information, the Nsmf_PDU session creation response may further include second route information.

[0218] In one possible implementation example, in this embodiment of the present application, when the first APP instance obtains the second route information and the first anchor UPF obtains the first route information, the establishment of a route between the first anchor UPF and the AUEF in the first APP instance may be considered to be completed.

[0219] In one possible implementation example, in this embodiment of the present application, the application server where the first APP instance is located may further advertise a route based on the first address assigned to the session of the first APP instance by the SMF or the first anchor UPF. This embodiment of the present application is not particularly limited thereto.

[0220] The above steps S1303-S1309 provide a session establishment procedure for the first APP instance in the 5G network. Of course, when the state of the first APP instance changes, the session update procedure for the first APP instance in the 5G network may be completed by extending the Nsmf_PDU session_Update service or extending a new service type. Alternatively, when the first APP instance goes offline, the session release procedure for the first APP instance in the 5G network may be completed by extending the Nsmf_PDU session_Release service or extending a new service type. In this embodiment of the present application, details are not described here.

[0221] S1310: A terminal device initiates a session establishment procedure. For related implementations, please refer to the prior art. Details are not described here. This embodiment of the present application is described using an example in which the anchor UPF serving the terminal device is the second anchor UPF.

[0222] In one possible implementation example, in this embodiment of the present application, in the process of establishing a session for the first APP instance and the terminal device, since the first APP instance can be regarded as a special terminal device, a function of constructing a virtual local area network based on the attributes of the first APP instance or the attributes of the terminal device may be added to the UDM. For example, the UDM may dynamically construct a virtual local area network based on at least one of the first parameter, the application information corresponding to the first APP instance, or the subscription data of the first APP instance; or the UDM may construct a virtual local area network based on a virtual network identifier preset in the UDM in the subscription data of the first APP instance and the terminal device. For a specific manner of constructing a virtual local area network, please refer to the embodiment shown in FIG. 12. Details will not be described again here. It should be noted that the above-mentioned manner in which the UDM constructs a virtual local area network based on the attributes of the first APP instance or the attributes of the terminal device is merely one possible implementation example. In this embodiment of the present application, in the process of establishing a session for the first APP instance and the terminal device, another network function or network entity may select a virtual local area network based on related attributes. In the present embodiment of the present application, there is no particular limitation on this.

[0223] In this embodiment of the present application, when a virtual local area network can be constructed for the first APP instance and the terminal device, the SMF may add the address and N19 tunnel information assigned by the 5G network to the session of the terminal device and the first APP instance belonging to the same virtual local area network to the forwarding policy set of the same virtual local area network, provide the address and N19 tunnel information to the UPF corresponding to all the terminal devices and the first APP instance in the virtual local area network, and realize the route query and forwarding process in the virtual local area network layer. In this embodiment of the present application, there is no particular limitation on this. For the relevant description of the N19 tunnel information, please refer to the premise of each embodiment. Details will not be described again here.

[0224] Furthermore, after the procedure for establishing a session for the terminal device and the procedure for establishing a session for the first APP instance are completed, a self-organized network can be formed between the terminal device and the APP instance, which can realize plug-and-play of application services, and realize mutual data access between the terminal device and the application server where the first APP instance is located. The following description is separately given by using an example in which the terminal device sends second data to the application server where the first APP instance is located, and an example in which the application server where the first APP instance is located sends first data to the terminal device.

[0225] For example, a virtual local area network can be established for the first APP instance and the terminal device, and the terminal device sends the second data to the application server where the first APP instance is located. In this case, the method for an application to access a network includes the following steps:

[0226] S1311: The terminal device sends second data to the second anchor UPF. In response, the second anchor UPF receives second data from the terminal device, where the second data includes a source address and a destination address, where the source address is a second address assigned to the session of the terminal device by the core network in the procedure of establishing a session for the terminal device, and the destination address is a first address assigned to the session of the first APP instance by the core network in the procedure of establishing a session for the first APP instance.

[0227] It should be noted that in this embodiment of the present application, the terminal device may use I-UPF to send the second data to the second anchor UPF, or may directly send the second data to the second anchor UPF, and this embodiment of the present application is not particularly limited thereto.

[0228] S1312: The second anchor UPF determines, based on the destination address, the first anchor UPF that provides services to the first APP instance.

[0229] In this embodiment of the present application, the second anchor UPF may inquire whether the destination address belongs to an address range allocated to the virtual local area network in which the terminal device is located. If the destination address belongs to the address range allocated to the virtual local area network in which the terminal device is located, the second anchor UPF may further determine the first anchor UPF that serves the first APP instance based on the destination address.

[0230] S1313: The second anchor UPF sends the second data to the first anchor UPF through an N19 tunnel between the first anchor UPF and the second anchor UPF. In response, the first anchor UPF receives the second data from the second anchor UPF.

[0231] In this embodiment of the present application, when sending second data to the first anchor UPF through the N19 tunnel between the first anchor UPF and the second anchor UPF, the second anchor UPF may use corresponding N19 tunnel information to encapsulate the second data. For details, please refer to the existing method of transmitting data through the N19 tunnel. Details will not be described here.

[0232] S1314: The first anchor UPF sends the second data to the application server where the first APP instance is located. In response, the application server where the first APP instance is located receives the second data from the first anchor UPF.

[0233] In this embodiment of the present application, when using the path between the first anchor UPF and the AUEF to send the second data to the application server where the first APP instance integrated with the AUEF is located, the first anchor UPF may encapsulate the second data using the first path information and the second path information. For details, please refer to the existing data transmission method. Details will not be described here.

[0234] It should be noted that the above steps S1311-S1314 are described using an example in which a virtual local area network can be constructed for the first APP instance and the terminal device. In one possible implementation example, in this embodiment of the present application, the second data may not be transmitted through the N19 tunnel between the first anchor UPF and the second anchor UPF. For example, in the procedure of establishing a session for the first APP instance, if the application server on which the first APP instance is located advertises a route based on the first address assigned to the session of the first APP instance by the SMF or the first anchor UPF, in this embodiment of the present application, after receiving the second data, the second anchor UPF can directly find the application server by addressing in the existing routing manner based on the first address advertised by the application server on which the first APP instance is located, so that the second anchor UPF can forward the second data to the application server. In this embodiment of the present application, there is no particular limitation on this. Alternatively, for example, in this embodiment of the present application, in the procedure of establishing a session for the first APP instance, if the first anchor UPF supports the routing policy advertisement of the first APP instance in the 5G network, in this embodiment of the present application, after receiving the second data, the second anchor UPF can directly find the first anchor UPF by addressing in the existing routing manner based on the routing policy advertised to the outside by the first anchor UPF, so that the second anchor UPF sends the second data to the first anchor UPF. After receiving the second data, the first anchor UPF sends the second data to the application server where the first APP instance is located. In this embodiment of the present application, there is no particular limitation on this.

[0235] For example, a virtual local area network can be established for a first APP instance and a terminal device, and the application server on which the first APP instance is located sends first data to the terminal device. In this case, a method for an application to access a network includes the following steps:

[0236] S1315: The application server on which the first APP instance is located sends the first data to the first anchor UPF. Correspondingly, the first anchor UPF receives the first data from the application server on which the first APP instance is located, the first data including a source address and a destination address, the source address being a first address assigned to the session of the first APP instance by the core network in the procedure of establishing a session for the first APP instance, and the destination address being a second address assigned to the session of the terminal device by the core network in the procedure of establishing a session for the terminal device.

[0237] In this embodiment of the present application, when sending the first data to the first anchor UPF using the path between the first anchor UPF and the AUEF, the application server on which the first APP instance integrated with the AUEF is located may encapsulate the first data using the first path information and the second path information. For details, please refer to the existing data transmission method. Details will not be described here.

[0238] S1316: The first anchor UPF determines, based on the destination address, a second anchor UPF that serves the terminal device.

[0239] In this embodiment of the present application, the first anchor UPF may inquire whether the destination address belongs to an address range allocated to the virtual local area network in which the first APP instance is located. If the destination address belongs to the address range allocated to the virtual local area network in which the first APP instance is located, the first anchor UPF may further determine a second anchor UPF serving the terminal device based on the destination address.

[0240] S1317: The first anchor UPF sends the first data to the second anchor UPF through an N19 tunnel between the first anchor UPF and the second anchor UPF. In response, the second anchor UPF receives the first data from the first anchor UPF.

[0241] In this embodiment of the present application, when sending the first data to the second anchor UPF through the N19 tunnel between the first anchor UPF and the second anchor UPF, the first anchor UPF may encapsulate the first data using corresponding N19 tunnel information. For details, please refer to the existing method of transmitting data through the N19 tunnel. Details will not be described here.

[0242] S1318: The second anchor UPF sends the first data to the terminal device, and in response, the terminal device receives the first data from the second anchor UPF.

[0243] It should be noted that in this embodiment of the present application, the second anchor UPF may use I-UPF to send the first data to the terminal device, or may directly send the first data to the terminal device, and this embodiment of the present application is not particularly limited thereto.

[0244] It should be noted that the above steps S1315-S1318 are described using an example in which a virtual local area network can be constructed for the first APP instance and the terminal device. In one possible implementation example, in this embodiment of the present application, the first data may not be transmitted through the N19 tunnel between the first anchor UPF and the second anchor UPF. For example, in the procedure of establishing a session for the terminal device, if the second anchor UPF advertises a route based on the second address assigned to the session of the terminal device by the SMF or the second anchor UPF, in this embodiment of the present application, the application server on which the first APP instance is located can directly find the second anchor UPF by addressing in the existing routing manner based on the second address advertised by the second anchor UPF, so that the second anchor UPF can forward the first data to the terminal device. In this embodiment of the present application, there is no particular limitation on this.

[0245] In this embodiment of the present application, the SMF and the first anchor UPF in the mobile communication network establish a session for the first APP instance, and assign a first address to the session of the first APP instance in the session establishment process. It can be understood that the address allocation and management and data plane forwarding path corresponding to the first application instance are all included in the control scope of the mobile communication network. In other words, in this solution, the first APP instance can access the 5G network as a special terminal device. Because the first APP instance is a specific execution instance of an application, based on this solution, the flexibility of data exchange between the application and the mobile communication network can be improved. Furthermore, based on this solution, the application can be integrated into the mobile communication network plan, the plug and play of the application can be realized in the mobile communication system, and the application service can be dynamically adjusted to find the optimal path. This allows a new business development and cooperation mode to be realized between the operator and the application service provider.

[0246] The processor 1101 of the communication device 1100 shown in Fig. 11 may call an application program code stored in the memory 1103 and instruct the SMF, the application server, or the first anchor UPF to perform the operations of the SMF, the application server, or the first anchor UPF in the above-mentioned steps S1300 to S1318. This embodiment is not limited to this.

[0247] Next, an example is used in which the communication system shown in FIG. 7 is applied to the 5G network shown in FIG. 10. Based on the embodiment shown in FIG. 12, FIG. 14A-FIG. 14C show another method for an application to access a network according to an embodiment of the present application. In the method for an application to access a network, in order to avoid a large amount of coordination work for independently developing an AUEF for the first APP instance based on the procedure in the embodiment shown in FIG. 13A-FIG. 13C, the AUEF may be deployed separately from the first APP instance (an example in which the APP integration platform provides an integrated AUEF as shown in FIG. 9 is used as an example). Furthermore, in relation to the original online and offline procedure of the first APP instance, when the first APP instance goes online or offline, the SMF / UPF uses the AUEF as a special terminal device to support the first APP instance's direct access to the 5G network, and supports functions such as address allocation and route establishment for the session established for the first APP instance (for ease of explanation, the session established for the first APP instance is hereinafter referred to as the session of the first APP instance for short). For example, one possible implementation example of a method for an application to access a network includes the following steps S1400 to S1402.

[0248] S1400: The SMF registers with the NRF whether the SMF supports establishment of a PDU session for an APP instance.

[0249] For a specific implementation of step S1400, please refer to step S1300 in the embodiment shown in Figures 13A to 13C, and the details will not be described again here.

[0250] S1401: The first anchor UPF registers with the NRF whether the first anchor UPF supports the establishment of a PDU session for an APP instance.

[0251] For a specific implementation of step S1401, please refer to step S1301 in the embodiment shown in Figures 13A to 13C, and the details will not be described again here.

[0252] S1402: The APP integration platform in which the AUEF is located obtains information about one or more SMFs that support establishment of a PDU session for the APP instance from the NRF.

[0253] For the manner in which the APP integration platform on which the AUEF is located obtains information on one or more SMFs supporting the establishment of a PDU session for an APP instance from the NRF in step S1402, please refer to the manner in which the application server on which the first APP instance is located obtains information on one or more SMFs supporting the establishment of a PDU session for an APP instance from the NRF in step S1302 of the embodiment shown in Figures 13A to 13C. For example, the difference is that the application server on which the first APP instance is located in step S1302 is replaced by the APP integration platform on which the AUEF is located in step S1402. Details will not be described again here.

[0254] Furthermore, in this embodiment of the present application, the application server on which the first APP instance is located may initiate a session establishment procedure, which includes the following steps S1403 and S1404.

[0255] S1403: When the first APP instance goes online on the APP integration platform, the application server on which the first APP instance is located sends an APP register request to the APP integration platform on which the AUEF is located. In response, the APP integration platform on which the AUEF is located receives the APP registration request from the application server on which the first APP instance is located, and the APP registration request includes application information corresponding to the first APP instance. For related descriptions of the application information, please refer to the embodiments shown in Figures 13A to 13C. Details will not be described again here.

[0256] S1404: After assigning the identification information of the first APP instance to the first APP instance, the AUEF on the APP integration platform sends a Nsmf_PDU session create request to the selected SMF that supports the establishment of a PDU session for the APP instance. In response, the SMF receives a Nsmf_PDU session create request from the APP integration platform where the AUEF is located, and the Nsmf_PDU session create request includes the identification information of the first APP instance and is used to request the establishment of a PDU session for the first APP instance.

[0257] For a related description of the identification information of the first APP instance, please refer to the embodiment shown in Figure 13. The details will not be described again here.

[0258] It should be noted that this embodiment of the present application is described using an example in which the SMF in step S1400 is a selected SMF that supports the establishment of a PDU session for an APP instance, which is uniformly described here and will not be described in detail again below.

[0259] In one possible implementation example, in this embodiment of the present application, when the NRF returns information on multiple SMFs that support the establishment of a PDU session for an APP instance to the APP integration platform in which the AUEF is located, the APP integration platform in which the AUEF is located may determine an SMF that provides a service to the first APP instance based on attribute information (e.g., load information) of the SMF; or may randomly select an SMF that provides a service to the first APP instance. This embodiment of the present application is not particularly limited thereto.

[0260] In one possible implementation example, the Nsmf_PDU session creation request in this embodiment of the present application may further include application information corresponding to the first APP instance.For related description of application information, please refer to the embodiment shown in Figure 13A to Figure 13C.Details will not be described again here.

[0261] In one possible implementation example, the Nsmf_PDU session creation request in this embodiment of the present application may further include first path information, the first path information is used to establish a path between the first anchor UPF and the AUEF, and the first anchor UPF is the anchor UPF that serves the first APP instance. For a related description of the first path information, please refer to the embodiment shown in Figure 12. Details will not be described again here.

[0262] In one possible implementation example, the Nsmf_PDU session creation request in this embodiment of the present application may further include a first parameter. For a related description of the first parameter, please refer to the embodiment of Figure 12. Details will not be described again here.

[0263] Steps S1405 to S1409 are the same as steps S1304 to S1309 in the embodiment shown in FIG. 13, so the details will not be described again here.

[0264] S1410: After the SMF determines that the session establishment is successful, the SMF sends a Nsmf_PDU session create response to the APP integration platform in which the AUEF is located. In response, the APP integration platform in which the AUEF is located receives a Nsmf_PDU session create response from the SMF, where the Nsmf_PDU session create response includes a session identifier assigned by the SMF to the first APP instance and a first address assigned by the SMF or the first anchor UPF to the session of the first APP instance.

[0265] In one possible implementation example, in this embodiment of the present application, if the N4 session establishment response in step S1409 includes second route information, the Nsmf_PDU session creation response may further include second route information.

[0266] In one possible implementation example, in this embodiment of the present application, when the APP integration platform obtains the second route information and the first anchor UPF obtains the first route information, the establishment of a route between the first anchor UPF and the AUEF on the APP integration platform may be deemed to be completed.

[0267] S1411: The APP integration platform where the AUEF is located sends an APP register response to the application server where the first APP instance is located. In response, the application server where the first APP instance is located receives an APP registration response from the APP integration platform where the AUEF is located, where the APP registration response includes a session identifier assigned to the first APP instance by the SMF and a first address assigned to the session of the first APP instance by the SMF or the first anchor UPF.

[0268] In one possible implementation example, in this embodiment of the present application, the application server where the first APP instance is located may further advertise a route based on the first address assigned to the session of the APP instance by the SMF or the first anchor UPF. This embodiment of the present application is not particularly limited thereto.

[0269] The above steps S1403-S1411 provide a session establishment procedure for the first APP instance in the 5G network when the first APP instance goes online on the APP integration platform. Of course, when the state of the first APP instance changes, the application server on which the first APP instance is located may send an APP registration update request to the APP integration platform on which the AUEF is located, so that the APP integration platform on which the AUEF is located can complete the session update procedure for the first APP instance in the 5G network by extending the Nsmf_PDU session_update service or extending a new service type. Alternatively, when the first APP instance goes offline, the APP integration platform on which the AUEF is located can complete the session release procedure for the first APP instance in the 5G network by extending the Nsmf_PDU session_release service or extending a new service type. In this embodiment of the present application, details are not described here.

[0270] S1412: The terminal device initiates a session establishment procedure. For related implementations, please refer to the prior art. Details are not described here. This embodiment of the present application is described using an example in which the anchor UPF serving the terminal device is the second anchor UPF.

[0271] In one possible implementation example, in the present embodiment of the present application, in the process of establishing a session for the first APP instance and the terminal device, the first APP instance can be regarded as a special terminal device, so the function of constructing a virtual local area network based on the attribute of the first APP instance or the attribute of the terminal device can be added to the UDM. For related description, please refer to the embodiment shown in Figure 13A to Figure 13C. Details will not be described again here.

[0272] Furthermore, after the procedure for establishing a session for the terminal device and the procedure for establishing a session for the first APP instance are completed, a self-organizing network can be formed between the terminal device and the first APP instance, which can realize plug-and-play of application services, and realize mutual data access between the terminal device and the application server where the first APP instance is located. The following description is separately given by using an example in which the terminal device sends second data to the application server where the first APP instance is located, and an example in which the application server where the first APP instance is located sends first data to the terminal device.

[0273] For example, a virtual local area network can be established for the first APP instance and the terminal device, and the terminal device sends the second data to the application server where the first APP instance is located. In this case, the method for an application to access a network includes the following steps:

[0274] S1413 to S1415 are the same as steps S1311 to S1313 in the embodiment shown in Figures 13A to 13C, and so the details will not be described again here.

[0275] S1416: The first anchor UPF sends the second data to the APP integration platform in which the AUEF is located, using the path between the first anchor UPF and the AUEF. In response, the APP integration platform in which the AUEF is located receives the second data from the first anchor UPF.

[0276] In this embodiment of the present application, when using the path between the first anchor UPF and the AUEF to send the second data to the APP integration platform where the AUEF is located, the first anchor UPF may encapsulate the second data using the first path information and the second path information. For details, please refer to the existing data transmission method. Details will not be described here.

[0277] S1417: The APP integration platform on which the AUEF is located sends the second data to the application server on which the first APP instance is located. In response, the application server on which the first APP instance is located receives the second data from the APP integration platform on which the AUEF is located.

[0278] It should be noted that the above steps S1413-S1417 are described using an example in which a virtual local area network can be established for the first APP instance and the terminal device. In one possible implementation example, in this embodiment of the present application, the second data may not be transmitted through the N19 tunnel between the first anchor UPF and the second anchor UPF. For example, in the procedure of establishing a session for the first APP instance, if the application server on which the first APP instance is located advertises a route based on the first address assigned to the session of the first APP instance by the SMF or the first anchor UPF, in this embodiment of the present application, after receiving the second data, the second anchor UPF can directly find the application server by addressing in the existing routing manner based on the first address advertised by the application server on which the first APP instance is located, so that the second anchor UPF can forward the second data to the application server. In this embodiment of the present application, there is no particular limitation on this. Alternatively, for example, in this embodiment of the present application, in the procedure of establishing a session for the first APP instance, if the first anchor UPF supports the routing policy advertisement of the first APP instance in the 5G network, in this embodiment of the present application, after receiving the second data, the second anchor UPF can directly find the first anchor UPF by addressing in the existing routing manner based on the routing policy advertised to the outside by the first anchor UPF, so that the second anchor UPF sends the second data to the first anchor UPF. After receiving the second data, the first anchor UPF uses the APP integration platform where the AUEF is located to send the second data to the application server where the first APP instance is located. In this embodiment of the present application, there is no particular limitation on this.

[0279] For example, a virtual local area network can be established for a first APP instance and a terminal device, and the application server on which the first APP instance is located sends first data to the terminal device. In this case, a method for an application to access a network includes the following steps:

[0280] S1418: The application server on which the first APP instance is located sends the first data to the APP integration platform on which the AUEF is located. Correspondingly, the APP integration platform on which the AUEF is located receives the first data from the application server on which the first APP instance is located, the first data including a source address and a destination address, the source address being a first address assigned to the session of the first APP instance by the core network in the procedure of establishing a session for the first APP instance, and the destination address being a second address assigned to the session of the terminal device by the core network in the procedure of establishing a session for the terminal device.

[0281] S1419: The APP integration platform in which the AUEF is located transmits the first data to the first anchor UPF using a path between the first anchor UPF and the AUEF. In response, the first anchor UPF receives the first data from the APP integration platform in which the AUEF is located.

[0282] In this embodiment of the present application, when the first data is sent to the first anchor UPF using the path between the first anchor UPF and the AUEF, the APP integration platform where the AUEF is located may encapsulate the first data using the first path information and the second path information. For details, please refer to the existing data transmission method. Details will not be described here.

[0283] S1420 to S1422 are the same as steps S1316 to S1318 in the embodiment shown in Figures 13A to 13C, and therefore the details will not be repeated here.

[0284] It should be noted that the above steps S1418-S1422 are described using an example in which a virtual local area network can be constructed for the first APP instance and the terminal device. In one possible implementation example, in this embodiment of the present application, the first data may not be transmitted through the N19 tunnel between the first anchor UPF and the second anchor UPF. For example, in the procedure of establishing a session for the terminal device, if the second anchor UPF advertises a route based on the second address assigned to the session of the terminal device by the SMF or the second anchor UPF, in this embodiment of the present application, the application server on which the first APP instance is located can directly find the second anchor UPF by addressing in the existing routing manner based on the second address advertised by the second anchor UPF, so that the second anchor UPF can forward the first data to the terminal device. In this embodiment of the present application, there is no particular limitation on this.

[0285] In this embodiment of the present application, the SMF and the first anchor UPF in the mobile communication network establish a session for the first APP instance, and assign a first address to the session of the first APP instance in the session establishment process. It can be understood that the address allocation and management and data plane forwarding path corresponding to the first application instance are all included in the control scope of the mobile communication network. In other words, in this solution, the first APP instance can access the 5G network as a special terminal device. Because the first APP instance is a specific execution instance of an application, based on this solution, the flexibility of data exchange between the application and the mobile communication network can be improved. Furthermore, based on this solution, the application can be integrated into the mobile communication network plan, the plug and play of the application can be realized in the mobile communication system, and the application service can be dynamically adjusted to find the optimal path. This allows a new business development and cooperation mode to be realized between the operator and the application service provider.

[0286] The processor 1101 of the communication device 1100 shown in Fig. 11 may call the application program code stored in the memory 1103 and instruct the SMF, the APP integration platform, or the first anchor UPF to perform the operations of the SMF, the APP integration platform, or the first anchor UPF in steps S1400 to S1422. This embodiment is not limited thereto.

[0287] In the embodiments shown in Figures 12 to 14C, it can be understood that the method and / or steps performed by the first user plane functional entity may alternatively be performed by a component available for the first user plane functional entity, the method and / or steps performed by the application instance access module may alternatively be performed by a component (e.g., a chip or circuit) available for the application instance access module, and the method and / or steps implemented by the session management functional entity may alternatively be performed by a component (e.g., a chip or circuit) available for the session management functional entity.

[0288] The above mainly describes the solution provided in the embodiments of the present application from the viewpoint of the interaction between network elements. Correspondingly, an embodiment of the present application further provides a communication device. The communication device may be a session management function entity in the above-mentioned method embodiment, a device including a session management function entity, or a component that can be used for the session management function entity. To realize the above-mentioned functions, it can be understood that the communication device includes corresponding hardware configurations and / or software modules for performing each function. Those skilled in the art should easily recognize that the units and algorithm steps in the examples described with reference to the embodiments disclosed herein can be realized in the present application in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or by using computer software to drive hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to realize the described functions for a specific application, and this implementation example should not be considered as going beyond the scope of the present application.

[0289] 15 is a schematic diagram of a configuration of a communication device 150. The communication device 150 includes a processing module 1502 and a transceiver module 1501. The transceiver module 1501 may also be referred to as a transceiver unit and is configured to implement a transceiver function. For example, the transceiver module 1501 may be a transceiver circuit, a transceiver machine, a transceiver, or a communication interface.

[0290] For example, the communication device 150 may be a session management network element in an embodiment of the method described above, or a chip or another component disposed within the session management network element.

[0291] The transceiver module 1501 is configured to receive a first message from the application instance access module, the first message including an identification of the first application instance, the first message being used to request to establish a first connection for the first application instance. The processing module 1502 is configured to determine a first user plane functional entity providing a service to the first application instance. The transceiver module 1501 is further configured to send a second message to the first user plane functional entity, the second message including an identification of the first application instance, the second message being used to request to establish a first connection for the first application instance. The transceiver module 1501 is further configured to receive a third message from the first user plane functional entity, the third message including an establishment result of the first connection, the establishment result including success. The transceiver module 1501 is further configured to send a fourth message to the application instance access module, the fourth message including a first address assigned to the first connection by the core network element.

[0292] In one possible implementation, the first message and the second message further include first route information assigned to the first connection by the application instance access module, and the third message and the fourth message further include second route information assigned to the first connection by the first user plane functional entity, the first route information and the second route information are used to establish a first route in the first connection and between the first user plane functional entity and the application instance access module.

[0293] In one possible implementation example, the core network element is a first user plane functional entity, and the third message further includes the first address.

[0294] In one possible implementation, the core network element is a session management function entity.

[0295] In one possible implementation, the second message further includes a first address, where the first address is used by the first user plane functional entity to advertise the route.

[0296] In one possible implementation example, the first message further includes a first parameter, where the first parameter is used to determine a first user plane functional entity providing a service to the first application instance, or the first parameter is used to construct a virtual local area network including the first user plane functional entity.

[0297] In one possible implementation example, the first parameter includes at least one of the following parameters: location information and SSC mode of the first application instance, a DNN corresponding to the first connection, or identification information of the network slice in which the first connection is located.

[0298] In one possible implementation, the first message further includes application information corresponding to the first application instance, where the application information is used to construct a virtual local area network including the first user plane functional entity.

[0299] In one possible implementation example, the transceiver module 1501 is further configured to send a fifth message to the integrated data management functional entity, where the fifth message includes identification information of the first application instance, and the fifth message is used to request to obtain subscription data of the first application instance. The transceiver module 1501 is further configured to receive subscription data from the integrated data management functional entity, where the subscription data is used to determine a first user plane functional entity providing a service to the first application instance, or the subscription data is used to construct a virtual local area network including the first user plane functional entity.

[0300] In one possible implementation, the transceiver module 1501 is further configured to register with the network repository functional entity the capability of the communication device 150 to support the establishment of a connection for the application instance.

[0301] For example, the communication device 150 may be an application instance access module in the method embodiments described above, or a chip or another component disposed within the application instance access module.

[0302] The processing module 1502 is configured to determine a session management function entity providing a service to the first application instance. The transceiving module 1501 is configured to send a first message to the session management function entity, the first message including an identification of the first application instance, the first message being used to request establishing a first connection for the first application instance. The transceiving module 1501 is further configured to receive a fourth message from the session management function entity, the fourth message including a first address assigned to the first connection by the core network element.

[0303] In one possible implementation, the first message further includes first route information assigned to the first connection by the communication device, and the fourth message further includes second route information assigned to the first connection by a first user plane functional entity, the first route information and the second route information are used to establish a first route in the first connection between the first user plane functional entity and the application instance access module, the first user plane functional entity being a user plane functional entity providing a service to the first application instance.

[0304] In one possible implementation example, the transceiver module 1501 is further configured to transmit the first data to a first user plane functional entity using a first path after obtaining the first data from the first application instance; or the transceiver module 1501 is further configured to receive second data from the first user plane functional entity using the first path.

[0305] In one possible implementation, the processing module 1502 is further configured to advertise a route based on the first address.

[0306] In one possible implementation example, the transceiver module 1501 is further configured to receive second data from a second user plane function entity, and the second user plane function entity locates the application instance access module by addressing based on the route advertised by the application instance access module.

[0307] In one possible implementation, the transceiver module 1501 is further configured to receive a sixth message from the first application instance before sending the first message to the session management function entity, the sixth message including application information corresponding to the first application instance, the sixth message being used to request the application instance access module to register. The transceiver module 1501 is further configured to send a first address to the first application instance after receiving the fourth message from the session management function entity.

[0308] In one possible implementation example, the core network element is a session management function entity, or the core network element is a first user plane function entity that provides a service to the first application instance.

[0309] In one possible implementation example, the first message further includes a first parameter, where the first parameter is used to determine a first user plane functional entity providing a service to the first application instance, or the first parameter is used to construct a virtual local area network including the first user plane functional entity.

[0310] In one possible implementation example, the first parameter includes at least one of the following parameters: location information and SSC mode of the first application instance, a DNN corresponding to the first connection, or identification information of the network slice in which the first connection is located.

[0311] In one possible implementation example, the first message further includes application information corresponding to the first application instance, the application information being used to construct a virtual local area network including a first user plane functional entity, the first user plane functional entity being a user plane functional entity providing a service to the first application instance.

[0312] In one possible implementation example, the processing module 1502 being configured to determine a session management function entity that provides services to the first application instance includes the processing module 1502 being configured to obtain, from a network repository function entity, information regarding one or more session management function entities that support establishment of a connection for the application instance; and to determine a session management function entity that provides services to the first application instance based on the information regarding the one or more session management function entities.

[0313] For example, the communication device 150 is a first user plane functional entity in the embodiment of the method described above, or a chip or another component disposed within the first user plane functional entity.

[0314] The transceiver module 1501 is configured to receive a second message from the session management function entity, the second message including an identification of the first application instance, the second message being used to request establishing a first connection for the first application instance. The transceiver module 1501 is further configured to send a third message to the session management function entity, the third message including an establishment result of the first connection, the establishment result including success or failure.

[0315] In one possible implementation, the second message further includes first route information assigned to the first connection by the application instance access module, and the third message further includes second route information assigned to the first connection by the communication device, the first route information and the second route information being used to establish a first route in the first connection and between the first user plane functional entity and the application instance access module.

[0316] In one possible implementation, the third message further includes a first address assigned by the communication device to the first connection.

[0317] In one possible implementation, the second message further includes a first address assigned to the first connection by the session management function entity.

[0318] In one possible implementation, the processing module 1502 is configured to advertise a route based on the first address.

[0319] In one possible implementation, the transceiver module 1501 is further configured to register with the network repository functional entity the capability of the communication device 150 to support the establishment of a connection for the application instance.

[0320] In one possible implementation, the transceiver module 1501 is further configured to receive first data from a first application instance using the application instance access module, and the transceiver module 1501 is further configured to transmit the first data to a second user plane functional entity, where the second user plane functional entity is a user plane functional entity providing services to a terminal device.

[0321] In one possible implementation, the transceiver module 1501 is further configured to receive second data from a second user plane functional entity, the second user plane functional entity being a user plane functional entity providing a service to a terminal device. The transceiver module 1501 is further configured to transmit the second data to the first application instance using the application instance access module. In one possible implementation, the second user plane functional entity finds the first user plane functional entity by addressing based on a route advertised by the first user plane functional entity.

[0322] All relevant contents of the steps in the above method embodiments will be listed in the functional descriptions of the corresponding functional modules, and details will not be described again here.

[0323] In this embodiment, communication device 150 is shown divided into functional modules in an integrated manner. A "module" in this context may be a specific ASIC, circuitry, processor and memory executing one or more software or firmware programs, integrated logic circuitry, and / or other components capable of providing the functionality described above. Those skilled in the art will appreciate that in a simple embodiment, communication device 150 may be in the form of communication device 1100 shown in FIG. 11.

[0324] For example, the processor 1101 of the communication device 1100 shown in FIG. 11 can invoke computer-executable instructions stored in memory 1103, thereby causing the communication device 1100 to perform a method for an application to access a network in the method embodiment described above.

[0325] Specifically, the functions / implementation processes of the transmission / reception module 1501 and the processing module 1502 in Fig. 15 may be realized by the processor 1101 of the communication device 1100 shown in Fig. 11 calling computer-executable instructions stored in the memory 1103. Alternatively, the functions / implementation processes of the processing module 1502 in Fig. 15 may be realized by the processor 1101 of the communication device 1100 shown in Fig. 11 calling computer-executable instructions stored in the memory 1103, and the functions / implementation processes of the transmission / reception module 1501 in Fig. 15 may be realized using the communication interface 1104 of the communication device 1100 shown in Fig. 11.

[0326] The communication device 150 provided in this embodiment can perform the above-mentioned method for an application to access a network. Therefore, for the technical effects that can be obtained by the communication device 150, please refer to the above-mentioned method embodiment. Details will not be described again here.

[0327] It should be noted that one or more of the aforementioned modules or units may be realized in software, hardware, or a combination thereof. If any one of the aforementioned modules or units is realized in software, the software exists in the form of computer program instructions and is stored in a memory. The processor may be configured to execute the program instructions and perform the steps of the aforementioned method. The processor may be embedded in a SoC (system on chip) or an ASIC, or may be an independent semiconductor chip. In addition to the core configured to execute the software instructions to perform the calculation or processing, the processor may further include necessary hardware accelerators, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit implementing dedicated logic operations.

[0328] If the aforementioned modules or units are realized in hardware, the hardware may be any one or any combination of a CPU, microprocessor, digital signal processing (DSP) chip, microcontroller unit (MCU), artificial intelligence processor, ASIC, SoC, FPGA, PLD, dedicated digital circuitry, hardware accelerator, or non-integrated discrete devices. The hardware may be capable of executing necessary software or may perform the steps of the aforementioned methods without recourse to software.

[0329] In one possible implementation, an embodiment of the present application further provides a communication device (e.g., the communication device may be a chip or a chip system). The communication device includes a processor configured to implement the method in any one of the above-mentioned method embodiments. In one possible implementation, the communication device further includes a memory. The memory is configured to store necessary program instructions and data. The processor can call the program code stored in the memory and instruct the communication device to perform the method in any one of the above-mentioned method embodiments. Of course, the communication device may not include a memory. If the communication device is a chip system, the communication device may include a chip, or may include a chip and another discrete device. This embodiment of the present application is not particularly limited in this respect.

[0330] All or part of the above-described embodiments may be implemented using software, hardware, firmware, or any combination thereof. When a software program is used to implement these embodiments, all or part of the embodiments may be implemented 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 onto a computer and executed thereon, all or part of the procedures or functions according to the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or another programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, optical fiber, or digital subscriber line (DSL)) or wireless (e.g., infrared, radio wave, or microwave) methods. The computer-readable storage medium may be any available medium that can be accessed by a computer, or may include one or more data storage devices, such as servers and data centers, that may be integrated with the medium. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0331] Although the present application is described herein with reference to embodiments, in the course of implementing the claimed application, those skilled in the art may understand and realize other variations of the disclosed embodiments by studying the accompanying drawings, the disclosure, and the appended claims. In the claims, the term "comprising" does not exclude other components or steps, and "a" or "one" does not exclude "multiple". One processor or another unit may implement several functions recited in the claims. Although several measures are recited in mutually different dependent claims, this does not mean that these measures cannot be combined to produce better effects.

[0332] Although the present application has been described with reference to specific features and embodiments thereof, it is clear that various modifications and combinations can be made to the present application without departing from the spirit and scope of the present application. Correspondingly, this specification and the accompanying drawings are merely exemplary descriptions of the present application as defined by the appended claims, and are considered to cover any or all of the modifications, variations, combinations, or equivalents within the scope of the present application. It is clear that a person skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. The present application is intended to include these modifications and variations, provided that these modifications and variations made to the present application are within the scope of the claims of the present application and the equivalent technology thereof. [Other possible items] (Item 1) 1. A method for an application to access a network, the method comprising: receiving a first message from an application instance access module by a session management function entity, wherein the first message includes an identification of a first application instance, the first message being used to request establishing a first connection for the first application instance; the session management function entity determining a first user plane function entity providing a service to the first application instance; sending a second message by the session management function entity to the first user plane function entity, where the second message comprises the identification information of the first application instance, the second message being used to request establishment of the first connection for the first application instance; receiving a third message from the first user plane function entity, where the third message has an establishment result of the first connection, the establishment result including success; and the session management function entity sending a fourth message to the application instance access module, where the fourth message has a first address assigned to the first connection by a core network element. A method comprising: (Item 2) 2. The method of claim 1, wherein the first message and the second message further comprise first route information assigned to the first connection by the application instance access module, and the third message and the fourth message further comprise second route information assigned to the first connection by the first user plane function entity, wherein the first route information and the second route information are used to establish a first route in the first connection and between the first user plane function entity and the application instance access module. (Item 3) 3. The method according to item 1 or 2, wherein the core network element is the first user plane functional entity, and the third message further comprises the first address. (Item 4) 3. The method according to item 1 or 2, wherein the core network element is the session management function entity. (Item 5) 5. The method of claim 4, wherein the second message further comprises the first address, the first address being used by the first user plane function entity to advertise a route. (Item 6) 6. The method according to any one of items 1 to 5, wherein the first message further comprises a first parameter, the first parameter being used to determine the first user plane functional entity providing a service to the first application instance, or the first parameter being used to construct a virtual local area network including the first user plane functional entity. (Item 7) The first parameter is the following parameter: Location information of the first application instance and a session and service continuity (SSC) mode, a data network name (DNN) corresponding to the first connection, or an identification of a network slice in which the first connection is located. 7. The method according to item 6, comprising at least one of the following: (Item 8) 8. The method according to any one of claims 1 to 7, wherein the first message further comprises application information corresponding to the first application instance, the application information being used to construct a virtual local area network including the first user plane functional entity. (Item 9) The method further comprises: sending a fifth message by the session management function entity to an integrated data management function entity, where the fifth message comprises the identification information of the first application instance, and the fifth message is used to request to obtain subscription data of the first application instance; and receiving the subscription data from the integrated data management functional entity by the session management functional entity, wherein the subscription data is used to determine the first user plane functional entity providing a service to the first application instance, or the subscription data is used to establish a virtual local area network including the first user plane functional entity. 9. The method according to any one of items 1 to 8, comprising: (Item 10) The method further comprises: 10. A method according to any one of claims 1 to 9, comprising a step in which the session management function entity registers with a network repository function entity a capability for the session management function entity to support the establishment of a connection for an application instance. (Item 11) A communication device, the communication device being a session management function entity or a module applied to the session management function entity, the communication device comprising a transceiving module and a processing module; the transceiver module is configured to receive a first message from an application instance access module, where the first message includes an identification of a first application instance, the first message being used to request establishing a first connection for the first application instance; The processing module is configured to determine a first user plane functional entity providing a service to the first application instance; the transceiver module is further configured to send a second message to the first user plane functional entity, where the second message comprises the identification information of the first application instance, the second message being used to request establishing the first connection for the first application instance; The transceiver module is further configured to receive a third message from the first user plane functional entity, where the third message has an establishment result of the first connection, the establishment result including success; and The communications device, wherein the transceiver module is further configured to send a fourth message to the application instance access module, where the fourth message includes a first address assigned to the first connection by a core network element. (Item 12) Item 12. The communication device of item 11, wherein the first message and the second message further include first route information assigned to the first connection by the application instance access module, and the third message and the fourth message further include second route information assigned to the first connection by the first user plane functional entity, wherein the first route information and the second route information are used to establish a first route in the first connection and between the first user plane functional entity and the application instance access module. (Item 13) 13. The communication device of item 11 or 12, wherein the core network element is the first user plane functional entity, and the third message further includes the first address. (Item 14) 13. The communication device according to item 11 or 12, wherein the core network element is the session management function entity. (Item 15) Item 15. The communication device of item 14, wherein the second message further comprises the first address, the first address being used by the first user plane function entity to advertise a route. (Item 16) 16. The communication device according to any one of items 11 to 15, wherein the first message further comprises a first parameter, the first parameter being used to determine the first user plane functional entity that provides a service to the first application instance, or the first parameter being used to construct a virtual local area network including the first user plane functional entity. (Item 17) The first parameter is the following parameter: Location information of the first application instance and a session and service continuity (SSC) mode, a data network name (DNN) corresponding to the first connection, or an identification of a network slice in which the first connection is located. Item 17. The communication device of item 16, comprising at least one of the following: (Item 18) 18. The communication device of claim 11, wherein the first message further comprises application information corresponding to the first application instance, the application information being used to construct a virtual local area network including the first user plane functional entity. (Item 19) the transceiver module is further configured to send a fifth message to an integrated data management function entity, where the fifth message comprises the identification information of the first application instance, and the fifth message is used to request to obtain subscription data of the first application instance; and 19. The communication device according to any one of items 11 to 18, wherein the transceiver module is further configured to receive the subscription data from the integrated data management functional entity, wherein the subscription data is used to determine the first user plane functional entity providing a service to the first application instance, or the subscription data is used to build a virtual local area network including the first user plane functional entity. (Item 20) The transceiver module is further configured to register with a network repository functional entity a capability of the communication device to support establishment of a connection for an application instance. 20. A communication device according to any one of items 11 to 19. (Item 21) 1. A communication device comprising at least one processor, 11. A communication device, the processor being coupled to a memory and configured to read computer instructions stored in the memory and then perform the method according to any one of items 1 to 10 based on the computer instructions. (Item 22) the communication device further comprising a communication interface; and 22. The communication device of claim 21, wherein the communication interface is configured to communicate with another communication device. (Item 23) the communication device further comprising a memory; and 23. The communication device of item 21 or 22, wherein the memory is configured to store the computer instructions. (Item 24) 23. The communication device according to item 21 or 22, wherein the communication device is a chip or a chip system. (Item 25) 11. A computer-readable storage medium having a computer program stored therein, the computer program enabling the computer to perform the method according to any one of items 1 to 10, when executed by a computer. (Item 26) 11. A computer program product comprising instructions, which when executed on a computer, enable the computer to perform the method according to any one of items 1 to 10. (Item 27) A communication system, the communication system comprising: a session management function entity and a first user plane function entity; the session management function entity configured to receive a first message from an application instance access module, where the first message comprises an identification of a first application instance, the first message being used to request establishing a first connection for the first application instance; the session management function entity is further configured to send a second message to the first user plane function entity, where the second message comprises the identification information of the first application instance, the second message being used to request establishing the first connection for the first application instance; the first user plane function entity is configured to receive the second message from the session management function entity and to send a third message to the session management function entity, where the third message has an establishment result of the first connection, the establishment result including success; and The session management function entity is further configured to send a fourth message to the application instance access module, wherein the fourth message comprises a first address assigned to the first connection by a core network element. (Item 28) The communication system further comprises the application instance access module; the application instance access module is configured to send the first message to the session management function entity; and 28. The communication system of claim 27, wherein the application instance access module is further configured to receive the fourth message from the session management function entity.

Claims

1. A computer-implemented method, the method comprising: receiving a first message from an application instance access module, where the first message includes an identification of a first application instance, the first message being used to request establishment of a first connection for the first application instance to be established between the first application instance and a mobile communications network; sending a second message to a first user plane functional entity, where the first user plane functional entity provides a service to the first application instance, the second message including the identification information of the first application instance, the second message being used to request establishment of the first connection for the first application instance; receiving a third message from the first user plane functional entity, where the third message includes an establishment result of the first connection, the establishment result including success; and sending a fourth message to the application instance access module, where the fourth message includes a first address assigned to the first connection by a core network element; A method for providing the above.

2. 2. The method of claim 1 , wherein the first message and the second message further include first route information assigned to the first connection by the application instance access module, and the third message and the fourth message further include second route information assigned to the first connection by the first user plane function entity, wherein the first route information and the second route information are used to establish a first route in the first connection and between the first user plane function entity and the application instance access module.

3. The method of claim 1 or 2, wherein the core network element is the first user plane functional entity, and the third message further comprises the first address.

4. The method according to claim 1 or 2, wherein the core network element is a session management function entity.

5. 5. The method of claim 4, wherein the second message further comprises the first address, the first address being used by the first user plane function entity to advertise a route.

6. 6. The method of claim 1, wherein the first message further comprises a first parameter, the first parameter being used to determine the first user plane functional entity providing a service to the first application instance, or the first parameter being used to establish a virtual local area network including the first user plane functional entity.

7. The first parameter is the following parameter: Location information and a session and service continuity (SSC) mode of the first application instance, a data network name (DNN) corresponding to the first connection, or an identification of a network slice in which the first connection is located. The method of claim 6, comprising at least one of:

8. 8. The method of claim 1, wherein the first message further comprises application information corresponding to the first application instance, the application information being used to establish a virtual local area network including the first user plane functional entity.

9. The method further comprises: sending a fifth message to an integrated data management function entity, where the fifth message comprises the identification information of the first application instance, the fifth message being used to request obtaining subscription data of the first application instance; and receiving the subscription data from the integrated data management functional entity, wherein the subscription data is used to determine the first user plane functional entity providing a service to the first application instance, or the subscription data is used to establish a virtual local area network including the first user plane functional entity. The method of any one of claims 1 to 8, comprising:

10. The method further comprises:

10. A method according to any preceding claim, comprising the step of registering with a network repository functional entity a capability for supporting the establishment of a connection for an application instance.

11. A communication device, the communication device comprising a transceiver module and a processing module; the transceiver module is configured to receive a first message from an application instance access module, where the first message has an identification of a first application instance, the first message being used to request establishment of a first connection for the first application instance to be established between the first application instance and a mobile communication network; The processing module is configured to determine a first user plane functional entity providing a service to the first application instance; the transceiver module is further configured to send a second message to the first user plane functional entity, where the second message comprises the identification of the first application instance, the second message being used to request establishing the first connection for the first application instance; The transceiver module is further configured to receive a third message from the first user plane functional entity, where the third message has an establishment result of the first connection, the establishment result including success; and The communications device, wherein the transceiver module is further configured to send a fourth message to the application instance access module, wherein the fourth message comprises a first address assigned to the first connection by a core network element.

12. 12. The communication device of claim 11, wherein the first message and the second message further comprise first route information assigned to the first connection by the application instance access module, and the third message and the fourth message further comprise second route information assigned to the first connection by the first user plane function entity, wherein the first route information and the second route information are used to establish a first route in the first connection and between the first user plane function entity and the application instance access module.

13. The communication device according to claim 11 or 12, wherein the core network element is the first user plane functional entity, and the third message further comprises the first address.

14. The communications device according to claim 11 or 12, wherein the core network element is a session management function entity.

15. 15. The communications device of claim 14, wherein the second message further comprises the first address, the first address being used by the first user plane functional entity to advertise a route.

16. 16. The communication device according to claim 11, wherein the first message further comprises a first parameter, the first parameter being used to determine the first user plane functional entity providing a service to the first application instance, or the first parameter being used to establish a virtual local area network including the first user plane functional entity.

17. The first parameter is the following parameter: Location information and a session and service continuity (SSC) mode of the first application instance, a data network name (DNN) corresponding to the first connection, or an identification of a network slice in which the first connection is located.

20. The communication device of claim 16, comprising at least one of:

18. 18. The communications device of claim 11, wherein the first message further comprises application information corresponding to the first application instance, the application information being used to establish a virtual local area network including the first user plane functional entity.

19. the transceiver module is further configured to send a fifth message to an integrated data management function entity, where the fifth message comprises the identification information of the first application instance, and the fifth message is used to request to obtain subscription data of the first application instance; and 19. The communication device of claim 11, wherein the transceiver module is further configured to receive the subscription data from the integrated data management functional entity, wherein the subscription data is used to determine the first user plane functional entity providing a service to the first application instance, or the subscription data is used to build a virtual local area network including the first user plane functional entity.

20. The transceiver module is further configured to register with a network repository functional entity a capability of the communication device to support establishment of a connection for an application instance.

20. A communication device according to any one of claims 11 to 19.

21. A program causing a computer to carry out the method according to any one of claims 1 to 10.

22. A communication system, the communication system comprising a session management function entity and a first user plane function entity; the session management function entity is configured to receive a first message from an application instance access module, where the first message comprises an identification of a first application instance, the first message being used to request establishment of a first connection for the first application instance, the first connection being established between the first application instance and a mobile communication network; the session management function entity is further configured to send a second message to the first user plane function entity, where the second message comprises the identification information of the first application instance, the second message being used to request establishing the first connection for the first application instance; the first user plane function entity is configured to receive the second message from the session management function entity and to send a third message to the session management function entity, where the third message has an establishment result of the first connection, the establishment result comprising success; and The session management function entity is further configured to send a fourth message to the application instance access module, wherein the fourth message comprises a first address assigned to the first connection by a core network element.

23. The communication system further comprises the application instance access module; the application instance access module is configured to send the first message to the session management function entity; and 23. The communication system of claim 22, wherein the application instance access module is further configured to receive the fourth message from the session management function entity.

Citation Information

Patent Citations

  • Method and system for predictive edge resources

    US20200136978A1

  • Application mobility based on enhanced mptcp

    WO2019147970A1

  • Method and apparatus for dynamic network address translation

    WO2019179634A1

  • Client device, network control node and UPF for transmission and reception of streams of data packets in multi-connectivity

    WO2019210966A1