Application context relocation method and apparatus for edge computing systems
An application context relocation method includes, in response to an edge enabler server determining that a terminal device moves to a target location, sending, by the edge enabler server, an application context relocation (ACR) complete message to the terminal device for a service continuity planning ACR.
1 . An application context relocation method, comprising:
in response to an edge enabler server determining that a terminal device moves to a target location and that application context transmission is completed, sending, by the edge enabler server, an application context relocation (ACR) complete message to the terminal device for a service continuity planning ACR; and
obtaining, by the edge enabler server, a current location of the terminal device,
wherein the determining that the terminal device moves to the target location comprises:
determining, based on the current location of the terminal device and an application client identifier (ID) corresponding to the ACR, that the terminal device moves to the target location; or
determining, based on the current location of the terminal device, the application client ID corresponding to the ACR, and the target location corresponding to the ACR, that the terminal device moves to the target location.
2 . The application context relocation method according to claim 1 , wherein the target location is a service area of a target edge application server or an expected location of the terminal device.
3 . The application context relocation method according to claim 1 , further comprising:
receiving, by the edge enabler server, first indication information of the terminal device, wherein the first indication information indicates the edge enabler server to determine mobility of the terminal device.
4 . The application context relocation method according to claim 1 , further comprising:
detecting, by the edge enabler server, an event of the ACR, wherein a type of the event of the ACR is the service continuity planning ACR.
5 . The application context relocation method according to claim 1 , further comprising:
receiving, by the edge enabler server from an edge application server, one or more of a type of an event of the ACR, an application client ID corresponding to the ACR, or the target location corresponding to the ACR.
6 . The application context relocation method according to claim 5 , further comprising:
sending, by the edge application server to the edge enabler server, one or more of the type of the event of the ACR, the application client ID corresponding to the ACR, or the target location corresponding to the ACR.
7 . The application context relocation method according to claim 1 , further comprising:
receiving, by the terminal device, the ACR complete message; and
switching, by the terminal device, an application client corresponding to the ACR from a source edge application server to a target edge application server.
8 . An apparatus, comprising:
at least one processor; and
at least one memory coupled to the at least one processor and storing programming instructions that, when executed by the at least one processor, cause the apparatus to:
in response to determining that a terminal device moves to a target location and that application context transmission is completed, send an application context relocation (ACR) complete message to the terminal device for a service continuity planning ACR; and
obtain a current location of the terminal device,
wherein the determining that the terminal device moves to the target location comprises:
determining, based on the current location of the terminal device and an application client identifier (ID) corresponding to the ACR, that the terminal device moves to the target location; or
determining, based on the current location of the terminal device, the application client ID corresponding to the ACR, and the target location corresponding to the ACR, that the terminal device moves to the target location.
9 . The apparatus according to claim 8 , wherein the target location is a service area of a target edge application server or an expected location of the terminal device.
10 . The apparatus according to claim 9 , wherein the apparatus is further caused to:
receive first indication information of the terminal device, wherein the first indication information indicates the apparatus to determine mobility of the terminal device.
11 . The apparatus according to claim 9 , wherein the apparatus is further caused to:
detect an event of the ACR, wherein a type of the event of the ACR is the service continuity planning ACR.
12 . The apparatus according to claim 9 , wherein the apparatus is further caused to:
receive, from an edge application server, one or more of a type of an event of the ACR, an application client ID corresponding to the ACR, or the target location corresponding to the ACR.
13 . A system comprising:
an edge enabler server; and
a terminal device,
wherein
the edge enabler server is configured to:
in response to determining that the terminal device moves to a target location and that application context transmission is completed, send an application context relocation (ACR) complete message to the terminal device for a service continuity planning ACR; and
obtain a current location of the terminal device, wherein the determining that the terminal device moves to the target location comprises:
determining, based on the current location of the terminal device and an application client identifier (ID) corresponding to the ACR, that the terminal device moves to the target location; or
determining, based on the current location of the terminal device, the application client ID corresponding to the ACR, and the target location corresponding to the ACR, that the terminal device moves to the target location, and
the terminal device is configured to receive the ACR complete message.
14 . The system according to claim 13 , wherein the target location is a service area of a target edge application server or an expected location of the terminal device.
15 . The system according to claim 13 , wherein the edge enabler server is further configured to:
receive first indication information of the terminal device, wherein the first indication information indicates the edge enabler server to determine mobility of the terminal device.
16 . The system according to claim 13 , wherein the edge enabler server is further configured to:
detect an event of the ACR, wherein a type of the event of the ACR is the service continuity planning ACR.
17 . The system according to claim 13 , wherein the edge enabler server is further configured to:
receive, from an edge application server, one or more of a type of an event of the ACR, an application client ID corresponding to the ACR, or the target location corresponding to the ACR.
18 . The system according to claim 17 , wherein the system further comprises the edge application server, and the edge application server is configured to send, to the edge enabler server, one or more of the type of the event of the ACR, the application client ID corresponding to the ACR, or the target location corresponding to the ACR.