Handover processing method and apparatus, and communication device
Disclosed in the embodiments of the present application are a switching processing method and apparatus, and a communication device. The method comprises: when determining that a pre-defined condition is met, a user equipment transmitting, to an edge dispatch node, a domain name system (DNS) resolution request carrying first information, wherein the first information comprises user identifier information, application identifier information, and service continuity demand information; and receiving a DNS resolution response from the edge dispatch node, wherein the DNS resolution response comprises the updated address information of a second edge application server.
1 . A handover processing method, comprising:
receiving, by a user equipment (UE), user plane function (UPF) handover information transmitted by a first edge application server before updating;
determining, by the UE, whether a pre-defined condition is met, wherein the pre-defined condition comprises that the UE has been switched from a UPF to another UPF;
transmitting, by the UE, a domain name system (DNS) resolution request carrying first information, to an edge dispatch node, in response to determining by the UE that the pre-defined condition is met, wherein the first information includes user identification information, application identification information and service continuity needs; and
receiving a DNS resolution response from the edge dispatch node, wherein the DNS resolution response includes address information of an updated second edge application server, which is updated in accordance with user identification information, application identification information and service continuity needs included in the first information,
wherein the UPF handover information is transmitted after the first edge application server receives a notification message from a session management function (SMF), which indicates that accessing UPF of the UE changes.
2 . The method according to claim 1 , wherein the method further includes:
obtaining, by the UE, a connection status parameter between the UE and a first edge application server;
when the connection status parameter reaches a preset threshold, determining that the pre-defined condition is met.
3 . The method according to claim 1 , wherein an extension field in the DNS resolution request carries the user identification information.
4 . A non-transitory computer-readable storage medium, comprising a computer program stored thereon; wherein the program is executed by a processor to perform the steps of the method according to claim 1 .
5 . A handover processing method, comprising:
receiving, by an edge dispatch node, a domain name system (DNS) resolution request from a user equipment (UE); wherein the DNS resolution request carries first information, and the first information includes user identification information, application identification information and service continuity needs;
reselecting a second edge application server (EAS), which is updated in accordance with user identification information, application identification information and service continuity needs included in the first information, for the UE based on the service continuity needs and the user identification information, and transmitting a DNS resolution response to the UE, wherein the DNS resolution response carries address information of the second edge application server,
wherein the method further includes:
storing, by the edge dispatch node, a domain name resolution record; wherein the domain name resolution record includes at least mapping relationship between multiple sets of user identification information and address information of a first EAS and the second EAS.
6 . The method according to claim 5 , wherein before transmitting, by the edge dispatch node, the synchronization instruction to the first edge application server and the second edge application server, respectively, the method further includes:
querying, by the edge dispatch node, the domain name resolution record, based on the user identification information, and determining address information of the first edge application server and the address information of the second edge application server.
7 . A communication device, comprising: a memory, a processor and a computer program stored in the memory and executable on the processor; wherein the processor executes the program to perform the steps of the method according to claim 5 .
8 . The communication device according to claim 7 , wherein before transmitting the synchronization instruction to the first edge application server and the second edge application server, respectively, the processor executes the program to perform:
querying the domain name resolution record, based on the user identification information, and determining address information of the first edge application server and the address information of the second edge application server.
9 . A non-transitory computer-readable storage medium, comprising a computer program stored thereon; wherein the program is executed by a processor to perform the steps of the method according to claim 5 .
10 . The method according to claim 5 , wherein the method further includes:
transmitting, by the edge dispatch node, a synchronization instruction to a first edge application server and the second edge application server, respectively; wherein the first edge application server is an edge application server before updating, and the synchronization instruction includes: user identification information, application identification information and service continuity needs; which instructs the first edge application server (EAS) to synchronize service data corresponding to the user identification information to the second EAS.
11 . The method according to claim 5 , wherein the method further includes:
transmitting, by the edge dispatch node, a notification message to a session management function (SMF) through a network exposure function (NEF) or a policy control function (PCF); wherein the notification message includes the user identification information and information of the second edge application server, the notification message is used to enable the SMF to configure a corresponding traffic offloading rule for a service corresponding to the user identification information.
12 . A communication device, comprising: a memory, a processor and a computer program stored in the memory and executable on the processor; wherein the processor executes the program to perform:
receiving user plane function (UPF) handover information transmitted by a first edge application server before updating;
determining whether a pre-defined condition is met, wherein the pre-defined condition comprises that a user equipment (UE) has been switched from a UPF to another UPF;
transmitting a domain name system (DNS) resolution request carrying first information, to an edge dispatch node, in response to determining by the UE that the pre-defined condition is met, wherein the first information includes user identification information, application identification information and service continuity needs; and
receiving a DNS resolution response from the edge dispatch node, wherein the DNS resolution response includes address information of an updated second edge application server, which is updated in accordance with user identification information, application identification information and service continuity needs included in the first information,
wherein the UPF handover information is transmitted after the first edge application server receives a notification message from a session management function (SMF), which indicates that accessing UPF of the UE changes.
13 . The communication device according to claim 12 , wherein the processor executes the program to perform:
obtaining a connection status parameter with a first edge application server;
when the connection status parameter reaches a preset threshold, determining that the pre-defined condition is met.
14 . The communication device according to claim 12 , wherein an extension field in the DNS resolution request carries the user identification information.