Switching method and device
By using the location information of the terminal device and the LADN service area in the handover preparation stage to determine whether session handover is allowed, the problem of resource waste in the existing technology is solved and the resource utilization efficiency is improved.
Patent Information
- Application Number
- CN202310185165.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2024-09-03
AI Technical Summary
During the handover process caused by the movement of the terminal device, the existing technology determines whether to allow session handover during the handover execution and handover completion stages, resulting in a waste of resources.
In the handover preparation phase, by obtaining the session context update request, carrying the location information of the terminal device and the local area data network LADN service area, it is determined whether the session is allowed to be switched, thereby avoiding waste of resources.
By determining in advance whether session switching is allowed, resource waste in the switching execution and switching completion stages is avoided, and resource utilization efficiency is improved.
Smart Images

Figure CN118590945A
Abstract
Description
Technical Field
[0001] The present disclosure relates to communication technology, and in particular to a switching method and device. Background Art
[0002] The handover process triggered by the movement of the terminal device includes three stages: a handover preparation stage, a handover execution stage, and a handover completion stage.
[0003] In some embodiments, during the switching execution phase and the switching completion phase, the core network determines whether to allow the switching of the session of the terminal device. Summary of the invention
[0004] The present disclosure provides a switching method and device for saving switching resources.
[0005] In a first aspect, the present disclosure provides a handover method. In a handover preparation stage, the method includes:
[0006] Obtaining a session context update request, wherein the session context update request carries location information of the terminal device and a local area data network LADN service area;
[0007] Determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
[0008] In this embodiment, by determining whether to allow the session of the terminal device to switch in the switching preparation stage, the disadvantage of wasting resources caused by determining whether to allow the session of the terminal device to switch in the switching execution stage and the switching completion stage is avoided, thereby achieving the technical effect of saving resources.
[0009] Optionally, the method further comprises:
[0010] If it is determined that the session of the terminal device is not allowed to be switched according to the location information and the LADN service area, outputting a first prompt message;
[0011] The first prompt message is used to indicate that the session switching fails.
[0012] In this embodiment, if the session of the terminal device is not allowed to be switched, a first prompt message is output to prompt that the subsequent switching process is no longer executed, thereby saving switching resources.
[0013] Optionally, the method further comprises:
[0014] If it is determined that the session of the terminal device is allowed to be switched according to the location information and the LADN service area, a second prompt message is output;
[0015] The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
[0016] In this embodiment, if the session of the terminal device is allowed to be switched, a second prompt message is output to improve the effectiveness and reliability of the switching.
[0017] Optionally, the type of switching is Xn switching, and the method is applied to a session management function SMF; obtaining a session context update request includes:
[0018] The SMF receives the session context update request sent by the access and mobility management function AMF.
[0019] Optionally, the type of handover is N2 handover, and the method is applied to a target session management function T-SMF; obtaining a session context update request includes:
[0020] The T-SMF receives the session context update request sent by the target access and mobility management function T-AMF.
[0021] In this embodiment, the process of obtaining a session context update request is described from the perspective of different types of handovers, so that the handover is comprehensive.
[0022] In a second aspect, the present disclosure provides a handover method. In a handover preparation stage, the method includes:
[0023] Sending a session context update request, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area;
[0024] The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
[0025] Optionally, the type of handover is Xn handover, and the method is applied to an access and mobility management function AMF; sending a session context update request includes:
[0026] The AMF sends the session context update request to the session management function SMF.
[0027] Optionally, the method further comprises:
[0028] The AMF receives a first prompt message sent by the SMF, and the AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or,
[0029] The AMF receives a second prompt message sent by the SMF, and the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0030] Optionally, the type of handover is N2 handover, and the method is applied to a target access and mobility management function T-AMF; sending a session context update request includes:
[0031] The T-AMF sends the session context update request to the target session management function T-SMF.
[0032] Optionally, the method further comprises:
[0033] The T-AMF receives a first prompt message sent by the T-SMF, and the T-AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or,
[0034] The T-AMF receives a second prompt message sent by the T-SMF, and the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0035] Optionally, the method further comprises:
[0036] In response to the session establishment being completed, an indication message is sent to the source radio access network S-RAN, wherein the indication message includes information for making a handover decision.
[0037] In this embodiment, when the session establishment is completed, an indication message is sent to make a handover decision based on the information used for making a handover decision in the indication message, so that the handover decision has higher validity and reliability.
[0038] Optionally, the indication message includes an identifier; or;
[0039] The indication message includes an identifier and a LADN service area;
[0040] The identifier is used to indicate whether the session has a LADN feature.
[0041] In this embodiment, the indication message may include different contents, so that the indication message has diversity and flexibility.
[0042] In a third aspect, the present disclosure provides a handover method. In a handover preparation stage, the method includes:
[0043] In response to receiving a measurement report sent by a terminal device, querying an indication message, wherein the indication message includes information for making a handover decision;
[0044] A switching decision is made based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
[0045] Optionally, the indication message includes an identifier, wherein the identifier is used to indicate whether the session has a LADN feature; if the identifier is used to indicate that the session has a LADN feature, the switching decision is used to indicate sending a switching request.
[0046] Optionally, the indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has a LADN feature; and making a switching decision according to the measurement report and the indication message includes:
[0047] If the identifier is used to indicate that the session has LADN characteristics, determining a target radio access network T-RAN according to the measurement report;
[0048] Determine whether to perform session switching according to the T-RAN and the LADN service area.
[0049] In a fourth aspect, the present disclosure provides a switching device, including a memory, a transceiver, and a processor:
[0050] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0051] In the handover preparation phase, a session context update request is obtained, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area;
[0052] Determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
[0053] Optionally, the processor is further configured to perform the following operations:
[0054] If it is determined that the session of the terminal device is not allowed to be switched according to the location information and the LADN service area, outputting a first prompt message;
[0055] The first prompt message is used to indicate that the session switching fails.
[0056] Optionally, the processor is further configured to perform the following operations:
[0057] If it is determined that the session of the terminal device is allowed to be switched according to the location information and the LADN service area, a second prompt message is output;
[0058] The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
[0059] Optionally, the type of switching is Xn switching, and the device is applied to a session management function SMF; when the processor is used to obtain a session context update request, specifically including:
[0060] The session context update request sent by the access and mobility management function AMF is received based on the SMF.
[0061] Optionally, the type of handover is N2 handover, and the device is applied to a target session management function T-SMF; and the processor is used to obtain a session context update request, specifically including:
[0062] The session context update request sent by the target access and mobility management function T-AMF is received based on the T-SMF.
[0063] In a fifth aspect, the present disclosure provides a switching device, including a memory, a transceiver, and a processor:
[0064] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0065] In the handover preparation phase, a session context update request is sent, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area;
[0066] The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
[0067] Optionally, the type of handover is Xn handover, and the device is applied to an access and mobility management function AMF; when the processor is used to send a session context update request, specifically including:
[0068] Send the session context update request to the session management function SMF based on the AMF.
[0069] Optionally, the processor is further configured to:
[0070] receiving, based on the AMF, a first prompt message sent by the SMF, and the AMF sending a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or,
[0071] Based on the AMF receiving a second prompt message sent by the SMF, the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0072] Optionally, the type of handover is N2 handover, and the method is applied to a target access and mobility management function T-AMF; when the processor is used to send a session context update request, specifically including:
[0073] Send the session context update request to the target session management function T-SMF based on the T-AMF.
[0074] Optionally, the processor is further configured to:
[0075] receiving a first prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sending a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or,
[0076] Based on the T-AMF receiving the second prompt message sent by the T-SMF, the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0077] Optionally, the processor is further configured to, in response to completion of the session establishment, send an indication message to a source radio access network S-RAN, wherein the indication message includes information for making a handover decision.
[0078] Optionally, the indication message includes an identifier; or;
[0079] The indication message includes an identifier and a LADN service area;
[0080] The identifier is used to indicate whether the session has a LADN feature.
[0081] In a sixth aspect, the present disclosure provides a switching device, including a memory, a transceiver, and a processor:
[0082] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0083] In the handover preparation phase, in response to receiving a measurement report sent by the terminal device, querying an indication message, wherein the indication message includes information for making a handover decision;
[0084] A switching decision is made based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
[0085] Optionally, the indication message includes an identifier, wherein the identifier is used to indicate whether the session has a LADN feature; if the identifier is used to indicate that the session has a LADN feature, the switching decision is used to indicate sending a switching request.
[0086] Optionally, the indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has a LADN feature; and the processor is configured to make a switching decision according to the measurement report and the indication message, specifically including:
[0087] If the identifier is used to indicate that the session has LADN characteristics, determining a target radio access network T-RAN according to the measurement report;
[0088] Determine whether to perform session switching according to the T-RAN and the LADN service area.
[0089] In a seventh aspect, the present disclosure provides a switching device, which, in a switching preparation stage, includes:
[0090] An acquiring unit, configured to acquire a session context update request, wherein the session context update request carries location information of the terminal device and a local area data network LADN service area;
[0091] A determination unit is used to determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
[0092] Optionally, it also includes:
[0093] A first output unit, configured to output a first prompt message if it is determined that the session of the terminal device is not allowed to be switched according to the location information and the LADN service area;
[0094] The first prompt message is used to indicate that the session switching fails.
[0095] Optionally, it also includes:
[0096] A second output unit, configured to output a second prompt message if it is determined that the session of the terminal device is allowed to be switched according to the location information and the LADN service area;
[0097] The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
[0098] Optionally, the type of switching is Xn switching, and the device is applied to a session management function SMF; the acquisition unit is specifically used to receive the session context update request sent by an access and mobility management function AMF based on the SMF.
[0099] Optionally, the type of switching is N2 switching, and the device is applied to the target session management function T-SMF; the acquisition unit is specifically used to receive the session context update request sent by the target access and mobility management function T-AMF based on the T-SMF.
[0100] In an eighth aspect, the present disclosure provides a switching device, which, in a switching preparation stage, includes:
[0101] A first sending unit, configured to send a session context update request, wherein the session context update request carries location information of the terminal device and a local area data network LADN service area;
[0102] The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
[0103] Optionally, the switching type is Xn switching, and the device is applied to the access and mobility management function AMF; the first sending unit is specifically used to send the session context update request to the session management function SMF based on the AMF.
[0104] Optionally, it also includes:
[0105] a first receiving unit, configured to receive a first prompt message sent by the SMF based on the AMF, and the AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or
[0106] The first receiving unit is used to receive a second prompt message sent by the SMF based on the AMF, and the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0107] Optionally, the switching type is N2 switching, and the device is applied to the target access and mobility management function T-AMF; the first sending unit is specifically used to send the session context update request to the target session management function T-SMF based on the T-AMF.
[0108] Optionally, it also includes:
[0109] a second receiving unit, configured to receive a first prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or
[0110] A second receiving unit is used to receive a second prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0111] Optionally, it also includes:
[0112] The second sending unit is used to send an indication message to the source radio access network S-RAN in response to the session establishment completion, wherein the indication message includes information used to make a handover decision.
[0113] Optionally, the indication message includes an identifier; or;
[0114] The indication message includes an identifier and a LADN service area;
[0115] The identifier is used to indicate whether the session has a LADN feature.
[0116] In a ninth aspect, the present disclosure provides a switching device, which, in a switching preparation stage, includes:
[0117] A query unit, configured to query an indication message in response to receiving a measurement report sent by a terminal device, wherein the indication message includes information used to make a handover decision;
[0118] A determination unit is used to make a switching decision based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
[0119] Optionally, the indication message includes an identifier, wherein the identifier is used to indicate whether the session has a LADN feature; if the identifier is used to indicate that the session has a LADN feature, the switching decision is used to indicate sending a switching request.
[0120] Optionally, the indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has LADN characteristics; the determination unit is specifically used to determine the target wireless access network T-RAN according to the measurement report if the identifier is used to indicate that the session has LADN characteristics, and determine whether to perform session switching according to the T-RAN and the LADN service area.
[0121] In a tenth aspect, the present disclosure provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program executable by a processor for executing the method described in the first aspect; or, the processor-readable storage medium stores a computer program executable by a processor for executing the method described in the second aspect; or, the processor-readable storage medium stores a computer program executable by a processor for executing the method described in the third aspect.
[0122] In the eleventh aspect, the present disclosure provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor, or implements the method described in the second aspect when executed by a processor, or implements the method described in the third aspect when executed by a processor.
[0123] In a twelfth aspect, the present disclosure provides a switching system, including:
[0124] The switching device according to the fourth aspect;
[0125] The switching device as described in the fifth aspect;
[0126] A switching device as described in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0127] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0128] Figure 1 is a schematic diagram of a 5G system architecture according to an embodiment of the present disclosure;
[0129] Figure 2 A schematic diagram of a switching method according to an embodiment of the present disclosure;
[0130] Figure 3 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0131] Figure 4 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0132] Figure 5 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0133] Figure 6 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0134] Figure 7 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0135] Figure 8 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0136] Fig. 9 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0137] Fig.10 is a schematic diagram of a switching method according to another embodiment of the present disclosure;
[0138] Fig.11 A schematic diagram of a switching device according to an embodiment of the present disclosure;
[0139] Fig.12 is a schematic diagram of a switching device according to another embodiment of the present disclosure;
[0140] Fig.13 is a schematic diagram of a switching device according to another embodiment of the present disclosure;
[0141] Fig.14 is a schematic diagram of a switching device according to another embodiment of the present disclosure;
[0142] Fig.15 is a schematic diagram of a switching device according to another embodiment of the present disclosure;
[0143] Fig.16 Schematic diagram of a switching device according to another embodiment of the present disclosure.
[0144] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0145] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0146] In the embodiments of the present disclosure, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0147] The term "plurality" in the embodiments of the present disclosure refers to two or more than two, and other quantifiers are similar thereto.
[0148] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0149] The fifth generation mobile communication technology (5G for short) is a new generation of broadband mobile communication technology with the characteristics of high speed, low latency and large connection. 5G communication facilities are the network infrastructure for realizing the interconnection between people, machines and things.
[0150] Figure 1 Schematic diagram of a 5G system architecture of an embodiment of the present disclosure, wherein:
[0151] The Authentication Server Function (AUSF) is used to authenticate terminal devices (such as User Equipment (UE)).
[0152] Access and Mobility Management Function (AMF) is used for access and mobility management of terminal devices.
[0153] The data network (DN) is used to provide service access for UE, including operator services, Internet services, third-party services, etc.
[0154] Network Exposure Function (NEF) is used to manage network data open to the outside world.
[0155] Network Repository Function (NRF), which is used to support service discovery, maintain network function (NF) instance information, etc.
[0156] The Network Slice Selection Function (NSSF) is used to select the network slice used for user services.
[0157] Policy Control Function (PCF) is used for user policy control, including session policy, mobility policy, deep neural network (DNN) policy, etc.
[0158] Session Management Function (SMF) is used for user session management, Internet Protocol (IP) management of terminal devices, etc.
[0159] Unified Data Management (UDM) is used for user contract data management.
[0160] Unified Data Repository (UDR) is used to store data in UDM, PCF, and NEF, including contracts, policies, open structured data, application data, etc.
[0161] Unstructured Data Storage Function (UDSF), NF can store / access unstructured data not defined in the 3rd Generation Partnership Project (3GPP)
[0162] User Plane Function (UPF) is used for packet routing and forwarding, Quality of Service (QoS) processing, UE IP management, traffic reporting, and billing support.
[0163] The application layer function (AF) is used to communicate with the core network to provide business services to users.
[0164] (Radio) Access Network ((R)) AN) is used to connect terminal devices to the 5G Core Network (CN). The 5G Core Network is referred to as 5GC.
[0165] 5G-Equipment Identity Register (5G-EIR), which is used to check whether a device can be used in the network.
[0166] The charging function (CHF) is used to charge the terminal device services.
[0167] Network Slice-specific and SNPN Authentication and Authorization Function (NSSAAF) is used to support the authentication and authorization of network slices and / or to support certificate holders to access stand-alone non-public networks (SNPN).
[0168] The Network Slice Admission Control Function (NSACF) is used to monitor and control the number of registered UEs on the network slice and the number of established Protocol Data Unit (PDU) sessions.
[0169] Among them, N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14, N15, N22, N58, N59, N80, and N81 are connection interfaces. For example, N1 is the connection interface between UE and AMF, N2 is the connection interface between (R)AN and AMF, and so on. They are not listed one by one here.
[0170] A local area data network (LADN) is a network that covers a specific local area, such as a corporate park, campus, airport, railway station, shopping mall, stadium, etc. A terminal device can access the LADN through the LADN PDU session only when it is within the LADN service area.
[0171] That is, LADN has the following characteristics (i.e., LADN characteristics): The purpose of LADN is to allow access to a data network (Date Network) and a data network name (Date Network Name, DNN) in one or more specific areas. Outside of this area, the terminal device cannot access the DN and DNN. This can be used for specific DNNs, such as stadiums, shopping malls, campuses, etc. as mentioned above.
[0172] The area where LADN DNN is available can be called LADN service area and is configured as a set of tracking areas in the network. The tracking area list of LADN DNN is configured in AMF.
[0173] When the terminal device registers, the LADN service area will be provided to the SMF, so the terminal device knows the available area of the LADN DNN (i.e., the LADN service area), and when the DNN is not in the available area, the terminal device knows that it should not try to access the DNN.
[0174] When the terminal device sends a PDU session establishment request for LADN DNN to the network, AMF will provide an indication to SMF, telling SMF whether the terminal device is outside or inside the LADN service area, so that SMF can determine whether to accept or reject the request. If the terminal device is within the LADN service area, SMF can accept the request, otherwise (that is, the terminal device is outside the LADN service area), SMF rejects the request.
[0175] Due to the switching process triggered by the movement of the terminal device, for some DNNs of the terminal device's session (ie, PDU session), the PDU session may not be migrated due to the limitation of the DNN access feature of the PDU session - LADN.
[0176] Among them, Xn and N2 are different types of interfaces in the 5G system architecture. Accordingly, the switching can be two different types of switching, one type of switching is Xn switching, and the other type of switching is N2 switching.
[0177] In some embodiments, the handover method may include contents of three phases, namely: a handover preparation phase, a handover execution phase, and a handover completion phase.
[0178] For example, in the 3rd Generation Partnership Project (3GPP), if it is an Xn handover, in some embodiments, the handover method in the handover execution phase can refer to Figure 2,like Figure 2 As shown, the switching method includes:
[0179] The handover preparation phase and handover execution phase of the Xn handover are executed.
[0180] S201: The source radio access network (S-RAN) sends an S-RAN usage data report (S-RAN usage date report) to the AMF, where S-RAN refers to the RAN before the terminal device moves.
[0181] Accordingly, AMF receives the usage data report sent by S-RAN.
[0182] S202: The target radio access network (T-RAN) sends an N2 path switch request (N2path switchrequest) to the AMF. The N2 path switch request includes: a PDU session list, a PDU session list of rejected PDU sessions, rejection reason information (N2 SM information), and location information of the terminal device (hereinafter referred to as location information). T-RAN is the RAN after the terminal device moves.
[0183] Correspondingly, AMF receives the N2 path switching request sent by T-RAN.
[0184] S203: AMF sends a session context update request (Nsmf_PDUSession_UpdateSMContextRequest) to SMF, wherein the session context update request includes: a PDU session list, a PDU session list of rejected PDU sessions, rejection reason information, location information, and whether the terminal device is in the LADN service area.
[0185] Correspondingly, SMF receives the session context update request sent by AMF.
[0186] It can be understood that the PDU session list may include multiple PDU sessions, and one PDU session may correspond to one SMF, so the number of SMFs may be multiple.
[0187] S204: If the SMF determines that the terminal device is within the LADN service area, the SMF sends an N4 session modification request (N4 session modification request) to the UPF.
[0188] Correspondingly, UPF receives the session modification request sent by SMF.
[0189] Similarly, the number of SMFs can be multiple, and one SMF can correspond to one UPF, so the number of UPFs can also be multiple. And for the scenario where the number of SMFs is multiple, each SMF sends a session modification request to its corresponding UPF. The subsequent interaction between SMF and UPF is also an interaction of a corresponding relationship, which will not be repeated in this embodiment.
[0190] On the contrary, in other embodiments, if the SMF determines that the terminal device is not in the LADN service area, the switching fails, that is, the switching of the PDU session cannot be achieved.
[0191] S205: UPF sends an N4 session modification response (N4 session modification response) to SMF.
[0192] Correspondingly, SMF receives the session modification response sent by UPF.
[0193] S206: UPF sends an N3 end mark to the S-RAN.
[0194] Accordingly, the S-RAN receives the N3 end marker sent by the UPF. The S-RAN may send the N3 end marker to the T-RAN.
[0195] In order to assist the reordering function of T-RAN, UPF sends one or more "end marker" packets for each N3 tunnel on the path after switching the path. UPF starts to send downlink (DL) data packets to T-RAN.
[0196] S207: SMF sends a session context update response (Nsmf_PDUSession_UpdateSMContextResponse) to AMF.
[0197] Correspondingly, AMF receives the session context update response sent by SMF.
[0198] S208: AMF sends an N2 path switch Acknowledge to T-RAN.
[0199] Correspondingly, T-RAN receives the N2 path switch request confirmation sent by AMF.
[0200] S209: If the N2 path switch request confirmation is used to indicate that the switch is successful, the T-RAN sends a release resources message to the S-RAN.
[0201] Correspondingly, the S-RAN receives the release resource message sent by the T-RAN and releases the resources.
[0202] S210: Execute a registration procedure.
[0203] In some other embodiments, if it is Xn switching, such as Figure 3 As shown, the handover method including the handover preparation phase, the handover execution phase, and the handover completion phase includes:
[0204] S301: The terminal device sends a measurement report (measurement control and reports) to the S-RAN.
[0205] Correspondingly, the S-RAN receives the measurement report sent by the terminal device.
[0206] S302: S-RAN makes a handover decision based on the measurement report.
[0207] Exemplarily, the S-RAN decides whether to switch the PDU session according to the measurement report.
[0208] S303: S-RAN sends a handover request (Handover Request) to T-RAN, wherein the handover request is used to request T-RAN to prepare resources for handover and carries a list of PDU sessions to be handed over.
[0209] Correspondingly, the T-RAN receives a handover request initiated by the S-RAN.
[0210] Exemplarily, if the S-RAN decides to switch the PDU session according to the measurement report, the S-RAN sends a switching request to the T-RAN to initiate the Xn switching process. Conversely, if the S-RAN decides not to switch the PDU session according to the measurement report, the switching ends.
[0211] S304: T-RAN performs admission control.
[0212] Exemplarily, if the handover request contains slice information, T-RAN performs slice admission control, and if none of the slices related to the PDU session are supported, T-RAN rejects the PDU session.
[0213] S305: T-RAN sends a Handover Request Acknowledge to S-RAN, wherein the Handover Request Acknowledge is used to confirm that the handover resources are ready to enter the handover execution phase.
[0214] Correspondingly, the S-RAN receives the handover request confirmation sent by the T-RAN.
[0215] Among them, S301-S305 is the switching preparation stage.
[0216] S306: S-RAN sends a Radio Resource Control Reconfigration (RRC Reconfigration) message to the terminal device, wherein the Radio Resource Control Reconfiguration message is used to trigger the Uu interface to perform handover.
[0217] Correspondingly, the terminal device receives the radio resource control reconfiguration message sent by the S-RAN.
[0218] S307: The S-RAN sends a sequence number (SN) status transfer (StatusTransfer) message to the T-RAN.
[0219] Correspondingly, the T-RAN receives the sequence number state transfer message sent by the S-RAN.
[0220] The sequence number status transfer message is used to confirm the uplink Packet Data Convergence Protocol (PDCP) SN receiving status and the downlink PDCP SN sending status of the Data Radio Bearer (DRBs).
[0221] At this time, the downlink data packet is sent from the source user plane function (S-UPF) to the S-RAN, forwarded to the T-RAN, and cached at the T-RAN. Among them, the S-UPF is the UPF before the terminal device moves.
[0222] S308: The terminal device synchronizes to the target cell and sends a radio resource control reconfiguration complete (RRCReconfiguration Complete) message to the T-RAN.
[0223] Correspondingly, T-RAN receives a radio resource control reconfiguration completion message sent by the terminal device.
[0224] The radio resource control reconfiguration completion message is used to confirm that the RRC handover process is completed. The T-RAN forwards the cached downlink data packet to the terminal device.
[0225] Among them, S306-S308 is the switching execution stage.
[0226] S309: T-RAN sends an N2 path switching request to AMF.
[0227] S310: AMF sends a session context update request to SMF.
[0228] S311: SMF sends a session modification request to UPF.
[0229] S312: UPF sends an N4 session modification response to SMF.
[0230] S313: UPF sends an N3 end marker to S-RAN.
[0231] S314: SMF sends a session context update response to AMF.
[0232] S315: AMF sends an N2 path switching request confirmation to T-RAN.
[0233] S316: If the N2 path switch request confirmation is used to indicate that the switch is successful, the T-RAN sends a release resource message to the S-RAN.
[0234] S317: Execute the registration update process.
[0235] Among them, S309-S317 is the switching completion stage.
[0236] It should be understood that, in order to avoid tedious description, the technical features of this embodiment that are the same as those of the above embodiment will not be described in detail in this embodiment. For example, the details of S309-S317 can be found in S202-S209 in the above embodiment, and will not be described in detail in this embodiment.
[0237] In some other embodiments, if it is Xn switching, such as Figure 4 As shown, the switching method including the switching preparation phase, the switching execution phase, and the execution phase includes:
[0238] S401: The terminal device sends a measurement report to the S-RAN.
[0239] S402: S-RAN makes a handover decision based on the measurement report.
[0240] S403: The S-RAN sends a handover request to the T-RAN.
[0241] S404: T-RAN performs admission control check.
[0242] Similarly, regarding the implementation principle of S401-S404, reference can be made to the description of S301-S304 in the above example, which will not be repeated here.
[0243] S405: T-RAN sends a Handover Resource Required message to AMF. The Handover Resource Required message is used to request the core network to prepare resources for handover, and the Handover Resource Required message carries a PDU session list and T-RAN tunnel information.
[0244] Correspondingly, the AMF receives a handover resource required message sent by the T-RAN.
[0245] S406: AMF sends a session context update request to SMF.
[0246] Correspondingly, SMF receives the session context update request sent by AMF.
[0247] Exemplarily, if there are multiple PDU sessions, for each PDU session, the AMF can send a session context update request to the SMF corresponding to the PDU session.
[0248] S407: SMF determines to change UPF, reselects T-UPF, and sends an N4 session establishment request (N4 session establishment request) to T-UPF. The N4 session establishment request is used to request T-UPF to allocate T-UPF tunnel information.
[0249] Correspondingly, T-UPF receives the N4 session establishment request sent by SMF.
[0250] S408: T-UPF sends an N4 session establishment response to SMF, wherein the N4 session establishment response carries the allocated T-UPF tunnel information.
[0251] In some embodiments, the SMF may start a timer to release resources of the S-UPF during the handover completion phase.
[0252] S409: SMF sends a session context update response to AMF, wherein the session context update response carries T-UPF tunnel information.
[0253] Correspondingly, AMF receives the session context update response sent by SMF.
[0254] S410: AMF sends a Handover Resource Required Acknowledge message to T-RAN, wherein the Handover Resource Required Acknowledge message is used to confirm that the resources of the core network are ready.
[0255] Correspondingly, T-RAN receives the handover resource requirement confirmation message sent by AMF.
[0256] S411: T-RAN sends a handover request confirmation to S-RAN.
[0257] Among them, S401-S411 is the switching preparation stage.
[0258] S412: The S-RAN sends a radio resource control reconfiguration message to the terminal device.
[0259] S413: S-RAN sends a sequence number state transfer message to T-RAN.
[0260] S414: The terminal device synchronizes to the target cell and sends a radio resource control reconfiguration completion message to the T-RAN.
[0261] Among them, S412-S414 is the switching execution stage.
[0262] S415: T-RAN sends an N2 path switching request to AMF.
[0263] S416: AMF sends a session context update request to SMF.
[0264] S417: SMF sends a session modification request to T-UPF.
[0265] S418: T-UPF sends an N4 session modification response to SMF.
[0266] S419: T-UPF sends an N3 end marker to S-RAN.
[0267] S420: SMF sends a session context update response to AMF.
[0268] S421: AMF sends N2 path switching request confirmation to T-RAN.
[0269] S422: If the N2 path switch request confirmation is used to indicate that the switch is successful, the T-RAN sends a release resource message to the S-RAN.
[0270] S423: Execute the registration update process.
[0271] Similarly, regarding the implementation principle of S411-S423, reference may be made to the description of S305-S317 in the above embodiment, which will not be repeated here.
[0272] Among them, S415-S423 is the switching completion stage.
[0273] Combined with the above analysis, it can be seen that the type of switching can also be N2 switching. Correspondingly, if the type of switching is N2 switching, then combined with Figure 5 It can be seen that the switching method in the switching preparation stage includes:
[0274] S501: S-RAN sends a handover request to the source mobility management function (S-AMF).
[0275] Correspondingly, the S-AMF receives the handover request sent by the S-RAN.
[0276] Among them, S-AMF refers to the AMF before the terminal device moves. The handover request includes: the target ID indicating T-RAN, the 5G wireless access network (NG-RAN) information created by S-RAN for use by T-RAN, the SM N2 message list, the context information of the terminal device, etc. The SM N2info list includes the availability of the direct forwarding path.
[0277] The context information of the terminal device includes: Subscription Permanent Identifier (SUPI), LADN service area, tracking request, DNN, etc.
[0278] S502: The target mobility management function (T-AMF) of S-AMF is selected, where T-AMF is the AMF after the terminal device moves.
[0279] Exemplarily, if S-AMF can no longer serve the terminal device, S-AMF selects T-AMF.
[0280] S503: If T-AMF is selected, S-AMF sends a Namf_Communication RreateUEContext Request to T-AMF, wherein the Namf_Communication RreateUEContext Request includes the SM N2 info list and context information in S501.
[0281] Correspondingly, T-AMF receives the start request sent by S-AMF.
[0282] S504: If T-AMF is selected, T-AMF sends a session context update request to SMF.
[0283] Correspondingly, SMF receives the session context update request sent by T-AMF.
[0284] Exemplarily, if the number of PDU sessions is multiple, for each PDU session indicated by the S-RAN, the T-AMF sends a session context update request to the SMF related to the PDU session.
[0285] S505: UPF selection of T-SMF.
[0286] Exemplarily, based on the target identifier, the SMF checks whether the N2 switching of the PDU session is acceptable to determine the corresponding UPF (the determined UPF is T-UPF).
[0287] For example, if the terminal device moves out of the LADN service area of the N3 UPF, based on the target identifier, the SMF also needs to confirm the selection criteria of the N3 UPF to reselect the UPF (which can be one or more); if the SMF fails to find a suitable UPF, the SMF can notify the terminal device to re-establish the session, or reject UPF activation and notify the AMF, or release the session.
[0288] S506: Based on the UPF determined in S505, the T-SMF interacts with the S-UPF and the UPF in turn to establish or modify the N4 session.
[0289] S507: T-SMF sends a session context update response to T-AMF.
[0290] Correspondingly, T-AMF receives the session context update response sent by T-SMF.
[0291] The number of PDU sessions can be multiple. For each PDU session indicated by S-RAN, T-AMF sends a session context update request to the relevant T-SMF. Therefore, in this step, for each of the above session context update requests, each corresponding SMF sends its corresponding session context update response to T-AMF.
[0292] Among them, if a T-SMF accepts the N2 switching of the PDU session described in S505, the T-SMF includes N2 SM information in its corresponding session context update response, and the N2 SM information includes the N3 UP address of the UPF and the uplink (UL) CN tunnel identifier, Quality of Service (QoS) parameters, information of the target NG-RAN, etc.
[0293] If a certain T-SMF does not accept the N2 switching of the PDU session described in S505, the T-SMF provides a reason for not accepting.
[0294] S508: PDU handover response supervisor of T-AMF.
[0295] Exemplarily, T-AMF monitors the time waiting for T-SMF to return a response message. When the maximum waiting time expires or a response message is received, T-AMF executes S409, i.e., continues the N2 switching process.
[0296] S509: The T-AMF determines the T-RAN according to the target identifier and sends a handover request to the T-RAN.
[0297] Correspondingly, T-RAN receives the handover request sent by T-AMF.
[0298] S510: T-RAN sends a handover request confirmation to T-AMF.
[0299] Correspondingly, T-AMF receives the handover request confirmation sent by T-RAN.
[0300] Among them, T-RAN gives a list of PDU sessions that failed to be established and the reasons for the failure, which will be provided to S-RAN later. The N2 SM information list in the switched PDU session list contains the T-RAN N3 addressing information of each PDU session identifier, that is, the N3 UP address of the T-RAN of the PDU session and the uplink CN tunnel identifier.
[0301] S511: T-AMF sends a switching request confirmation to T-SMF.
[0302] Exemplarily, for each handover request confirmation received from T-RAN, T-AMF sends the received handover request confirmation to the T-SMF indicated by the respective PDU session identifier.
[0303] The SMF uses the indication from the S-RAN to determine whether to apply indirect forwarding. If an indirect forwarding path is required between the S-RAN and the T-RAN, the T-SMF and UPF interact to establish an indirect forwarding tunnel between the S-UPF and the T-UPF.
[0304] Among them, for the PDU session that fails to be established, T-SMF executes the session release, session modification and other processes according to the failure reason.
[0305] S512: In response to S503, T-AMF sends a start handover resource allocation process response (Namf_Communication RreateUEContext Response) to S-AMF.
[0306] In some embodiments, Figure 6As shown, if it is N2 switching, the switching method in the switching execution phase includes:
[0307] S601: S-AMF sends a handover command (Handover Command) to S-RAN.
[0308] Correspondingly, S-RAN receives the handover command sent by S-AMF.
[0309] The switching command includes an N2 SM information list, and the N2 SM information list includes: a T-RAN SM N3 forwarding information list for direct forwarding, or a S-UPF SM N3 forwarding information list for indirect data forwarding.
[0310] S602: The S-RAN sends a handover command to the terminal device.
[0311] Correspondingly, the terminal device receives a switching command sent by the S-RAN.
[0312] S603: S-RAN sends a UL RAN state transfer message to S-AMF.
[0313] Accordingly, the S-AMF receives the UL RAN state transfer message sent by the S-RAN.
[0314] S604: The S-AMF sends a UL RAN state transfer message to the T-AMF, and receives confirmation information from the T-AMF for the UL RAN state transfer message.
[0315] S605: The S-AMF or T-AMF sends a downlink RAN state transfer message to the T-RAN.
[0316] S606: UL data packet and DL data packet transmission.
[0317] S607: For S602, after the terminal device is successfully synchronized to the target cell, the terminal device sends a handover confirmation message to the T-RAN.
[0318] Correspondingly, the T-RAN receives a switching confirmation message sent by the terminal device.
[0319] S608: T-RAN sends a handover notification to T-AMF.
[0320] Correspondingly, T-AMF receives the switching notification sent by T-RAN.
[0321] S609: If the AMF changes, the T-AMF sends a notification of N2 switching to the S-AMF, and the T-AMF receives a confirmation from the S-AMF regarding the notification of N2 switching.
[0322] S610: If the PDU session is not accepted by T-AMF, T-AMF sends a request to S-AMF to trigger the PDU session release process.
[0323] Correspondingly, S-AMF receives a request to trigger the PDU session release process sent by T-AMF.
[0324] S611: T-AMF sends a session context update request to SMF, wherein the session context update request includes the LADN service area.
[0325] Correspondingly, SMF receives the session context update request sent by T-AMF.
[0326] Exemplarily, the number of PDU sessions may be multiple, and for each PDU session, T-AMF sends a session context update request to the corresponding SMF.
[0327] S612: If a new T-UPF is selected, the SMF interacts with the T-UPF, sends the DL AN tunnel identifier of the T-RAN to the T-UPF, and receives a response from the T-UPF for the DL AN tunnel identifier.
[0328] Correspondingly, T-UPF receives the DL AN tunnel identifier sent by SMF, and sends a response to the DL AN tunnel identifier to SMF.
[0329] On the contrary, if no new T-UPF is selected, the SMF interacts with the S-UPF, sends the DL AN tunnel identifier of the T-RAN to the S-UPF, and receives a response from the S-UPF for the DL AN tunnel identifier.
[0330] Correspondingly, the S-UPF receives the DL AN tunnel identifier sent by the SMF, and sends a response to the DL AN tunnel identifier to the SMF.
[0331] S613: SMF sends an N4 session modification request to T-UPF, and receives an N4 session modification response fed back by T-UPF, wherein the N4 session modification request includes the N3 AN tunnel identifier of T-RAN or the DL CN tunnel identifier of T-UPF.
[0332] Correspondingly, T-UPF receives the N4 session modification request sent by SMF, and sends an N4 session modification response to the N4 session modification request to SMF.
[0333] Exemplarily, the number of PDU sessions may be multiple, and for each PDU session, the SMF sends an N4 session modification request to the T-UPF corresponding to the PDU session.
[0334] S614: In response to S611, SMF sends a session update response to T-AMF to confirm that the switching is complete.
[0335] Correspondingly, T-AMF receives the session update response sent by SMF. From then on, the handover is completed.
[0336] S615: The terminal device starts the mobility registration update process of N2 switching.
[0337] Combined with the above analysis, it can be seen that the judgment of whether the terminal device is in the LADN service area is performed by 5GC, specifically by SMF. Whether it is Xn switching or N2 switching, the switching preparation stage does not care. If the terminal device moves out of the LADN service area due to mobility, the subsequent switching process will no longer be executed, resulting in a waste of resources in the switching preparation stage, especially when the RAN (such as a base station) is deployed in a satellite network, it will cause a waste of satellite-to-ground interaction resources.
[0338] In order to avoid the above technical problems, the present disclosure proposes a technical conception that is the result of creative labor: in the switching preparation stage, the location information and LADN service area of the terminal device are carried in the session context update request to determine whether the session of the terminal device is allowed to be switched based on the location information and LADN service area.
[0339] Based on the above technical concept, Figure 7 As shown, the switching method includes:
[0340] S701: In the switching preparation phase, the SMF obtains a session context update request, wherein the session context update request carries location information of the terminal device (hereinafter referred to as location information) and a LADN service area.
[0341] Exemplarily, the execution subject of this embodiment is SMF, that is, in the switching preparation stage, the participation of the core network is introduced, such as introducing the SMF in the core network.
[0342] S702: The SMF determines whether to allow the session of the terminal device (ie, the PDU session) to be switched based on the location information and the LADN service area.
[0343] Accordingly, by introducing SMF in the switching preparation stage, SMF determines whether to allow the PDU session to switch in the switching preparation stage, so as to avoid the waste of resources caused by determining whether to allow the PDU session to switch in the switching execution stage and the switching completion stage as described in the above example, thereby achieving the technical effect of saving resources.
[0344] In some embodiments, the SMF may determine that the PDU session is not allowed to switch based on the location information and the LADN service area. The SMF may then output a first prompt message to indicate that the session switching has failed based on the first prompt message. That is, the first prompt message is used to indicate to the terminal device that the PDU session is not allowed to switch under the location information, thereby terminating the switching process and reducing resource waste.
[0345] In other embodiments, the SMF may determine that the PDU session is allowed to switch based on the location information and the LADN service area, and the SMF may output a second prompt message to indicate that the PDU session is allowed to switch based on the second prompt message. That is, the second prompt message is used to indicate that the terminal device is allowed to switch the PDU session under the location information, thereby continuing the switching process to achieve the effectiveness and reliability of the switching.
[0346] The type of switching may be Xn switching or N2 switching. For different types of switching, the switching logic and switching entity are different.
[0347] For example, if the type of switching is Xn switching, the execution subject of determining whether the PDU session is allowed to switch is SMF, and the session context update request is sent by AMF to SMF. That is, SMF receives the session context update request sent by AMF to determine whether the PDU session is allowed to switch based on the location information and LADN service area in the session context update request.
[0348] For another example, if the type of switching is N2 switching, the subject that determines whether the PDU session is allowed to switch is T-SMF, and the session context update request is sent by T-AMF to T-SMF. That is, T-SMF receives the session context update request sent by T-AMF to determine whether the PDU session is allowed to switch based on the location information and LADN service area in the session context update request.
[0349] In order to facilitate the understanding of the readers, the switching method based on the above technical concept is now described in detail for different types of switching. Figure 8 Schematic diagram of the switching method when Xn switches. Fig. 9 and Fig.10 is a schematic diagram of a switching method when N2 switches, and Fig. 9 The switching method in the switching preparation phase when N2 is switched. Fig.10 The switching method of the switching execution phase during N2 switching.
[0350] like Figure 8 As shown, the switching method includes:
[0351] S801: The terminal device sends a measurement report to the S-RAN.
[0352] S802: S-RAN makes a handover decision based on the measurement report.
[0353] S803: The S-RAN sends a handover request to the T-RAN.
[0354] S804: T-RAN performs admission control check.
[0355] Among them, regarding the implementation principle of S801-S804, please refer to the description of S301-S304 in the above example, which will not be repeated here.
[0356] S805: T-RAN sends a handover resource requirement message to AMF, wherein the handover resource requirement message includes location information and LADN service area.
[0357] Correspondingly, AMF receives the handover resource requirement message sent by T-RAN.
[0358] S806: AMF sends a session context update request to SMF, wherein the session context update request includes location information and LADN service area.
[0359] Correspondingly, SMF receives the session context update request sent by AMF.
[0360] Exemplarily, the number of PDU sessions may be multiple, and for each PDU session, the AMF may send a session context update request to the SMF corresponding to the PDU session.
[0361] S807: SMF determines whether to allow the PDU session to switch based on the location information and LADN service area. If not, execute S808; if allowed, execute S809.
[0362] S808: The SMF sends a first prompt message to the T-RAN, wherein the first prompt message is used to indicate that the session switching fails.
[0363] Correspondingly, T-RAN receives the first prompt message sent by SMF.
[0364] In this embodiment, when the SMF determines that the PDU session is not allowed to be switched, the SMF may send a first prompt message to the T-RAN so as not to execute subsequent switching procedures.
[0365] Combined with the above analysis, it can be seen that the number of PDU sessions may be multiple, so this embodiment can be understood as that there may be different judgment results for different PDU sessions. For example, if the judgment result for one or some PDU sessions is that switching is not allowed, the switching process of the PDU sessions that are not allowed to switch will no longer be executed.
[0366] S809: SMF sends a session context update response to AMF, wherein the session context update response includes a second prompt message, and the second prompt message is used to indicate that the switching of the PDU session is allowed.
[0367] S810: AMF sends a handover resource requirement confirmation message to T-RAN.
[0368] S811: T-RAN sends a handover request confirmation to S-RAN.
[0369] S812: The S-RAN sends a radio resource control reconfiguration message to the terminal device.
[0370] S813: S-RAN sends a sequence number state transfer message to T-RAN.
[0371] S814: The terminal device synchronizes to the target cell and sends a radio resource control reconfiguration completion message to the T-RAN.
[0372] S815: T-RAN sends an N2 path switching request to AMF.
[0373] S816: AMF sends a session context update request to SMF.
[0374] S817: SMF sends a session modification request to UPF.
[0375] Accordingly, in this embodiment, the SMF does not need to determine whether to allow the session of the terminal device to switch as in the above embodiment, and can directly switch.
[0376] S818: UPF sends an N4 session modification response to SMF.
[0377] S819: UPF sends an N3 end marker to S-RAN.
[0378] S820: SMF sends a session context update response to AMF.
[0379] S821: AMF sends N2 path switch request confirmation to T-RAN.
[0380] S822: If the N2 path switch request confirmation is used to indicate that the switch is successful, the T-RAN sends a release resource message to the S-RAN.
[0381] S823: Execute the registration update process.
[0382] Similarly, regarding the implementation principle of S810-S823, reference may be made to the description of S410-S423 in the above embodiment, which will not be repeated here.
[0383] like Fig. 9 As shown, the switching method includes:
[0384] S901: S-RAN sends a handover request to S-AMF.
[0385] S902: T-AMF selection of S-AMF.
[0386] Similarly, regarding the implementation principle of S901-S902, reference may be made to the description of S501-S502 in the above embodiment, which will not be repeated here.
[0387] S903: S-AMF sends a request to start a handover resource allocation process to T-AMF, wherein the request carries location information and LADN service area.
[0388] Correspondingly, T-AMF receives a request to start the switching resource allocation process sent by S-AMF.
[0389] S904: T-AMF sends a session context update request to T-SMF, wherein the session context update request carries location information and LADN service area.
[0390] Correspondingly, T-SMF receives the session context update request sent by T-AMF.
[0391] For example, combined with the above analysis, it can be seen that the number of PDU sessions may be multiple. If the number of PDU sessions is multiple, for each PDU session, T-AMF sends a session context update request to the T-SMF corresponding to the PDU session.
[0392] S905: T-SMF determines whether to allow the PDU session to switch based on the location information and LADN service area. If not, execute S906; if so, execute S907.
[0393] S906: T-SMF sends a first prompt message to T-RAN, wherein the first prompt message is used to indicate that the session switching fails.
[0394] Correspondingly, T-RAN receives the first prompt message sent by SMF.
[0395] In this embodiment, when the SMF determines that the PDU session is not allowed to be switched, the SMF may send a first prompt message to the T-RAN so as not to execute subsequent switching procedures.
[0396] Combined with the above analysis, it can be seen that the number of PDU sessions may be multiple, so this embodiment can be understood as that there may be different judgment results for different PDU sessions. For example, if the judgment result for one or some PDU sessions is that switching is not allowed, the switching process of the PDU sessions that are not allowed to switch will no longer be executed.
[0397] S907: UPF selection of T-SMF.
[0398] S908: Establish or modify the N4 session based on the UPF determined in S907.
[0399] S909: T-SMF sends a session context update response to T-AMF.
[0400] S910: T-AMF PDU handover response supervision.
[0401] S911: T-AMF determines T-RAN according to the target identifier and sends a handover request to T-RAN.
[0402] S912: T-RAN sends a handover request confirmation to T-AMF.
[0403] S913: T-AMF sends a switching request confirmation to T-SMF.
[0404] S914: In response to S913, T-AMF sends a response to S-AMF to start the switching resource allocation process.
[0405] Similarly, regarding the implementation principle of S907-S914, reference may be made to the description of S505-S512 in the above example, which will not be repeated here.
[0406] like Fig.10 As shown, the switching method includes:
[0407] S1001: S-AMF sends a handover command to S-RAN.
[0408] S1002: S-RAN sends a handover command to the terminal device.
[0409] S1003: S-RAN sends a UL RAN state transfer message to S-AMF.
[0410] S1004: S-AMF sends a UL RAN state transfer message to T-AMF, and receives confirmation information from T-AMF for the UL RAN state transfer message.
[0411] S1005: The S-AMF or T-AMF sends a downlink RAN state transfer message to the T-RAN.
[0412] S1006: UL data packet and DL data packet transmission.
[0413] S1007: For S1002, after the terminal device is successfully synchronized to the target cell, the terminal device sends a handover confirmation message to the T-RAN.
[0414] S1008: T-RAN sends a switching notification to T-AMF.
[0415] S1009: If the AMF changes, the T-AMF sends a notification of N2 switching to the S-AMF, and the T-AMF receives a confirmation of the S-AMF notification of N2 switching.
[0416] S1010: If the PDU session is not accepted by T-AMF, T-AMF sends a request to S-AMF to trigger the PDU session release process.
[0417] Similarly, regarding the implementation principle of S1001-S1010, reference may be made to the description of S601-S610 in the above embodiment, which will not be repeated here.
[0418] S1011: T-AMF sends a session context update request to SMF.
[0419] In this embodiment, the session context update request does not include the LADN service area, and the T-AMF does not need to determine whether the PUD session is allowed to be switched.
[0420] S1012: If a new T-UPF is selected, the SMF interacts with the T-UPF, sends the DL AN tunnel identifier of the T-RAN to the T-UPF, and receives a response from the T-UPF for the DL AN tunnel identifier.
[0421] On the contrary, if no new T-UPF is selected, the SMF interacts with the S-UPF, sends the DL AN tunnel identifier of the T-RAN to the S-UPF, and receives a response from the S-UPF for the DL AN tunnel identifier.
[0422] S1013: SMF sends an N4 session modification request to T-UPF, and receives an N4 session modification response fed back by T-UPF, wherein the N4 session modification request includes the N3 AN tunnel identifier of T-RAN or the DL CN tunnel identifier of T-UPF.
[0423] S1014: In response to S1011, SMF sends a session update response to T-AMF to confirm that the switching is complete.
[0424] S1015: The terminal device starts the mobility registration update process of N2 switching.
[0425] Similarly, regarding the implementation principle of S1012-S1015, reference may be made to the description of S612-S615 in the above embodiment, which will not be repeated here.
[0426] In some embodiments, when a terminal device establishes a PDU session, if the DNN accessed by the PDU session has LADN characteristics, then when the PDU session is established, the AMF can send a flag (Flag) to the S-RAN regarding whether the PDU session has LADN characteristics.
[0427] For example, if the DNN accessed by the PDU session has the LADN feature (ie, has the LADN restriction), the value of Flag is 1; if the DNN accessed by the PDU session does not have the LADN feature (ie, does not have the LADN restriction), the value of Flag is 0.
[0428] Accordingly, when the S-RAN receives the measurement report sent by the terminal device, it can query the value of the Flag when making a handover decision. If the value of the Flag is 1, the following steps are executed: Figure 7-10 The corresponding embodiment scheme; if the value of Flag is 0, execute as follows Figure 2-Figure 6 The scheme of the corresponding embodiment.
[0429] In a possible implementation scheme, in this embodiment, on the basis of AMF sending a Flag to S-RAN regarding whether the PDU session has the LADN feature, AMF can also send a LADN service area to S-RAN.
[0430] Accordingly, when the S-RAN receives the measurement report sent by the terminal device, it can query the value of the Flag when making a handover decision. If the value of the Flag is 1, the S-RAN decides to make a LADN service area judgment, such as by comparing the T-RAN area and the LADN service area to determine whether the PDU session needs to be switched. If so, the following steps are executed: Figure 7-10 The solution of the corresponding embodiment; if not, release the PDU session that cannot be switched.
[0431] It should be noted that the terminal device involved in the above embodiment may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in the 5G system in the above example, the terminal device may be called a user device. A wireless terminal device can communicate with one or more CNs via a RAN. The wireless terminal device may be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it may be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a wireless access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs) and other devices. The wireless terminal device may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, and a user device, but the present disclosure is not limited thereto.
[0432] Based on the above technical concept, the present disclosure also provides a switching device 1100, such as Fig.11 As shown, the switching device 1100 includes a memory 1101, a transceiver 1102, and a processor 1103:
[0433] The memory 1101 is used to store computer programs; the transceiver 1102 is used to send and receive data under the control of the processor 1103; the processor 1103 is used to read the computer program in the memory 1101 and perform the following operations:
[0434] In the handover preparation phase, a session context update request is obtained, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area.
[0435] Determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
[0436] In some embodiments, the processor 1103 is further configured to perform the following operations:
[0437] If it is determined that the session of the terminal device is not allowed to be switched according to the location information and the LADN service area, outputting a first prompt message;
[0438] The first prompt message is used to indicate that the session switching fails.
[0439] In some embodiments, the processor 1103 is further configured to perform the following operations:
[0440] If it is determined that the session of the terminal device is allowed to be switched according to the location information and the LADN service area, a second prompt message is output;
[0441] The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
[0442] In some embodiments, the type of switching is Xn switching, and the device is applied to a session management function SMF; when the processor 1103 is used to obtain a session context update request, specifically including:
[0443] The session context update request sent by the access and mobility management function AMF is received based on the SMF.
[0444] In some embodiments, the type of handover is N2 handover, and the device is applied to a target session management function T-SMF; the processor 1103 is used to obtain a session context update request, specifically including:
[0445] The session context update request sent by the target access and mobility management function T-AMF is received based on the T-SMF.
[0446] Based on the above technical concept, the present disclosure also provides a switching device 1200, such as Fig.12 As shown, the switching device 1200 includes a memory 1201, a transceiver 1202, and a processor 1203:
[0447] The memory 1201 is used to store computer programs; the transceiver 1202 is used to send and receive data under the control of the processor 1203; the processor 1203 is used to read the computer program in the memory 1201 and perform the following operations:
[0448] In the handover preparation phase, a session context update request is sent, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area;
[0449] The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
[0450] In some embodiments, the type of handover is Xn handover, and the device is applied to an access and mobility management function AMF; when the processor 1203 is used to send a session context update request, specifically including:
[0451] Send the session context update request to the session management function SMF based on the AMF.
[0452] In some embodiments, the processor 1203 is further configured to:
[0453] receiving, based on the AMF, a first prompt message sent by the SMF, and the AMF sending a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or,
[0454] Based on the AMF receiving a second prompt message sent by the SMF, the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0455] In some embodiments, the type of handover is N2 handover, and the device is applied to a target access and mobility management function T-AMF; when the processor 1203 is used to send a session context update request, specifically including:
[0456] Send the session context update request to the target session management function T-SMF based on the T-AMF.
[0457] In some embodiments, the processor 1203 is further configured to:
[0458] receiving a first prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sending a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or,
[0459] Based on the T-AMF receiving the second prompt message sent by the T-SMF, the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0460] In some embodiments, the processor 1203 is further configured to, in response to the session establishment being completed, send an indication message to a source radio access network S-RAN, wherein the indication message includes information for making a handover decision.
[0461] In some embodiments, the indication message includes an identifier; or;
[0462] The indication message includes an identifier and a LADN service area;
[0463] The identifier is used to indicate whether the session has a LADN feature.
[0464] Based on the above technical concept, the present disclosure also provides a switching device 1300, such as Fig.13 As shown, the switching device 1300 includes a memory 1301, a transceiver 1302, and a processor 1303:
[0465] The memory 1301 is used to store computer programs; the transceiver 1302 is used to send and receive data under the control of the processor 1303; the processor 1303 is used to read the computer program in the memory 1301 and perform the following operations:
[0466] In the handover preparation phase, in response to receiving a measurement report sent by the terminal device, querying an indication message, wherein the indication message includes information for making a handover decision;
[0467] A switching decision is made based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
[0468] In some embodiments, the indication message includes an identifier, wherein the identifier is used to indicate whether the session has LADN characteristics; if the identifier is used to indicate that the session has LADN characteristics, the switching decision is used to indicate sending a switching request.
[0469] In some embodiments, the indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has a LADN feature; and the processor 1303 is configured to make a switching decision according to the measurement report and the indication message, specifically including:
[0470] If the identifier is used to indicate that the session has LADN characteristics, determining a target radio access network T-RAN according to the measurement report;
[0471] Determine whether to perform session switching according to the T-RAN and the LADN service area.
[0472] Based on the above technical concept, the present disclosure also provides a switching device 1400, such as Fig.14 As shown, in the switching preparation stage, the switching device 1400 includes:
[0473] The acquisition unit 1401 is configured to acquire a session context update request, wherein the session context update request carries location information of a terminal device and a local area data network LADN service area.
[0474] In some embodiments, the type of switching is Xn switching, and the device is applied to a session management function SMF; the acquisition unit 1401 is specifically used to receive the session context update request sent by the access and mobility management function AMF based on the SMF.
[0475] In some embodiments, the type of switching is N2 switching, and the device is applied to the target session management function T-SMF; the acquisition unit 1401 is specifically used to receive the session context update request sent by the target access and mobility management function T-AMF based on the T-SMF.
[0476] The determining unit 1402 is configured to determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
[0477] The first output unit 1403 is configured to output a first prompt message if it is determined, based on the location information and the LADN service area, that the session of the terminal device is not allowed to be switched.
[0478] The first prompt message is used to indicate that the session switching fails.
[0479] The second output unit 1404 is configured to output a second prompt message if it is determined, based on the location information and the LADN service area, that the session of the terminal device is allowed to be switched.
[0480] The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
[0481] Based on the above technical concept, the present disclosure also provides a switching device 1500, such as Fig.15 As shown, in the switching preparation stage, the switching device 1500 includes:
[0482] The first sending unit 1501 is configured to send a session context update request, wherein the session context update request carries location information of a terminal device and a local area data network LADN service area.
[0483] The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
[0484] In some embodiments, the type of switching is Xn switching, and the device is applied to the access and mobility management function AMF; the first sending unit 1501 is specifically used to send the session context update request to the session management function SMF based on the AMF.
[0485] The first receiving unit 1502 is configured to receive a first prompt message sent by the SMF based on the AMF, and the AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or
[0486] The first receiving unit 1502 is used to receive a second prompt message sent by the SMF based on the AMF, and the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0487] In some embodiments, the type of switching is N2 switching, and the device is applied to the target access and mobility management function T-AMF; the first sending unit 1501 is specifically used to send the session context update request to the target session management function T-SMF based on the T-AMF.
[0488] The second receiving unit 1503 is configured to receive a first prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or,
[0489] The second receiving unit 1503 is used to receive a second prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
[0490] The second sending unit 1504 is configured to send an indication message to the source radio access network S-RAN in response to the session establishment being completed, wherein the indication message includes information used to make a handover decision.
[0491] In some embodiments, the indication message includes an identifier; or;
[0492] The indication message includes an identifier and a LADN service area;
[0493] The identifier is used to indicate whether the session has a LADN feature.
[0494] Based on the above technical concept, the present disclosure also provides a switching device 1600, such as Fig.16 As shown, in the switching preparation stage, the switching device 1600 includes:
[0495] The query unit 1601 is used to query the indication message in response to receiving the measurement report sent by the terminal equipment, wherein the indication message includes information used to make a switching decision.
[0496] The determination unit 1602 is used to make a switching decision based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
[0497] In some embodiments, the indication message includes an identifier, wherein the identifier is used to indicate whether the session has LADN characteristics; if the identifier is used to indicate that the session has LADN characteristics, the switching decision is used to indicate sending a switching request.
[0498] In some embodiments, the indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has LADN characteristics; the determination unit 1602 is specifically used to determine the target wireless access network T-RAN according to the measurement report if the identifier is used to indicate that the session has LADN characteristics, and determine whether to perform session switching according to the T-RAN and the LADN service area.
[0499] It should be noted that the embodiments of the present disclosure provide Fig.14 , Fig.15 , Fig.16 The switching device shown can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.
[0500] In addition, the division of units in the embodiments of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0501] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0502] Based on the above technical concept, the present disclosure also provides a processor-readable storage medium, which stores a computer program executable by a processor for executing the method described in the first aspect; or, the processor-readable storage medium stores a computer program executable by a processor for executing the method described in the second aspect; or, the processor-readable storage medium stores a computer program executable by a processor for executing the method described in the third aspect.
[0503] Among them, the processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0504] Based on the above technical concept, the present disclosure further provides a computer program product, including a computer program, which implements the method described in any of the above embodiments when executed by a processor.
[0505] Based on the above technical concept, the present disclosure also provides a switching system, including: Fig.11 , Fig.12 , Fig.13 The switching device shown.
[0506] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0507] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0508] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0509] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0510] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A switching method, characterized in that: In the handover preparation stage, the method includes: Obtaining a session context update request, wherein the session context update request carries location information of the terminal device and a local area data network LADN service area; Determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
2. The method according to claim 1, characterized in that The method further comprises: If it is determined that the session of the terminal device is not allowed to be switched according to the location information and the LADN service area, outputting a first prompt message; The first prompt message is used to indicate that the session switching fails.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: If it is determined that the session of the terminal device is allowed to be switched according to the location information and the LADN service area, a second prompt message is output; The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
4. The method according to any one of claims 1 to 3, characterized in that The type of switching is Xn switching, and the method is applied to the session management function SMF; obtaining a session context update request includes: The SMF receives the session context update request sent by the access and mobility management function AMF.
5. The method according to any one of claims 1 to 3, characterized in that: The type of handover is N2 handover, and the method is applied to a target session management function T-SMF; Get session context update request, including: The T-SMF receives the session context update request sent by the target access and mobility management function T-AMF.
6. A switching method, characterized in that: In the handover preparation stage, the method includes: Sending a session context update request, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area; The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
7. The method according to claim 6, characterized in that The type of handover is Xn handover, and the method is applied to the access and mobility management function AMF; sending a session context update request includes: The AMF sends the session context update request to the session management function SMF.
8. The method according to claim 7, characterized in that The method further comprises: The AMF receives a first prompt message sent by the SMF, and the AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or, The AMF receives a second prompt message sent by the SMF, and the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
9. The method according to claim 6, characterized in that The type of handover is N2 handover, and the method is applied to the target access and mobility management function T-AMF; Send a session context update request, including: The T-AMF sends the session context update request to the target session management function T-SMF.
10. The method according to claim 9, characterized in that The method further comprises: The T-AMF receives a first prompt message sent by the T-SMF, and the T-AMF sends a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or, The T-AMF receives a second prompt message sent by the T-SMF, and the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
11. The method according to any one of claims 6 to 10, characterized in that: The method further comprises: In response to the session establishment being completed, an indication message is sent to the source radio access network S-RAN, wherein the indication message includes information for making a handover decision.
12. The method according to claim 11, characterized in that The indication message includes an identifier; or; The indication message includes an identifier and a LADN service area; The identifier is used to indicate whether the session has a LADN feature.
13. A switching method, characterized in that: In the handover preparation stage, the method includes: In response to receiving a measurement report sent by a terminal device, querying an indication message, wherein the indication message includes information for making a handover decision; A switching decision is made based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
14. The method according to claim 13, characterized in that The indication message includes an identifier, wherein the identifier is used to indicate whether the session has a LADN feature; if the identifier is used to indicate that the session has a LADN feature, the switching decision is used to indicate sending a switching request.
15. The method according to claim 13, characterized in that The indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has a LADN feature; and making a handover decision according to the measurement report and the indication message includes: If the identifier is used to indicate that the session has LADN characteristics, determining a target radio access network T-RAN according to the measurement report; Determine whether to perform session switching according to the T-RAN and the LADN service area.
16. A switching device, characterized in that: Including memory, transceiver, processor: a memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: In the handover preparation phase, a session context update request is obtained, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area; Determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
17. The device according to claim 16, characterized in that The processor is further configured to perform the following operations: If it is determined that the session of the terminal device is not allowed to be switched according to the location information and the LADN service area, outputting a first prompt message; The first prompt message is used to indicate that the session switching fails.
18. The device according to claim 16 or 17, characterized in that The processor is further configured to perform the following operations: If it is determined that the session of the terminal device is allowed to be switched according to the location information and the LADN service area, a second prompt message is output; The second prompt information is used to indicate that the session of the terminal device is allowed to be switched.
19. The device according to any one of claims 16 to 18, characterized in that The type of switching is Xn switching, and the device is applied to a session management function SMF; when the processor is used to obtain a session context update request, it specifically includes: The session context update request sent by the access and mobility management function AMF is received based on the SMF.
20. The device according to any one of claims 16 to 18, characterized in that The type of handover is N2 handover, and the device is applied to a target session management function T-SMF; the processor is used to obtain a session context update request, specifically including: The session context update request sent by the target access and mobility management function T-AMF is received based on the T-SMF.
21. A switching device, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: In the handover preparation phase, a session context update request is sent, wherein the session context update request carries the location information of the terminal device and the local area data network LADN service area; The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
22. The device according to claim 21, characterized in that The type of handover is Xn handover, and the device is applied to the access and mobility management function AMF; when the processor is used to send a session context update request, it specifically includes: Send the session context update request to the session management function SMF based on the AMF.
23. The device according to claim 22, characterized in that The processor is further configured to: receiving, based on the AMF, a first prompt message sent by the SMF, and the AMF sending a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate a session handover failure; or, Based on the AMF receiving a second prompt message sent by the SMF, the AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
24. The device according to claim 21, characterized in that The type of handover is N2 handover, and the device is applied to the target access and mobility management function T-AMF; when the processor is used to send a session context update request, it specifically includes: Send the session context update request to the target session management function T-SMF based on the T-AMF.
25. The device according to claim 24, characterized in that The processor is further configured to: receiving a first prompt message sent by the T-SMF based on the T-AMF, and the T-AMF sending a first prompt message to a target radio access network T-RAN, wherein the first prompt message is used to indicate that the current session switching fails; or, Based on the T-AMF receiving the second prompt message sent by the T-SMF, the T-AMF sends a second prompt message to the target wireless access network T-RAN, wherein the second prompt message is used to indicate that the session of the terminal device is allowed to be switched.
26. The device according to any one of claims 21 to 25, characterized in that The processor is further configured to, in response to the session establishment being completed, send an indication message to a source radio access network S-RAN, wherein the indication message includes information for making a handover decision.
27. The device according to claim 26, characterized in that The indication message includes an identifier; or; The indication message includes an identifier and a LADN service area; The identifier is used to indicate whether the session has a LADN feature.
28. A switching device, characterized in that: Including memory, transceiver, processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: In the handover preparation phase, in response to receiving a measurement report sent by the terminal device, querying an indication message, wherein the indication message includes information for making a handover decision; A switching decision is made based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
29. The device according to claim 28, characterized in that The indication message includes an identifier, wherein the identifier is used to indicate whether the session has a LADN feature; if the identifier is used to indicate that the session has a LADN feature, the switching decision is used to indicate sending a switching request.
30. The device according to claim 28, characterized in that The indication message includes an identifier and the LADN service area, wherein the identifier is used to indicate whether the session has a LADN feature; and the processor is used to make a switching decision according to the measurement report and the indication message, specifically including: If the identifier is used to indicate that the session has LADN characteristics, determining a target radio access network T-RAN according to the measurement report; Determine whether to perform session switching according to the T-RAN and the LADN service area.
31. A switching device, characterized in that: The switch preparation phase includes: An acquiring unit, configured to acquire a session context update request, wherein the session context update request carries location information of the terminal device and a local area data network LADN service area; A determination unit is used to determine whether to allow the session of the terminal device to be switched according to the location information and the LADN service area.
32. A switching device, characterized in that: The switch preparation phase includes: A first sending unit, configured to send a session context update request, wherein the session context update request carries location information of the terminal device and a local area data network LADN service area; The location information and the LADN service area are used to determine whether to allow the session of the terminal device to be switched.
33. A switching device, characterized in that: The switch preparation phase includes: A query unit, configured to query an indication message in response to receiving a measurement report sent by a terminal device, wherein the indication message includes information used to make a handover decision; A determination unit is used to make a switching decision based on the measurement report and the indication message, wherein the switching decision is used to indicate whether to send a switching request, and the session context update request is initiated by the switching decision to indicate sending a switching request, and the session context update request carries the location information of the terminal device and the local area data network LADN service area.
34. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program executable by a processor for executing the method described in any one of claims 1 to 5; or, the processor-readable storage medium stores a computer program executable by a processor for executing the method described in any one of claims 6 to 12; or, the processor-readable storage medium stores a computer program executable by a processor for executing the method described in any one of claims 13 to 15.
Citation Information
Cited By
Task processing method and apparatus, device, and storage medium
WO2026166195A1
