Switching processing method, device and communication device

The method addresses service interruptions in edge computing by sending DNS analysis requests with user and service continuity information to reselect edge servers, ensuring seamless service continuity through synchronization and offloading rule management.

JP7561989B2Active Publication Date: 2024-10-04CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023530679
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-20
Filing Date
2021-11-19
Publication Date
2024-10-04
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

The challenge of selecting the optimal edge service node and managing service node switching to avoid service interruptions due to user equipment mobility in edge computing environments is not effectively addressed by current solutions.

Method used

A method involving the transmission of a DNS analysis request message with user identifier, application identifier, and service continuity demand information to an edge scheduling node, followed by reselection of an edge application server based on these criteria, with synchronization and offloading rules managed through SMF, NEF, and PCF to ensure seamless service continuity.

Benefits of technology

Enables efficient switching of edge application servers to maintain service continuity by reselecting servers based on user and application demands, ensuring uninterrupted service even with user mobility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561989000002
    Figure 0007561989000002
  • Figure 0007561989000003
    Figure 0007561989000003
  • Figure 0007561989000004
    Figure 0007561989000004
Patent Text Reader

Abstract

The present application discloses a switching processing method, an apparatus, and a communication device, the method including: when a user equipment determines that a current preset condition is satisfied, sending a Domain Name System (DNS) resolution request message carrying first information to an edge scheduling node; and receiving a DNS resolution response message from the edge scheduling node, the first information including user identifier information, application identifier information, and service continuity demand information, and the DNS resolution response message including address information of an updated second edge application server.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application is filed based on and claims priority to a Chinese patent application having application number 202011309650.6 and filing date November 20, 2020, the entire contents of which are hereby incorporated by reference into this application.

[0002] The present application relates to the field of edge computing, and in particular to a switching processing method, device and communication device. [Background technology]

[0003] With the development of ad-hoc edge computing, the number of edge service nodes is increasing, and the same service may be deployed in multiple service nodes, so there is a problem of how to select the optimal edge service node. The edge computing scheduling center is deployed globally, and when the edge computing scheduling center receives a service request from a user, it can select an edge service node according to the corresponding scheduling policy and return a domain name analysis result.

[0004] However, when a user equipment is moving, there is currently no effective solution as to how to switch edge service nodes to avoid the problem of service interruption due to mobility. Summary of the Invention [Problem to be solved by the invention]

[0005] The embodiments of the present application provide a switching processing method, an apparatus and a communication device. [Means for solving the problem]

[0006] In order to achieve the above objective, the technical solutions in the embodiments of the present application are realized as follows:

[0007] In a first aspect, an embodiment of the present application provides a switching processing method, the method comprising: When the user equipment determines that the current preset condition is satisfied, sending a Domain Name System (DNS) resolution request message carrying first information to an edge scheduling node; and receiving a DNS resolution response message from the edge scheduling node; The first information includes user identifier information, application identifier information, and service continuity demand information; The DNS resolution response message includes the updated address information of the second edge application server. In some optional embodiments of the present application, the method further includes determining that a current preset condition is satisfied when the user equipment receives User Plane Function (UPF) switching information sent from a first edge application server before the update; Here, the UPF switching information is sent after the first edge application server receives a notification message from an SMF, and the notification message indicates that a switch will occur to the UPF accessed by the user equipment.

[0008] In some optional embodiments of the present application, the method further includes: the user equipment acquiring a connection state parameter between the user equipment and a first edge application server; determining that a current preset condition is satisfied when the connection status parameter reaches a preset threshold.

[0009] In some alternative embodiments of the present application, the user identifier information is attached to an extension field of the DNS resolution request message.

[0010] In a second aspect, the present embodiment further provides a switching processing method, the method comprising: The edge scheduling node receives a DNS resolution request message from a user equipment, the first information including user identifier information, application identifier information, and service continuity demand information; The method includes: reselecting a second edge application server for the user equipment based on the service continuity demand information and the user identifier information; and sending a DNS resolution response message to the user equipment, the DNS resolution response message including address information of the second edge application server.

[0011] In some alternative embodiments of the present application, the method further includes the edge scheduling node sending a synchronization command to each of the first edge application server and the second edge application server; the first edge application server is an edge application server before the update; The synchronization command includes user identifier information, application identifier information, and service continuity demand information; The synchronization command is used by the first edge application server to synchronize service data corresponding to the user identifier information with the second edge application server.

[0012] In some alternative embodiments of the present application, the method further includes the edge scheduling node storing a domain name resolution record; The domain name resolution record includes at least a plurality of pairs of mapping relationships between user identifier information and address information of edge application servers.

[0013] In some alternative embodiments of the present application, before the edge scheduling node sends a synchronization command to each of the first edge application server and the second edge application server, the method further comprises: The edge scheduling node includes querying the domain name resolution record based on the user identifier information to determine address information of the first edge application server and address information of the second edge application server.

[0014] In some alternative embodiments of the present application, the method further includes the edge scheduling node sending a notification message to the SMF via a Network Exposure Function (NEF) or a Policy Control Function (PCF); the notification message includes the user identifier information and information of the second edge application server, The notification message is for the SMF to set a corresponding offloading rule for a service corresponding to the user identity information.

[0015] In a third aspect, an embodiment of the present application further provides a switching processing device, the device including a first determining unit and a first communication unit; The first determination unit is configured to determine whether a current preset condition is satisfied; The first communication unit is configured to send a DNS resolution request message carrying first information to an edge scheduling node when the first determination unit determines that a current preset condition is satisfied; The first information includes user identifier information, application identifier information, and service continuity demand information; The first communication unit is further configured to receive a DNS resolution response message from the edge scheduling node, where the DNS resolution response message includes address information of the updated second edge application server.

[0016] In some optional embodiments of the present application, the first determination unit is configured to determine that the first communication unit currently satisfies a preset condition when the first communication unit receives UPF switching information sent from a first edge application server before the update; Here, the UPF switching information is sent after the first edge application server receives a notification message from the SMF, and the notification message indicates that a switch will occur to the UPF accessed by the user equipment in which the application client is located.

[0017] In some optional embodiments of the present application, the first determination unit is configured to obtain a connection status parameter between a first edge application server and the first edge application server, and determine that a current preset condition is satisfied when the connection status parameter reaches a preset threshold.

[0018] In some alternative embodiments of the present application, the user identifier information is attached to an extension field of the DNS resolution request message.

[0019] In a fourth aspect, an embodiment of the present application further provides a switching processing device, the device including: a second communication unit and a selection unit; The second communication unit is configured to receive a DNS resolution request message from a user equipment, the DNS resolution request message being accompanied by first information; The first information includes user identifier information, application identifier information, and service continuity demand information; The selection unit is configured to reselect a second edge application server for the user equipment based on the service continuity demand information and the user identifier information; The second communication unit is further configured to send a DNS resolution response message, carrying address information of the second edge application server, to the user equipment.

[0020] In some optional embodiments of the present application, the second communication unit is further configured to send a synchronization command to each of the first edge application server and the second edge application server; the first edge application server is an edge application server before the update; The synchronization command includes user identifier information, application identifier information, and service continuity demand information; The synchronization command is used by the first edge application server to synchronize service data corresponding to the user identifier information with the second edge application server.

[0021] In some alternative embodiments of the present application, the apparatus further includes a storage unit configured to store the domain name resolution record; The domain name resolution record includes at least a plurality of pairs of mapping relationships between user identifier information and address information of edge application servers.

[0022] In some alternative embodiments of the present application, the device further includes a second determining unit; The second determination unit is configured to query the domain name resolution record based on the user identifier information and determine address information of the first edge application server and address information of the second edge application server before the second communication unit sends a synchronization command to each of the first edge application server and the second edge application server.

[0023] In some optional embodiments of the present application, the second communication unit is further configured to send a notification message to the SMF via the NEF or the PCF; the notification message includes the user identifier information and information of the second edge application server, The notification message is for the SMF to set corresponding offloading rules for the service corresponding to the user identity information.

[0024] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, the program, when executed by a processor, realizing the steps of the switching processing method described in the first or second aspect of the embodiment of the present application.

[0025] In a sixth aspect, an embodiment of the present application further provides a communications device including a memory, a processor, and a computer program stored in the memory and executable by the processor, the computer program realizing, when the processor executes the program, steps of the switching processing method described in the first or second aspect of the embodiment of the present application. Effect of the Invention

[0026] According to the switching processing method, device, and communication device of the embodiment of the present application, when the user equipment determines that the current preset condition is satisfied, the user equipment sends a DNS parsing request message carrying first information to an edge scheduling node, the first information including user identifier information, application identifier information, and service continuity demand information, and the edge scheduling node reselects a second edge application server for the user equipment based on the service continuity demand information and the user identifier information, and sends a DNS parsing response message carrying address information of the second edge application server to the user equipment. By adopting the technical solution of the embodiment of the present application, when the preset condition is satisfied, the edge scheduling node can trigger the sending of a DNS parsing request message by the user equipment, and the edge scheduling node can reselect a new edge application server for the user equipment based on the DNS parsing request message, thereby solving the problem of triggering edge application server switching. [Brief description of the drawings]

[0027] [Figure 1] 1 is a schematic flow diagram (part 1) of a switching processing method according to an embodiment of the present application; [Diagram 2] FIG. 2 is a schematic diagram of a DNS extension field in a switching processing method according to an embodiment of the present application; [Diagram 3] FIG. 1 is a schematic diagram (part 1) of a method for determining whether a user equipment satisfies a preset condition in a switching processing method according to an embodiment of the present application; [Figure 4] FIG. 2 is a second schematic diagram of a method for determining whether a user equipment satisfies a preset condition in a switching processing method according to an embodiment of the present application; [Diagram 5] 1 is a second schematic flow diagram of a switching processing method according to an embodiment of the present application; [Figure 6] FIG. 2 is an interaction flow diagram of a switching processing method according to an embodiment of the present application; [Figure 7] FIG. 1 is a schematic diagram (part 1) of the configuration structure of a switching processing device according to an embodiment of the present application. [Figure 8] FIG. 2 is a second schematic diagram of the configuration of a switching processing device according to an embodiment of the present application. [Figure 9] FIG. 2 is a schematic diagram of a hardware configuration of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] The present application will now be described in more detail with reference to the drawings and specific embodiments.

[0029] An embodiment of the present application provides a switching processing method. Figure 1 is a flow diagram (part 1) of the switching processing method of the embodiment of the present application. As shown in Figure 1, the method includes steps 101 and 102.

[0030] In step 101, when it is determined that the user equipment currently meets the preset condition, it sends a DNS resolution request message accompanied by first information to an edge scheduling node, where the first information includes user identifier information, application identifier information and service continuity demand information.

[0031] In step 102, receive a DNS resolution response message from the edge scheduling node, where the DNS resolution response message includes updated address information of the second edge application server.

[0032] The switching processing method of this embodiment can be applied to a user equipment (UE) and can be selectively applied to an application client in the UE, and the application client may be a client corresponding to an application configured or installed in the UE when the UE accesses an application located on the edge side via a mobile network.

[0033] In this embodiment, before the user equipment transmits the DNS resolution request message with the first information attached to the edge scheduling node, the user equipment (or application client) has already established a connection with an edge application server (referred to as a first edge application server) located on the edge side through a mobile network, and uses a service through an application function by the first edge application server. Here, in the process of the user equipment establishing a connection with the first edge application server, the user equipment (or application client) transmits a DNS resolution request message. In some embodiments, the information attached to the DNS resolution request message does not include service continuity demand information. Optionally, during the movement of the user equipment, there is a high possibility that a situation will occur in which a switch occurs in the UPF to which the user equipment is connected, or a situation in which the network condition between the user equipment and the first edge application server becomes poor. Based on this, in this embodiment, the user equipment (or application client) re-sends a DNS analysis request message, so that compared with the previously sent DNS analysis request message, the newly sent DNS analysis request message is accompanied by first information including service continuity demand information, and the service continuity demand information indicates that the edge application server should be switched or can be used to instruct the switching of the edge application server.

[0034] Optionally, the service continuity demand information may be indicated through a specific field of a DNS analysis request message. In one embodiment, if a value is filled in the specific field of the DNS analysis request message, it may indicate that service continuity demand information is attached. If a value is not filled in the specific field of the DNS analysis request message, it may indicate that service continuity demand information is not attached. In another embodiment, if a first set value is filled in the specific field of the DNS analysis request message, it may indicate that service continuity demand information is attached. If a second set value is filled in the specific field of the DNS analysis request message, it may indicate that service continuity demand information is not attached. Exemplarily, the first set value may be "1" and the second set value may be "0". Of course, examples of set values ​​(including the first set value and the second set value) in this embodiment are not limited to those described above, and this embodiment is not limited thereto.

[0035] In this embodiment, the edge scheduling node is a functional entity having edge scheduling and related functions. Exemplarily, the edge scheduling node may be an edge scheduling device or an edge scheduling center existing in the form of an independent device or server, or may be provided in conjunction with other functional entities.

[0036] In some alternative embodiments of the present application, the user identifier information is attached to an extension field of the DNS resolution request message. Exemplarily, the user identifier information may be address information of a user equipment, such as a UE IP.

[0037] In this embodiment, the user equipment and each network equipment support the DNS extended name mechanism (EDNS0), and can selectively include user identifier information in the first information through an extension field as shown in Fig. 2. Exemplarily, the user identifier information can be included through an option code (OPTION-CODE) field as shown in Fig. 2.

[0038] In this embodiment, the user equipment (or application client) can determine whether the current preset condition is met through the following multiple ways:

[0039] As one selectable embodiment, the method further includes determining that the user equipment currently satisfies a preset condition when it receives UPF switching information sent from a first edge application server before the update, the UPF switching information being sent after the first edge application server receives a notification message from an SMF, the notification message indicating that a switch will occur to the UPF accessed by the user equipment.

[0040] In this embodiment, the first edge application server obtains UPF switching information through a subscription to user plane event management capability, so that after the SMF learns that a switch has occurred in the UPF to which the user equipment is connected, it sends UPF switching information based on the subscription of the first edge application server, that is, the first edge application server can finally obtain the UPF switching information from the SMF. 3 is a schematic diagram (part 1) of a method for determining that a user equipment satisfies a preset condition in a switching processing method according to an embodiment of the present application. As shown in FIG. 3, the method may include steps 11 to 14.

[0041] In step 11, after the first edge application server establishes a session with the UE (or application client), it sends a subscription request message to the NEF, which is used for subscription of user plane event management. After receiving the message, the NEF sends a subscription message to the SMF, and the SMF feedbacks a response message, which indicates the subscription is successful.

[0042] For example, the subscription message may include relevant information of the UE and relevant information of the first edge application server so that the SMF can generate and send a notification message when it determines that a switch has occurred to the UPF accessed by the UE.

[0043] Here, the UE-related information may be user identifier information or UE IP address information, etc. Optionally, the subscription message may include a subscription time, which may represent a valid time of the current subscription, and when the subscription time becomes invalid, the SMF may understand not to send a notification message to the first edge application server even if it determines that a switch has occurred to the UPF accessed by the UE.

[0044] In step 12, after the SMF learns that a switch has occurred in the UPF to which the UE is connected, it generates and sends a notification message, and the notification message is accompanied by UPF switching information.

[0045] Exemplarily, the UPF switching information may include information related to a post-switching UPF, such as a post-switching UPF identifier or address.

[0046] In step 13, the first edge application server sends UPF switching information to the UE (or the application client).

[0047] In step 14, the UE (or application client) sends a DNS resolution request message to an edge scheduling node, and the first information is attached to the DNS resolution request message, where the first information includes user identifier information, application identifier information, and service continuity demand information.

[0048] Here, the application identifier information can be used to uniquely represent an application, and different applications can correspond to different application identifier information.

[0049] As another optional embodiment, the method further includes the user equipment obtaining a connection state parameter between the user equipment and a first edge application server, and determining that a current preset condition is satisfied when the connection state parameter reaches a preset threshold.

[0050] In this embodiment, the user equipment (or application client) determines whether to send the DNS resolution request message again by monitoring the connection status with the first edge application server.

[0051] 4 is a second schematic diagram of a method for determining whether a user equipment satisfies a preset condition in a switching processing method according to an embodiment of the present application. As shown in FIG. 4, the method may include steps 21 and 22.

[0052] In step 21, after the UE (or application client) establishes a session with the first edge application server, it monitors the session connection status.

[0053] Here, the monitored session connection parameters include, but are not limited to, at least one of delay, uplink / downlink rate, and packet loss rate.

[0054] In step 22, when the UE (or application client) monitors that the session connection parameters reach a preset threshold, it sends a DNS resolution request message to the edge scheduling node, and the DNS resolution request message is accompanied by the first information, which includes user identifier information, application identifier information and service continuity demand information.

[0055] For example, if the delay is monitored to be greater than a first preset threshold, the UE (or application client) resends the DNS resolution request message, and for example, if the uplink / downlink rate is monitored to be less than a second preset threshold, the UE (or application client) resends the DNS resolution request message.

[0056] The technical solution of this embodiment is not limited to the scene where the UE moves, but can be applied to the following scenes:

[0057] In scene 1, the movement of the UE causes the connection state with the original server to deteriorate, for example, if the delay is too large, the UE (or application client) monitors that the session connection state deteriorates and then sends a DNS resolution request message again.

[0058] In scene 2, the UE is not moving, but the performance of the first edge application server deteriorates, causing the session connection state to deteriorate. For example, if the delay is too large, the UE (or application client) monitors that the session connection state deteriorates and then sends a DNS analysis request message again.

[0059] In this embodiment, after the edge scheduling node obtains a DNS resolution request message from a UE (or an application client), it sets up a new edge application server (i.e., a second edge application server) for the UE (or application client) and attaches the address information of the second edge application server through a DNS resolution response message. After the UE (or application client) receives the DNS resolution response message, it starts a connection with the second edge application server based on the address information of the second edge application server attached thereto.

[0060] Based on the above embodiment, the embodiment of the present application further provides a switching processing method. Figure 5 is a flow diagram (part 2) of the switching processing method of the embodiment of the present application. As shown in Figure 5, the method includes steps 201 and 202.

[0061] In step 201, an edge scheduling node receives a DNS resolution request message from a user equipment, the first information being accompanied by first information, the first information including user identifier information, application identifier information and service continuity demand information.

[0062] In step 202, based on the service continuity demand information and the user identifier information, reselect a second edge application server for the user equipment, and send a DNS resolution response message to the user equipment, the DNS resolution response message carrying address information of the second edge application server.

[0063] In this embodiment, the edge scheduling node is a functional entity having edge scheduling and related functions. Exemplarily, the edge scheduling node may be an edge scheduling device or an edge scheduling center existing in the form of an independent device or server, or may be provided in conjunction with other functional entities.

[0064] In this embodiment, the DNS resolution request message is sent by a user equipment (UE), and can reach the edge scheduling node through UPF and a local DNS device, where each device needs to support the DNS extension name mechanism and carries the user identifier information through an extension field of the DNS resolution request message.

[0065] Exemplarily, the DNS resolution request message sent by the UE (or application client) is accompanied by user identifier information, application identifier information, and service continuity demand information (i.e., first information). Here, the user identifier information is accompanied by an extension field. When the message arrives at the UPF, the UPF fills the address information of the UPF (e.g., UPF IP) into the DNS resolution request message and sends it to the local DNS device. When the message arrives at the local DNS device, the local DNS device fills the address information of the local DNS device (e.g., IP of the local DNS device) into the message and sends it to the edge scheduling node. The edge scheduling node can obtain the DNS resolution request message and obtain information such as the first information, the address of the UPF, and the address information of the local DNS device from it. In the conventional technical solution, the DNS resolution request does not include user identifier information, that is, the edge scheduling node cannot obtain user identifier information and can only obtain related information of the UPF.

[0066] In this embodiment, when the edge scheduling node receives a DNS resolution request message, if it determines based on the service continuity demand information attached to the DNS resolution request message that the edge application server accessed by the UE (or application client) needs to be switched, it can reselect a new edge application server (referred to as a second edge application server) for the UE (or application client) based on the user identifier information, and send address information of the second edge application server to the UE (or application client) via a DNS resolution response message.

[0067] In some alternative embodiments, the edge scheduling node may determine user location information based on user identifier information, and select a second edge application server for the UE (or application client) based on the user location information. The selected second edge application server is the edge application server closest to the user location information. In other alternative embodiments, the edge scheduling node may determine UPF location information based on UPF address information attached to the DNS resolution request message, and select a second edge application server for the UE (or application client) based on the UPF location information. The selected second edge application server is the edge application server closest to the UPF location information.

[0068] In some optional embodiments, when the DNS resolution request message received by the edge scheduling node does not include service continuity demand information, the edge scheduling node can directly schedule the node according to the UPF information in the DNS resolution request message. This embodiment is applied to the scene where the UE (or application client) accesses the edge application server for the first time (for example, accesses the first edge application server for the first time).

[0069] In some alternative embodiments of the present application, the method further includes the edge scheduling node sending a synchronization command to each of the first edge application server and the second edge application server; the first edge application server is an edge application server before the update; The synchronization command includes user identifier information, application identifier information, and service continuity demand information; The synchronization command is used by the first edge application server to synchronize service data corresponding to the user identifier information with the second edge application server.

[0070] In this embodiment, in order to guarantee service continuity after switching of the edge application server, the edge scheduling node respectively sends a synchronization command to the first edge application server before switching and the second edge application server after switching, the synchronization command includes user identifier information, application identifier information and service continuity demand information, and optionally the synchronization command may further include authentication information, the synchronization command is used to instruct the first edge application server and the second edge application server to synchronize the application data of the user corresponding to the user identifier information.

[0071] In some alternative embodiments of the present application, the method further includes the edge scheduling node storing a domain name resolution record; The domain name resolution record includes at least a plurality of pairs of mapping relationships between user identifier information and address information of edge application servers.

[0072] In this embodiment, each time an edge scheduling node receives a DNS resolution request message, the edge scheduling node stores a domain name resolution record according to the DNS resolution request message and the associated status of the application server selected for the corresponding application client. For example, as shown in Table 1 below, the example of the domain name resolution record includes a user identifier (corresponding to user identifier information), a source IP (address information of the UPF through which the message passes), a local DNS IP (address information of the local DNS device through which the message passes), domain name information, and address information of an edge application server (EAS), etc.

[0073] [Table 1]

[0074] In some optional embodiments of the present application, before the edge scheduling node sends a synchronization command to each of the first edge application server and the second edge application server, the method further includes the edge scheduling node querying the domain name resolution record based on the user identifier information to determine address information of the first edge application server and address information of the second edge application server.

[0075] For example, according to the record shown in Table 1, when an edge scheduling node receives a DNS resolution request message, if the DNS resolution request message is accompanied by service continuity demand information, the edge scheduling node can obtain the address information of the corresponding edge application server by searching the domain name resolution record. For example, if the same user identifier information UE1 IP corresponds to EAS1 IP and EAS2 IP, the edge scheduling node will send a synchronization command to EAS1 IP and EAS2 IP, respectively.

[0076] Optionally, when the UE (or application client) ends the current service, the edge scheduling node deletes the related records in the domain name resolution records. For example, when the UE (or application client) is switched from a first edge application server to a second edge application server and the switching is completed, the edge scheduling node may delete the domain name resolution records related to the first edge application server. For another example, when the UE (or application client) ends the access to the edge application server, the edge scheduling node may delete all the corresponding domain name resolution records related to the user information identifier.

[0077] In some optional embodiments of the present application, the method further includes the edge scheduling node sending a notification message to the SMF via the NEF or the PCF; the notification message includes the user identifier information and information of the second edge application server, The notification message is for the SMF to set corresponding offloading rules for the service corresponding to the user identity information.

[0078] In this embodiment, the edge scheduling node sends a notification message to the SMF via the NEF or PCF, and the notification message includes user identifier information, information on the second edge application server after switching, etc., and notifies the SMF that the user will be assigned or switched to the second edge application server. The SMF further sets corresponding offloading rules for the UPF or service accessed by the user, thereby enabling the user to re-access the new second edge application server (i.e., the second edge application server).

[0079] The technical solution according to the embodiment of the present application can be adopted to trigger the sending of a DNS resolution request message by the UE (or application client) when a preset condition is met, and the edge scheduling node can reselect a new edge application server for the UE (or application client) based on the DNS resolution request message, thereby solving the problem of triggering edge application server switching. Meanwhile, the DNS resolution request message is accompanied by user identifier information, application identifier information and service continuity demand information, and the edge scheduling node can ensure that the service is not interrupted and the demand for service continuity is met by sending a synchronization command to the first edge application server and the second edge application server before switching is completed to complete data synchronization. In addition, the communication interface between the edge scheduling node and the core network can be defined to realize synchronization between the edge application server switching related information and the SMF, and realize the setting of related offloading rules.

[0080] The switching processing method of the embodiment of the present application will be described below with reference to a specific example. In this example, the edge scheduling node is a functional entity having edge scheduling and related functions. Exemplarily, the edge scheduling node may be an edge scheduling device or an edge scheduling center existing in the form of an independent device or server, or may be provided in collaboration with other functional entities.

[0081] 6 is a schematic diagram of an interaction flow of a switching processing method according to an embodiment of the present application. As shown in FIG. 6, the method includes steps 31 to 38.

[0082] In steps 31 to 33, the UE (or application client) sends a DNS resolution request message to UPF2, where first information is attached to the DNS resolution request, the first information including user identifier information, application identifier information and service continuity demand information, UPF2 sends a DNS resolution request message to a local DNS, where the DNS resolution request message includes the first information and address information of UPF2, and the local DNS sends a DNS resolution request message to an edge scheduling node, where the DNS resolution request message includes the first information, address information of UPF2 and address information of the local DNS.

[0083] It should be noted that, in steps 31 to 33 of this embodiment, after the UE (or application client) establishes a session with the EAS1, the UE (or application client) determines that the current preset condition is satisfied, and the preset condition is that the UPF to which the UE is connected has been switched from UPF1 to UPF2. Here, the specific implementation manner of the UE (or application client) determining that the current preset condition is satisfied may refer to the description of the above embodiment, and will not be further described here.

[0084] In step 34, the edge scheduling node selects EAS2 for the application client.

[0085] Here, the edge scheduling node can determine user location information based on user identifier information, and select an EAS2 for the UE (or application client) based on the user location information, and the selected second edge application server is the edge application server closest to the user location information.

[0086] Here, EAS1 corresponds to the first edge application server in the above embodiment, and EAS2 corresponds to the second edge application server in the above embodiment.

[0087] In steps 35a to 35b, the edge scheduling nodes send synchronization commands to EAS1 and EAS2, respectively, with the user identifier information and application identifier information attached to the synchronization command.

[0088] In step 36, service data is synchronized between EAS1 and EAS2.

[0089] In steps 37 and 38, the edge scheduling node sends a notification message to the SMF, and the notification message is accompanied by information of EAS2. The SMF sets an offloading rule.

[0090] Here, the edge scheduling node sends a notification message to the SMF via the NEF or PCF, and the notification message is accompanied by information of EAS2. Optionally, the notification message may further be accompanied by user identifier information, thereby notifying the SMF that the user is assigned or switched to EAS2, and the SMF further configures corresponding offloading rules for the UPF or service that the user is accessing.

[0091] The embodiment of the present application further provides a switching processing device. Figure 7 is a schematic diagram (part 1) of the configuration structure of the switching processing device of the embodiment of the present application. As shown in Figure 7, the device includes a first determination unit 41 and a first communication unit 42.

[0092] The first determining unit 41 is configured to determine whether a current preset condition is satisfied.

[0093] The first communication unit 42 is configured to send a DNS resolution request message accompanied by first information to an edge scheduling node when the first determination unit 41 determines that the current preset condition is met, the first information including user identifier information, application identifier information and service continuity demand information, and the first communication unit 42 is further configured to receive a DNS resolution response message from the edge scheduling node, the DNS resolution response message including address information of the updated second edge application server.

[0094] In some optional embodiments of the present application, the first determination unit 41 is configured to determine that the first communication unit 42 currently meets the preset condition when it receives UPF switching information sent from a first edge application server before the update, the UPF switching information being sent after the first edge application server receives a notification message from an SMF, the notification message indicating that a switch will occur to the UPF accessed by the user equipment located therein.

[0095] In some optional embodiments of the present application, the first determination unit 41 is configured to obtain a connection status parameter between a first edge application server and the first edge application server, and determine that a current preset condition is satisfied when the connection status parameter reaches a preset threshold.

[0096] In some alternative embodiments of the present application, the user identifier information is attached to an extension field of the DNS resolution request message.

[0097] In an embodiment of the present application, the first determination unit 41 in the device may be realized via a central processor (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), a microcontroller unit (MCU, Microcontroller Unit) or a programmable gate array (FPGA, Field-Programmable Gate Array) in practical applications, and the first communication unit 42 in the device may be realized via a communication module (including a basic communication kit, an operating system, a communication module, a standardized interface and protocol, etc.) and a transmitting and receiving antenna in practical applications.

[0098] The embodiment of the present application further provides a switching processing device. Figure 8 is a schematic diagram (part 2) of the configuration structure of the switching processing device of the embodiment of the present application. As shown in Figure 8, the device includes a second communication unit 51 and a selection unit 52.

[0099] The second communication unit 51 is configured to receive a DNS resolution request message from a user equipment, the first information being accompanied by first information, the first information including user identifier information, application identifier information and service continuity demand information.

[0100] The selection unit 52 is configured to reselect a second edge application server for the user equipment based on the service continuity demand information and the user identifier information.

[0101] The second communication unit 51 is further configured to send a DNS resolution response message, carrying the address information of the second edge application server, to the user equipment.

[0102] In some optional embodiments of the present application, the second communication unit 51 is further configured to send a synchronization command to each of the first edge application server and the second edge application server, where the first edge application server is an edge application server before the update, the synchronization command includes user identifier information, application identifier information and service continuity demand information, and the synchronization command is used by the first edge application server to synchronize service data corresponding to the user identifier information to the second edge application server.

[0103] In some alternative embodiments of the present application, the apparatus further includes a storage unit configured to store the domain name resolution record; The domain name resolution record includes at least a plurality of pairs of mapping relationships between user identifier information and address information of edge application servers.

[0104] In some alternative embodiments of the present application, the device further includes a second determining unit; The second determination unit is configured to query the domain name analysis record based on the user identifier information and determine address information of the first edge application server and address information of the second edge application server before the second communication unit 51 sends a synchronization command to each of the first edge application server and the second edge application server.

[0105] In some optional embodiments of the present application, the second communication unit 51 is further configured to send a notification message to the SMF via the NEF or the PCF; the notification message includes the user identifier information and information of the second edge application server, The notification message is for the SMF to set corresponding offloading rules for the service corresponding to the user identity information.

[0106] In an embodiment of the present application, the second determination unit and the selection unit 52 in the device may both be realized via a CPU, a DSP, an MCU or an FPGA in practical applications, the storage unit in the device may be realized by a memory in practical applications, and the second communication unit 51 in the device may be realized via a communication module (including a basic communication kit, an operating system, a communication module, a standardized interface and protocol, etc.) and a transmitting and receiving antenna in practical applications.

[0107] In addition, the switching processing device according to the above embodiment only takes the division of each program module as an example when performing switching processing, but in actual use, the above processing can be completed by different program modules according to needs, that is, the internal structure of the device can be divided into different program modules to complete all or part of the above-described processing. In addition, the switching processing device according to the above embodiment and the switching processing method embodiment belong to the same concept, and the specific implementation process thereof is to be referred to in detail in the method embodiment of the present application, and the description thereof will be omitted here.

[0108] An embodiment of the present application further provides a communication device, which may be an edge scheduling node or a user equipment provided with an application client. Fig. 9 is a hardware configuration structure schematic diagram of the communication device of the embodiment of the present application. As shown in Fig. 9, the communication device includes a memory 62, a processor 61, and a computer program stored in the memory 62 and executable by the processor 61, and when the processor 61 executes the program, the embodiment of the present application realizes the steps of the above switching processing method applied to the application client or the edge scheduling node.

[0109] Optionally, the communication device further includes a network interface 63. The components in the communication device are coupled to each other via a bus system 64. It will be understood that the bus system 64 is used to realize the connection communication between these components. In addition to a data bus, the bus system 64 further includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the various buses are labeled as the bus system 64 in FIG. 9.

[0110] It should be understood that the memory 62 may be volatile or non-volatile memory, or may include both volatile and non-volatile memory. Here, the non-volatile memory may be a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM). The magnetic surface memory may be a magnetic disk memory or a magnetic tape memory. The volatile memory may be a random access memory (RAM) used as an external cache. By way of example and not limitation, many forms of RAM are available.For example, the memory 62 may be a static random access memory (SRAM), a synchronous static random access memory (SSRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), or a direct memory bus random access memory (DRRAM). The memory 62 described in the embodiments of the present application is intended to include, but is not limited to, these and any other suitable types of memory.

[0111] The methods disclosed in the above-mentioned embodiments of the present application can be applied to or implemented by the processor 61. The processor 61 may be an integrated circuit chip having a signal processing capability. In the realization process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 61 or an instruction in the form of software. The above-mentioned processor 61 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The processor 61 can realize or execute each method, step, and logic block diagram disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. With respect to the steps of the method disclosed in the embodiments of the present application, they can be directly executed and completed by a hardware decoding processor, or can be executed and completed by a combination of hardware and software modules in the decoding processor. The software modules are present in a storage medium, which is located in the memory 62, and the processor 61 reads the information in the memory 62 and completes the steps of the above-mentioned method in association with the hardware.

[0112] In an exemplary embodiment, the communications device may be implemented with one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, microprocessors, or other electronic elements used to perform the above methods.

[0113] In an exemplary embodiment, the present application further provides a computer readable storage medium, for example, a memory 62 including a computer program, which may be executed by the processor 61 of the communication device to complete the method steps. The computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM, or may be a variety of devices including one or any combination of the above memories.

[0114] A computer-readable storage medium having a computer program stored thereon according to an embodiment of the present application, when the program is executed by a processor, implements the steps of the above switching processing method applied to an application client or an edge scheduling node according to the embodiment of the present application.

[0115] The methods disclosed in the several method embodiments according to the present application can be arbitrarily combined, if they do not conflict, to obtain new method embodiments.

[0116] The features disclosed in the various product embodiments according to the present application may be combined in any combination, provided they do not conflict, to arrive at new product embodiments.

[0117] Features disclosed in several method or apparatus embodiments according to the present application may be combined in any combination, where they do not conflict, to arrive at new method or apparatus embodiments.

[0118] It should be understood that in some embodiments of the present application, the disclosed apparatus and method may be realized in other ways. The above-described apparatus embodiment is merely one logical functional division, and in actual implementation, there may be other division methods, such as combining multiple units or components, integrating them into another system, or ignoring some features or not performing them. In addition, the coupling or direct coupling or communication connection between each component shown or discussed may be electrical, mechanical, or other forms through some interfaces, indirect couplings or communication connections of devices or units.

[0119] The means described above as separate means may or may not be physically separated, and the means displayed as means may or may not be physically separated, i.e., may be located in one place or distributed across multiple network means, and some or all of the units may be selected according to actual needs to achieve the objectives of this embodiment.

[0120] In addition, the functional units in each embodiment of the present application may all be integrated into a single processing unit, or each unit may stand alone as a single unit, or two or more units may be integrated into a single unit, and the above integrated unit may be realized in the form of hardware or in the form of a hardware plus software functional unit.

[0121] Those skilled in the art will appreciate that all or some of the steps for realizing the above-mentioned method embodiments can be performed by hardware associated with program instructions stored in a computer-readable storage medium, which when executed performs the steps comprising the above-mentioned method embodiments, and the aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

[0122] Alternatively, the integrated units described above in the present application may be realized as software functional modules and stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the essential or prior art technical aspects of the embodiments of the present application stored in a storage medium including some instructions for executing all or part of the methods described in each embodiment of the present application may be embodied in the form of a software product executed by one computer device (such as a personal computer, a server, or a network device). The aforementioned storage medium includes various media capable of storing program code, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.

[0123] The above are merely specific examples of the present application, but the scope of protection of the present application is not limited thereto, and within the technical scope disclosed in the present application, those skilled in the art can easily think of modifications and replacements, all of which should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be in accordance with the scope of protection of the claims.

Claims

1. A switching processing method, comprising: sending a domain name system (DNS) resolution request message carrying the first information to the edge scheduling node when the user equipment determines that the user equipment currently satisfies the preset condition; receiving a DNS resolution response message from the edge scheduling node; The first information includes user identifier information, application identifier information, and service continuity demand information; The DNS resolution response message includes updated address information of the second edge application server.

2. The method further comprises: The method includes: determining, when the user equipment receives user plane function (UPF) switching information sent from a first edge application server before the update, that a currently preset condition is satisfied; Here, the UPF switching information is transmitted after the first edge application server receives a notification message from an SMF, and the notification message indicates that a switch occurs to the UPF accessed by the user equipment. The method of claim 1.

3. The method further comprises: The user equipment obtains a connection state parameter between the user equipment and a first edge application server; determining that a current preset condition is satisfied when the connection status parameter reaches a preset threshold. The method of claim 1.

4. The user identifier information is added to an extension field of the DNS analysis request message. The method of claim 1.

5. A switching processing method, comprising: The edge scheduling node receives a DNS resolution request message from a user equipment, the first information including user identifier information, application identifier information, and service continuity demand information; A switching processing method comprising: reselecting a second edge application server for the user equipment based on the service continuity demand information and the user identifier information; and sending a DNS analysis response message to the user equipment, the DNS analysis response message including address information of the second edge application server.

6. The method further comprises: The edge scheduling node transmits a synchronization command to each of the first edge application server and the second edge application server; the first edge application server is an edge application server before the update; The synchronization command includes user identifier information, application identifier information, and service continuity demand information; The synchronization command is used by the first edge application server to synchronize service data corresponding to the user identifier information with the second edge application server. The method according to claim 5.

7. The method further comprises: The edge scheduling node includes storing a domain name resolution record; The domain name resolution record includes at least a plurality of pairs of mapping relationships between user identifier information and address information of edge application servers. The method according to claim 6.

8. Before the edge scheduling node sends a synchronization command to each of the first edge application server and the second edge application server, the method further comprises: The edge scheduling node queries the domain name resolution record based on the user identifier information to determine address information of the first edge application server and address information of the second edge application server. The method according to claim 7.

9. The method further comprises: The edge scheduling node sends a notification message to an SMF via a Network Opening Function (NEF) or a Policy Control Function (PCF); The notification message includes the user identifier information and information of the second edge application server, The notification message is for the SMF to set a corresponding offloading rule for a service corresponding to the user identity information. The method according to claim 5.

10. A switching processing device, The apparatus includes a first determining unit and a first communication unit; The first determination unit is configured to determine whether a current preset condition is satisfied; The first communication unit is configured to send a domain name system (DNS) resolution request message carrying first information to an edge scheduling node when the first determination unit determines that a current preset condition is satisfied; The first information includes user identifier information, application identifier information, and service continuity demand information; The first communication unit is further configured to receive a DNS resolution response message from the edge scheduling node; The DNS analysis response message includes updated address information of the second edge application server.

11. The first determination unit is configured to determine that the first communication unit currently satisfies a preset condition when the first communication unit receives UPF switching information sent from a first edge application server before the update; Here, the UPF switching information is transmitted after the first edge application server receives a notification message from the SMF, and the notification message indicates that a switch occurs to a UPF accessed by a user equipment located therein; Or, The first determining unit is configured to obtain a connection state parameter between the first edge application server and the first edge application server, and determine that a current preset condition is satisfied when the connection state parameter reaches a preset threshold.

11. The apparatus of claim 10.

12. A switching processing device, The apparatus includes a second communication unit and a selection unit; The second communication unit is configured to receive a DNS resolution request message from a user equipment, the DNS resolution request message being accompanied by first information; The first information includes user identifier information, application identifier information, and service continuity demand information; The selection unit is configured to reselect a second edge application server for the user equipment based on the service continuity demand information and the user identifier information; The second communication unit is further configured to send a DNS resolution response message to the user equipment, the DNS resolution response message carrying address information of the second edge application server; The second communication unit is further configured to send a notification message to an SMF via an NEF or a PCF; The notification message includes the user identifier information and information of the second edge application server, The notification message is for the SMF to set a corresponding offloading rule for a service corresponding to the user identifier information.

13. The second communication unit is further configured to send a synchronization command to each of the first edge application server and the second edge application server; the first edge application server is an edge application server before the update; The synchronization command includes user identifier information, application identifier information, and service continuity demand information; the synchronization command is used by the first edge application server to synchronize service data corresponding to the user identifier information with the second edge application server; The apparatus further includes a storage unit configured to store the domain name resolution record; The domain name resolution record includes at least a plurality of pairs of mapping relationships between user identifier information and address information of edge application servers; The apparatus further includes a second determining unit; The second determination unit is configured to query the domain name resolution record based on the user identifier information before the second communication unit sends a synchronization command to each of the first edge application server and the second edge application server, and determine address information of the first edge application server and address information of the second edge application server.

13. The apparatus of claim 12.

14. A computer-readable storage medium having a computer program stored thereon, A computer-readable storage medium, the computer program being adapted to implement the steps of the method according to any one of claims 1 to 4 when executed by a processor.

15. A computer-readable storage medium having a computer program stored thereon, A computer readable storage medium, the computer program being adapted to implement the steps of the method according to any one of claims 5 to 9 when executed by a processor.

16. A communications device including a memory, a processor, and a computer program stored in the memory and executable by the processor, A communications device, which, when said processor executes said computer program, implements the steps of the method according to any one of claims 1 to 4.

17. A communications device including a memory, a processor, and a computer program stored in the memory and executable by the processor, comprising: A communications device which, when said processor executes said computer program, implements the steps of the method according to any one of claims 5 to 9.