Application context rearrangement method and application context rearrangement device
By delegating application context relocation to edge enabler functional entities, the method reduces signaling exchanges and latency, ensuring uninterrupted service execution in MEC architectures.
Patent Information
- Application Number
- JP2023519762
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-30
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2040-09-30
AI Technical Summary
In multi-access edge computing (MEC) architectures, relocating application contexts when user equipment moves out of its coverage area involves significant signaling exchanges and high latency, disrupting service execution.
Delegating application context relocation to edge enabler functional entities like EEC/EES to decide and execute the relocation, reducing signaling exchanges and latency.
Facilitates seamless service continuity by minimizing latency and reducing service interruptions during context relocation.
Smart Images

Figure 0007532659000005 
Figure 0007532659000006 
Figure 0007532659000007
Abstract
Description
[Technical field]
[0001] The present application relates to the field of communication technology, and in particular to an application context relocation method and an application context relocation device. [Background technology]
[0002] In a multi-access edge computing (MEC) architecture, network services are provided to a user equipment (UE) via an edge data network (EDN). Specifically, an edge application server (EAS) is deployed on the EDN, and the EAS provides services to an application client (AC) on the UE side. An edge enabler server (EES) capable of managing the EAS is deployed on the EDN, and an edge enabler client (EEC) is further deployed on the UE side. The EEC manages the AC and can send information about the AC to the EES.
[0003] In the process of executing an edge application, the UE on which the AC is deployed may move. When the UE moves out of its current service area, the currently serving EAS may not be able to continue serving the AC currently running on the moving UE. In this case, the application context related to the currently serving EAS needs to be relocated.
[0004] Currently, when detecting that an application context needs to be relocated, the EEC or EES must determine the target EAS to which the application context needs to be relocated, usually based on the communication method and discovery mechanism of the MEC architecture, and notify the EAS currently serving the target EAS to relocate the application context. Thus, a large amount of signaling exchange occurs and the latency is long. Therefore, the execution of the application is affected. "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on application architecture for enabling Edge Applications; (Release 1 7)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 23.758, 3RD GENERATION PARTNERSHIP PROJECT (3GPP) discloses a technical report summarizing the study of application architecture for enabling edge applications on 3GPP networks. Summary of the Invention [Means for solving the problem]
[0005] The present application provides an application context relocation method and an application context relocation device for delegating application context relocation to an edge enabler function entity such as an EEC / EES, so that the edge enabler function entity can decide to relocate the application context. and the edge enabler functional entity is an EES. This can reduce the amount of signaling exchange and shorten the latency for relocating application context.
[0006] According to a first aspect, an embodiment of the present application provides an application context relocation method, the method including: receiving first information from an application function entity, the first information for instructing to relocate an application context associated with the application function entity; and determining to relocate the application context based on the first information when an event triggering the application context relocation occurs.
[0007] In this embodiment of the present application, the application function entity hosts the relocation of the application context associated with the application function entity to the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0008] The method includes operations of detecting an event triggering relocation of an application context based on first information, discovering a target application function entity, where the target application function entity is configured to receive the application context, transmitting the application context to an edge enabler function entity associated with the target application function entity, transmitting information about the target application function entity to a terminal device associated with the application function entity, and transmitting application context relocation information to a core network element, where an application corresponding to the application function entity is the same as the application corresponding to the target application function entity. of The method further includes the step of:
[0009] In one optional implementation, receiving the first information from the application function entity includes receiving registration information from the application function entity, where the registration information includes the first information.
[0010] In one optional implementation, the method further includes a step of receiving first condition information from the application function entity, the first condition information being for indicating a first validity condition of the first information.
[0011] In one optional implementation, the first validity condition includes any one or more of: a validity duration of the first information, a validity period of the first information, an application client to which the first information is applicable, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, or an application function entity being overloaded.
[0012] In one optional implementation, the method further includes receiving second condition information from the application function entity, the second condition information being for indicating a second validity condition of the first information, the second validity condition being different from the first validity condition.
[0013] In one optional implementation, the method further includes receiving an application context from an application functionality entity.
[0014] In one optional implementation, before the step of receiving the application context from the application function entity, the method further includes the step of sending a storage address of the application context to the application function entity.
[0015] In one optional implementation, the application context includes identification information, where the identification information is for uniquely identifying the application context.
[0016] According to a second aspect, an embodiment of the present application provides an application context relocation method, comprising: transmitting first information to an edge enabler function entity, the first information being for instructing the edge enabler function entity to relocate an application context associated with the application function entity; and receiving response information transmitted by the edge enabler function entity in response to the first information.
[0017] In this embodiment of the present application, the relocation of the application context is hosted on the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0018] The first information further includes an operation of detecting an event triggering relocation of the application context, an operation of discovering a target application function entity, where the target application function entity is configured to receive the application context, an operation of transmitting the application context to an edge enabler function entity associated with the target application function entity, an operation of transmitting information about the target application function entity to a terminal device associated with the application function entity, and an operation of transmitting application context relocation information to a core network element, where the application corresponding to the application function entity is the same as the application corresponding to the target application function entity. ofThe purpose of this request is to instruct the edge enabler functional entity to
[0019] In one optional implementation, the step of sending the first information to the edge enabler function entity includes a step of sending registration information to the edge enabler function entity, where the registration information includes the first information.
[0020] In one optional implementation, the method further includes a step of sending first condition information to an edge enabler function entity, where the first condition information is for indicating a first validity condition of the first information.
[0021] In one optional implementation, the first condition information includes any one or more of: a valid duration of the first information, a validity period of the first information, an application client for which the first information is valid, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, and an application function entity being overloaded.
[0022] In one optional implementation, the method further includes a step of sending second condition information to the edge enabler function entity, the second condition information being for indicating a second validity condition of the first information, the second validity condition being different from the first validity condition.
[0023] In one optional implementation, after the step of sending the first information to the edge enabler function entity, the method further includes the step of sending an application context to the edge enabler function entity.
[0024] In one optional implementation, before the step of sending the application context to the edge enabler function entity, the method further includes the steps of receiving a storage address of the application context from the edge enabler function entity, and sending the application context to the edge enabler entity based on the storage address.
[0025] In one optional implementation, the application context includes identification information, where the identification information is for uniquely identifying the application context.
[0026] According to a third aspect, an embodiment of the present application provides an application context relocation apparatus, the apparatus including: a communication module configured to receive first information from an application functional entity, the first information for instructing to relocate an application context associated with the application functional entity; and a processing module configured to determine to relocate the application context based on the first information when an event triggering the application context relocation occurs.
[0027] In this embodiment of the present application, the application function entity hosts the relocation of the application context associated with the application function entity to the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0028] The processing module includes operations of detecting an event that triggers relocation of an application context based on the first information, discovering a target application function entity, where the target application function entity is configured to receive the application context, transmitting the application context to an edge enabler function entity associated with the target application function entity, transmitting information about the target application function entity to a terminal device associated with the application function entity, and transmitting application context relocation information to a core network element, where an application corresponding to the application function entity is the same as the application corresponding to the target application function entity. of The device is further configured to:
[0029] In one optional implementation, the communication module is specifically configured to receive registration information from the application function entity, where the registration information includes the first information.
[0030] In one optional implementation, the communication module is further configured to receive first condition information from the application function entity, the first condition information being for indicating a first validity condition of the first information.
[0031] In one optional implementation, the first validity condition includes any one or more of: a validity duration of the first information, a validity period of the first information, an application client to which the first information is applicable, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, or an application function entity being overloaded.
[0032] In one optional implementation, the communication module is further configured to receive second condition information from the application function entity, the second condition information being for indicating a second validity condition of the first information, the second validity condition being different from the first validity condition.
[0033] In one optional implementation, the communication module is further configured to receive an application context from the application function entity.
[0034] In one optional implementation, before receiving the application context from the application function entity, the communication module is further configured to send a storage address of the application context to the application function entity.
[0035] In one optional implementation, the application context includes identification information, where the identification information is for uniquely identifying the application context.
[0036] According to a fourth aspect, an embodiment of the present application provides an application context relocation apparatus including: a communication module configured to send first information to an edge enabler functional entity, the first information for instructing the edge enabler functional entity to relocate an application context associated with the application functional entity, the communication module being further configured to receive response information sent by the edge enabler functional entity in response to the first information.
[0037] In this embodiment of the present application, the relocation of the application context is hosted on the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0038] The first information further includes an operation of detecting an event triggering relocation of the application context, an operation of discovering a target application function entity, where the target application function entity is configured to receive the application context, an operation of transmitting the application context to an edge enabler function entity associated with the target application function entity, an operation of transmitting information about the target application function entity to a terminal device associated with the application function entity, and an operation of transmitting application context relocation information to a core network element, where the application corresponding to the application function entity is the same as the application corresponding to the target application function entity. of The purpose of this request is to instruct the edge enabler functional entity to
[0039] In one optional implementation, the communication module is further configured to send registration information to the edge enabler function entity, where the registration information includes the first information.
[0040] In one optional implementation, the communication module is further configured to send first condition information to the edge enabler function entity, the first condition information being for indicating a first validity condition of the first information.
[0041] In one optional implementation, the first condition information includes any one or more of: a valid duration of the first information, a validity period of the first information, an application client for which the first information is valid, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, and an application function entity being overloaded.
[0042] In one optional implementation, the communication module is further configured to send second condition information to the edge enabler function entity, the second condition information being for indicating a second validity condition of the first information, the second validity condition being different from the first validity condition.
[0043] In one optional implementation, after sending the first information to the edge enabler function entity, the communication module is further configured to send an application context to the edge enabler function entity.
[0044] In one optional implementation, before sending the application context to the edge enabler functional entity, the communication module is further configured to receive a storage address of the application context from the edge enabler functional entity, and send the application context to the edge enabler entity based on the storage address.
[0045] In one optional implementation, the application context includes identification information, where the identification information is for uniquely identifying the application context.
[0046] According to a fifth aspect, an embodiment of the present application provides a communication device including a processor and a memory.
[0047] The memory is configured to store a computer program.
[0048] The processor is configured to execute a computer program stored in the memory to enable the method in the optional implementation form of either the first or second aspect to be performed.
[0049] According to a sixth aspect, there is provided a communications device including a processor and an interface circuit.
[0050] The interface circuitry is configured to receive the code instructions and to transmit the code instructions to the processor.
[0051] The processor is configured to execute code instructions to enable the method in the optional implementation form of either the first or second aspect to be performed.
[0052] According to a seventh aspect, there is provided a computer-readable storage medium having instructions stored thereon that, when executed, perform a method in any one of the optional implementations of the first to third aspects.
[0053] According to an eighth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising computer program code which, when executed, performs a method in an optional implementation of either the first or second aspect.
[0054] For the technical effects that can be achieved in the fifth to eighth aspects, please refer to the description of the technical effects that can be brought about by the corresponding technical solutions in the first and second aspects. Details will not be described again in this specification. [Brief description of the drawings]
[0055] [Figure 1] FIG. 2 is a schematic diagram of a model of an MEC architecture according to an embodiment of the present application. [Diagram 2] 1 is a schematic flowchart 1 of an application context relocation method according to an embodiment of the present application; [Diagram 3] 1 is a schematic flowchart of enrollment of an EAS into an EES according to one embodiment of the present application. [Figure 4] 1 is a schematic flow chart of the registration of an AC with the EEC according to one embodiment of the present application. [Diagram 5] 2 is a schematic flowchart of a method for an EAS to instruct an EES to relocate an application context according to an embodiment of the present application; [Figure 6] 2 is a schematic flowchart 2 of an application context relocation method according to an embodiment of the present application; [Figure 7] 1 is a schematic flow chart of the registration of an EEC with the EES according to one embodiment of the present application. [Figure 8] 1 is a schematic flow chart of discovery of an EAS by an EEC by using an EES, according to one embodiment of the present application. [Figure 9] 1 is a schematic flowchart of an application context synchronization method according to an embodiment of the present application; [Figure 10] 2 is a schematic flowchart of a method for an EAS to instruct an EES to relocate an application context according to an embodiment of the present application; [Figure 11] FIG. 2 is a block diagram of the structure of an application context relocation device according to an embodiment of the present application; [Figure 12] FIG. 1 is a schematic diagram of the structure of a communication device according to an embodiment of the present application. [Figure 13] FIG. 2 is a schematic diagram of the structure of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0056] The embodiments of the present application may be applied to a 4G system, a 5G system, or a future mobile communication system, and are particularly applicable to a multi-access edge computing (MEC) architecture.
[0057] Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0058] The schematic diagram of the model of the MEC architecture shown in FIG. 1 shows an edge application server and an edge enabler server on the edge data network side, and an application client and an edge enabler client on the terminal device side.
[0059] An edge data network (EDN) corresponds to a data network located at the edge and may be a local data network (local DN) or a local area data network (LADN). An edge data network includes edge-enabled functionality and may be identified by using a data network access identifier (DNAI) and a data network name (DNN), or by using a data network name and a data network service area. Alternatively, it will be understood that an edge data network may be considered as a data center located locally with respect to a central cloud. An edge data network may be identified by using a DNAI, and an edge data network may include multiple local data networks (local DNs).
[0060] An edge application server (EAS) indicates a server application program deployed in an edge data network, and may also be referred to as an application instance, an edge application instance, an MEC application (server), an EAS function, etc. For example, the edge application server indicates an application instance in which an application such as social media software, augmented reality (AR), virtual reality (VR), etc. is deployed and executed in an EDN. For an application, one or more EASs may be deployed in one or more EDNs. EASs deployed and executed in different EDNs may be considered as different EASs of the application. Different EASs of an application may share the same domain name, and different EASs of an application may use the same anycast IP address or different IP addresses. The edge application server EAS may further include an application context of the application corresponding to the EAS. Optionally, the application context may further include a context on the EAS of one or more application users using the application, for example, execution state information related to one or more application users using the application, a transaction identifier of a subscription on the EAS of one or more application users. Optionally, the application context may further include a subscription context in the core network on the EAS, for example, a transaction identifier of a subscription of one or more application users who use the application.
[0061] An edge enabler server (EES) may be deployed in the EDN and provide edge computing enablement services to application instances deployed in the EDN, i.e., the aforementioned EAS, to better support the deployment and execution of applications in the MEC. The EES may support registration of the EAS, support authentication and authorization on a terminal device (user equipment, UE) or authentication and authorization on an edge enabler client, and provide information about the application instance, e.g., information about an IP address for the UE. In general, the EAS may be registered in the EES, or information about the EAS may be configured on the EES via a management system. In this case, the EES is referred to as an EES associated with the EAS, and the EES may control (manage) the EAS registered in the EES or configured on the EES, or may control (manage) the service EES of the EAS. The EES further supports obtaining information about the application instance, e.g., an identifier of the application instance and information about the address of the application instance (e.g., information about an IP address), and further transmits information about the application instance, e.g., an identifier of the application instance, to an edge configuration server (ECS). The ECS is responsible for configuring the EDN, for example, providing the UE with information about the EES, providing the UE with information about the EAS, and interacting with the DNS of the application to obtain information about the EAS. Furthermore, the ECS may obtain information about application instances and IP addresses from another functional entity and store the information. The model of the MEC architecture shown in Figure 1 further illustrates the aforementioned ECS.
[0062] An application client (AC) is a client program of an application on a terminal device side and is a peer entity of an EAS on a terminal device side. The application client is used by an application user to obtain application services from an application server. The application client may be connected to an application server on a cloud to obtain application services, or may be connected to an EAS deployed and executed in one or more EDNs for an application to obtain application services.
[0063] An edge enabler client (EEC) is a peer entity of the EES on the terminal device side. The EEC is configured to register information about the EEC and information about the application client AC with the EES, perform security authentication and authorization, obtain information about the EAS, such as information about the address (e.g., IP address) of the EAS from the EES, and provide edge computing enablement capabilities to the application client. For example, an EEC discovery service may return the IP address of the EAS to the application client.
[0064] As shown in Fig. 1, a communication connection is established between an application client AC on a terminal device side and an edge application server EAS, and a communication connection is established between an edge enabler client EEC on a terminal device side and an edge enabler server EES. By making a service contract with an application provider, an application user may use the application by logging in to the application client AC located on the terminal device, and exchange and transmit application data by using the communication connection between the application client AC and the EAS. By using the application client AC, the application user may obtain services provided by the edge enabler server EES from the edge enabler client EEC via an application programming interface (API).
[0065] Based on the definition of the current standard, the MEC architecture shown in FIG. 1 includes a two-step discovery mechanism: discovery of an EES from an ECS by an EEC, and discovery of an EAS from an EES by an EEC. First, discovery of an EES from an ECS by an EEC includes a procedure in which the EEC discovers an EES or EDN that the ECS is interested in, in a request or subscription manner, and obtains information about one or more ESSs, for example, information about an EES corresponding to a UE's location. Second, discovery of an EAS from an EES by an EEC includes a procedure in which the EEC requests a target edge application instance EAS to be accessed by the EES from the EES, and optionally, the EEC indicates discovery filtering parameters provided by an application user in the request. The EES matches one or more EASs that meet the request based on information about EASs that are locally registered or already online and / or discovery filtering parameters provided by an application user, and feeds back information about one or more EASs that meet the request to the EEC. Furthermore, the EEC may provide information regarding the received EAS(s) to the application client AC, so that the AC is connected to said EAS(s).
[0066] In the process of executing an edge application, a terminal device UE on which an application client is located may move, for example, the UE may move from an area corresponding to an EDN to an area corresponding to another EDN. When the terminal device moves out of the current service area, the edge application server currently providing a service may not be able to continue providing a service to the application client currently running on said moving UE. In other words, the edge application server currently providing a service is no longer the optimal edge application server that can provide a service to the application client on the UE, and another edge application server that is more suitable for providing a service to the application client on the UE exists. In this case, a new edge application server needs to be selected to replace the edge application server currently providing a service (which may be referred to as a source edge application server), and the new edge application server is used to provide a service to the application client on the UE. In this process, the application service is temporarily stopped or interrupted. In this case, in order to reduce the impact caused by the interruption of the application, the application context of the source edge application on the application client needs to be relocated to the new edge application server so that the application client can quickly continue the ongoing service after being connected to the target edge application server.
[0067] Currently, when detecting that an application context needs to be relocated, the EEC / EES usually needs to determine the target EAS to which the application context will be relocated based on the communication method and discovery mechanism of the MEC architecture, and notify the currently serving EAS to relocate the application context. Thus, a large amount of signaling exchange occurs and the latency is long. As a result, the execution of the application is affected.
[0068] Based on this, the embodiments of the present application provide an application context relocation method and an application context relocation device. An edge enabler functional entity such as the aforementioned EEC / EES is licensed (alternatively may be described as "requested" or "delegated") to host the relocation of application context, so that the edge enabler functional entity is responsible for deciding to relocate application context, and even fully responsible for all operations of relocating application context, reducing the amount of signaling exchange with EAS and shortening the latency for relocating application context. Since the problem-solving principles of the method and the device are the same, cross-references to the method embodiments and the device embodiments may be made, and the repeated contents will not be described again.
[0069] "Multiple" referred to in the embodiments of the present application means two or more. The term "and / or" describes an association relationship for describing associated objects, and represents that three relationships may exist. For example, A and / or B may represent three cases: only A exists, both A and B exist, and only B exists. The character " / " generally represents an "or" relationship between associated objects. In addition, although terms such as "first" and "second" may be used to describe data in the embodiments of the present invention, it should be understood that the data should not be limited by these terms. These terms are merely used to distinguish data from each other.
[0070] The following describes in detail the application context relocation method provided in the embodiments of the present application with reference to the accompanying drawings.
[0071] As shown in Figure 2, an embodiment of the present application provides an application context relocation method. The method may be applied to the above-mentioned model of MEC architecture. The method includes the following steps:
[0072] S201. An application function entity sends first information, the first information being for instructing an application context associated with the application function entity to relocate.
[0073] The first information may be a request message, the request message for requesting to relocate an application context associated with the application function entity. Alternatively, the first information may be a message that can be used to request and subscribe to relocation of an application context, i.e., to request to relocate an application context and to subscribe to notifications for relocation of the application context. The first information may be a service API, the API may be provided by the EES or the EEC. Relocation may be understood as a relocation. Relocation of an application context associated with an application function entity may be understood as a serving EAS of one, several, or all of the application users served by the application function entity being eventually switched from a source EAS to a target EAS through a series of operations. In addition, the first information may alternatively be a parameter in a message, for indicating a service or an operation for relocating the application context. The parameter may be a combination of one or more of a set of enumerated values, for example, {application context relocation event detection, application context relocation decision, application context relocation execution, and application context post-relocation cleanup}. For example, if the parameter is "application context relocation event detection & application context relocation decision & application context relocation execution & application context post-relocation cleanup", it indicates that the edge enabler function entity performs the aforementioned service or operation. Alternatively, the first information may be indicated by using a specific bit of the parameter.
[0074] The application function entity may indicate an application client or an edge application server in the MEC architecture. The edge enabler function entity may indicate an edge enabler client or an edge enabler function entity in the MEC architecture. In one optional implementation, the application function entity may be an edge application server EAS, and the edge enabler function entity may be an edge enabler server EES. In another optional implementation, the application function entity may be an application client AC, and the edge enabler function entity may be an edge enabler client EEC.
[0075] The application context associated with the application function entity indicates the application context corresponding to the application function entity. Optionally, the application context may specifically include application context related to one, more than one, or all of the application users associated with the application function entity. Optionally, the application context includes identification information, the identification information for uniquely identifying the application context of the application user. For example, when application contexts related to different application users need to be distinguished, the aforementioned identification information may be an identifier of the UE, such as an IP address or a subscription permanent identifier (SUPI). In addition, the aforementioned identification information may alternatively be an identifier of the application client, such as a uniform resource locator (URL) address.
[0076] Optionally, the edge enabler function entity may further send response information of the first information to the application function entity in response to the first information.
[0077] S202. When an event occurs that triggers relocation of an application context, the edge enabler function entity determines, based on first information, to relocate the application context.
[0078] Optionally, when detecting that a terminal device associated with said application functional entity has moved, the edge enabler functional entity may determine that a service continuity event has occurred, i.e. may detect an event that triggers a relocation of the application context, which may be understood as the edge enabler functional entity may detect some events and determine that the application context may need to be relocated based on those events.
[0079] In this embodiment of the present application, the application function entity hosts the relocation of the application context associated with the application function entity to the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0080] In an optional implementation form, the application function entity is an edge application server EAS, and the edge enabler function entity is an edge enabler server EES. The edge enabler function entity may further perform one or more of the following operations (1) to (5):
[0081] (1) Detecting an event that triggers a relocation of the application context.
[0082] (2) Discover a target application functional entity, where the target application functional entity is configured to receive an application context. The target application functional entity may be an edge application server EAS. The EES may discover a target EAS and relocate an application context associated with said EAS that transmits the first information to the target EAS. The application corresponding to the EAS that transmits the first information is the same as the application corresponding to the target EAS, i.e., the target EAS and the EAS that transmits the first information are two different application instances of the same application.
[0083] (3) Sending an application context to an edge enabler functional entity associated with the target application functional entity, where the application corresponding to the application functional entity is the same as the application corresponding to the target application functional entity, i.e., the target EAS and the EAS sending the first information are two different application instances of the same application.
[0084] (4) Sending information about the target application functional entity to a terminal device associated with the application functional entity, where the application corresponding to the application functional entity is the same as the application corresponding to the target application functional entity (i.e., the target EAS and the EAS sending the first information are two different application instances of the same application). Optionally, the information about the target application functional entity includes registration information of the target application functional entity on an edge enabler functional entity associated with the target application functional entity, so that an application client deployed for said application on the terminal device can be reconnected to the target application functional entity.
[0085] (5) Sending application context relocation information to a core network element, which may be a network expose function (NEF) network element, a session management function (SMF) network element, etc.
[0086] In an optional implementation form, the application function entity is an application client AC, and the edge enabler function entity is an edge enabler client EEC. The edge enabler function entity may further perform one or more of the following operations (1) to (3).
[0087] (1) Detecting an event that triggers a relocation of the application context.
[0088] (2) Discover a target application functional entity, where the target application functional entity is configured to receive an application context. The target application functional entity may be an edge application server EAS. The EES may discover a target EAS and relocate an application context associated with said EAS that transmits the first information to the target EAS. The application corresponding to the EAS that transmits the first information is the same as the application corresponding to the target EAS, i.e., the target EAS and the EAS that transmits the first information are two different application instances of the same application.
[0089] (3) Sending information about the target application functional entity to a terminal device associated with the application functional entity, where the application corresponding to the application functional entity is the same as the application corresponding to the target application functional entity (i.e., the target EAS and the EAS sending the first information are two different application instances of the same application). Optionally, the information about the target application functional entity includes registration information of the target application functional entity on an edge enabler functional entity associated with the target application functional entity, so that an application client deployed for said application on the terminal device can be reconnected to the target application functional entity.
[0090] In an optional implementation, the first information may further specifically indicate a related operation (or called a service) of relocating an application context associated with the application function entity. In this case, after receiving the first information, the edge enabler function entity performs the operation indicated by the first information. The operation may indicate an independent operation, which includes only one atomic function (the atomic function is also called an atomic operation or an atomic service). Alternatively, the operation may indicate a composite operation, which includes multiple atomic functions. It is more flexible to host some permission related to the relocation of the application context to the edge enabler function entity. For example, the EAS sending the first information to the EES is used as an example. By using the first information, the EAS may instruct the EES to perform one, more, or all of the following: detecting an event that triggers the relocation of the application context, deciding to relocate the application context, discovering a target EAS, transferring the application context from the EAS to the target EAS or the target EES, and sending information about the target EAS to the terminal device.
[0091] In an optional implementation form, a condition that needs to be satisfied for the edge enabler function entity to implement the indication of the first information may be further set. Optionally, the application function entity may send first condition information to the edge enabler function entity, and the first condition information is for indicating a first validity condition of the first information. The application function entity may send the first condition information and the first information together to the edge enabler function entity, or may send the first information and the first condition information separately to the edge enabler function entity. This is not limited in this embodiment of the present application.
[0092] Optionally, the first validity condition includes any one or more of: a validity duration of the first information, a validity period of the first information, an application client to which the first information is applicable, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, or an application function entity being overloaded.
[0093] The validity duration of the first information indicates that the edge enabler functional entity may implement the indication of the first information within a specified duration after the edge enabler functional entity receives the first information. The validity duration of the first information indicates that the edge enabler functional entity may implement the indication of the first information within the validity period. The application client to which the first information is applicable may be an identifier of the UE, an IP address of the UE, an identifier of the application client, an identifier of the edge enabler client, etc. The parameter specifically indicates that the edge enabler functional entity may implement the indication of the first information for the application context of the application user corresponding to the application client on the terminal device by using the identifier of the UE. Optionally, if the first validity condition does not include an application client to which the first information is applicable, it indicates that the edge enabler functional entity may implement the indication of the first information for the application context of all application users. The relocation duration of the application context being less than the preset time threshold indicates that the edge enabler functional entity may perform the indication of the first information only when the relocation duration of the application context is less than the preset time threshold. The size of the application context being less than the preset size threshold indicates that the edge enabler functional entity may perform the indication of the first information only when the size of the application context is less than the preset size threshold. The application functional entity being overloaded is for indicating that the application functional entity may perform the indication of the first information when the application functional entity is overloaded.
[0094] Optionally, it may be further set that the condition that needs to be satisfied for the edge enabler function entity to implement the indication of the first information can be changed. In an exemplary implementation, the application function entity may further send second condition information to the edge enabler function entity, where the second condition information is for indicating a second validity condition of the first information, and the second validity condition is different from the first validity condition. In one possible design, the second validity condition and the first validity condition include the same parameter, but the value of the parameter is different between the first validity condition and the second validity condition. For example, both the first validity condition and the second validity condition include an effective duration of the first information, but the specific effective period is different between the first validity condition and the second validity condition. As another example, the preset time threshold is set to be different between the first validity condition and the second validity condition. In another possible design, the second validity condition includes a parameter different from the first validity condition. For example, the second validity condition includes application clients to which the first information is applicable, but the first validity condition does not include application clients to which the first information is applicable.
[0095] In one optional implementation, the edge enabler functional entity may further obtain an application context associated with the application functional entity to perform operations such as determining a size of the application context, determining a relocation duration of the application context, and performing a transfer regarding the application context.
[0096] Optionally, when the EAS instructs the EES to relocate an application context associated with the EAS by using the first information, the EAS may send the application context associated with the EAS to the EES. Specifically, the EAS may send the application context to the EES based on a storage address (also called a hosting address) that can be accessed by the EES. The storage address stores the application context. Optionally, the storage address that can be accessed by the EES may be implemented according to either of the following two methods. Method 1: The hosting address may be configured locally on the EAS. The address is used by the EAS to store application context to be relocated or synchronized of one or more application users serviced by the EAS, and the EAS stores the application context to be relocated in the hosting address. Method 2: The EES may actively or at the request of the EAS send the storage address to the EAS so that the EAS synchronizes the application context to the EES based on the storage address. To distinguish application contexts of multiple application users served by the EAS, the EAS may assign an identifier to the application context of each user. The identifier may be an identifier of the application user, the identifier may be an IP address or an identifier of a terminal device corresponding to a client used by the application user, or the identifier may be another type of application context identifier. To keep the relocation target application context up to date, the EAS may periodically synchronize the latest application context to the EES, for example, every 5 seconds. The application context may be stored in an overwriting or appending manner.In the append scheme, if the application context exceeds a preset size, the earliest stored application context may be discarded, or the saved application context for relocation may hold timestamp information or checkpoint information each time.
[0097] Optionally, when the AC instructs the EEC to relocate an application context associated with the AC by using the first information, the application context associated with the AC is stored on the EAS that is located and executed in the EDN for the application corresponding to the AC. In this case, the application context may be stored on the EES according to the following two methods: Method 1: The AC interacts with the EAS and requests the EAS to synchronize the application context to the EES. Method 2: The EEC needs to request the EES associated with the EAS to synchronize the application context, and the EES requests the EAS to synchronize the application context. In this case, the EAS may synchronize the application context to the EES.
[0098] The following describes in detail the implementation process of the above application context relocation method taking into account the characteristics of different applications.
[0099] In some applications, for example, applications with stable service execution, such as video applications, application context relocation may be performed at any time. In an optional implementation form, the above-mentioned application context relocation method may be implemented based on a registration procedure of an application function entity. Furthermore, optionally, the first information may be sent to the edge enabler function entity by being included in the registration information of the application function entity.
[0100] For example, the procedure for the EAS to register with the EES shown in FIG. 3 includes the following steps:
[0101] S301. The EAS sends a registration request message or a registration update request message to the EES, where the registration request message or the registration update request message carries registration information, and the registration information includes the above-mentioned first information. Optionally, the registration information may be an EAS profile, and the first information included in the EAS profile may be called an application relocation delegate indication, an application relocation license, an application relocation agent, an application relocation decision license, an application relocation decision agent, etc. Optionally, the EAS profile includes the contents shown in Table 1 below.
[0102] [Table 1A] [Table 1B]
[0103] S302. The EES sends a registration response message or a registration update response message to the EAS.
[0104] Optionally, the EAS may include a storage address (or called a hosting address) of the application context in the registration response message or the registration update response message to instruct the EAS to send the application context to the EES. The application context is the application context that needs to be synchronized during relocation. The storage address of the application context may be an IP address, a port number, or a URL address. In an edge data network environment, the EES and the EAS are usually located in the same data center and may be located in the same storage resource. In this case, the EAS sending the application context to the EES may be understood as the EAS storing the application context in a storage unit identified by the storage address. The EES may read the application context in the storage unit identified by the storage address, that is, the EAS and the EES may be two logical function modules in the same node. The transfer of the application context may be implemented through storage space sharing and rights management of the application context. This is different from the conventional manner in which two nodes exchange data through a physical cable. The storage address and the storage unit corresponding to the storage address may be managed by the EES.
[0105] S303. When an event triggering application context relocation occurs, if the EES determines, based on the registration information of the EAS, that application context relocation has been delegated to the EES, the EES may decide to relocate the application context.
[0106] Optionally, the EES may decide to relocate the application context and perform related operations to relocate the application context. For example, if the first information indicates that the EES relocating the application context includes transferring the application context, the related operations include one, more, or all of the following: the EES discovers a target EAS; the EES transfers the application context to the target EAS or an EES associated with the target EAS; the EES notifies the EEC that the application context switch is completed and sends information about the target EAS to the EEC; and the EES sends application context relocation information, such as information about the target EAS and information about the N6 corresponding to the target EAS, to a 3GPP core network element. If the first information indicates that the EES relocating the application context does not include transferring the application context or that the application context does not exist on the EES, the related operations include one, more, or all of the following: the EES discovers the target EAS; the EES informs the source EAS of the address of the target EAS or requests the source EAS to transfer the application context to the target EAS; the EES informs the EEC that the application context switching is completed and sends information about the target EAS to the EEC; and the EES sends application context relocation information, such as information about the target EAS and information about the N6 corresponding to the target EAS, to the 3GPP core network element. In addition, optionally, the EES associated with the target EAS may take the place of the target EAS to determine whether to receive the above-mentioned application context relocation. In this case, the EES transfers the application context to the EES associated with the target EAS, and the EES associated with the target EAS may also take the place of the target EAS to determine whether to receive the application context.In addition, the EES may further perform an operation of detecting an event that triggers a relocation of the application context based on the first information in the registration information of the EAS.
[0107] For example, the procedure for an AC to register with an EEC shown in FIG. 4 includes the following steps:
[0108] S401.AC sends a registration request message or a registration update request message to the EEC, where the registration request message or the registration update request message carries registration information, and the registration information includes the above-mentioned first information. Optionally, the registration information may be an AC profile, and the first indication information included in the AC profile may be called an application relocation delegation indication, an application relocation license, an application relocation agent, an application relocation decision license, an application relocation decision agent, etc. Optionally, the AC profile includes the contents shown in Table 2 below.
[0109] [Table 2]
[0110] S402. The EEC sends a registration response message or a registration update response message to the AC.
[0111] S403. When an event triggering application context relocation occurs, if the EEC determines, based on the AC's registration information, that application context relocation has been delegated to the EEC, the EEC may decide to relocate the application context.
[0112] Optionally, the EEC may decide to relocate the application context and perform related operations to relocate the application context. For example, the EEC obtains information about the target EES from the ECS, and the EEC obtains information about the target EAS from the target EES. The target EES is associated with the target EAS. The EEC triggers the AC, and the AC triggers the source EAS. The source EAS sends the application context to the target EAS. After the application context is relocated, the AC switches the application data to the target EAS. As another example, the EEC notifies the target EES that application context relocation may be required. The target EES obtains information about the target EAS and sends an ACR request message to the target EAS. The target EAS initiates application context transmission between the source EAS and the target EAS. After the context is relocated, the AC switches the application data to the target EAS. As another example, the EEC obtains information about the target EAS from the source EES, and the EEC notifies the source EAS through the source EES to relocate the application context. The source EAS sends the application context to the target EAS. After the application context is relocated, the AC switches the application data to the target EAS.
[0113] For some applications, for example, applications whose service execution has peak or slack times, i.e., busy or idle times, the relevant permission to relocate the application context may be dynamically hosted on the edge enabler functional entity. Optionally, it may be set based on at least a validity condition of the first information that the edge enabler functional entity should implement the relevant permission to relocate the application context under certain conditions.
[0114] For example, Figure 5 shows a procedure of how the EAS instructs the EES to relocate an application context. The procedure includes the following steps:
[0115] S501. The EAS sends a first request message to the EES. It is understood that the first request message is for requesting to host (delegate) application context relocation to the EES, or the first request message is for requesting to relocate an application context associated with an application function entity. It is further understood that the first request message can be a message that can be used to request and subscribe to application context relocation, i.e., to request to relocate an application context and to subscribe for notification of application context relocation. The first information may be a service API, and the API may be provided by the EES. The first request message may alternatively be described as delegation of application context relocation decision permission, hosting request message, context relocation request, full service context relocation request, etc. The first request message includes instructing or requesting the EES to decide to perform application context relocation.
[0116] Optionally, the EAS may send the first request message to the EES when the service is idle or when the service is predicted to become idle.
[0117] Optionally, as shown in Fig. 5, the first request message carries first information and first condition information. Specifically, the first information may be an application context relocation delegation indication. Optionally, the application context relocation delegation indication includes delegating application context relocation decision permission to the EES. The first condition information is for indicating a first valid condition of the first information. For the contents included in the first valid condition, please refer to the above embodiment. Details will not be described again in this embodiment of the present application. Optionally, the EES may store the received first information and the first condition information.
[0118] S502. The EES sends a first response message to the EAS in response to the first request message.
[0119] Optionally, the first response message may carry a transaction id, which is used by the EAS to later perform a subsequent action on the first information, or the transaction id is for identifying the first information and the first condition information stored in the EES, which helps the EAS to later update or cancel the hosting transaction.
[0120] Optionally, the first response message may carry a storage address of the application context, to instruct the EAS to synchronize the application context to the EES based on the storage address.
[0121] S503. When an event triggering application context relocation occurs, if the EES determines, based on the first request message sent by the EAS, that the application context relocation has been delegated to the EES and satisfies the first condition information, the EES may decide to relocate the application context.
[0122] Optionally, the EES may decide to relocate the application context and perform related operations to relocate the application context. For example, the EES discovers the target EAS, the EES informs the source EAS of the address of the target EAS or the EES requests the source EAS to transfer the application context to the target EAS, the EES informs the EEC that the application context switch is completed, and sends information about the target EAS to the EEC, and the EES sends application context relocation information, such as information about the target EAS and information about the N6 corresponding to the target EAS, to the 3GPP core network element. In addition, optionally, the EES associated with the target EAS may take the place of the target EAS to determine whether to receive the aforementioned application context relocation.
[0123] S504. The EAS sends a hosting update request message to the EES, and the hosting update request message is for requesting to update the aforementioned first information and / or first condition information. It should be noted that the hosting update request message can also be called a delegation or hosting request message for application context relocation, a second request message, or another message, if the function of the hosting update request message is to request to update the aforementioned first information and / or first condition information. This is not limited in this embodiment of the present application.
[0124] Optionally, the hosting update request message carries second condition information, and the second condition information is for indicating a second valid condition of the first information. Optionally, the hosting update request message further carries the aforementioned transaction identifier, so that the EES may determine the hosting transaction to be updated by the EAS based on the transaction identifier. For the difference between the second valid condition and the first valid condition, please refer to the aforementioned embodiment. Details will not be described again in this embodiment of the present application.
[0125] For example, when the EAS needs to update the hosting duration, i.e., update the validity duration of the first information, the hosting update request message may carry second condition information, and the second condition information includes the updated validity duration of the first information. After the EES receives the hosting update request message carrying the second condition information, if the stored first condition information includes the validity duration of the first information, the EES replaces the validity duration of the first information with the updated validity duration of the first information. If the initially stored first condition information does not include the validity duration of the first information, the updated validity duration of the first information is added to the first condition information.
[0126] S505. The EES sends a second response message to the EAS in response to the hosting update request message.
[0127] Optionally, the second response message may carry a transaction identifier, which is for identifying a hosting transaction in which the EAS delegates or hosts the application context relocation decision authorization to the EES, or the transaction identifier is for identifying the above-mentioned first information and first condition information stored in the EES, which helps the EAS to update or cancel the hosting transaction later.
[0128] Optionally, the second response message may carry a storage address of the application context to instruct the EAS to synchronize the application context to the EES based on the storage address.
[0129] S506. The EAS sends a hosting cancellation request message to the EES. The hosting cancellation request message is to request the EES to cancel the delegation or hosting of the application context relocation. It should be noted that the hosting cancellation request message can also be called a delegation or hosting cancellation request message for application context relocation, a third request message, or another message, if the function of the hosting cancellation request message is to request the EES to cancel the hosting of the application context relocation. This is not limited in this embodiment of the present application.
[0130] Optionally, the hosting cancellation request message further carries the aforementioned transaction identifier and / or the first information, so that the EES may determine the hosting transaction to be canceled by the EAS based on the transaction identifier and / or the first information. Optionally, the EAS may send the hosting cancellation request message to the EES when the service enters a peak period or is predicted to enter a peak period.
[0131] S507. The EES sends a third response message to the EAS in response to the hosting cancellation request message, the third response message being to indicate that the EES agrees to the hosting cancellation request message, i.e., that the EES agrees to revoke the EES's application context relocation decision permission.
[0132] In addition, an embodiment of the present application further provides a method adapted to instruct relocation of application context between edge enabler functional entities.
[0133] As shown in Figure 6, an embodiment of the present application provides another application context relocation method. The method may be applied to the aforementioned MEC architecture model. The method includes the following steps:
[0134] S601. A first edge enabler functional entity sends first information to a second edge enabler functional entity, the first information being for instructing a second edge enabler functional entity to relocate an application context associated with an application functional entity, the application functional entity being an application functional entity registered with the first edge enabler functional entity.
[0135] The first edge enabler function entity may be an edge enabler server in the aforementioned MEC architecture, and the second edge enabler function entity may be an edge enabler client in the aforementioned MEC architecture. The application function entity may be an edge application server registered in the edge enabler server. The first information may be carried in an EEC registration response message sent by the EES to the EEC. Alternatively, the first information may be carried in another message sent by the EES to the EEC. The first information may be referred to as an application relocation delegation indication, and the relocation delegation indication may further include delegating application relocation decision authorization to the EEC.
[0136] S602. When an event occurs that triggers relocation of an application context, the second edge enabler functional entity determines to relocate the application context based on the first information.
[0137] Optionally, upon detecting that a terminal device associated with the aforementioned application functional entity has moved, the second edge enabler functional entity may determine that a service continuity event has occurred, i.e., detect an event that triggers relocation of the application context.
[0138] In this embodiment of the present application, the edge enabler server hosts the relocation of application context to the edge enabler client. When detecting that the application context needs to be relocated, the edge enabler client may decide to relocate the application context. This can reduce the amount of signaling exchanges for relocating the application context, shorten the latency, and facilitate the successful execution of the service.
[0139] In an optional implementation, the edge enabler server may be pre-configured with the first information. Optionally, the above-mentioned application context relocation method may be implemented based on a procedure in which an edge enabler client registers with the edge enabler server.
[0140] For example, the procedure for an EEC to register in the EES or register an update in the EES includes the following steps, as shown in FIG.
[0141] S701. The EEC sends a registration request message or a registration update request message to the EES, where the registration request message or the registration update request message carries registration information, and the registration information may be an EEC profile. Specifically, the EEC profile includes the contents listed in Table 3 below.
[0142] [Table 3]
[0143] S702. The EES sends a registration response message or a registration update response message to the EEC.
[0144] Optionally, the EAS may include first information pre-configured on the EES in the registration response message or the registration update response message to instruct the EEC to relocate the application context. The first information may be from the EAS or may be pre-configured on the EES.
[0145] S703. When the EEC detects an event that triggers application context relocation, if the EEC determines, based on a registration response message or a registration update response message sent by the EES, that application context relocation has been delegated to the EEC, the EEC may decide to relocate the application context.
[0146] In another optional implementation form, the above-mentioned application context relocation method may be implemented based on a procedure in which an edge enabler client requests an edge enabler server to discover an edge application server.
[0147] For example, the procedure for the EEC to discover the EAS by using the EES shown in FIG. 8 includes the following steps.
[0148] S801.EEC sends an EAS discovery request message to the EES.
[0149] Optionally, the EAS discovery request message carries an EEC ID and security authentication information. Optionally, the EAS discovery request message carries an EAS discovery filtering parameter, where the EAS discovery filtering parameter is for indicating a target EAS or a class of the target EAS (e.g., a gaming application).
[0150] S802. The EES sends an EAS discovery response message to the EEC.
[0151] The EAS discovery response message carries information about the discovered EAS. The information about the EAS includes registration information of the EAS, and the registration information of the EAS includes the above-mentioned first information. Specifically, for example, the EAS discovery response message carries an EAS profile, and the EAS profile includes an application relocation delegate indication. Optionally, when the EAS discovery request message carries an EAS discovery filtering parameter, the EAS may determine the discovered EAS based on the EAS discovery filtering parameter, so as to include information about the discovered EAS in the EAS discovery response message.
[0152] S803. When an event triggering application context relocation occurs, if the EEC determines, based on the EAS discovery response message sent by the EES, that application context relocation has been delegated to the EES, the EEC may decide to relocate the application context.
[0153] Furthermore, an embodiment of the present application further provides a solution for pre-configuring application context relocation of some applications for an edge enabler functional entity.
[0154] In an optional implementation, an application list may be configured on an edge enabler server EES. Relocation of application context of any application in the application list is delegated to the EES or the EES has permission to relocate application context of any application in the application list. Optionally, the application list includes one or more EAS identifiers, and any EAS identifier is for indicating that relocation of application context of the application corresponding to the EAS identifier is delegated to the EES. The application corresponding to the EAS identifier refers to an application deployed and executed on the EAS indicated by the EAS identifier. For example, an application list configured on the EES includes EAS#ID1 and EAS#ID2. EAS#ID1 indicates that relocation of application context of the application deployed and executed on the EAS identified as ID1 is delegated to the EES. EAS#ID2 indicates that relocation of application context of the application deployed and executed on the EAS identified as ID2 is delegated to the EES.
[0155] Based on this, when the EES detects an event that triggers application context relocation, the EES may determine, by consulting a pre-configured application list, that the application context is an application context of an application in the application list, i.e., application context relocation decision permission is delegated to the EES. Further, the EES may decide to relocate the application context.
[0156] Optionally, for any application in the aforementioned application list, hosting indication information may be configured for an edge application server EAS that is deployed and executed in the EDN for the any application. The hosting indication information is for indicating that application context relocation decision authorization of the any application is delegated to the EES. Optionally, the hosting indication information may be the aforementioned first information. Specifically, the hosting indication information is configured in an EAS profile.
[0157] Optionally, for an edge application server EAS, if the hosting indication information is configured on the EAS, the EAS may synchronize the application context to the ESS. Furthermore, Figure 9 shows a schematic flowchart of an application context synchronization method according to an embodiment of the present application.
[0158] S901.EAS determines if the EAS is configured with a local hosting address. The hosting indication is configured on the EAS.
[0159] S902. When there is a local hosting address (also called a storage address) available on the EAS, store the relocated application context in the hosting address, which may be obtained from the EES during registration by the EAS.
[0160] S903. When there is no local hosting address available on the EAS, the EAS sends a request message to the EES to request a storage address. The request message may carry an identifier of an application user of the application context to be relocated, and the identifier may be an IP address of a terminal device or an identifier of a terminal device corresponding to a client used by the application user.
[0161] S904. The EES sends a response message of the request message to the EAS in response to the request message from the EAS. The response message carries a storage address allocated to the EAS by the EES. Optionally, the response message further carries an identifier of the application context to be relocated, where the identifier is specified by the EES. The identifier may be an identifier of an application user, an IP address of a terminal device corresponding to a client used by the application user, an identifier of a terminal device, or another type of application context identifier.
[0162] S905. The EAS synchronizes the relocated application context to the EES based on an available local hosting address or a storage address indicated by the EES. Optionally, the application context includes an identifier for identifying the application context. The identifier may be an identifier of the application context received from the EES or an identifier of the application context specified by the EAS.
[0163] In another optional implementation, an application list may be configured on the edge enabler client EEC. Relocation of application context of any application in the application list is delegated to the EEC. In other words, the EEC can relocate application context of any application in the application list. Optionally, the application list includes one or more EAS identifiers, and any EAS identifier is for indicating that relocation of application context of the application corresponding to the EAS identifier is delegated to the EES. The application corresponding to the EAS identifier refers to an application deployed and executed on the EAS indicated by the EAS identifier. For example, the application list configured on the EEC includes EAS#ID1 and EAS#ID2. EAS#ID1 indicates that relocation of application context of the application deployed and executed on the EAS identified as ID1 is delegated to the EEC. EAS#ID2 indicates that relocation of application context of the application deployed and executed on the EAS identified as ID2 is delegated to the EEC.
[0164] Based on this, when the EEC detects an event that triggers application context relocation, the EEC may determine, by consulting a preconfigured application list, that the application context is an application context of an application in the application list, i.e., application context relocation decision permission is delegated to the EEC. Further, the EEC may decide to relocate the application context.
[0165] For example, Figure 10 shows a procedure of how the EAS instructs the EES to relocate an application context. The procedure includes the following steps:
[0166] S1001. The EAS sends an application context relocation (subscription) request to the source EES. Optionally, the application context relocation (subscription) request includes an application context relocation service mode, and the service mode may be a full service mode. The application context relocation (subscription) request is for requesting the EES to perform all operations related to the application context. These operations include detecting an event that triggers the relocation of the application context, determining that the application context needs to be relocated, relocating the application context, and performing some cleanup operations after the relocation. In addition, these operations further include informing the EEC of information about the target EAS (the information specifically includes an access address such as an IP address of the target EAS), and informing the mobile communication network of the application relocation information. Optionally, the request message includes an identifier of one or more application users. The identifier may be an identifier or an IP address of a terminal where a client used by the application user is located. It will be understood that if the request does not include an identifier of an application user, the EAS requests the EES to perform the aforementioned operations related to application context relocation for all application users served by the EAS. The application context relocation (subscription) request or the application context relocation service mode may be regarded as the aforementioned first information.
[0167] S1002. The source EES sends an application context relocation (subscription) response to the EAS. The response message may include an address for application context synchronization. The address may be an IP address, a port number, or a URL. The address is used by the EAS to store the application context to be relocated in the address and update the application context to be relocated. The application context may be the context to be relocated of one or more users served by the EAS. The EES may access and read the application context to be relocated in the address. For a detailed description of the address, please refer to the corresponding description of the preceding embodiment.
[0168] S1003. The source EES detects an event that triggers an application context. Optionally, after receiving the request message obtained in S1001, the source EES may subscribe to a core network element for a user plane path management event notification and receive a user plane path management event notification message from the core network element. The message carries a target DNAI, and the target DNAI indicates that the EAS may potentially be located at a location corresponding to the target DNAI. Optionally, the source EES may further subscribe to the location of the UE and its location change from a terminal device corresponding to one or more application users to obtain the latest location of the one or more terminal devices. Optionally, the source EES may further subscribe to the location of the terminal device corresponding to one or more application users and its location change from a core network element to obtain the latest location of the one or more terminal devices. The source EES may determine that application context relocation needs to be performed for one or more application users based on the user plane path management event notification and its target DNAI, or the location of the UE.
[0169] S1004. The source EES determines that application context relocation needs to be performed for one or more application users. For example, if the UE moves out of a service area (also called an optimal service area) corresponding to the current source EES, the source EES may determine that application context relocation needs to be performed.
[0170] S1005. Optionally, when determining that application context relocation needs to occur for one or more application users, the source EES sends an application context relocation notification message to the source EAS to notify the source EAS that application context relocation needs to occur for one or more application users, further including notifying the EAS to prepare the application context to be relocated.
[0171] S1006. The source EES sends an EES request message to the edge configuration server ECS to obtain a target EES that matches a location corresponding to one or more users or matches a target DNAI and may provide information about a target EAS serviced by an application. After obtaining the target EES from the ECS, the source EES sends an EAS request message to the target EES, where the EAS request message is for requesting to transfer application context of one or more users. After the target EES determines the target EAS and determines that the target EAS can receive the application context, the target EES sends a response message to the source EES to indicate receipt of the application context. Furthermore, the request message sent by the source EES to the target EES may further be for obtaining and providing information about the target EAS serviced by the application. Optionally, the source EES obtains information about the target EAS from the target EES.
[0172] S1007. After step S1002, before step S1008, the source EAS synchronizes the application context to be relocated with the source EES. For the description of the synchronization of the application context with the source EES by the source EAS, please refer to the corresponding description of the above embodiment.
[0173] S1008. When the target EAS determines that it can receive the application context, the source EES reads the application context to be relocated from the aforementioned address and transfers the application context to the target EES. The target EES stores the received application context in a storage area identified by a specific storage address.
[0174] S1009. The target EES sends an application context relocation notification message to the target EAS to notify the target EAS that the application context needs to be received. The message may include information about the address of the read application context, and the address corresponds to the storage address where the target EES stores the application context in S1008. This step is optional.
[0175] S1010. The target EAS sends an application context acquisition request to the target EES, where the request message is to request to acquire the application context. This step is optional.
[0176] S1011. The target EES sends an application context acquisition response to the target EAS, where the application context acquisition response is to indicate that the request message has been received.
[0177] S1012. After receiving the application context, the target EES sends the application context to the target EAS. It can be understood that the manner in which the target EAS and the target EES process the application context can be implemented, for example, by mapping storage addresses, or by copying or cutting the application context in different storage spaces on the same physical storage device. This manner is specifically similar to the manner in which the source EAS and the source EES process the application context. Therefore, for the manner, please refer to the corresponding description of the above embodiment.
[0178] S1013. Optionally, after the transfer of the application context is completed, the source EES sends an application context relocation notification message to the EEC, where the message is for indicating that the transfer of the application context is completed, and the message may include information about the target EAS, and the information may be specifically the IP address and port number of the EAS. Further, the EEC sends a notification message to the AC to notify the AC that the transfer of the application context is completed. The notification message further includes information about the target EAS.
[0179] S1014. Optionally, after the transfer of the application context is completed, the source EES sends an application context relocation notification message to the source EAS, where the message is to indicate that the transfer of the application context is completed.
[0180] S1015. Optionally, the source EAS sends an application relocation message to the core network element. Specifically, the application relocation message includes information about the address of the target EAS, the routing information of the target N6, etc. S1015 is not shown in FIG. 10.
[0181] See Figure 10. Based on the same concept, an embodiment of the present application provides an application context relocation apparatus 1100. The apparatus 1100 includes: a communication module 1101 and a processing module 1102.
[0182] (1) The application context relocation device 1100 may be used in an edge enabler functional entity. Specifically, the application context relocation device 1100 may be an edge enabler functional entity, may be used in an edge enabler functional entity, or may be a device that can support the edge enabler functional entity in performing a data transmission method. The following describes in detail the functions or execution processes of modules in the application context relocation device 1100 used in the edge enabler functional entity.
[0183] The communication module 1101 is configured to receive first information from an application function entity, the first information being for instructing to relocate an application context associated with the application function entity.
[0184] The processing module 1102 is configured to determine to relocate the application context based on the first information when an event occurs that triggers the relocation of the application context.
[0185] In this embodiment of the present application, the application function entity hosts the relocation of the application context associated with the application function entity to the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0186] In one optional implementation, the processing module 1102 is further configured to perform one or more of the following operations based on the first information: detecting an event triggering relocation of the application context; discovering a target application functional entity, where the target application functional entity is configured to receive the application context; transmitting the application context to an edge enabler functional entity associated with the target application functional entity; transmitting information about the target application functional entity to a terminal device associated with the application functional entity; and transmitting relocation information of the application context to a core network element, where the application corresponding to the application functional entity is the same as the application corresponding to the target application functional entity.
[0187] In one optional implementation, the communication module 1101 is specifically configured to receive registration information from an application function entity, where the registration information includes first information.
[0188] In one optional implementation, the communication module 1101 is further configured to receive first condition information from the application function entity, the first condition information being for indicating a first validity condition of the first information.
[0189] In one optional implementation, the first validity condition includes any one or more of: a validity duration of the first information, a validity period of the first information, an application client to which the first information is applicable, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, or an application function entity being overloaded.
[0190] In one optional implementation, the communication module 1101 is further configured to receive second condition information from the application function entity, the second condition information being for indicating a second validity condition of the first information, the second validity condition being different from the first validity condition.
[0191] In one optional implementation, the communication module 1101 is further configured to receive an application context from an application function entity.
[0192] In one optional implementation, before receiving the application context from the application function entity, the communication module 1101 is further configured to send a storage address of the application context to the application function entity.
[0193] In one optional implementation, the application context includes identification information, where the identification information is for uniquely identifying the application context.
[0194] (2) The application context relocation device 1100 may be used in an application function entity. Specifically, the application context relocation device 1100 may be an application function entity, may be used in an application function entity, or may be a device that can support an application function entity in performing a data transmission method. The following describes in detail the functions or execution processes of modules in the application context relocation device 1100 used in an application function entity.
[0195] The processing module 1102 is configured to determine first information.
[0196] The communication module 1101 is configured to send first information to the edge enabler function entity, the first information being for instructing the application context associated with the application function entity to be relocated. The communication module 1101 is further configured to receive response information sent by the edge enabler function entity in response to the first information.
[0197] In this embodiment of the present application, the relocation of the application context is hosted on the edge enabler function entity. When detecting that the application context needs to be relocated, the edge enabler function entity may decide to relocate the application context, so that the amount of signaling exchange for relocating the application context can be reduced and the latency for relocating the application context can be shortened. This facilitates the normal execution of the service and shortens the time that the service execution of the application client on the terminal is affected or interrupted.
[0198] In one optional implementation, the first information is further for instructing the edge enabler function entity to perform one or more of the following operations: detecting an event that triggers relocation of the application context; discovering a target application function entity, where the target application function entity is configured to receive the application context; transmitting the application context to an edge enabler function entity associated with the target application function entity; transmitting information about the target application function entity to a terminal device associated with the application function entity; and transmitting application context relocation information to a core network element, where the application corresponding to the application function entity is the same as the application corresponding to the target application function entity.
[0199] In one optional implementation, the communication module 1101 is further configured to send registration information to the edge enabler function entity, where the registration information includes the first information.
[0200] In one optional implementation, the processing module 1102 is configured to determine first condition information, and the communication module 1101 is further configured to send the first condition information to the edge enabler function entity, the first condition information being for indicating a first validity condition of the first information.
[0201] In one optional implementation, the first condition information includes any one or more of: a valid duration of the first information, a validity period of the first information, an application client for which the first information is valid, a relocation duration of the application context being less than a preset time threshold, a size of the application context being less than a preset size threshold, and an application function entity being overloaded.
[0202] In one optional implementation, the processing module 1102 is further configured to determine second condition information, and the communication module 1101 is further configured to send the second condition information to the edge enabler function entity, the second condition information being for indicating a second validity condition of the first information, the second validity condition being different from the first validity condition.
[0203] In one optional implementation, after sending the first information to the edge enabler function entity, the communication module 1101 is further configured to send an application context to the edge enabler function entity.
[0204] In one optional implementation, before sending the application context to the edge enabler function entity, the communication module 1101 is further configured to receive a storage address of the application context from the edge enabler function entity, and send the application context to the edge enabler entity based on the storage address.
[0205] In one optional implementation, the application context includes identification information, where the identification information is for uniquely identifying the application context.
[0206] Based on the same concept, as shown in Fig. 12, an embodiment of the present application provides a communication device 1200. For example, the communication device 1200 may be a chip or a chip system. Optionally, in this embodiment of the present application, the chip system may include a chip, or may include a chip and another device.
[0207] The communications device 1200 may include at least one processor 1210. The communications device 1200 may further include at least one memory 1220 configured to store computer programs, program instructions, and / or data. The memory 1220 is coupled to the processor 1210.
[0208] The coupling in this embodiment of the present application may be an indirect coupling or communication connection between devices, units, or modules in an electrical, mechanical, or other form, and is used for information exchange between devices, units, or modules. The processor 1210 may cooperate with the memory 1220. The memory 1220 stores computer programs, program instructions, and / or data required to implement any of the aforementioned embodiments. The processor 1210 may execute the computer programs stored in the memory 1220 to complete the method in any of the aforementioned embodiments. Optionally, at least one of the at least one memory 1220 may be included in the processor 1210.
[0209] The communications apparatus 1200 may further include a transceiver 1230, and the communications apparatus 1200 may exchange information with another device by using the transceiver 1230. The transceiver 1230 may be a circuit, a bus, a transceiver, or any other device that may be configured to exchange information.
[0210] In one possible implementation, the communication device 1200 may be used in an edge enabler functional entity. Specifically, the communication device 1200 may be an edge enabler functional entity or a device that supports the edge enabler functional entity and can implement the functions of the edge enabler functional entity in any of the aforementioned embodiments. The memory 1220 stores computer programs, program instructions, and / or data required to implement the functions of the edge enabler functional entity in any of the aforementioned embodiments. The processor 1210 may execute the computer programs stored in the memory 1220 to complete the methods performed by the edge enabler functional entity in any of the aforementioned embodiments.
[0211] In another possible implementation, the communication device 1200 may be used in an application functional entity. Specifically, the communication device 1200 may be an application functional entity or a device that supports the application functional entity and can implement the functions of the application functional entity in any of the aforementioned embodiments. The memory 1220 stores computer programs, program instructions, and / or data required to implement the functions of the application functional entity in any of the aforementioned embodiments. The processor 1210 may execute the computer programs stored in the memory 1220 to complete the methods performed by the application functional entity in any of the aforementioned embodiments.
[0212] The specific connection medium between the transceiver 1230, the processor 1210, and the memory 1220 is not limited in this embodiment of the present application. In this embodiment of the present application, in FIG. 12, the memory 1220, the processor 1210, and the transceiver 1230 are connected via a bus, which is represented by using a thick line in FIG. 12. The connection manner between other components is described only as an example and does not imply any limitation. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of representation, the bus is represented by using only one thick line in FIG. 12, but this does not mean that there is only one bus or only one type of bus.
[0213] In this embodiment of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, any conventional processor, etc. The steps of the methods disclosed with respect to the embodiments of the present application may be performed and completed directly by a hardware processor, or may be performed and completed by using a combination of hardware and software modules in the processor.
[0214] In this embodiment of the application, the memory may be a non-volatile memory such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory such as a random-access memory (RAM). The memory may alternatively be any other medium that can be configured to carry or store the expected program code in the form of instruction structures or data structures and that can be accessed by a computer. However, this is not limited thereto. The memory in this embodiment of the application may alternatively be a circuit or any other device that can implement a storage function and is configured to store computer programs, program instructions, and / or data.
[0215] See Figure 13. Based on the above embodiment, an embodiment of the present application further provides another communication device 1300, including an interface circuit 1310 and a processor 1320. The interface circuit 1310 is configured to receive code instructions and send the code instructions to the processor. The processor 1320 is configured to execute the code instructions to perform the method performed by the edge enabler functional entity or the method performed by the application functional entity in any of the above embodiments.
[0216] Based on the above embodiment, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are executed, the method performed by the edge enabler functional entity or the method performed by the application functional entity in any of the above embodiments is enabled to be performed. The computer-readable storage medium may include any medium capable of storing program code, such as a USB flash drive, a removable hard disk, a read-only memory, a random access memory, a magnetic disk, an optical disk, etc.
[0217] To implement the functionality of the communication device of Figures 11 to 13, an embodiment of the present application further provides a chip including a processor configured to support the communication device in implementing functionality associated with the edge enabler functional entity or the application functional entity in the method embodiments described above. In one possible design, the chip is coupled to or includes a memory, and the memory is configured to store program instructions and data required for the communication device.
[0218] It should be understood by those skilled in the art that the embodiments of the present application may be provided as a method, a system, or a computer program product. Thus, the present application may take the form of a hardware-only embodiment, a software-only embodiment, or an embodiment with a combination of software and hardware. In addition, the present application may take the form of a computer program product embodied on one or more computer usable storage media (including, but not limited to, disk memory, CD-ROM, optical memory, etc.) that contains computer usable program code.
[0219] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that computer program instructions may be used to implement each process and / or each block in the flowcharts and / or block diagrams, and combinations of processes and / or blocks in the flowcharts and / or block diagrams. These computer program instructions may be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or a processor of another programmable data processing device to generate a machine, such that the instructions executed by a processor of a computer or another programmable data processing device generate an apparatus for implementing a particular function within one or more processes in the flowcharts and / or one or more blocks in the block diagrams.
[0220] These computer program instructions may be stored in a computer-readable memory that can direct a computer or another programmable data processing device to operate in a particular manner such that the instructions stored in the computer-readable memory generate an artifact that includes an instruction apparatus that implements a particular function within one or more processes in the flowcharts and / or one or more blocks in the block diagrams.
[0221] The computer program instructions may alternatively be loaded onto a computer or another programmable data processing device such that a sequence of operations and steps are performed on the computer or another programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or another programmable device provide steps for implementing a particular function within one or more processes in the flowcharts and / or one or more blocks in the block diagrams. [Explanation of symbols]
[0223] 1100 Application Context Relocation Device 1101 Communication module 1102 Processing Module 1200 Communication Equipment 1210 Processor 1220 Memory 1230 Transceiver 1300 Communication Equipment 1310 Interface circuit 1320 Processor
Claims
1. 1. A method for application context relocation, the method comprising: receiving, by an edge enabler server, first information from an application function entity, the first information for instructing the application function entity to relocate an application context associated with the application function entity; The edge enabler server performs the following operations based on the first information: detecting an event that triggers a relocation of said application context; determining, when the event occurs, to relocate the application context; an operation of discovering a target application functional entity, the target application functional entity being configured to receive the application context; sending said application context to an edge enabler server associated with said target application functionality entity; transmitting information about the target application functional entity to a terminal device associated with the application functional entity; and sending the relocation information of the application context to a core network element; and Including, The application corresponding to the application function entity is the same as the application corresponding to the target application function entity; How to relocate application context.
2. The method comprises: receiving the application context from the application function entity. The method of claim 1 further comprising:
3. Prior to the step of receiving the application context from the application function entity, the method further comprises: sending a stored address of said application context to said application function entity. The method of claim 2 , further comprising:
4. A step of transmitting first information by an application function entity to an edge enabler server, the first information causing the edge enabler server to perform the following operations: detecting an event that triggers a relocation of an application context associated with said application function entity; determining, when the event occurs, to relocate the application context; an operation of discovering a target application functional entity, the target application functional entity being configured to receive the application context; sending the application context to an edge-enabled server associated with the target application function entity; transmitting information related to the target application functional entity to a terminal device related to the application functional entity; and sending the relocation information of the application context to a core network element; wherein the application corresponding to the application function entity is the same as the application corresponding to the target application function entity; receiving, by the application function entity, response information from the edge enabler server in response to the first information; An application context relocation method comprising:
5. After the step of transmitting first information to an edge enabler server, the method further comprises: sending the application context to the edge enabler server; The method of claim 4 further comprising:
6. The response information includes a storage address of the application context, The method of claim 5 , wherein the step of sending the application context to the edge enabler server comprises the step of sending the application context to the edge enabler server based on the stored address.
7. The method according to claim 4 , wherein the method is performed by an application functional entity.
8. An application context relocation device for an edge enabler server, comprising: a communication module configured to receive, by an edge enabler server, first information from an application function entity, the first information for instructing the application function entity to relocate an application context associated with the application function entity; The edge enabler server performs the following operations based on the first information: detecting an event that triggers a relocation of said application context; determining, when the event occurs, to relocate the application context; an operation of discovering a target application functional entity, the target application functional entity being configured to receive the application context; sending said application context to an edge enabler server associated with said target application functionality entity; transmitting information about the target application functional entity to a terminal device associated with the application functional entity; and a processing module configured to perform an operation of transmitting the relocation information of the application context to a core network element; Equipped with The application corresponding to the application function entity is the same as the application corresponding to the target application function entity; Application context remapping device.
9. The apparatus of claim 8 , wherein the communication module is further configured to receive the application context from the application function entity.
10. The apparatus of claim 9 , wherein prior to receiving the application context from the application function entity, the communication module is further configured to send a storage address of the application context to the application function entity.
11. a communication module configured to transmit first information to an edge enabler server, said first information instructing said edge enabler server to perform the following operations: detecting an event that triggers a relocation of an application context associated with an application functional entity; determining, when the event occurs, to relocate the application context; an operation of discovering a target application functional entity, the target application functional entity being configured to receive the application context; sending the application context to an edge-enabled server associated with the target application function entity; transmitting information related to the target application functional entity to a terminal device related to the application functional entity; and sending the relocation information of the application context to a core network element; and an application corresponding to the application function entity is the same as an application corresponding to the target application function entity; The application context relocation apparatus, wherein the communication module is further configured to receive, by the application function entity, response information from the edge enabler server in response to the first information.
12. The apparatus of claim 11 , wherein after sending the first information to the edge enabler server, the communication module is further configured to send the application context to the edge enabler server.
13. The device of claim 11, wherein the response information includes a storage address of the application context, and sending the application context to the edge enabler server includes sending the application context to the edge enabler server based on the storage address.
14. A communication device comprising a processor and a memory, the memory is configured to store a computer program; A communications device, wherein the processor is configured to execute the computer program stored in the memory to perform the method according to any one of claims 1 to 3 or any one of claims 4 to 7.
15. 1. A communication device comprising a processor and an interface circuit, the interface circuitry is configured to receive code instructions and to transmit the code instructions to the processor; A communications device, wherein the processor is configured to execute the code instructions to perform the method according to any one of claims 1 to 3 or any one of claims 4 to 7.
16. 10. A computer-readable storage medium having stored thereon instructions which, when executed, perform the method of any one of claims 1 to 3 or any one of claims 4 to 7.
17. A communication system comprising a first communication device according to any one of claims 1 to 3 and a second communication device according to any one of claims 4 to 7.
18. 1. A method for application context relocation, the method comprising: sending, by the application function entity, first information to an edge enabler server; receiving, by the edge enabler server, the first information; The edge enabler server performs the following operations based on the first information: detecting an event that triggers a relocation of an application context associated with said application functional entity; determining, when the event occurs, to relocate the application context; An operation of discovering a target application function entity, the target application function entity configured to receive the application context; sending said application context to an edge enabler server associated with said target application functionality entity; transmitting information related to the target application functional entity to a terminal device related to the application functional entity; and sending the relocation information of the application context to a core network element; and Including, An application context relocation method, wherein the application corresponding to the application function entity is the same as the application corresponding to the target application function entity.
19. The method comprises: sending, by the edge enabler server, response information to the application function entity in response to the first information; receiving, by the application function entity, the response information; 20. The method of claim 18, further comprising:
20. The response information includes a storage address of the application context, The method of claim 18, further comprising: transmitting, by the application function entity, the application context to the edge enabler server based on the stored address.
