A switching processing method, device and communication equipment
By sending DNS resolution requests carrying user identification information and business continuity requirements when the user equipment moves, the edge scheduling node reselects the edge application server and ensures business continuity through synchronous instructions, solving the business interruption caused by the switching of edge service nodes. Problem, seamless business transfer and diversion rules configuration is achieved.
Patent Information
- Application Number
- CN202011309650.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-20
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2040-11-20
AI Technical Summary
When user equipment is moved, there is currently no effective solution to how to switch edge service nodes to avoid business interruption caused by mobility.
When the client meets the preset conditions, it sends a DNS resolution request message carrying user identification information, application identification information and business continuity requirements information to the edge scheduling node. The edge scheduling node reselects a new edge application server based on this information and passes the Synchronous instructions ensure smooth transfer of business data.
The seamless switching of edge application servers is realized, which avoids business interruptions and meets the business continuity needs. By defining the synchronization between the relevant information of edge application server switching and SMF, the configuration of relevant shunt rules is realized.
Smart Images

Figure CN114598741B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of edge computing, and in particular to a switching processing method, device and communication equipment. Background Art
[0002] With the development of edge computing, the number of edge service nodes has increased, and the same service may be deployed on multiple service nodes, so there is a problem of selecting the optimal edge service node. The edge computing scheduling center is deployed globally. When the edge computing scheduling center receives a user's service request, it can select an edge service node according to the corresponding scheduling strategy and return the domain name resolution result.
[0003] However, when the user equipment moves, there is currently no effective solution to the problem of how to switch the edge service node to avoid service interruption caused by mobility. Summary of the invention
[0004] In order to solve the existing technical problems, the embodiments of the present invention provide a switching processing method, device and communication equipment.
[0005] To achieve the above object, the technical solution of the embodiment of the present invention is implemented as follows:
[0006] In a first aspect, an embodiment of the present invention further provides a handover processing method, the method comprising:
[0007] When the application client determines that the preset condition is currently met, it sends a domain name system (DNS) resolution request message carrying first information to the edge scheduling node; the first information includes user identification information, application identification information and business continuity requirement information;
[0008] A DNS resolution response message is received from the edge scheduling node, wherein the DNS resolution response message includes updated address information of the second edge application server.
[0009] In the above scheme, the method further includes:
[0010] When the application client receives the user plane function (UPF, User Plane Function) switching information sent by the first edge application server before the update, it is determined that the preset condition is currently met;
[0011] Among them, the UPF switching information is sent after the first edge application server receives the notification message sent by the SMF; the notification message indicates that the UPF accessed by the user equipment where the application client is located has been switched.
[0012] In the above scheme, the method further includes:
[0013] The application client obtains connection status parameters between the application client and the first edge application server;
[0014] When the connection status parameter reaches a preset threshold, it is determined that the preset condition is currently met.
[0015] In the above scheme, the method also includes: when the application client obtains UPF switching information from the user equipment where it is located, it determines that the preset condition is currently met.
[0016] In the above solution, the extension field in the DNS resolution request message carries the user identification information.
[0017] In a second aspect, an embodiment of the present invention further provides a handover processing method, the method comprising:
[0018] The edge scheduling node receives a DNS resolution request message from an application client; the DNS resolution request message carries first information; the first information includes user identification information, application identification information and business continuity requirement information;
[0019] A second edge application server is reselected for the application client based on the business continuity requirement information and the user identification information, and a DNS resolution response message carrying the address information of the second edge application server is sent to the application client.
[0020] In the above scheme, the method also includes: the edge scheduling node sends synchronization instructions to the first edge application server and the second edge application server respectively; the first edge application server is the edge application server before the update; the synchronization instruction includes: user identification information, application identification information and business continuity requirement information; the synchronization instruction is used by the first edge application server to synchronize the business data corresponding to the user identification information to the second edge application server.
[0021] In the above solution, the method further includes: the edge scheduling node stores a domain name resolution record; the domain name resolution record at least includes a mapping relationship between multiple groups of user identification information and address information of the edge application server.
[0022] In the above solution, before the edge scheduling node sends synchronization instructions to the first edge application server and the second edge application server respectively, the method further includes:
[0023] The edge scheduling node queries the domain name resolution record based on the user identification information to determine the address information of the first edge application server and the address information of the second edge application server.
[0024] In the above scheme, the method also includes: the edge scheduling node sends a notification message to the SMF through a network exposure function (NEF, Network Exposure Function) or a policy control function (PCF, Policy Control Function); the notification message includes the user identification information and information of the second edge application server; the notification message is used by the SMF to configure corresponding diversion rules for the service corresponding to the user identification information.
[0025] In a third aspect, an embodiment of the present invention further provides a switching processing device, the device comprising: a first determining unit and a first communication unit; wherein,
[0026] The first determination unit is used to determine whether the unit meets a preset condition;
[0027] The first communication unit is used to send a DNS resolution request message carrying first information to the edge scheduling node when the first determination unit determines that a preset condition is currently met; the first information includes user identification information, application identification information and business continuity requirement information; and is also used to receive a DNS resolution response message from the edge scheduling node, the DNS resolution response message including the updated address information of the second edge application server.
[0028] In the above scheme, the first determining unit is used to determine that the preset condition is currently satisfied when the first communication unit receives the UPF switching information sent by the first edge application server before the update;
[0029] Among them, the UPF switching information is sent after the first edge application server receives the notification message sent by the SMF; the notification message indicates that the UPF accessed by the user equipment where the application client is located has been switched.
[0030] In the above solution, the first determining unit is used to obtain a connection status parameter with the first edge application server; when the connection status parameter reaches a preset threshold, it is determined that the preset condition is currently met.
[0031] In the above scheme, the first determination unit is used to determine whether a preset condition is currently met when obtaining UPF switching information from the user equipment.
[0032] In the above solution, the extension field in the DNS resolution request message carries the user identification information.
[0033] In a fourth aspect, an embodiment of the present invention further provides a switching processing device, the device comprising: a second communication unit and a selection unit; wherein,
[0034] The second communication unit is used to receive a DNS resolution request message from an application client; the DNS resolution request message carries first information; the first information includes user identification information, application identification information and business continuity requirement information;
[0035] The selection unit is configured to reselect a second edge application server for the application client based on the business continuity requirement information and the user identification information;
[0036] 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 application client.
[0037] In the above scheme, the second communication unit is also used to send synchronization instructions to the first edge application server and the second edge application server respectively; the first edge application server is the edge application server before the update; the synchronization instruction includes: user identification information, application identification information and business continuity requirement information; the synchronization instruction is used by the first edge application server to synchronize the business data corresponding to the user identification information to the second edge application server.
[0038] In the above solution, the device further includes a storage unit for storing domain name resolution records; the domain name resolution records at least include mapping relationships between multiple groups of user identification information and address information of edge application servers.
[0039] In the above scheme, the device also includes a second determination unit, which is used to query the domain name resolution record based on the user identification information to determine the address information of the first edge application server and the address information of the second edge application server before the second communication unit sends synchronization instructions to the first edge application server and the second edge application server respectively.
[0040] In the above scheme, the second communication unit is also used to send a notification message to SMF through NEF or PCF; the notification message includes the user identification information and information of the second edge application server; the notification message is used by the SMF to configure corresponding diversion rules for the service corresponding to the user identification information.
[0041] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the switching processing method described in the first aspect or the second aspect of the embodiment of the present invention.
[0042] In the sixth aspect, an embodiment of the present invention further provides a communication device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the switching processing method described in the first aspect or the second aspect of the embodiment of the present invention are implemented.
[0043] The switching processing method, device and communication equipment provided by the embodiment of the present invention, when the application client determines that the preset conditions are currently met, sends a DNS resolution request message carrying the first information to the edge scheduling node; the first information includes user identification information, application identification information and business continuity requirement information; the edge scheduling node reselects the second edge application server for the application client based on the business continuity requirement information and the user identification information, and sends a DNS resolution response message carrying the address information of the second edge application server to the application client. The technical solution of the embodiment of the present invention is adopted. On the one hand, the application client is triggered to send a DNS resolution request message by meeting the preset conditions, and the edge scheduling node reselects a new edge application server for the application client based on the DNS resolution request message, thereby solving the problem of triggering the switching of the edge application server. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 The handover processing method of the present invention is shown in FIG. Figure 1 ;
[0045] Figure 2 A schematic diagram of a DNS extension field in a handover processing method according to an embodiment of the present invention;
[0046] Figure 3 A method for determining that an application client meets a preset condition in a switching processing method according to an embodiment of the present invention Figure 1 ;
[0047] Figure 4 A method for determining that an application client meets a preset condition in a switching processing method according to an embodiment of the present invention Figure 2 ;
[0048] Figure 5 The handover processing method of the present invention is shown in FIG. Figure 2 ;
[0049] Figure 6 A schematic diagram of an interactive process of a handover processing method according to an embodiment of the present invention;
[0050] Figure 7 The structure diagram of the switching processing device according to the embodiment of the present invention is as follows: Figure 1 ;
[0051] Figure 8The structure diagram of the switching processing device according to the embodiment of the present invention is as follows: Figure 2 ;
[0052] Fig. 9 The figure is a schematic diagram of the hardware structure of the communication device according to the embodiment of the present invention. DETAILED DESCRIPTION
[0053] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0054] An embodiment of the present invention provides a handover processing method. Figure 1 The handover processing method of the present invention is shown in FIG. Figure 1 ;like Figure 1 As shown, the method includes:
[0055] Step 101: When the application client determines that the preset condition is currently met, the application client sends a DNS resolution request message carrying first information to the edge scheduling node; the first information includes user identification information, application identification information and business continuity requirement information;
[0056] 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.
[0057] The application client of this embodiment is a client corresponding to the application set or installed in a user equipment (UE) when the user equipment accesses the application deployed on the edge side through a mobile network.
[0058] In this embodiment, before the application client sends the DNS resolution request message carrying the first information to the edge scheduling node, the application client has established a connection with the edge application server (referred to as the first edge application server) deployed on the edge side through the user device and the mobile network, and uses the service through the application function provided by the first edge application server. In the process of establishing a connection between the application client and the first edge application server, the application client sends a DNS resolution request message; in some embodiments, the information carried in the DNS resolution request message does not include business continuity requirement information. Optionally, during the movement of the user device where the application client is located, it is likely that the UPF connected to the user device has been switched or the network status between the user device and the first edge application server is not good. Based on this, in this embodiment, the application client resends the DNS resolution request message. Compared with the previously initiated DNS resolution request message, the re-initiated DNS resolution request message carries the first information including the business continuity requirement information. The business continuity requirement information can be used to indicate that the edge application server is to be switched, or to indicate the switching of the edge application server.
[0059] Optionally, the business continuity requirement information may be indicated by a specific field in the DNS resolution request message. As an implementation, if a specific field in the DNS resolution request message is filled with a numerical value, it may indicate that business continuity requirement information is carried; if a specific field in the DNS resolution request message is not filled with a numerical value, it may indicate that business continuity requirement information is not carried. As another implementation, if a specific field in the DNS resolution request message is filled with a first set numerical value, it may indicate that business continuity requirement information is carried; if a specific field in the DNS resolution request message is filled with a second specific numerical value, it may indicate that business continuity requirement information is not carried; illustratively, the first set numerical value may be "1" and the second set numerical value may be "0". Of course, the examples of the set numerical values (including the first set numerical value and the second set numerical value) in this embodiment are not limited to those shown above, and are not limited to this in this embodiment.
[0060] In some optional embodiments of the present invention, the extension field in the DNS resolution request message carries the user identification information. Exemplarily, the user identification information may be address information of a user equipment, such as UE IP.
[0061] In this embodiment, the user equipment and each network device support the DNS extension mechanism (EDNS0). Figure 2 The extended field shown carries the user identification information in the first information; illustratively, it can be Figure 2The option code (OPTION-CODE) field shown in carries the user identification information.
[0062] In this embodiment, the application client can determine whether the preset condition is currently met in the following multiple ways.
[0063] As an optional embodiment, the method also includes: when the application client receives the UPF switching information sent by the first edge application server before the update, determining that the preset condition is currently met; wherein the UPF switching information is sent after the first edge application server receives the notification message sent by the SMF; the notification message indicates that the UPF accessed by the user device where the application client is located has switched.
[0064] In this embodiment, the first edge application server obtains UPF switching information by subscribing to the user plane event management capability. Therefore, after the SMF learns that the UPF connected to the user equipment has switched, the SMF sends the UPF switching information to the first edge application server based on the subscription of the first edge application server. That is, the first edge application server can obtain the UPF switching information sent by the SMF.
[0065] For example, Figure 3 A method for determining that an application client meets a preset condition in a switching processing method according to an embodiment of the present invention Figure 1 ;like Figure 3 As shown, the method may include:
[0066] Step 11: After establishing a session with the application client, the first edge application server sends a subscription request message to NEF; the message is used to subscribe to user plane event management; after receiving the message, NEF sends a subscription message to SMF; SMF feeds back a response message to the first edge application server, indicating that the subscription is successful.
[0067] Exemplarily, the subscription message may include: relevant information of the UE where the application client is located and relevant information of the first edge application server, so that when the SMF determines that the UPF accessed by the UE is switched, it can send a notification message to the first edge application server.
[0068] The relevant information of the UE may be user identification information or UE IP address information, etc. Optionally, the subscription message may also include a subscription duration, which may indicate the effective duration of this subscription. It can be understood that if the subscription duration is invalid, even if the SMF determines that the UPF accessed by the UE is switched, it will not send a notification message to the first edge application server.
[0069] Step 12: After the SMF learns that the UPF connected to the UE has switched, it sends a notification message to the first edge application server, where the notification message carries the UPF switching information.
[0070] Exemplarily, the UPF switching information may include: relevant information of the switched UPF. For example, the relevant information of the switched UPF may include information such as the switched UPF identifier or address.
[0071] Step 13: The first edge application server sends UPF switching information to the application client.
[0072] Step 14: The application client sends a DNS resolution request message to the edge scheduling node, and the DNS resolution request message carries the above-mentioned first information; the first information includes user identification information, application identification information and business continuity requirement information.
[0073] The application identification information may be used to uniquely identify an application, and different applications may correspond to different application identification information.
[0074] As another optional embodiment, the method further includes: the application client obtains a connection status parameter between the application client and the first edge application server; when the connection status parameter reaches a preset threshold, determining that a preset condition is currently satisfied.
[0075] In this embodiment, the application client may decide whether to re-initiate the DNS resolution request message by monitoring the connection status between the application client and the first edge application server.
[0076] For example, Figure 4 A method for determining that an application client meets a preset condition in a switching processing method according to an embodiment of the present invention Figure 2 ;like Figure 4 As shown, the method may include:
[0077] Step 21: After establishing a session with the first edge application server, the application client monitors the session connection status.
[0078] The session connection parameters monitored by the application client include but are not limited to at least one of the following: latency, uplink / downlink rate, packet loss rate, etc.
[0079] Step 22: When the application client detects 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 carries the above-mentioned first information; the first information includes user identification information, application identification information and business continuity requirement information.
[0080] For example, when the monitored delay is greater than the first preset threshold, the application client re-initiates the DNS resolution request message. For another example, when the monitored uplink / downlink rate is less than the second preset threshold, the application client re-initiates the DNS resolution request message.
[0081] The technical solution of this embodiment is not limited to the scenario where the UE moves, and can be applied to the following scenarios:
[0082] Scenario 1: UE mobility causes the connection status with the original server to deteriorate, such as excessive latency. After the application client detects that the session connection status has deteriorated, it re-initiates a DNS resolution request message;
[0083] Scenario 2: The UE does not move, but the performance of the first edge application server deteriorates, causing the session connection status to deteriorate, such as increased latency. After the application client detects the deterioration of the session status, it re-initiates a DNS resolution request message.
[0084] As another optional embodiment, the method further includes: when the application client obtains UPF switching information from the user equipment where it is located, determining that a preset condition is currently met.
[0085] In this embodiment, when the UPF accessed by the UE is switched, the UE can obtain relevant information of the switched UPF. Based on this, the application client can obtain the UPF switching information through the UE.
[0086] In this embodiment, after obtaining the DNS resolution request message from the application client, the edge scheduling node allocates a new edge application server (i.e., the second edge application server) to the application client, and carries the address information of the second edge application server through the DNS resolution response message; after the application client receives the DNS resolution response message, it initiates a connection to the second edge application server based on the address information of the second edge application server carried therein.
[0087] Based on the above embodiments, an embodiment of the present invention further provides a switching processing method. Figure 5 The handover processing method of the present invention is shown in FIG. Figure 2 ;like Figure 5 As shown, the method includes:
[0088] Step 201: The edge scheduling node receives a DNS resolution request message from an application client; the DNS resolution request message carries first information; the first information includes user identification information, application identification information and business continuity requirement information;
[0089] Step 202: reselect a second edge application server for the application client based on the business continuity requirement information and the user identification information, and send a DNS resolution response message carrying the address information of the second edge application server to the application client.
[0090] In this embodiment, the edge scheduling node is a functional entity having edge scheduling and related functions. Exemplarily, the edge scheduling node can be an edge scheduling device or edge scheduling center in the form of an independent device or server, or can be co-located with other functional entities.
[0091] In this embodiment, the DNS resolution request message can be sent by the user device where the application client is located, and arrive at the edge scheduling node via the UPF and the local DNS device. Among them, each device needs to support the DNS extension mechanism, and carry the user identification information through the extension field in the DNS resolution request message.
[0092] Exemplarily, the DNS resolution request message sent by the application client carries user identification information, application identification information and business continuity requirement information, wherein the user identification information is carried through the extended field; after the message reaches the UPF, the UPF fills in the address information of the UPF (e.g., UPF IP) in the DNS resolution request message and sends it to the local DNS device; after the message reaches the local DNS device, the local DNS device fills in the address information of the local DNS device (e.g., the IP of the local DNS device) in the message and sends it to the edge scheduling node, and the edge scheduling node obtains the DNS resolution request message, from which the above information, the address of the UPF, the address information of the local DNS device and other information can be obtained. In the conventional technical solution, the DNS resolution request does not contain user identification information, that is, the edge scheduling node cannot obtain the user identification information, and can only obtain the relevant information of the UPF.
[0093] In this embodiment, after receiving the DNS resolution request message, the edge scheduling node can determine that the edge application server accessed by the application client needs to be switched based on the business continuity requirement information carried in the DNS resolution request message, and then reselect a new edge application server (recorded as the second edge application server) for the application client based on the user identification information, and send the address information of the second edge application server to the application client via a DNS resolution response message.
[0094] In some optional embodiments, the edge scheduling node may determine the user's location information based on the user identification information, and select a second edge application server for the application client based on the user's location information; the selected second edge application server is the edge application server closest to the user's location information. In other optional embodiments, the edge scheduling node may also determine the location information of the UPF based on the address information of the UPF carried in the DNS resolution request message, and select a second edge application server for the application client based on the location information of the UPF, and the selected second edge application server is the edge application server closest to the location information of the UPF.
[0095] In some optional embodiments, if the DNS resolution request message received by the edge scheduling node does not include business continuity requirement information, the edge scheduling node can directly schedule the node according to the UPF information in the DNS resolution request message. This embodiment is applicable to the scenario where the application client first accesses the edge application server (for example, first access to the first edge application server).
[0096] In some optional embodiments of the present invention, the method also includes: the edge scheduling node sends synchronization instructions to the first edge application server and the second edge application server respectively; the first edge application server is the edge application server before the update; the synchronization instruction includes: user identification information, application identification information and business continuity requirement information; the synchronization instruction is used by the first edge application server to synchronize the business data corresponding to the user identification information to the second edge application server.
[0097] In this embodiment, in order to ensure the business continuity after the edge application server is switched, the edge scheduling node sends a synchronization instruction to the first edge application server before the switch and the second edge application server after the switch, respectively. The synchronization instruction includes: user identification information, application identification information and business continuity requirement information; optionally, the synchronization instruction may also include authentication information. The synchronization instruction 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 identification information.
[0098] In some optional embodiments of the present invention, the method further includes: the edge scheduling node storing a domain name resolution record; the domain name resolution record at least includes a mapping relationship between multiple groups of user identification information and address information of the edge application server.
[0099] In this embodiment, after receiving each DNS resolution request message, the edge scheduling node stores the domain name resolution record according to the DNS resolution request message and the relevant information of the application server selected for the corresponding application client. Exemplarily, the example of the domain name resolution record can be referred to as shown in Table 1 below, which includes the user identification (corresponding to the user identification information), the source IP (the address information of the UPF through which the message passes), the local DNS IP (the address information of the local DNS device through which the message passes), the domain name information, and the address information of the edge application server, etc.
[0100] Table 1
[0101]
[0102] In some optional embodiments of the present invention, before the edge scheduling node sends synchronization instructions to the first edge application server and the second edge application server respectively, the method also includes: the edge scheduling node queries the domain name resolution record based on the user identification information to determine the address information of the first edge application server and the address information of the second edge application server.
[0103] Through the records shown in Table 1, for example, after the edge scheduling node receives the DNS resolution request message, if the DNS resolution request message carries business continuity requirement information, the edge scheduling node can obtain the address information of the corresponding edge application server by looking up the domain name resolution record. For example, corresponding to the same user identification information UE1 IP, corresponding to EAS1IP and EAS2 IP, the edge scheduling node sends synchronization instructions to EAS1 IP and EAS2 IP respectively.
[0104] Optionally, if the application client ends the current service, the edge scheduling node deletes the relevant records in the domain name resolution record. As an example, if the application client switches from the first edge application server to the second edge application server and completes the switch, the edge scheduling node deletes the domain name resolution record related to the first edge application server. As another example, the edge scheduling node may also delete all domain name resolution records corresponding to the user information identifier after the application client ends access to the edge application server.
[0105] In some optional embodiments of the present invention, the method also includes: the edge scheduling node sends a notification message to the SMF through the NEF or PCF; the notification message includes the user identification information and information of the second edge application server; the notification message is used by the SMF to configure corresponding diversion rules for the service corresponding to the user identification information.
[0106] In this embodiment, the edge scheduling node sends a notification message to the SMF through the NEF or PCF. The notification message carries user identification information, information of the second edge application server after switching, etc., informing the SMF that the user is assigned or switched to the second edge application server. The SMF further configures corresponding diversion 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).
[0107] By adopting the technical solution of the embodiment of the present invention, on the first hand, by satisfying preset conditions to trigger the application client to send a DNS resolution request message, the edge scheduling node reselects a new edge application server for the application client based on the DNS resolution request message, thereby solving the problem of triggering edge application server switching; on the other hand, by carrying user identification information, application identification information and business continuity requirement information in the DNS resolution request message, the edge scheduling node sends a synchronization instruction to the first edge application server and the second edge application server before the switching is completed to complete data synchronization, thereby ensuring that the business is not interrupted and meeting the business continuity requirements; on the third hand, by defining the signal interface between the edge scheduling node and the core network, the synchronization between the relevant information of the edge application server switching and the SMF is realized, and the configuration of the relevant diversion rules is realized.
[0108] The handover processing method according to the embodiment of the present invention is described below with reference to specific examples.
[0109] Figure 6 FIG. 1 is a schematic diagram of an interactive flow of a handover processing method according to an embodiment of the present invention; Figure 6 As shown, the method includes:
[0110] Step 31 to step 33: the application client sends a DNS resolution request message to UPF2, and the DNS resolution request carries the first information, the first information includes user identification information, application identification information and business continuity requirement information; UPF2 sends a DNS resolution request message to the local DNS, and the DNS resolution request message includes the above first information and the address information of UPF2; the local DNS sends a DNS resolution request message to the edge scheduling node, and the DNS resolution request message includes the above first information, the address information of UPF2 and the address information of the local DNS.
[0111] It should be noted that, in this embodiment, steps 31 to 33 are based on the establishment of a session between the application client and EAS1, and the application client has determined that the preset condition is currently met, and the preset condition is that the UPF to which the UE where the application client is located is connected has been switched from UPF1 to UPF2. The specific implementation method of the application client determining that the preset condition is currently met can refer to the above embodiment, and will not be repeated here.
[0112] Step 34: The edge scheduling node selects EAS2 for the application client.
[0113] Here, the edge scheduling node may determine the user's location information based on the user identification information, and select EAS2 for the application client based on the user's location information; the selected second edge application server is the edge application server closest to the user's location information.
[0114] Among them, EAS1 corresponds to the first edge application server in the above embodiment; EAS2 corresponds to the second edge application server in the above embodiment.
[0115] Step 35a to step 35b: the edge scheduling node sends synchronization instructions to EAS1 and EAS2 respectively, and the synchronization instructions carry user identification information and application identification information.
[0116] Step 36: Synchronize service data between EAS1 and EAS2.
[0117] Step 37 to step 38: the edge scheduling node sends a notification message to the SMF, the notification message carries the information of EAS2; the SMF configures the diversion rules.
[0118] Here, the edge scheduling node can send a notification message to SMF through NEF or PCF, and the notification message carries the information of EAS2; optionally, the notification message may also carry user identification information to inform SMF that the user is assigned or switched to EAS2, and SMF further configures corresponding diversion rules for the UPF or service accessed by the user.
[0119] The embodiment of the present invention also provides a switching processing device. Figure 7 The structure diagram of the switching processing device according to the embodiment of the present invention is as follows: Figure 1 ;like Figure 7 As shown, the device includes: a first determination unit 41 and a first communication unit 42; wherein,
[0120] The first determination unit 41 is used to determine whether the unit meets a preset condition;
[0121] The first communication unit 42 is used to send a domain name system DNS resolution request message carrying first information to the edge scheduling node when the first determination unit 41 determines that the preset condition is currently met; the first information includes user identification information, application identification information and business continuity requirement information; and is also used to receive a DNS resolution response message from the edge scheduling node, and the DNS resolution response message includes the updated address information of the second edge application server.
[0122] In some optional embodiments of the present invention, the first determination unit 41 is used to determine that a preset condition is currently met when the first communication unit 42 receives UPF switching information sent by the first edge application server before updating; wherein the UPF switching information is sent after the first edge application server receives the notification message sent by the SMF; the notification message indicates that the UPF accessed by the user device where the application client is located has switched.
[0123] In some optional embodiments of the present invention, the first determining unit 41 is used to obtain a connection state parameter with the first edge application server; when the connection state parameter reaches a preset threshold, it is determined that a preset condition is currently satisfied.
[0124] In some optional embodiments of the present invention, the first determining unit 41 is used to determine whether a preset condition is currently satisfied when obtaining UPF switching information from the user equipment.
[0125] In some optional embodiments of the present invention, the extension field in the DNS resolution request message carries the user identification information.
[0126] In an embodiment of the present invention, the first determination unit 41 in the device can be implemented by a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or a programmable gate array (FPGA) in actual applications; the first communication unit 42 in the device can be implemented by a communication module (including: basic communication kit, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna in actual applications.
[0127] The embodiment of the present invention also provides a switching processing device. Figure 8 The structure diagram of the switching processing device according to the embodiment of the present invention is as follows: Figure 2 ;like Figure 8 As shown, the device comprises: a second communication unit 51 and a selection unit 52; wherein,
[0128] The second communication unit 51 is used to receive a DNS resolution request message from an application client; the DNS resolution request message carries first information; the first information includes user identification information, application identification information and business continuity requirement information;
[0129] The selection unit 52 is used to reselect a second edge application server for the application client based on the business continuity requirement information and the user identification information;
[0130] The second communication unit 51 is further configured to send a DNS resolution response message carrying address information of the second edge application server to the application client.
[0131] In some optional embodiments of the present invention, the second communication unit 51 is also used to send synchronization instructions to the first edge application server and the second edge application server respectively; the first edge application server is the edge application server before the update; the synchronization instruction includes: user identification information, application identification information and business continuity requirement information; the synchronization instruction is used for the first edge application server to synchronize the business data corresponding to the user identification information to the second edge application server.
[0132] In some optional embodiments of the present invention, the device further includes a storage unit for storing domain name resolution records; the domain name resolution records at least include mapping relationships between multiple groups of user identification information and address information of edge application servers.
[0133] In some optional embodiments of the present invention, the device also includes a second determination unit, which is used to query the domain name resolution record based on the user identification information to determine the address information of the first edge application server and the address information of the second edge application server before the second communication unit 51 sends synchronization instructions to the first edge application server and the second edge application server respectively.
[0134] In some optional embodiments of the present invention, the second communication unit 51 is also used to send a notification message to SMF through NEF or PCF; the notification message includes the user identification information and information of the second edge application server; the notification message is used by the SMF to configure corresponding diversion rules for the service corresponding to the user identification information.
[0135] In an embodiment of the present invention, the second determination unit and the selection unit 52 in the device can be implemented by a CPU, a DSP, an MCU or an FPGA in actual applications; the storage unit in the device can be implemented by a memory in actual applications; the second communication unit 51 in the device can be implemented by a communication module (including: a basic communication kit, an operating system, a communication module, a standardized interface and protocol, etc.) and a transceiver antenna in actual applications.
[0136] It should be noted that: the switching processing device provided in the above embodiment only uses the division of the above program modules as an example when performing switching processing. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the switching processing device provided in the above embodiment and the switching processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0137] An embodiment of the present invention further provides a communication device, which may be an edge scheduling node or a user equipment provided with an application client. Fig. 9 FIG. 1 is a schematic diagram of the hardware structure of a communication device according to an embodiment of the present invention. Fig. 9 As shown, the communication device includes a memory 62, a processor 61, and a computer program stored in the memory 62 and executable on the processor 61. When the processor 61 executes the program, the steps of the above-mentioned switching processing method of the embodiment of the present invention applied to the application client or edge scheduling node are implemented.
[0138] Optionally, the communication device further includes a network interface 63. The various components in the communication device are coupled together via a bus system 64. It is understood that the bus system 64 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 64 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 64.
[0139] It can be understood that the memory 62 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can 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 magnetic 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 can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 62 described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0140] The method disclosed in the above embodiment of the present invention can be applied to the processor 61, or implemented by the processor 61. The processor 61 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 61 or the instruction in the form of software. The above processor 61 can be a general processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 61 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be combined to execute. The software module can be located in a storage medium, which is located in the memory 62. The processor 61 reads the information in the memory 62 and completes the steps of the above method in combination with its hardware.
[0141] In an exemplary embodiment, the communication device may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), FPGA, general purpose processor, controller, MCU, microprocessor, or other electronic components to execute the aforementioned method.
[0142] In an exemplary embodiment, the present invention also provides a computer-readable storage medium, such as a memory 62 including a computer program, and the computer program can be executed by a processor 61 of a communication device to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; or it can be various devices including one or any combination of the above memories.
[0143] The computer-readable storage medium provided by the embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, the steps of the above-mentioned switching processing method applied to the application client or edge scheduling node by the embodiment of the present invention are implemented.
[0144] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0145] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0146] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0147] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0148] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0149] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0150] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0151] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0152] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A handover processing method, characterized in that: The method comprises: When the application client determines that the preset condition is currently met, the application client sends a domain name system DNS resolution request message carrying first information to the edge scheduling node; the first information includes user identification information, application identification information and business continuity requirement information; the preset condition is currently met based on the acquired user plane function UPF switching information or the connection state parameter between the application client and the first edge application server before the update; A DNS resolution response message is received from the edge scheduling node, wherein the DNS resolution response message includes updated address information of the second edge application server.
2. The method according to claim 1, characterized in that The method further comprises: When the application client receives the user plane function UPF switching information sent by the first edge application server, it is determined that the preset condition is currently met; Among them, the UPF switching information is sent after the first edge application server receives the notification message sent by the SMF; the notification message indicates that the UPF accessed by the user equipment where the application client is located has been switched.
3. The method according to claim 1, characterized in that The method further comprises: The application client obtains connection status parameters between the application client and the first edge application server; When the connection status parameter reaches a preset threshold, it is determined that the preset condition is currently met.
4. The method according to claim 1, characterized in that: The method further comprises: When the application client obtains UPF switching information from the user equipment where it is located, it determines that the preset condition is currently met.
5. The method according to claim 1, characterized in that The extension field in the DNS resolution request message carries the user identification information.
6. A switching processing method, characterized in that: The method comprises: The edge scheduling node receives a DNS resolution request message from an application client; the DNS resolution request message carries first information; the first information includes user identification information, application identification information and business continuity requirement information; reselecting a second edge application server for the application client based on the business continuity requirement information and the user identification information, and sending a DNS resolution response message carrying the address information of the second edge application server to the application client; The edge scheduling node sends synchronization instructions to the first edge application server and the second edge application server respectively; wherein the first edge application server is the edge application server before the update, and the synchronization instruction is used by the first edge application server to synchronize the business data corresponding to the user identification information to the second edge application server.
7. The method according to claim 6, characterized in that The synchronization instruction includes: user identification information, application identification information and business continuity requirement information.
8. The method according to claim 7, characterized in that The method further comprises: The edge scheduling node stores domain name resolution records; the domain name resolution records at least include mapping relationships between multiple groups of user identification information and address information of edge application servers.
9. The method according to claim 8, characterized in that Before the edge scheduling node sends synchronization instructions to the first edge application server and the second edge application server respectively, the method further includes: The edge scheduling node queries the domain name resolution record based on the user identification information to determine the address information of the first edge application server and the address information of the second edge application server.
10. The method according to claim 6, characterized in that The method further comprises: The edge scheduling node sends a notification message to the SMF through the network open function NEF or the policy control function PCF; the notification message includes the user identification information and the information of the second edge application server; the notification message is used by the SMF to configure corresponding diversion rules for the service corresponding to the user identification information.
11. A switching processing device, characterized in that: The device comprises: a first determining unit and a first communication unit; wherein, The first determination unit is used to determine whether the unit meets a preset condition; The first communication unit is used to send a domain name system DNS resolution request message carrying first information to the edge scheduling node when the first determination unit determines that the preset condition is currently met; the first information includes user identification information, application identification information and business continuity requirement information; and is also used to receive a DNS resolution response message from the edge scheduling node, and the DNS resolution response message includes the updated address information of the second edge application server; the current preset condition is determined based on the obtained user plane function UPF switching information or the connection status parameters between the application client and the first edge application server before the update.
12. The device according to claim 11, characterized in that The first determining unit is configured to determine that a preset condition is currently satisfied when the first communication unit receives the UPF switching information sent by the first edge application server; Among them, the UPF switching information is sent after the first edge application server receives the notification message sent by the SMF; the notification message indicates that the UPF accessed by the user equipment where the application client is located has been switched.
13. The device according to claim 11, characterized in that The first determining unit is configured to obtain a connection status parameter with the first edge application server; when the connection status parameter reaches a preset threshold, determine that a preset condition is currently satisfied.
14. The device according to claim 11, characterized in that The first determination unit is used to determine whether a preset condition is currently met when obtaining UPF switching information from the user equipment.
15. The device according to claim 11, characterized in that The extension field in the DNS resolution request message carries the user identification information.
16. A switching processing device, characterized in that: The device comprises: a second communication unit and a selection unit; wherein, The second communication unit is used to receive a DNS resolution request message from an application client; the DNS resolution request message carries first information; the first information includes user identification information, application identification information and business continuity requirement information; The selection unit is configured to reselect a second edge application server for the application client based on the business continuity requirement information and the user identification information; The second communication unit is also used to send a DNS resolution response message carrying the address information of the second edge application server to the application client; and is also used to send synchronization instructions to the first edge application server and the second edge application server respectively; wherein the first edge application server is the edge application server before the update, and the synchronization instruction is used by the first edge application server to synchronize the business data corresponding to the user identification information to the second edge application server.
17. The device according to claim 16, characterized in that The synchronization instruction includes: user identification information, application identification information and business continuity requirement information.
18. The device according to claim 17, characterized in that The device also includes a storage unit for storing domain name resolution records; the domain name resolution records at least include mapping relationships between multiple groups of user identification information and address information of edge application servers.
19. The device according to claim 18, characterized in that The device also includes a second determination unit, which is used to query the domain name resolution record based on the user identification information to determine the address information of the first edge application server and the address information of the second edge application server before the second communication unit sends a synchronization instruction to the first edge application server and the second edge application server respectively.
20. The device according to claim 16, characterized in that The second communication unit is also used to send a notification message to the SMF through the NEF or PCF; the notification message includes the user identification information and information of the second edge application server; the notification message is used by the SMF to configure corresponding diversion rules for the service corresponding to the user identification information.
21. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented; or, when the program is executed by a processor, the steps of the method described in any one of claims 6 to 10 are implemented.
22. A communication device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method described in any one of claims 1 to 5 are implemented; or, when the processor executes the program, the steps of the method described in any one of claims 6 to 10 are implemented.
