CN117278602A - Service migration method and device, electronic equipment and storage medium - Google Patents

Service migration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117278602A
CN117278602A CN202311331261.7A CN202311331261A CN117278602A CN 117278602 A CN117278602 A CN 117278602A CN 202311331261 A CN202311331261 A CN 202311331261A CN 117278602 A CN117278602 A CN 117278602A
Authority
CN
China
Prior art keywords
network element
terminal
upf network
upf
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311331261.7A
Other languages
Chinese (zh)
Inventor
黄倩
曹畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311331261.7A priority Critical patent/CN117278602A/en
Publication of CN117278602A publication Critical patent/CN117278602A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a business migration method, a business migration device, electronic equipment and a storage medium, relates to the technical field of communication, and is used for guaranteeing continuity of application services of a terminal. The method comprises the following steps: the SMF network element obtains network time delay between a terminal in a mobile state and a first user plane function UPF network element, wherein the first UPF network element is a UPF network element which is accessed by the terminal at present; the SMF network element sends a first message to the center DNS server under the condition that the network delay is larger than a preset threshold value, wherein the first message is used for requesting to allocate a new UPF network element for the terminal; the SMF network element receives a DNS address corresponding to a second UPF network element sent by a DNS server, wherein the second UPF network element is a new UPF network element distributed by the DNS server for the terminal, and the network time delay between the second UPF network element and the terminal is smaller than or equal to a preset threshold value; the SMF network element sends the DNS address corresponding to the second UPF network element to the first UPF network element, so that the first UPF network element sends the service data of the terminal to the second UPF network element.

Description

Service migration method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a service migration method, a device, an electronic device, and a storage medium.
Background
In a mobile communication network, each communication area has its own specific coverage area. When a user moves from one communication area to another or from one radio access technology to another, the signal of the user terminal may be changed from the original communication area to a new communication area. In order to maintain continuity of user terminal services, an end user plane handover is required.
However, the related technology can cause the terminal application to be disconnected again when the user plane is switched, so that the continuity of the application service can be ensured when the user plane is switched for the application in the non-application state or the service with low time delay requirement, but the continuity of the application service cannot be ensured at present for the application in the application state or the service with high time delay requirement.
Disclosure of Invention
The application provides a business migration method, a business migration device, electronic equipment and a storage medium, which are used for guaranteeing continuity of application services of a terminal.
In a first aspect, the present application provides a service migration method applied to a session management function (session management function, SMF) network element, the method comprising:
the SMF network element obtains network time delay between a terminal in a mobile state and a first user plane function (user plane function, UPF) network element, wherein the first UPF network element is a UPF network element which is accessed by the terminal at present; the SMF network element sends a first message to a central domain name system (domain name system, DNS) server under the condition that the network delay is larger than a preset threshold, wherein the first message is used for requesting to allocate a new UPF network element for the terminal; the SMF network element receives a DNS address corresponding to a second UPF network element sent by a central DNS server, wherein the second UPF network element is a new UPF network element distributed by the DNS server for the terminal, and the network time delay between the second UPF network element and the terminal is smaller than or equal to a preset threshold value; the SMF network element sends the DNS address corresponding to the second UPF network element to the first UPF network element, so that the first UPF network element sends the service data of the terminal to the second UPF network element.
The technical scheme provided by the application at least brings the following beneficial effects: according to the method and the device for processing the UPF network element, under the condition that network time delay between the terminal and the current first UPF is large, the address of the new UPF is requested to the central DNS server, and then the first UPF is informed of the obtained address of the second UPF, so that the first UPF can send service data of the terminal to the second UPF network element, and therefore, interruption of application service caused by offline of the terminal during UPF switching can be avoided, and continuity of application service is guaranteed.
As a possible implementation manner, the method further includes: the SMF network element receives a second message sent by the first UPF network element, wherein the second message is used for indicating that the first UPF network element has completed sending the service data of the terminal; the SMF network element receives a third message sent by the second UPF network element, wherein the third message is used for indicating that the second UPF network element has received the service data of the terminal; the SMF network element sends a DNS address corresponding to the second UPF network element to the terminal in response to the second message and the third message, so that the terminal establishes a new protocol data unit (protocol data unit, PDU) session with the second UPF network element.
In a second aspect, the present application provides a service migration method, applied to a first UPF network element, where the method includes: the method comprises the steps that under the condition that network time delay between a terminal in a moving state and a first UPF network element is larger than a preset threshold value, the first UPF network element receives a DNS address corresponding to a second UPF network element sent by an SMF network element; and the first UPF network element sends service data of the terminal to the second UPF based on the DNS address corresponding to the second UPF network element.
As a possible implementation manner, the method further includes: the first UPF network element sends a second message to the SMF network element, wherein the second message is used for indicating that the first UPF network element has completed sending the service data of the terminal.
In a third aspect, the present application provides a service migration method, applied to a second UPF network element, where the method includes: and the second UPF network element receives the service data of the terminal sent by the first UPF network element under the condition that the network time delay between the terminal in the moving state and the first UPF network element is larger than a preset threshold value.
As a possible implementation manner, the method further includes: the second UPF network element sends a third message to the SMF network element, where the third message is used to indicate that the second UPF network element has received service data of the terminal.
In a fourth aspect, the present application provides a service migration apparatus, applied to an SMF network element, where the apparatus includes: the acquisition module is used for acquiring network time delay between the terminal in a mobile state and a first UPF network element, wherein the first UPF network element is a UPF network element to which the terminal is accessed currently; the sending module is used for sending a first message to the center DNS server under the condition that the network time delay is larger than a preset threshold value, wherein the first message is used for requesting to allocate a new UPF network element for the terminal; the receiving module is used for receiving a DNS address corresponding to a second UPF network element sent by the central DNS server, wherein the second UPF network element is a new UPF network element distributed by the DNS server for the terminal, and the network time delay between the second UPF network element and the terminal is smaller than or equal to a preset threshold value; and the sending module is also used for sending the DNS address corresponding to the second UPF network element to the first UPF network element so that the first UPF network element sends the service data of the terminal to the second UPF network element.
As a possible implementation manner, the service migration device further includes a determining module, configured to obtain DNAI corresponding to the terminal, and determine that the terminal moves when DNAI corresponding to the terminal is changed.
As a possible implementation manner, the receiving module is further configured to receive a second message sent by the first UPF network element, where the second message is used to indicate that the first UPF network element has completed sending service data of the terminal; and receiving a third message sent by the second UPF network element, wherein the third message is used for indicating that the second UPF network element has received the service data of the terminal.
As a possible implementation manner, the sending module is further configured to send, in response to the first message and the second message, a DNS address corresponding to the second UPF network element to the terminal, so that the terminal establishes a new PDU session with the second UPF network element.
In a fifth aspect, the present application provides a service migration apparatus, applied to a first UPF network element, where the apparatus includes: the receiving module is used for receiving the DNS address corresponding to the second UPF network element sent by the SMF network element under the condition that the network time delay between the terminal in the moving state and the first UPF network element is larger than a preset threshold value; and the sending module is used for sending the service data of the terminal to the second UPF based on the DNS address corresponding to the second UPF network element.
As a possible implementation manner, the sending module is further configured to send a second message to the SMF network element, where the second message is used to indicate that the first UPF network element has completed sending service data of the terminal.
In a sixth aspect, the present application provides a service migration apparatus, applied to a second UPF network element, where the apparatus includes: and the receiving module is used for receiving the service data of the terminal sent by the first UPF network element under the condition that the network time delay between the terminal in the moving state and the first UPF network element is larger than a preset threshold value.
As a possible implementation manner, the service migration apparatus further includes: and the sending module is used for sending a third message to the SMF network element, wherein the third message is used for indicating that the second UPF network element has received the service data of the terminal.
In a seventh aspect, the present application provides an electronic device comprising a processor and a memory, the processor and the memory coupled; the memory is used to store computer instructions that are loaded and executed by the processor to cause the computer arrangement to implement the service migration method provided in the first to third aspects and any one of their possible implementations.
In an eighth aspect, the present application provides a computer readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the service migration method provided in the first to third aspects and any one of the possible implementations thereof.
The description of the second to eighth aspects in the present application may refer to the detailed description of the first aspect; also, the advantageous effects described in the second aspect to the eighth aspect may refer to the advantageous effect analysis of the first aspect, and will not be described here.
Drawings
FIG. 1 is a schematic diagram of a UPF and resource pool device link in accordance with some embodiments;
FIG. 2 is a schematic diagram of a hardware operating environment according to some embodiments;
FIG. 3 is a flow chart diagram of a method of traffic migration in accordance with some embodiments;
FIG. 4 is a flow chart diagram of a second method of traffic migration according to some embodiments;
FIG. 5 is a flow chart III of a method of traffic migration according to some embodiments;
FIG. 6 is a schematic diagram of a traffic migration scenario according to some embodiments;
FIG. 7 is a flow chart of business migration according to some embodiments;
fig. 8 is a schematic structural diagram of a service migration apparatus according to some embodiments;
fig. 9 is a second schematic structural diagram of a service migration apparatus according to some embodiments;
fig. 10 is a schematic diagram III of a service migration apparatus according to some embodiments;
fig. 11 is a schematic structural diagram of a service migration apparatus according to some embodiments.
Detailed Description
A detailed description of a service migration method provided in the present application will be provided below with reference to the accompanying drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or for distinguishing between different processes of the same object and not for describing a particular sequential order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
As described in the background art, the related art may cause the terminal application to be disconnected and reconnected when the user plane is switched, so that the continuity of the application service can be ensured when the user plane is switched for the application in the non-application state or the service with low delay requirement, but the dynamic migration of the data in the resource pool cannot be solved at present for the application in the application state or the service with high delay requirement, so that the continuity of the application service is ensured.
Referring to fig. 1, a link diagram of a UPF and a resource pool device is shown. As shown in fig. 1, in the related art, the UPF, the matched data communication equipment of the resource pool and the internet link are configured in pairs, so that the link can be protected, and mechanisms such as dynamic migration of the virtual machine and the like can be provided inside the resource pool. From a full flow perspective of the user specific terminal, the main path of the link is terminal-first UPF-multiple access edge computing (multi-access edge computing, MEC) resource pool 1.
Aiming at the technical problems, the embodiment of the application provides a service migration method, which specifically comprises the following steps: according to the method and the device for processing the UPF network element, under the condition that network time delay between the terminal and the current first UPF is large, the address of the new UPF is requested to the central DNS server, and then the first UPF is informed of the obtained address of the second UPF, so that the first UPF can send service data of the terminal to the second UPF network element, and therefore, interruption of application service caused by offline of the terminal during UPF switching can be avoided, and continuity of application service is guaranteed.
The embodiments provided in the present application are specifically described below with reference to the drawings attached to the specification.
Referring to fig. 2, a schematic diagram of a hardware operating environment according to an embodiment of the present application is shown. As shown in fig. 2, the hardware running environment includes: terminal 100, access network 200, core network 300, and central DNS server 400.
The terminal 100 is a computer device that can be used in mobile.
In some embodiments, the terminal 100 includes a variety of application functions, such as an industrial control-type application or an autopilot-type application, etc.
By way of example, the terminal 100 may be a mobile phone, a tablet (Pad), a computer with wireless transceiving capability, a Virtual Reality (VR) terminal, an augmented reality (augmented reality, AR) terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so forth. The embodiments of the present application are not limited to application scenarios. The terminal 100 may also be referred to as a user, a User Equipment (UE), an access terminal, a UE unit, a UE station, a mobile station, a remote terminal, a mobile terminal, a UE terminal, a wireless communication device, a UE agent, a UE apparatus, or the like, which is not limited in this embodiment.
The access network 200 may be a radio access network (radio access network, RAN) or AN Access Network (AN).
In some embodiments, the terminal 100 may access the core network 300 through the access network 200 to communicate with network elements in the core network 300.
The access network 200 may be formed by an access network device. The access network device may be a base station of various forms, such as: macro base station, micro base station (also referred to as "small station"), distributed unit-control unit (DU-CU), etc., wherein DU-CU is a device deployed in a radio access network and capable of wireless communication with terminal devices. In addition, the base station may be a wireless controller in a cloud wireless access network (cloud radio access network, CRAN) scenario, or a relay station, an access point, an in-vehicle device, a wearable device, or a network device in a future evolved public land mobile network (public land mobile network, PLMN) network, etc. The access network devices may also be broadband network service gateways (broadband network gateway, BNG), aggregation switches, non-third generation partnership project (3rd generation partnership project,3GPP) access devices, and the like. The specific form and structure of the access network device in the embodiment of the application are not limited.
The core network 300 comprises a plurality of core network elements (or network function elements), such as SMF elements, application layer functions (application function, AF) elements, authentication service functions (authentication server function, AUSF) elements, unified data management (unified data management, UDM) elements, access and mobility management (access and mobility management function, AMF) elements, policy control functions (policy control function, PCF) elements, and at least one UPF element. In addition, the core network may further include other network elements not shown, such as multiple access edge computing (multi-access edge computing, MEC) network elements, network open functions (network exposure function, NEF), and the like, which are not described herein.
The central DNS server 400 is a computer and web service naming system that organizes a domain hierarchy. The central DNS server 400 is used to translate domain names into corresponding internet protocol (internet protocol, IP) addresses.
In some embodiments, the central DNS server 400 is also used to provide DNS caching, load balancing, domain name forwarding, and the like services.
In some embodiments, the central DNS server 400 may send IP address information to the SMF network element based on the request of the SMF network element.
It should be noted that, the system architecture described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system architecture, the technical solution provided in the embodiments of the present application is equally applicable to similar technical problems.
As shown in fig. 3, an embodiment of the present application provides a service migration method, where the method includes:
s101, the SMF network element acquires network time delay between a terminal in a mobile state and a first UPF network element.
The first UPF network element is a UPF network element which is accessed by the terminal currently.
In some embodiments, obtaining the network delay between the terminal in the mobile state and the first UPF network element comprises: determining a distance between the terminal and the first UPF based on the position of the terminal and the position of the first UPF network element; and further determining a network delay between the terminal and the first UPF according to the distance between the terminal and the first UPF.
It can be understood that if the location of the terminal changes, the Data Network (DN) accessed by the terminal may also change, and because the DN accessed by the terminal changes, the address of the accessed server may change, and if the access path of the terminal data is not changed in time, the network delay may be larger, and further, the ongoing application service is interrupted.
In some embodiments, the above method further comprises: whether the terminal is in a moving state is detected. For example, as shown in fig. 4, detecting whether the terminal is in a moving state may be implemented as the following steps:
s201, the SMF network element acquires DNAI corresponding to the terminal.
The DNAI is an identifier of the access network, and is mainly applied to the 5G network.
For example, the SMF network element may obtain DNAI corresponding to the terminal according to a preset period.
S202, determining that the terminal is in a moving state under the condition that DNAI corresponding to the terminal is changed.
For example, the SMF network element may compare DNAI corresponding to the terminal acquired at the first time with DNAI corresponding to the terminal acquired at the second time (assuming that the first time is a time before the second time) to determine whether the terminal is in a mobile state at the first time.
It will be appreciated that in the case of a change of access DNAI corresponding to the terminal, it is explained that the access network device to which the terminal is connected has changed, i.e. the location of the terminal has changed. For example, a terminal moving from the coverage area of one base station to another may result in a corresponding DNAI change for the terminal.
Illustratively, the access network in the area A is identified as DNAI-1, the access network in the area B is identified as DNAI-2, the terminal moves from the area A to the area B, the access network equipment connected with the terminal is changed from the access network equipment in the area A to the access network equipment in the area B, and the network identification of the corresponding access network is changed from DNAI-1 to DNAI-2.
S102, the SMF network element sends a first message to the center DNS server under the condition that the network delay is larger than a preset threshold value. Accordingly, the central DNS server receives the first message.
The first message is used for requesting to allocate a new UPF network element for the terminal, and the first message comprises the domain name of the terminal.
The preset threshold is the lowest acceptable network latency that the developer provides to meet the application performance when the application is developed. For example, the SMF may obtain the preset threshold from the AF network element.
In some embodiments, the SMF network element does not switch the first UPF connected to the terminal when the network delay is less than a preset threshold.
It can be understood that, when the network delay is smaller than the preset threshold, the delay when the terminal interacts with the user plane for service data does not affect the operation of the application service, so that the terminal can meet the service requirement of the terminal without switching the current user plane; under the condition that the network time delay is larger than a preset threshold, the possible situations of data loss, data transmission interruption, network delay and the like may exist in the process of carrying out service data transmission between the terminal and the user plane, namely the current user plane cannot meet the service requirement of the terminal, so that the terminal needs to reselect a proper user plane to switch so as to meet the service requirement of the terminal.
In some embodiments, the central DNS server has an application server (app server) address of the whole network, and the UPF network element may bind the corresponding DNS address and app server address.
Wherein, the DNS address is the address of the domain name system, which is used to convert the domain name into an IP address.
The app server address is an application server address. For example, an IP address or domain name of an application server.
In some embodiments, after receiving the first message sent by the SMF network element, the central DNS server searches for an IP address corresponding to the terminal according to the domain name of the terminal, and determines, according to the IP address corresponding to the terminal, an IP address of a second UPF network element closest to the terminal; and further, sending the IP address of the second UPF network element to the SMF network element.
It can be understood that the central DNS server has an app server address of the whole network, and can perform domain name resolution according to the IP address of the terminal to obtain the IP address of the second UPF network element, where the corresponding DNS address and app server address can be bound to the UPF network element, and further, the IP address of the second UPF network element can be characterized as the DNS address corresponding to the second UPF network element.
S103, the SMF network element receives the DNS address corresponding to the second UPF network element sent by the center DNS server.
The second UPF network element is a new UPF network element distributed by the DNS server for the terminal, and the network time delay between the second UPF network element and the terminal is smaller than or equal to a preset threshold value.
In some embodiments, after the SMF obtains the app server address from the central DNS server, the message destination address of the target UPF is modified by sending a message indicating that the target UPF modifies the message destination address.
S104, the SMF network element sends the DNS address corresponding to the second UPF network element to the first UPF network element. Accordingly, the first UPF network element receives the DNS address corresponding to the second UPF network element.
In some embodiments, the SMF network element sends the DNS address corresponding to the second UPF network element to the first UPF network element through a non-access stratum termination (non-access Stratum end point, N4) interface.
In some embodiments, the N4 interface is used to transport control plane information between the SMF network element and the UPF network element.
S105, the first UPF network element sends service data of the terminal to the second UPF based on the DNS address corresponding to the second UPF network element. Correspondingly, the second UPF network element receives the service data of the first UPF sending terminal.
The service data of the terminal may include context data of an application running in the terminal. In this way, before the terminal is switched to the second UPF, the context data of the running application in the terminal is migrated to the second UPF, so that continuity of the application service can be ensured.
In some embodiments, the first UPF network element sends the service data of the terminal to the second UPF through an N9 interface, where the N9 interface protocol is extended compared to the existing field of the transmission protocol for transmitting the service data without application state.
In some embodiments, after step S105, as shown in fig. 5, the above method further includes the following steps S106-S108.
S106, the first UPF network element sends a second message to the SMF network element. Accordingly, the SMF network element receives the second message sent by the first UPF network element.
The second message is used for indicating that the first UPF network element has completed sending the service data of the terminal.
And S107, the second UPF network element sends a third message to the SMF network element. Accordingly, the SMF network element receives the third message sent by the second UPF network element.
The third message is used for indicating that the second UPF network element has received service data of the terminal.
S108, the SMF network element responds to the second message and the third message and sends a DNS address corresponding to the second UPF network element to the terminal so that the terminal establishes a new PDU session with the second UPF network element.
It can be understood that, because the second message is used to characterize that the first UPF network element completes sending the service data, and the third message is used to characterize that the second UPF network element completes receiving the service data, when the SMF network element receives the second message and the third message, it is indicated that the service data between the user planes has been transmitted, and the terminal can perform UPF handover.
In some embodiments, after the SMF network element sends the DNS address corresponding to the second UPF network element to the terminal, the SMF network element sends a PDU session modification message to the terminal, where the session modification message includes the DNS address corresponding to the second UPF network element; correspondingly, the terminal receives and stores the DNS address corresponding to the second UPF network element, responds to the PDU session modification completion message to the SMF, and further initiates an access request to the second UPF network element.
For easy understanding, the service migration method provided in the embodiment of the present application is described below in a scenario.
The service migration method provided by the application can be applied to a scene shown in fig. 6, where the scene includes: vehicle terminals, base stations, UPF network elements, MEC network elements, SMF network elements, and a central DNS server. It can be seen that after the vehicle terminal moves from the place a to the place B, the network delay between the vehicle terminal and the first UPF exceeds the preset threshold, so that the SMF network element needs to switch the UPF of the vehicle terminal, and before the vehicle terminal switches to the new second UPF, the first UPF sends the context data of the application in the running state in the vehicle terminal to the second UPF, so as to ensure the continuity of the application service.
For example, based on the scenario shown in fig. 6, as shown in fig. 7, the service migration method provided in the present application may be implemented as the following steps:
sa1, at A, the vehicle terminal sends a first PDU session establishment request to the SMF network element.
In some embodiments, the first PDU session establishment request includes extended protocol configuration option (protocol configuration options, PCO) information; among other things, PCO information has many configuration options, such as: address assignment willingness (address allocation preference), DNS server address, password authentication protocol (password authentication protocol, PAP), password handshake authentication protocol (challenge handshake authentication protocol, CHAP), bearer control mode (selected bearer control mode), multimedia subsystem signaling label (im cn subsystem signalling flag), policy control reject code (policy controlrejection code), and other optional parameters, etc. In the embodiment of the application, the PCO information includes a DNS address request.
Sa2, based on the first PDU session establishment request, the SMF network element sends a first PDU session establishment response to the vehicle terminal.
The first PDU session establishment response comprises an address of a first DNS; the first DNS may be a DNS for a place.
In some embodiments, the SMF network element sends the local DNS address information and the first PDU session establishment response to the vehicle terminal in case the local DNS server is available for the vehicle terminal, i.e. the location where the vehicle terminal is located is within the coverage of the network of the local operator.
Sa3, based on the first PDU session establishment response, the vehicle terminal initiates an access request to the first DNS server.
Sa4, after the vehicle terminal moves from the a ground to the B ground, the SMF acquires the latest position information of the vehicle terminal.
And Sa5, the SMF network element determines whether the vehicle terminal needs to switch UPF according to the latest position information of the vehicle terminal.
For example, the SMF network element may determine, according to the latest location information of the vehicle terminal, a network delay between the vehicle terminal and the first UPF, and determine that the vehicle terminal needs to switch the UPF if the network delay is greater than or equal to a preset threshold.
Sa6, under the condition that the vehicle terminal needs to switch UPF, the SMF network element sends a first message to the center DNS server, wherein the first message is used for requesting to allocate a new UPF network element for the vehicle terminal, and the first message comprises the domain name of the vehicle terminal.
And Sa7, the SMF network element receives the DNS address corresponding to the second UPF network element sent by the center DNS server.
The second UPF network element is a new UPF network element selected by the central DNS server for the vehicle terminal.
The Sa8 and the SMF network element send the DNS address corresponding to the second UPF network element to the first UPF network element.
And Sa9, the first UPF network element sends the context data of the application in the running state in the vehicle terminal to the second UPF network element according to the DNS address corresponding to the second UPF network element.
The Sa10, the first UPF network element sends a second message to the SMF network element.
The Sa11 and the second UPF network element send a third message to the SMF network element.
And Sa12, responding to the second message and the third message, and sending the DNS address corresponding to the second UPF network element to the vehicle terminal by the SMF network element.
Sa13, based on the DNS address corresponding to the second UPF network element, the vehicle terminal initiates an access request to the second UPF network element.
As can be seen from the above embodiments, after the vehicle terminal moves from the place a to the place B, the network delay between the vehicle terminal and the first UPF network element currently connected is too long, and a UPF handover needs to be performed, so that the SMF network element may acquire a new second UPF network element (the network delay between the second UPF network element and the vehicle terminal is smaller than a preset threshold); meanwhile, in order to avoid interruption of running applications in the vehicle terminal, before the vehicle terminal is switched to the second UPF network element, the embodiment of the application can firstly migrate the context data of the running applications in the vehicle terminal to the second UPF network element, so that continuity of running application services in the vehicle terminal can be ensured, and user experience is improved.
It can be seen that the foregoing description of the solution provided by the embodiments of the present application has been presented mainly from a method perspective. To achieve the above-mentioned functions, embodiments of the present application provide corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the application may divide the functional modules of the network node according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 8 is a schematic structural diagram of a service migration device according to an embodiment of the present application. The modules in the device shown in fig. 8 have the functions of implementing the corresponding steps in fig. 3 to 7, and achieve the corresponding technical effects. As shown in fig. 8, the service migration apparatus 800 includes: an acquisition module 801, a transmission module 802 and a reception module 803.
An obtaining module 801, configured to obtain a network delay between a terminal in a mobile state and a first UPF network element, where the first UPF network element is a UPF network element to which the terminal is currently connected.
A sending module 802, configured to send a first message to the central DNS server when the network delay is greater than a preset threshold, where the first message is used to request to allocate a new UPF network element to the terminal.
And a receiving module 803, configured to receive a DNS address corresponding to a second UPF network element sent by the central DNS server, where the second UPF network element is a new UPF network element allocated by the DNS server to the terminal, and a network delay between the second UPF network element and the terminal is less than or equal to a preset threshold.
The sending module 802 is further configured to send, to the first UPF network element, a DNS address corresponding to the second UPF network element, so that the first UPF network element sends service data of the terminal to the second UPF network element.
In some embodiments, the receiving module 803 is further configured to receive a second message sent by the first UPF network element, where the second message is used to indicate that the first UPF network element has completed sending service data of the terminal; and receiving a third message sent by the second UPF network element, wherein the third message is used for indicating that the second UPF network element has received the service data of the terminal.
In some embodiments, the sending module 802 is further configured to send, in response to the second message and the third message, a DNS address corresponding to the second UPF network element to the terminal, so that the terminal establishes a new protocol data unit PDU session with the second UPF network element.
Fig. 9 is a schematic structural diagram of a service migration device according to an embodiment of the present application. The modules in the device shown in fig. 9 have the functions of implementing the corresponding steps in fig. 3 to 7, and achieve the corresponding technical effects. As shown in fig. 9, the service migration apparatus 900 includes: a receiving module 901 and a transmitting module 902.
A receiving module 901, configured to receive a DNS address corresponding to a second UPF network element sent by an SMF network element when a network delay between a terminal in a mobile state and the first UPF network element is greater than a preset threshold.
And a sending module 902, configured to send service data of the terminal to the second UPF based on the DNS address corresponding to the second UPF network element.
In some embodiments, the foregoing sending module 902 is further configured to send a second message to the SMF network element, where the second message is used to indicate that the first UPF network element has completed sending service data of the terminal.
Fig. 10 is a schematic structural diagram of a service migration device according to an embodiment of the present application. The modules in the device shown in fig. 10 have the functions of implementing the corresponding steps in fig. 3 to 7, and achieve the corresponding technical effects. As shown in fig. 10, the service migration apparatus 1000 includes: a receiving module 1001.
And the receiving module 1001 is configured to receive service data of a terminal sent by the first UPF network element when a network delay between the terminal in a mobile state and the first UPF network element is greater than a preset threshold.
In some embodiments, the service migration apparatus further includes: a sending module 1002, configured to send a third message to the SMF network element, where the third message is used to indicate that the second UPF network element has received service data of the terminal.
In the case of implementing the functions of the integrated modules in the form of hardware, the embodiment of the present invention provides another possible schematic structural diagram of the service migration apparatus related to the foregoing embodiment. As shown in fig. 11, the service migration apparatus 1100 includes: a processor 1102, a communication interface 1103, a bus 1104. Optionally, the service migration apparatus may further include a memory 1101.
The processor 1102 may be a processor that implements or performs the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. The processor 1102 may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor 1102 may also be a combination of computing functions, e.g., including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
A communication interface 1103 for connecting with other devices via a communication network. The communication network may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc.
The memory 1101 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
As a possible implementation, the memory 1101 may exist separately from the processor 1102, and the memory 1101 may be connected to the processor 1102 by a bus 1104 for storing instructions or program code. The processor 1102, when calling and executing instructions or program code stored in the memory 1101, is capable of implementing the service migration method provided by the embodiment of the present invention.
In another possible implementation, the memory 1101 may also be integrated with the processor 1102.
Bus 1104 may be an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like. The bus 1104 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 11, but not only one bus or one type of bus.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the service migration device is divided into different functional modules, so as to perform all or part of the functions described above.
Embodiments of the present application also provide a computer-readable storage medium. All or part of the flow in the above method embodiments may be implemented by computer instructions to instruct related hardware, and the program may be stored in the above computer readable storage medium, and the program may include the flow in the above method embodiments when executed. The computer readable storage medium may be any of the foregoing embodiments or memory. The computer readable storage medium may be an external storage device of the service migration apparatus, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (flash card) or the like provided in the service migration apparatus. Further, the above-mentioned computer readable storage medium may further include both the internal storage unit and the external storage device of the above-mentioned service migration apparatus. The computer-readable storage medium is used for storing the computer program and other programs and data required by the service migration apparatus. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Embodiments of the present application also provide a computer program product comprising a computer program which, when run on a computer, causes the computer to perform any one of the service migration methods provided in the embodiments above.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A service migration method, applied to a session management function SMF network element, the method comprising:
acquiring network time delay between a terminal in a mobile state and a first user plane function UPF network element, wherein the first UPF network element is a UPF network element which is accessed by the terminal at present;
if the network delay is greater than a preset threshold, sending a first message to a central Domain Name System (DNS) server, wherein the first message is used for requesting to allocate a new UPF network element for the terminal;
receiving a DNS address corresponding to a second UPF network element sent by the center DNS server, wherein the second UPF network element is a new UPF network element distributed by the DNS server for the terminal, and the network time delay between the second UPF network element and the terminal is smaller than or equal to a preset threshold value;
and sending the DNS address corresponding to the second UPF network element to the first UPF network element so that the first UPF network element sends the service data of the terminal to the second UPF network element.
2. The method according to claim 1, wherein the method further comprises:
receiving a second message sent by the first UPF network element, wherein the second message is used for indicating that the first UPF network element has completed sending the service data of the terminal;
receiving a third message sent by the second UPF network element, wherein the third message is used for indicating that the second UPF network element has received service data of the terminal;
and responding to the second message and the third message, and sending a DNS address corresponding to the second UPF network element to the terminal so that the terminal establishes a new protocol data unit PDU session with the second UPF network element.
3. A service migration method, applied to a first UPF network element, the method comprising:
receiving a DNS address corresponding to a second UPF network element sent by an SMF network element under the condition that the network time delay between the terminal in a moving state and the first UPF network element is larger than a preset threshold value;
and sending service data of a terminal to the second UPF based on the DNS address corresponding to the second UPF network element.
4. A method according to claim 3, characterized in that the method further comprises:
and sending a second message to the SMF network element, wherein the second message is used for indicating that the first UPF network element has completed sending the service data of the terminal.
5. A service migration method, applied to a second UPF network element, the method comprising:
and receiving the service data of the terminal sent by the first UPF network element under the condition that the network time delay between the terminal in the moving state and the first UPF network element is larger than a preset threshold value.
6. The method of claim 5, wherein the method further comprises:
and sending a third message to the SMF network element, wherein the third message is used for indicating that the second UPF network element has received the service data of the terminal.
7. A service migration apparatus, applied to an SMF network element, the apparatus comprising:
the acquisition module is used for acquiring network time delay between a terminal in a mobile state and a first UPF network element, wherein the first UPF network element is a UPF network element which is accessed by the terminal at present;
a sending module, configured to send a first message to a central DNS server when the network delay is greater than a preset threshold, where the first message is used to request allocation of a new UPF network element to the terminal;
a receiving module, configured to receive a DNS address corresponding to a second UPF network element sent by the central DNS server, where the second UPF network element is a new UPF network element allocated by the DNS server to the terminal, and a network delay between the second UPF network element and the terminal is less than or equal to a preset threshold;
the sending module is further configured to send, to the first UPF network element, a DNS address corresponding to the second UPF network element, so that the first UPF network element sends, to the second UPF network element, service data of the terminal.
8. A service migration apparatus, for application to a first UPF network element, the apparatus comprising:
the receiving module is used for receiving the DNS address corresponding to the second UPF network element sent by the SMF network element under the condition that the network time delay between the terminal in the moving state and the first UPF network element is larger than a preset threshold value;
and the sending module is used for sending the service data of the terminal to the second UPF based on the DNS address corresponding to the second UPF network element.
9. A service migration apparatus for use with a second UPF network element, the apparatus comprising:
and the receiving module is used for receiving the service data of the terminal sent by the first UPF network element under the condition that the network time delay between the terminal in the moving state and the first UPF network element is larger than a preset threshold value.
10. An electronic device comprising a processor and a memory, the processor coupled to the memory; the memory is for storing computer instructions that are loaded and executed by the processor to cause a computer device to implement the business migration method of any one of claims 1 to 6.
11. A computer-readable storage medium comprising computer-executable instructions that, when run on a computer, cause the computer to perform the business migration method of any one of claims 1 to 6.
CN202311331261.7A 2023-10-13 2023-10-13 Service migration method and device, electronic equipment and storage medium Pending CN117278602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311331261.7A CN117278602A (en) 2023-10-13 2023-10-13 Service migration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311331261.7A CN117278602A (en) 2023-10-13 2023-10-13 Service migration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117278602A true CN117278602A (en) 2023-12-22

Family

ID=89210400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311331261.7A Pending CN117278602A (en) 2023-10-13 2023-10-13 Service migration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117278602A (en)

Similar Documents

Publication Publication Date Title
CN112153098B (en) Application migration method and device
KR102437811B1 (en) Method and apparatus for session management function selection
CN114363977B (en) Method and node for facilitating PDU session procedures in an interworking network
CN111630824B (en) Method and computer readable medium for offloading data traffic
CN108632944B (en) User plane functional entity selection method and device
CN110636475B (en) Data processing method and device
CN109964468B (en) Session processing method, device and system
CN114902634A (en) Apparatus and method for providing information of application server in mobile communication system
CN111615844B (en) Method and apparatus for selecting a session management entity serving a wireless communication device
CN113785552B (en) Session management function selection
EP3445072B1 (en) Mobile radio communication network and method for associating a mobile radio terminal device to a network slice instance of a mobile radio communication network
EP3836740B1 (en) User device and communication control method
EP3817453A1 (en) Communication method and apparatus
US11576219B2 (en) User equipment, control apparatus, and communication control method
EP3836726A1 (en) User device, control device, and communication control method
CN113473569B (en) Discovery method of application server and related device
CN115735371A (en) Network slice specific authentication and authorization
CN113709905B (en) Communication method, device and computer readable storage medium
CN114430332A (en) Customer premises equipment
EP3869863A1 (en) Communication service transmission method and apparatus, storage medium and electronic apparatus
KR20220166294A (en) Method for Updating Slice Information
CN117278602A (en) Service migration method and device, electronic equipment and storage medium
JP2022174023A (en) Network slice admission control (nsac) discovery and roaming enhancement
CN111901899B (en) Communication method and device
WO2020029674A1 (en) Methods and nodes for improving data management service in interworking networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination