Access network switching method, access network switching device and related equipment
By transferring user context between multiple network elements of the 5G network to switch terminal access network equipment, the problem of low AMF communication efficiency is solved and the mobility management and communication efficiency of the network are improved.
Patent Information
- Application Number
- CN202310176574.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
Smart Images

Figure CN118574170A
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a switching method, device and related equipment of an access network. Background Art
[0002] As the core unit in the 5G network, the Access and Mobility Management Function (AMF) is mainly responsible for various functions including registration management, connection management, access management, and security and access management and authorization. Since AMF is the interaction node of each control network element entering the core network, its distribution location is particularly important. The current centralized deployment solution has the problem that the long-distance signaling interaction overhead caused by the transmission of AMF between network elements is high, and for users who move frequently, there will be access blind spots at the boundaries of different AMF management areas, resulting in frequent network connection interruptions, which leads to the problem of low AMF communication efficiency. Summary of the invention
[0003] The embodiments of the present invention provide a switching method, device and related equipment of an access network to solve the problem of low AMF communication efficiency.
[0004] To solve the above problems, the present invention is achieved as follows:
[0005] In a first aspect, an embodiment of the present invention provides a method for switching an access network, which is performed by a first network element, and the method includes:
[0006] When the terminal accesses the first network side device, receiving a first request message sent by the second network element;
[0007] Sending a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal;
[0008] receiving the user context sent by the third network element, where the user context is used to indicate identity information and access network switching information of the terminal;
[0009] Based on the user context, switching the terminal from the first network side device to access the second network side device;
[0010] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0011] Optionally, the first network side device and the second network side device are connected via Xn or N2.
[0012] Optionally, before receiving the first request message sent by the second network element, the method further includes:
[0013] receiving a third request message sent by the second network element, where the third request message is used to update protocol data unit PDU session information;
[0014] When the PDU update is completed, a fourth request message is sent to the second network side device, where the fourth request message is used to instruct the second network side device to perform path switching.
[0015] Optionally, before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0016] The user context is sent to the second network element, and the user context is locally backed up.
[0017] Optionally, before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0018] receiving a fifth request message sent by a unified data management (UDM) entity, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0019] forwarding the fifth request message to the third network element;
[0020] A response message sent by the third network element is received, and the response message is forwarded to the UDM, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0021] Optionally, when the first network side device and the second network side device are connected via N2, after switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0022] An N2 short message (SM) message is sent to the second network element and the third network element, where the N2 SM message is used to indicate whether the PDU session is successfully established.
[0023] Optionally, after sending the N2 SM message to the second network element and the third network element, the method further includes:
[0024] Sending first information to the first network side device through a third network element, where the first information includes PDU session information;
[0025] Receive a switching success message sent by the second network side device, wherein the switching success message is used to indicate that the access network switching process of the terminal is completed. The switching success message is sent by the second network side device when a switching confirmation message is received. The switching confirmation message is sent by the terminal after the switching is completed based on the switching indication sent by the first network side device according to the PDU session information.
[0026] Optionally, after receiving the switching success message sent by the second network side device, the method further includes:
[0027] In the case where the second network element cannot support the PDU session, a PDU session release request triggered by the second network element through transparent transmission is received.
[0028] In a second aspect, an embodiment of the present invention provides a method for switching an access network, which is performed by a second network element, and the method includes:
[0029] When the terminal accesses the first network side device, sending a first request message to the first network element, so that the first network element obtains the user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to the second network side device based on the user context, wherein the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information;
[0030] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0031] Optionally, before sending the first request message to the first network element, the method further includes:
[0032] A third request message is sent to the first network element, so that the first network element sends a fourth request message to the second network side device when the protocol data unit PDU update is completed, the fourth request message is used to instruct the second network side device to perform path switching, and the third request message is used to update the protocol data unit PDU session information.
[0033] Optionally, when the first network side device and the second network side device are connected via N2, after receiving the user context transmitted by the first network element based on the first request message, the method further includes:
[0034] An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0035] Optionally, after receiving the user context transmitted by the first network element based on the first request message, the method further includes:
[0036] In the case that the second network element cannot support the PDU session, a triggered PDU session release request is sent to the first network element through transparent transmission.
[0037] In a third aspect, an embodiment of the present invention provides a method for switching an access network, which is performed by a third network element, and the method includes:
[0038] When the terminal accesses the first network side device, receiving a second request message sent by the first network element, where the second request message is used to request a user context of the terminal;
[0039] Sending the user context to the first network element, so that the first network element switches the terminal from the first network side device to access the second network side device based on the user context, where the user context is used to indicate the identity information and access network switching information of the terminal;
[0040] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0041] Optionally, when the first network side device and the second network side device are connected through N2, after sending the user context to the first network element, the method further includes:
[0042] An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0043] Optionally, after sending the user context to the first network element, the method further includes:
[0044] receiving a fifth request message sent by the first network element, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0045] A response message is sent to the first network element, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0046] In a fourth aspect, an embodiment of the present invention further provides a switching device for an access network, which is executed by a first network element and includes:
[0047] A first transceiver, configured to receive a first request message sent by a second network element when the terminal accesses the first network side device;
[0048] Sending a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal;
[0049] Receive the user context sent by the third network element, where the user context is used to indicate the identity information and access network switching information of the terminal
[0050] The first processor is used to switch the terminal from the first network side device to the second network side device based on the user context, wherein the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0051] In a fifth aspect, an embodiment of the present invention further provides a switching device for an access network, which is executed by a second network element and is characterized by comprising:
[0052] a second transceiver, configured to, when the terminal accesses the first network side device, send a first request message to the first network element, so that the first network element obtains a user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to access the second network side device based on the user context, wherein the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information;
[0053] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0054] In a sixth aspect, an embodiment of the present invention further provides a switching device for an access network, which is executed by a third network element and includes:
[0055] A third transceiver, configured to receive a second request message sent by the first network element when the terminal accesses the first network side device, wherein the second request message is used to request a user context of the terminal;
[0056] Sending the user context to the first network element, so that the first network element switches the terminal from the first network side device to access the second network side device based on the user context, where the user context is used to indicate the identity information and access network switching information of the terminal;
[0057] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0058] In the seventh aspect, an embodiment of the present invention further provides a communication device, comprising: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is used to read the program in the memory to implement the steps in the method described in the first aspect; or, the steps in the method described in the second aspect; or, the steps in the method described in the third aspect.
[0059] In an eighth aspect, an embodiment of the present invention further provides a readable storage medium for storing a program, wherein when the program is executed by a processor, the program implements the steps in the method described in the first aspect, or implements the steps in the method described in the second aspect, or implements the steps in the method described in the third aspect.
[0060] The present invention provides a switching method, device and related equipment of an access network, the method comprising: receiving a first request message sent by a second network element when a terminal accesses a first network side device; sending a second request message to a third network element according to the first request message, the second request message being used to request a user context of the terminal; receiving the user context sent by the third network element, the user context being used to indicate the identity information and access network switching information of the terminal; switching the terminal from the first network side device to accessing a second network side device based on the user context; wherein the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element. The embodiment of the present invention improves communication efficiency by transferring user contexts between multiple network elements to switch the access network device of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0062] Figure 1 This is one of the flow diagrams of the access network switching method provided by an embodiment of the present invention;
[0063] Figure 2 This is one of the interactive schematic diagrams of the access network switching method provided by an embodiment of the present invention;
[0064] Figure 3 This is the second interactive schematic diagram of the access network switching method provided by the embodiment of the present invention;
[0065] Figure 4 This is a second flow chart of a method for switching an access network provided in an embodiment of the present invention;
[0066] Figure 5 This is a third flow chart of a method for switching an access network provided in an embodiment of the present invention;
[0067] Figure 6 It is one of the structural schematic diagrams of the switching device of the access network provided by the implementation of the present invention;
[0068] Figure 7 This is a second structural diagram of a switching device for an access network provided by an embodiment of the present invention;
[0069] Figure 8 This is a third structural diagram of a switching device for an access network provided by the present invention;
[0070] Fig. 9 It is a schematic diagram of the structure of the communication device provided by the implementation of the present invention. DETAILED DESCRIPTION
[0071] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0072] The terms "first", "second" etc. in the embodiments of the present invention are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. In addition, the terms "include" and "have" and any variation thereof are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "and / or" is used in the present application to represent at least one of the connected objects, such as A and / or B and / or C, which represents 7 situations including single A, single B, single C, and A and B all exist, B and C all exist, A and C all exist, and A, B and C all exist.
[0073] See also Figure 1 , Figure 1 This is one of the flow charts of the access network switching method provided by an embodiment of the present invention. Figure 1 The access network switching method shown may be executed by the first network element.
[0074] See also Figure 2 , Figure 2This is one of the interaction diagrams in the embodiment of the present invention. It should be noted that the first network side device and the second network side device are connected via Xn or N2. Figure 2 The following is an example of the first network side device and the second network side device being connected via Xn.
[0075] In this embodiment, if Figure 2 The interactive system shown includes: a first network side device source base station (Source-Radio Access Network, S-RAN), a second network side device target base station (Target-Radio Access Network, T-RAN), a first network element centralized AMF (Centralized-AMF, C-AMF), a second network element target distributed AMF (Target-Distributed-AMF, TD-AMF), a third network element source distributed AMF (Source-Distributed-AMF, SD-AMF) and unified data management (Unified Data Management, UDM).
[0076] like Figure 1 As shown, the access network switching method may include the following steps:
[0077] Step 101: When a terminal accesses a first network-side device, a first request message sent by a second network element is received.
[0078] Step 102: Send a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal.
[0079] Step 103: Receive the user context sent by the third network element, where the user context is used to indicate the identity information and access network switching information of the terminal.
[0080] Step 104: Based on the user context, switch the terminal from the first network side device to access the second network side device; wherein the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0081] In this embodiment, the present invention assumes that the user is at the edge of RAN switching, but the management scope of the edge AMF is limited, so T-RAN is managed by another TD-AMF. However, since S-RAN and T-RAN are relatively close, it is considered that S-RAN has an Xn path connecting T-RAN (such as satellite-assisted seamless connection). Xn switching is considered here because the preparation work for switching between S-RAN and T-RAN is relatively easy, and only configuration information needs to be transmitted through direct connection. When a user moves from one S-RAN to another T-RAN coverage area, as the signal changes, an Xn-based RAN switching needs to be initiated to TD-AMF, and then the switching is completed through C-AMF, SMF, UPF and mobility registration.
[0082] In this embodiment, TD-AMF requests C-AMF for the user context in SD-AMF, carrying SUPI and TD-AMF instance ID. C-AMF finds SD-AMF through SUPI and requests the user context from SD-AMF. SD-AMF responds to the C-AMF request and returns the user context, such as a partial security context, to avoid repeated authentication. After receiving the user context, the terminal is switched from the first network side device to the second network side device.
[0083] It should be noted that in the preparation stage of the handover, the source base station S-RAN establishes a forwarding tunnel with the target base station T-RAN, and the target base station T-RAN establishes relevant resources for the user's current protocol data unit (PDU) session. The initial stage of the handover execution includes: the base station S-RAN needs to send information such as the target T-RAN identifier, access layer configuration, user capabilities, mapping relationship between QoS flows and data radio bearers, PDU session context, etc. to the target T-RAN. T-RAN performs admission control on users and determines to receive / reject certain PDU sessions based on the supported slices. The target base station establishes relevant resources based on the received information and sends confirmation information to S-RAN. S-RAN sends a Radio Resource Control (RRC) reconfiguration message to the user, instructing the terminal to perform the handover. The message contains T-RAN identifier, temporary identifier, security algorithm information, etc. After receiving this message, the user performs the handover operation and sends an RRC reconfiguration completion message to T-RAN.
[0084] Optionally, before receiving the first request message sent by the second network element, the method further includes:
[0085] receiving a third request message sent by the second network element, where the third request message is used to update protocol data unit PDU session information;
[0086] When the PDU update is completed, a fourth request message is sent to the second network side device, where the fourth request message is used to instruct the second network side device to perform path switching.
[0087] In this embodiment, after the air interface switching is completed, T-RAN sends an N2 path switching request message (N2 path switch request) to TD-AMF, which carries a list of PDU sessions that have been successfully switched and their N2 information, a list of PDU sessions that have failed to be switched and their N2 information, and user location information.
[0088] TD-AMF forwards the N2 path switch request message (including the PDU session list and N2 information of the successful switch, the PDU session and its N2 information of the failed switch, and the user location information) and the user context to C-AMF.
[0089] C-AMF finds the corresponding SMF based on the ID of the PDU session of successful / failed switching, the user context sent by TD-AMF and the locally stored UE SM context, and notifies it to update the relevant PDU session information, including SMF rebuilding the N3 connection between T-RAN and UPF. Finally, the Session Management Function (SMF) transparently transmits the update of N1 and N2 interface information to TD-AMF through Namf_Communication_N1N2MessageTransfer from C-AMF to TD-AMF, where the N1 SM information carries the PDU Session EstablishmentAccept message that AMF will forward to the terminal, and the N2 SM information needs to be forwarded to T-RAN through TD-AMF, including CN Tunnel Info., QoSProfiles, S-NSSAI and other information. C-AMF responds to the path switching and triggers the release of resources on the S-RAN side, such as channels, PDU sessions, etc. Since the user moves out of the area of initial registration, it is necessary to re-initiate a registration authentication request message to TD-AMF through T-RAN, carrying SUPI and registration type. Registration type indicates "mobility registration update".
[0090] Optionally, before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0091] The user context is sent to the second network element, and the user context is locally backed up.
[0092] In this embodiment, C-AMF responds to TD-AMF to send user context and local backup. In addition, although no authentication is required, it is necessary to request UDM to update the user's context.
[0093] Optionally, before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0094] receiving a fifth request message sent by a unified data management (UDM) entity, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0095] forwarding the fifth request message to the third network element;
[0096] A response message sent by the third network element is received, and the response message is forwarded to the UDM, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0097] In this embodiment, UDM requests C-AMF to deregister / subscribe the user context previously stored in SD-AMF, carrying the SD-AMF instance ID and SUPI. C-AMF finds SD-AMF through the SD-AMF instance ID and requests SD-AMF to delete the user (corresponding to SUPI) context. SD-AMF deletes the user context and sends a successful deletion response to C-AMF. In order to accurately discover the user and TD-AMF, C-AMF locally deletes the mapping of SUIP and SD-AMF instance ID, and creates a new mapping of TD-AMF and SUPI. C-AMF responds to UDM that SD-AMF has successfully deregistered / subscribed the user context. TD-AMF responds to the user through C-AMF transparent transmission to successfully register.
[0098] Optionally, when the first network side device and the second network side device are connected via N2, after switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0099] An N2 short message (SM) message is sent to the second network element and the third network element, where the N2 SM message is used to indicate whether the PDU session is successfully established.
[0100] In this embodiment, Figure 3 This is the second interactive diagram in the embodiment of the present invention. Figure 3 In the example, the first network side device and the second network side device are connected via N2.
[0101] In this embodiment, SMF confirms whether the corresponding PDU session can be switched, and SMF checks whether a new UPF needs to be inserted according to the user's location. After that, SMF establishes the uplink and downlink between UPFs. SMF sends relevant N2 SM information or the reason value of failure to C-AMF according to whether the PDU session is successfully established.
[0102] C-AMF sends N2 SM to SD-AMF and TD-AMF through transparent transmission, and uses the container sent by SD-RAN and the N2 message to send a switching request to T-RAN. T-RAN establishes corresponding connection resources for the corresponding PDU session, and returns the N3 information corresponding to the PDU session on the RAN side. For the successfully established PDU session, the uplink transmission path between T-RAN and UPF is successfully established. If an indirect forwarding path needs to be established, the SMF and the corresponding UPF need to interact separately to establish an indirect forwarding path from S-UPF to T-RAN. The path from S-RAN to S-UPF will be established during the execution process. After that, C-AMF searches for SD-AMF through SUPI, and forwards information to S-RAN through transparent transmission, including information on the establishment of the PDU session and information on S-UPF.
[0103] Optionally, after sending the N2 SM message to the second network element and the third network element, the method further includes:
[0104] Sending first information to the first network side device through a third network element, where the first information includes PDU session information;
[0105] Receive a switching success message sent by the second network side device, wherein the switching success message is used to indicate that the access network switching process of the terminal is completed. The switching success message is sent by the second network side device when a switching confirmation message is received. The switching confirmation message is sent by the terminal after the switching is completed based on the switching indication sent by the first network side device according to the PDU session information.
[0106] In this embodiment, after S-RAN receives information about switching from SD-AMF, such as PDU session information, S-RAN instructs the user to switch. After the user completes synchronization with SD-AMF, the user sends a switching confirmation message to T-RAN. Thereafter, T-RAN informs TD-AMF that the switching is successful, and TD-AMF informs C-AMF that the switching is successful, carrying SUIP and TD-AMF instance ID. In addition, C-AMF deletes the SUPI and SD-AMF mappings, creates SUIP and TD-AMF mappings, and provides a reference for subsequent registration authentication and user search.
[0107] Optionally, after receiving the switching success message sent by the second network side device, the method further includes:
[0108] In the case where the second network element cannot support the PDU session, a PDU session release request triggered by the second network element through transparent transmission is received.
[0109] In this embodiment, if TD-AMF cannot support certain PDU sessions due to slicing, TD-AMF will trigger the PDU session release process through C-AMF transparent transmission. For other PDU sessions, TD-AMF updates at SMF through C-AMF. SMF interacts with the corresponding UPF to establish a path for downlink data transmission. SMF deletes the corresponding indirect forwarding tunnel.
[0110] It should be noted that in the N2 connection, before the switching step is executed, the S-RAN, T-RAN and core network need to prepare for the switching and related resources after the switching. Specifically, the following preparations need to be made: establish user plane resources for uplink and downlink transmission after the switching; establish a downlink forwarding tunnel.
[0111] The main process of the preparation phase is as follows: S-RAN sends a switching request message to the SDS-AMF network element, which contains the T-RAN identifier, the PDU session message that needs to be switched, and the container information sent to T-RAN. SD-AMF, C-AMF, and TD-AMF transparently forward the switching request message, such as the T-RAN identifier and the PDU session message that needs to be switched, between each other. TD-AMF sends a request for user context to C-AMF, carrying SUPI information so that C-AMF can find SD-AMF. After receiving the request, SD-AMF sends a user context to C-AMF, such as a partial security user context, to avoid repeated user authentication. After receiving the user context, C-AMF forwards the user context to TD-AMF and backs it up locally to prepare for subsequent user registration. C-AMF switches the PDU session information according to the user context, and sends a message to the corresponding SMF to update the corresponding PDU session in combination with the slices that it can serve.
[0112] The present invention provides a method for switching an access network, the method comprising: receiving a first request message sent by a second network element when a terminal accesses a first network side device; sending a second request message to a third network element according to the first request message, the second request message being used to request a user context of the terminal; receiving the user context sent by the third network element, the user context being used to indicate the identity information and access network switching information of the terminal; switching the terminal from the first network side device to accessing a second network side device based on the user context; wherein the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element. The embodiment of the present invention improves communication efficiency by transferring user contexts between multiple network elements to switch the access network device of the terminal.
[0113] See also Figure 4 , Figure 4 This is the second flow chart of the access network switching method provided by the embodiment of the present invention. The access network switching method of the embodiment of the present invention can be executed by the second network element.
[0114] like Figure 4 As shown, the access network switching method may include the following steps:
[0115] Step 401: When the terminal accesses the first network side device, send a first request message to the first network element, so that the first network element obtains the user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to the second network side device based on the user context, where the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information;
[0116] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0117] Optionally, before sending the first request message to the first network element, the method further includes:
[0118] A third request message is sent to the first network element, so that the first network element sends a fourth request message to the second network side device when the protocol data unit PDU update is completed, the fourth request message is used to instruct the second network side device to perform path switching, and the third request message is used to update the protocol data unit PDU session information.
[0119] Optionally, when the first network side device and the second network side device are connected via N2, after receiving the user context transmitted by the first network element based on the first request message, the method further includes:
[0120] An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0121] Optionally, after receiving the user context transmitted by the first network element based on the first request message, the method further includes:
[0122] In the case that the second network element cannot support the PDU session, a triggered PDU session release request is sent to the first network element through transparent transmission.
[0123] The embodiment of the present invention transfers user context between multiple network elements to switch the access network device of the terminal, thereby improving communication efficiency.
[0124] It should be noted that this embodiment is an implementation of the first network element corresponding to the above method embodiment, and therefore, reference may be made to the relevant description in the above method embodiment, and the same beneficial effects can be achieved. To avoid repeated description, it will not be repeated here.
[0125] See also Figure 5 , Figure 5 This is the third flow chart of the access network switching method provided by the embodiment of the present invention. The access network switching method of the embodiment of the present invention can be executed by the second network element.
[0126] like Figure 5 As shown, the access network switching method may include the following steps:
[0127] Step 501: When a terminal accesses a first network side device, a second request message sent by a first network element is received, where the second request message is used to request a user context of the terminal;
[0128] Step 502: Send the user context to the first network element, so that the first network element switches the terminal from the first network side device to the second network side device based on the user context, where the user context is used to indicate the identity information of the terminal and the access network switching information;
[0129] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0130] Optionally, when the first network side device and the second network side device are connected through N2, after sending the user context to the first network element, the method further includes:
[0131] An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0132] Optionally, after sending the user context to the first network element, the method further includes:
[0133] receiving a fifth request message sent by the first network element, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0134] A response message is sent to the first network element, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0135] The embodiment of the present invention transfers user context between multiple network elements to switch the access network device of the terminal, thereby improving communication efficiency.
[0136] It should be noted that this embodiment is an implementation of the first network element corresponding to the above method embodiment, and therefore, reference may be made to the relevant description in the above method embodiment, and the same beneficial effects can be achieved. To avoid repeated description, it will not be repeated here.
[0137] The various optional implementation modes introduced in the embodiments of the present invention may be implemented in combination with each other or may be implemented separately if they do not conflict with each other, and the embodiments of the present invention are not limited to this.
[0138] See also Figure 6 , Figure 6 FIG. 1 is one of the structural diagrams of the switching device of the access network provided by the embodiment of the present invention. Figure 6 As shown, the switching device 600 of the access network includes:
[0139] The first transceiver 610 is used to receive a first request message sent by a second network element when the terminal accesses the first network side device;
[0140] Sending a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal;
[0141] Receive the user context sent by the third network element, where the user context is used to indicate the identity information and access network switching information of the terminal
[0142] The first processor 620 is used to switch the terminal from the first network side device to the second network side device based on the user context, wherein the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0143] Optionally, the first network side device and the second network side device are connected via Xn or N2.
[0144] Optionally, the first transceiver 610 is further used to receive a third request message sent by the second network element, where the third request message is used to update the protocol data unit PDU session information;
[0145] When the PDU update is completed, a fourth request message is sent to the second network side device, where the fourth request message is used to instruct the second network side device to perform path switching.
[0146] Optionally, the first transceiver 610 is further configured to send the user context to the second network element, and locally back up the user context.
[0147] Optionally, the first transceiver 610 is further used to receive a fifth request message sent by the unified data management UDM entity, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0148] forwarding the fifth request message to the third network element;
[0149] A response message sent by the third network element is received, and the response message is forwarded to the UDM, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0150] Optionally, the first transceiver 610 is further used to send an N2 short message (SM) message to the second network element and the third network element, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0151] Optionally, the first transceiver 610 is further configured to send first information to the first network side device through a third network element, where the first information includes PDU session information;
[0152] Receive a switching success message sent by the second network side device, wherein the switching success message is used to indicate that the access network switching process of the terminal is completed. The switching success message is sent by the second network side device when a switching confirmation message is received. The switching confirmation message is sent by the terminal after the switching is completed based on the switching indication sent by the first network side device according to the PDU session information.
[0153] Optionally, the first transceiver 610 is further used to receive a PDU session release request triggered by the second network element through transparent transmission when the second network element cannot support the PDU session.
[0154] The access network switching device 600 can implement the embodiment of the present invention. Figure 1The various processes of the method embodiment and the same beneficial effects are achieved, and will not be described again here to avoid repetition.
[0155] See also Figure 7 , Figure 7 FIG. 2 is a second structural diagram of a switching device for an access network provided in an embodiment of the present invention. Figure 7 As shown, the switching device 700 of the access network includes:
[0156] The second transceiver 710 is configured to send a first request message to the first network element when the terminal accesses the first network side device, so that the first network element obtains the user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to the second network side device based on the user context, wherein the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information;
[0157] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0158] Optionally, the second transceiver 710 is also used to send a third request message to the first network element, so that the first network element sends a fourth request message to the second network side device when the protocol data unit PDU update is completed, and the fourth request message is used to instruct the second network side device to perform path switching, and the third request message is used to update the protocol data unit PDU session information.
[0159] Optionally, the second transceiver 710 is further used to receive an N2 SM message sent by the first network element, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0160] Optionally, the second transceiver 710 is further used to send a triggered PDU session release request to the first network element through transparent transmission when the second network element cannot support the PDU session.
[0161] The access network switching device 700 can implement the embodiment of the present invention. Figure 4 The various processes of the method embodiment and the same beneficial effects are achieved, and will not be described again here to avoid repetition.
[0162] See also Figure 8 , Figure 8 FIG3 is a third structural diagram of a switching device for an access network provided by an embodiment of the present invention. Figure 8 As shown, the switching device 800 of the access network includes:
[0163] The third transceiver 810 is used to receive a second request message sent by the first network element when the terminal accesses the first network side device, where the second request message is used to request a user context of the terminal;
[0164] Sending the user context to the first network element, so that the first network element switches the terminal from the first network side device to access the second network side device based on the user context, where the user context is used to indicate the identity information and access network switching information of the terminal;
[0165] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0166] Optionally, the third transceiver 810 is further used to receive an N2 SM message sent by the first network element, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0167] Optionally, the third transceiver 810 is further used to receive a fifth request message sent by the first network element, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0168] A response message is sent to the first network element, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0169] The access network switching device 800 can implement the embodiment of the present invention. Figure 5 The various processes of the method embodiment and the same beneficial effects are achieved, and will not be described again here to avoid repetition.
[0170] The embodiment of the present invention also provides a communication device. Fig. 9 The communication device may include a processor 901, a memory 902, and a program 9021 stored in the memory 902 and executable on the processor 901.
[0171] When the communication device is the first network element, the program 9021 can be executed by the processor 901 to achieve Figure 1 Any step in the corresponding method embodiment:
[0172] When the terminal accesses the first network side device, receiving a first request message sent by the second network element;
[0173] Sending a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal;
[0174] receiving the user context sent by the third network element, where the user context is used to indicate identity information and access network switching information of the terminal;
[0175] Based on the user context, switching the terminal from the first network side device to access the second network side device;
[0176] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0177] Optionally, the first network side device and the second network side device are connected via Xn or N2.
[0178] Optionally, before receiving the first request message sent by the second network element, the method further includes:
[0179] receiving a third request message sent by the second network element, where the third request message is used to update protocol data unit PDU session information;
[0180] When the PDU update is completed, a fourth request message is sent to the second network side device, where the fourth request message is used to instruct the second network side device to perform path switching.
[0181] Optionally, before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0182] The user context is sent to the second network element, and the user context is locally backed up.
[0183] Optionally, before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0184] receiving a fifth request message sent by a unified data management (UDM) entity, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0185] forwarding the fifth request message to the third network element;
[0186] A response message sent by the third network element is received, and the response message is forwarded to the UDM, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0187] Optionally, when the first network side device and the second network side device are connected via N2, after switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes:
[0188] An N2 short message (SM) message is sent to the second network element and the third network element, where the N2 SM message is used to indicate whether the PDU session is successfully established.
[0189] Optionally, after sending the N2 SM message to the second network element and the third network element, the method further includes:
[0190] Sending first information to the first network side device through a third network element, where the first information includes PDU session information;
[0191] Receive a switching success message sent by the second network side device, wherein the switching success message is used to indicate that the access network switching process of the terminal is completed. The switching success message is sent by the second network side device when a switching confirmation message is received. The switching confirmation message is sent by the terminal after the switching is completed based on the switching indication sent by the first network side device according to the PDU session information.
[0192] Optionally, after receiving the switching success message sent by the second network side device, the method further includes:
[0193] In the case where the second network element cannot support the PDU session, a PDU session release request triggered by the second network element through transparent transmission is received.
[0194] When the communication device is a second network element, the program 9021 can be executed by the processor 901 to achieve Figure 4 Any step in the corresponding method embodiment:
[0195] When the terminal accesses the first network side device, sending a first request message to the first network element, so that the first network element obtains the user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to the second network side device based on the user context, wherein the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information;
[0196] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0197] Optionally, before sending the first request message to the first network element, the method further includes:
[0198] A third request message is sent to the first network element, so that the first network element sends a fourth request message to the second network side device when the protocol data unit PDU update is completed, the fourth request message is used to instruct the second network side device to perform path switching, and the third request message is used to update the protocol data unit PDU session information.
[0199] Optionally, when the first network side device and the second network side device are connected via N2, after receiving the user context transmitted by the first network element based on the first request message, the method further includes:
[0200] An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0201] Optionally, after receiving the user context transmitted by the first network element based on the first request message, the method further includes:
[0202] In the case that the second network element cannot support the PDU session, a triggered PDU session release request is sent to the first network element through transparent transmission.
[0203] When the communication device is a third network element, the program 9021 can be executed by the processor 901 to achieve Figure 5 Any step in the corresponding method embodiment:
[0204] When the terminal accesses the first network side device, receiving a second request message sent by the first network element, where the second request message is used to request a user context of the terminal;
[0205] Sending the user context to the first network element, so that the first network element switches the terminal from the first network side device to access the second network side device based on the user context, where the user context is used to indicate the identity information and access network switching information of the terminal;
[0206] Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
[0207] Optionally, when the first network side device and the second network side device are connected through N2, after sending the user context to the first network element, the method further includes:
[0208] An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
[0209] Optionally, after sending the user context to the first network element, the method further includes:
[0210] receiving a fifth request message sent by the first network element, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal;
[0211] A response message is sent to the first network element, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
[0212] A person skilled in the art can understand that all or part of the steps of implementing the above-mentioned embodiment method can be completed by hardware related to program instructions, and the program can be stored in a readable medium. The embodiment of the present invention also provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned Figure 1 or Figure 4 or Figure 5 Any steps in the corresponding method embodiments can achieve the same technical effect and will not be described again here to avoid repetition.
[0213] The storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0214] The above is a preferred implementation of the embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for switching an access network, executed by a first network element, characterized in that: The method comprises: When the terminal accesses the first network side device, receiving a first request message sent by the second network element; Sending a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal; receiving the user context sent by the third network element, where the user context is used to indicate identity information and access network switching information of the terminal; Based on the user context, switching the terminal from the first network side device to access the second network side device; Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
2. The method according to claim 1, characterized in that The first network side device and the second network side device are connected via Xn or N2.
3. The method according to claim 1 or 2, characterized in that Before receiving the first request message sent by the second network element, the method further includes: receiving a third request message sent by the second network element, where the third request message is used to update protocol data unit PDU session information; When the PDU update is completed, a fourth request message is sent to the second network side device, where the fourth request message is used to instruct the second network side device to perform path switching.
4. The method according to claim 1 or 2, characterized in that Before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes: The user context is sent to the second network element, and the user context is locally backed up.
5. The method according to claim 1 or 2, characterized in that Before switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes: receiving a fifth request message sent by a unified data management (UDM) entity, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal; forwarding the fifth request message to the third network element; A response message sent by the third network element is received, and the response message is forwarded to the UDM, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
6. The method according to claim 1 or 2, characterized in that In a case where the first network side device and the second network side device are connected via N2, after switching the terminal from the first network side device to access the second network side device based on the user context, the method further includes: An N2 short message (SM) message is sent to the second network element and the third network element, where the N2 SM message is used to indicate whether the PDU session is successfully established.
7. The method according to claim 6, characterized in that After sending the N2 SM message to the second network element and the third network element, the method further includes: Sending first information to the first network side device through a third network element, where the first information includes PDU session information; Receive a switching success message sent by the second network side device, wherein the switching success message is used to indicate that the access network switching process of the terminal is completed. The switching success message is sent by the second network side device when a switching confirmation message is received. The switching confirmation message is sent by the terminal after the switching is completed based on the switching indication sent by the first network side device according to the PDU session information.
8. The method according to claim 7, characterized in that After receiving the switching success message sent by the second network side device, the method further includes: In the case where the second network element cannot support the PDU session, a PDU session release request triggered by the second network element through transparent transmission is received.
9. A method for switching an access network, executed by a second network element, characterized in that: The method comprises: When the terminal accesses the first network side device, sending a first request message to the first network element, so that the first network element obtains the user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to the second network side device based on the user context, wherein the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information; Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
10. The method according to claim 9, characterized in that Before sending the first request message to the first network element, the method further includes: A third request message is sent to the first network element, so that the first network element sends a fourth request message to the second network side device when the protocol data unit PDU update is completed, the fourth request message is used to instruct the second network side device to perform path switching, and the third request message is used to update the protocol data unit PDU session information.
11. The method according to claim 9, characterized in that In a case where the first network side device and the second network side device are connected via N2, after receiving the user context transmitted by the first network element based on the first request message, the method further includes: An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
12. The method according to claim 9, characterized in that After receiving the user context transmitted by the first network element based on the first request message, the method further includes: In the case that the second network element cannot support the PDU session, a triggered PDU session release request is sent to the first network element through transparent transmission.
13. A method for switching an access network, executed by a third network element, characterized in that: The method comprises: When the terminal accesses the first network side device, receiving a second request message sent by the first network element, where the second request message is used to request a user context of the terminal; Sending the user context to the first network element, so that the first network element switches the terminal from the first network side device to access the second network side device based on the user context, where the user context is used to indicate the identity information and access network switching information of the terminal; Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
14. The method according to claim 13, characterized in that In a case where the first network side device and the second network side device are connected via N2, after sending the user context to the first network element, the method further includes: An N2 SM message sent by the first network element is received, where the N2 SM message is used to indicate whether the PDU session is established successfully.
15. The method according to claim 13, characterized in that After sending the user context to the first network element, the method further includes: receiving a fifth request message sent by the first network element, where the fifth request message is used to instruct the third network element to delete a target user context of the terminal, where the target user context is a user context previously stored by the terminal; A response message is sent to the first network element, where the response message is used to indicate that the third network element has deleted the target user context of the terminal.
16. A switching device for an access network, executed by a first network element, characterized in that: include: A first transceiver, configured to receive a first request message sent by a second network element when the terminal accesses the first network side device; Sending a second request message to a third network element according to the first request message, where the second request message is used to request a user context of the terminal; Receive the user context sent by the third network element, where the user context is used to indicate the identity information and access network switching information of the terminal The first processor is used to switch the terminal from the first network side device to the second network side device based on the user context, wherein the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
17. A switching device for an access network, executed by a second network element, characterized in that: include: a second transceiver, configured to, when the terminal accesses the first network side device, send a first request message to the first network element, so that the first network element obtains a user context of the terminal from the third network element according to the first request message, and switches the terminal from the first network side device to access the second network side device based on the user context, wherein the first request message is used to instruct the first network element to request the user context from the third network element, and the user context is used to indicate the identity information of the terminal and the access network switching information; Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
18. A switching device for an access network, executed by a third network element, characterized in that: include: A third transceiver, configured to receive a second request message sent by the first network element when the terminal accesses the first network side device, wherein the second request message is used to request a user context of the terminal; Sending the user context to the first network element, so that the first network element switches the terminal from the first network side device to access the second network side device based on the user context, where the user context is used to indicate the identity information and access network switching information of the terminal; Among them, the first network element is a centralized network element, the second network element is a destination distributed network element, and the third network element is a source distributed network element.
19. A communication device comprising: A transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is used to read the program in the memory to implement the steps in the access network switching method as described in any one of claims 1 to 8; or, the steps in the access network switching method as described in any one of claims 9 to 12; or, the steps in the access network switching method as described in any one of claims 13 to 15.
20. A readable storage medium for storing a program, characterized in that: When the program is executed by the processor, it implements the steps in the access network switching method as described in any one of claims 1 to 8; or, implements the steps in the access network switching method as described in any one of claims 9 to 12; or, implements the steps in the access network switching method as described in any one of claims 13 to 15.
