Switching processing method and device of network system, storage medium and electronic device
By AMF receiving the switching information of the MME in the network system and sending a voice session reconstruction request to the SGW, the problem of not being able to quickly recover when the voice session is abnormal is solved, and the voice session is quickly restored, which improves the user experience.
Patent Information
- Application Number
- CN202410019734.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2025-07-08
AI Technical Summary
When the voice session is established abnormally, the prior art cannot quickly restore the voice session, resulting in a decline in user experience. Especially when the collaboration between network elements is abnormal, SMF repeatedly retrys the voice session establishment, extending the process time.
The AMF receives the handover information sent by the MME, receives the voice session reconstruction request continuously sent by the SMF based on the handover information, and sends the handover request to the SGW, so as to realize the user equipment switching from the first network system to the second network system, and quickly restores the voice session.
It shortens the user's voice waiting time, improves the success rate of voice calls, and ensures that voice conversations are quickly resumed in abnormal situations.
Smart Images

Figure CN120282230A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a method and apparatus for handover processing of a network system, a storage medium, and an electronic device. Background Art
[0002] Currently, for the handling of voice call anomalies, the core network mainly notifies the forward network element to establish a voice dedicated bearer by means of message retransmission and multiple attempts. However, this method has the following problems: When encountering anomalies in the forward network element during the establishment of a voice dedicated bearer, repeated retries by the SMF will lengthen the entire voice process time and affect the user experience. The network element in the first network system (for example, the SGW or PGW in the 4G network system) cannot receive the handover request from the forward network element, resulting in some network elements remaining in the second network system (for example, the 5G network system) state all the time, and ultimately unable to establish a voice call. This cooperation anomaly between network elements will cause the SMF to only be in a state of repeatedly retrying the establishment of a voice session or waiting, unable to actively detect anomalies, resulting in the problem that the voice call cannot be quickly restored. Summary of the Invention
[0003] The embodiments of the present invention provide a method and apparatus for handover processing of a network system, a storage medium, and an electronic device, so as to at least solve the problem in the related art that the establishment of a voice session cannot be quickly restored when the establishment of a voice session is abnormal.
[0004] According to an embodiment of the present invention, there is provided a method for handover processing of a network system, which is applied to an Authentication Management Function Entity (AMF), and includes: receiving handover information sent by a Mobility Management Entity (MME), where the handover information indicates that the network connection of a User Equipment (UE) will be switched from a first network system to a second network system; receiving, based on the handover information, a voice session reconstruction request continuously sent by a Session Management Function (SMF), where the voice session reconstruction request is a reconstruction request for a voice session request sent to the UE when the base station does not support establishing a voice session with the first network system; and sending a handover request to a Serving Gateway (SGW) based on the received voice session reconstruction request, so that the SGW responds to the handover request and switches the network connection of the UE from the first network system to the second network system.
[0005] According to another embodiment of the present invention, there is provided a handover processing device for a network system, including: a first receiving module, configured to receive handover information sent by a Mobility Management Entity (MME), where the handover information indicates that the network connection of a User Equipment (UE) will be switched from a first network system to a second network system; a first sending module, configured to receive a continuous voice session reconstruction request sent by a Session Management Function (SMF) based on the handover information, where the voice session reconstruction request is a reconstruction request for a voice session request sent to the UE when the base station does not support establishing a voice session with the first network system; a second sending module, configured to send a handover request to a Serving Gateway (SGW) based on the received voice session reconstruction request, so that the SGW responds to the handover request and switches the network connection of the UE from the first network system to the second network system.
[0006] In an exemplary embodiment, the device further includes: a first activation module, configured to activate a first timer when the SMF determines that the base station does not support establishing a voice session of the 5G network system before receiving the continuous voice session reconstruction request sent by the SMF based on the handover information; a third sending module, configured to send the continuous voice session reconstruction request to the Access and Mobility Management Function (AMF when the SMF is triggered by the timing of the first timer being greater than a preset time.
[0007] In an exemplary embodiment, the device further includes: a fourth sending module, configured to send the handover information to the SMF after receiving the handover information sent by the MME, to indicate the SMF to send the voice session reconstruction request.
[0008] In an exemplary embodiment, the device further includes: a fifth sending module, configured to send a handover request to the Serving Gateway (SGW) based on the received voice session reconstruction request, so that after the SGW responds to the handover request and switches the network connection of the UE from the first network system to the second network system, the SGW sends the voice session reconstruction request to the Packet Data Network Gateway (PGW); a sixth sending module, configured to send the voice session request to the base station when the PGW receives the voice session reconstruction request.
[0009] In an exemplary embodiment, the above-mentioned sixth transmission module includes: a first mounting unit, configured to, when the PGW detects that the cache includes the above-mentioned voice session request that matches the above-mentioned voice session reconstruction request, mount the above-mentioned voice session request and delete the above-mentioned voice session request from the above-mentioned cache; a first generation unit, configured to the PGW regenerate a target voice session request by using the mounted above-mentioned voice session request and the above-mentioned voice session reconstruction request, and cache the above-mentioned target voice session request; a first transmission unit, configured to the PGW send the above-mentioned target voice session request to the above-mentioned base station to initiate reconstruction of the above-mentioned voice session request in the above-mentioned second network system.
[0010] In an exemplary embodiment, the above-mentioned first transmission unit includes: a first activation sub-module, configured to the PGW activate a second timer; a first transmission sub-module, configured to the PGW send the above-mentioned target voice session request to the above-mentioned base station according to the trigger of the above-mentioned second timer.
[0011] In an exemplary embodiment, during the process of the network connection of the above-mentioned user equipment switching from the above-mentioned first network system to the above-mentioned second network system, and when the above-mentioned user equipment initiates a Tracking Area Update (TAU), it is determined that the above-mentioned MME is in an abnormal state, where the above-mentioned MME being in the above-mentioned abnormal state includes that when the above-mentioned user equipment first initiates the above-mentioned voice session request, the above-mentioned MME does not send the above-mentioned voice session request to the above-mentioned SGW.
[0012] In an exemplary embodiment, the above-mentioned device further includes: a seventh transmission module, configured to, in the case of receiving the above-mentioned voice session reconstruction request, send a handover request to the SGW, so that after the above-mentioned SGW responds to the above-mentioned handover request and switches the network connection of the above-mentioned user equipment from the above-mentioned first network system to the above-mentioned second network system, the above-mentioned MME sends a handover response message to the above-mentioned AMF, where the above-mentioned handover response message is used to indicate that the network connection of the above-mentioned user equipment has been switched to the above-mentioned second network system; a first release module, configured to the above-mentioned AMF release the above-mentioned first network system to which the above-mentioned user equipment is connected based on the above-mentioned handover response message.
[0013] In an exemplary embodiment, the above-mentioned second transmission module includes: a second transmission unit, configured to the above-mentioned AMF send the above-mentioned handover request to the above-mentioned SGW when the number of times of receiving the above-mentioned voice session reconstruction request is greater than a preset threshold, so that the above-mentioned SGW responds to the above-mentioned handover request and switches the network connection of the above-mentioned user equipment from the above-mentioned first network system to the above-mentioned second network system.
[0014] According to another embodiment of the present invention, there is also provided a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0015] According to another embodiment of the present invention, there is also provided an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0016] Through the present invention, when an abnormality occurs in the first network system during the establishment of a voice session, the AMF can timely receive the handover information sent by the MME, receive the voice session reconstruction request continuously sent by the SMF based on the handover information, send the handover request to the SGW, and the SGW responds to the handover request to switch the network connection of the user equipment from the first network system to the second network system. It can quickly switch to the second network system, and the second network system initiates the establishment of a voice session, shortening the voice waiting time of the user and improving the success rate of voice calls. Therefore, it can solve the problem in the related art that it is impossible to quickly resume the establishment of a voice session when an abnormality occurs in the establishment of a voice session, and achieve the effect of ensuring the quick resume of the establishment of a voice session when an abnormality occurs in the establishment of a voice session. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a hardware structure block diagram of a mobile terminal of a network system handover processing method according to an embodiment of the present invention;
[0018] Figure 2 It is a flowchart of a network system handover processing method according to an embodiment of the present invention;
[0019] Figure 3 It is a network structure diagram of a non-roaming scenario according to an embodiment of the present invention;
[0020] Figure 4 It is a flowchart of a voice call falling back from a 5G network system to a 4G network system according to an embodiment of the present invention;
[0021] Figure 5 It is a flowchart of triggering the establishment of a voice dedicated bearer after reconstructing a PDN from a 4G network system according to an embodiment of the present invention;
[0022] Figure 6 It is a network structure diagram of a roaming scenario according to an embodiment of the present invention;
[0023] Figure 7 It is a flowchart of a voice call in a 5G network system falling back to a 4G network system according to an embodiment of the present invention;
[0024] Figure 8 It is a flowchart for triggering the establishment of a voice dedicated bearer after reconstructing the PDN according to an embodiment of the present invention;
[0025] Figure 9 It is a structural block diagram of a handover processing device of a network system according to an embodiment of the present invention. Detailed implementation manners
[0026] In the following, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with embodiments.
[0027] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence.
[0028] The method embodiments provided in the embodiments of the present application can be executed on a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 It is a hardware structural block diagram of a mobile terminal of a handover processing method of a network system according to an embodiment of the present invention. As Figure 1 shown, the mobile terminal may include one or more ( Figure 1 only one is shown in Figure 1 the processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Among them, the above-mentioned mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown is only schematic and does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal may further include more or fewer components than Figure 1 shown in
[0029] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the handover processing method of the network system in the embodiments of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above-mentioned method. The memory 104 may include a high-speed random access memory and may further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely disposed relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise internal network, a local area network, a mobile communication network, and combinations thereof.
[0030] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by a communication provider of a mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0031] In the method embodiments provided in the embodiments of the present application, the network architecture among various network elements is as Figure 2 shown. The UE (User Equipment) is connected to the AMF (Access and Mobility Management Function, an authentication management function entity with access and mobility management functions). The AMF transmits the location information of the UE to the MME (Mobility Management Entity, a key control node of the 3GPP protocol LTE access network). The MME establishes connections with the SGW (Service Gateway) and the PGW (PDN Gateway, Packet Data Network Gateway), and then communicates with the AMF to obtain the data transmission requirements of the UE. Next, the MME negotiates the data path with the SGW and the PGW, and then reports the data path establishment situation to the AMF. Finally, the AMF transmits the data path information to the UE so that the UE can establish connections with the SGW and the PGW and start data transmission. During the whole process, multiple interactions occur among the UE, AMF, SMF (Session Management Function), SGW, MME, and PGW to ensure the smooth progress of data transmission.
[0032] Optionally, the interaction process among the AMF, SMF, and SGW includes: The UE initiates a connection request: The UE connects to the core network of the service provider through the wireless network; The AMF allocates a session ID: When the UE successfully connects to the core network, the AMF will allocate a unique session ID and send it to the SMF and SGW; The SMF performs session management: After receiving the session ID, the SMF starts to manage the UE's session, including allocating an IP address, traffic control, etc.; The SGW establishes a data transmission channel: After receiving the session ID, the SGW establishes a data transmission channel with the UE so that the UE can communicate with the Internet or other networks; Data transmission and traffic control: Once the data transmission channel is established, the UE can start sending and receiving data. The SMF and SGW will manage and control the data traffic to ensure the effective utilization of network resources; Session end and resource release: When the UE disconnects or the session ends, the AMF, SMF, and SGW will release the relevant session resources and perform necessary cleanup work. In this interaction process, the AMF is responsible for core network function management, the SMF is responsible for session management, and the SGW is responsible for data transmission and traffic control. Their collaboration and interaction ensure that the user equipment can smoothly access and use various functions and services of the core network.
[0033] In this embodiment, a handover processing method for a network system is provided, which is applied to an Authentication Management Function entity (AMF). Figure 3 It is a flowchart of the handover processing method for a network system according to an embodiment of the present invention, as Figure 3 shown. The process includes the following steps:
[0034] Step S302: Receive the handover information sent by a Mobility Management Entity (MME). The handover information indicates that the network connection of the user equipment will be switched from a first network system to a second network system;
[0035] Optionally, the MME usually sends the handover information in an LTE (Long-Term Evolution) network. For example, the handover information is sent in the following scenarios: When the UE switches from one base station to another base station, the MME will send the handover information to the new target base station; When the UE switches from the LTE network to other wireless networks (such as 3G or 2G), the MME will send the handover information to the target wireless network; When the UE performs a cell handover under the same base station, the MME will send the handover information to the target cell.
[0036] Optionally, the handover information includes but is not limited to the following: target base station information: including information such as the identifier, location, and coverage area of the target base station; handover type: indicating whether the handover is based on radio signal quality, load balancing, or other reasons; handover parameters: for example, handover thresholds, handover admission conditions, etc.; handover command: an instruction indicating the AMF to perform the handover, including the time and method of handover to the target base station; handover result: including information feedback on whether the handover is successful or failed. After receiving this handover information, the AMF can perform the handover action according to the instruction sent by the MME to achieve handover between different network systems, thereby improving communication quality and user experience.
[0037] Step S304, receiving a continuous voice session reconstruction request sent by the session management function SMF based on the handover information, where the voice session reconstruction request is a reconstruction request for the voice session request sent to the user equipment when the base station does not support establishing a voice session with the first network system;
[0038] Step S306, based on the received voice session reconstruction request, sending a handover request to the serving gateway SGW, so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system.
[0039] Optionally, this embodiment is applied to scenarios where there is a need to quickly restore voice call services when cooperation among multiple network elements in the network system is abnormal. For example, non-roaming scenarios and roaming scenarios in the communication system of the 5G network system.
[0040] Optionally, the second network system is a network system with worse performance than the first network system. For example, the second network system is a 3G network system and the first network system is a 4G network system; the second network system is a 4G network system and the first network system is a 5G network system; the second network system is a 5G network system and the first network system is a 6G network system. When the user equipment initiates a voice session establishment request, it preferentially selects the first network system, and in the case of a failure of the first network system, it switches to the second network system to establish a voice session. Among them, the 4G network system is the fourth-generation mobile communication technology, which provides faster data transmission speed and higher network capacity than the previous generation 3G network. It uses LTE (Long Term Evolution) technology, which can support more device connections and provide more stable network connections. The 5G network system is the fifth-generation mobile communication technology, which is a new generation of network system that upgrades and improves the current 4G LTE network. The 5G network system has higher data transmission speed, lower latency, and larger capacity, and can support more devices to connect simultaneously, providing users with a faster and more stable Internet experience.
[0041] For example, in this embodiment, when a 5G device (e.g., UE) initiates or receives a voice call in 5G NR, if 5G NR does not support voice services, or all necessary voice functions have not been implemented in the telephone and NG-RAN, or there is a temporary lack of voice resources in NG-RAN, the handover processing (e.g., EPS Fallback) process of this embodiment is triggered.
[0042] Through the above steps, when an abnormality occurs in the first network system during the establishment of a voice session, the AMF can timely receive the handover information sent by the MME, receive the voice session reconstruction request continuously sent by the SMF based on the handover information, send the handover request to the SGW, and the SGW responds to the handover request to switch the network connection of the user equipment from the first network system to the second network system. It can quickly switch to the second network system, and the second network system initiates the establishment of a voice session, shortening the voice waiting time of the user and improving the success rate of the voice call. Therefore, it can solve the problem in the related art that when an abnormality occurs in the establishment of a voice session, the establishment of the voice session cannot be quickly restored, and achieve the effect of ensuring the quick restoration of the establishment of the voice session when an abnormality occurs in the establishment of the voice session.
[0043] In an exemplary embodiment, before receiving the voice session reconstruction request continuously sent by the session management function SMF based on the handover information, the above method further includes: the SMF starts a first timer when determining that the base station does not support the establishment of a voice session in the 5G network system; the SMF continuously sends a voice session reconstruction request to the AMF under the trigger that the timing of the first timer is greater than a preset time. Optionally, the first timer is mainly used for the SMF to trigger the reconstruction of the voice dedicated bearer, and the timing of the first timer can be flexibly set based on different application scenarios. In this embodiment, the SMF can timely initiate a voice session reconstruction request by starting the first timer.
[0044] In an exemplary embodiment, after receiving the handover information sent by the mobility management entity MME, the above method further includes: sending the handover information to the SMF to instruct the SMF to send a voice session reconstruction request. In this embodiment, when the SMF receives the handover indication from the AMF, it can quickly trigger the process of reconstructing the voice dedicated bearer without waiting for the bearer establishment initiated by the PCF (Policy Control Function), accelerating the voice dedicated bearer establishment process.
[0045] In an exemplary embodiment, based on the received voice session reconstruction request, a handover request is sent to the Serving Gateway (SGW) so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system. After that, the method further includes: the SGW sends a voice session reconstruction request to the Packet Data Network Gateway (PGW); when the PGW receives the voice session reconstruction request, it sends a voice session request to the base station.
[0046] Optionally, when the PGW receives the voice session reconstruction request and sends a voice session request to the base station, it includes: when the PGW detects that the voice session request matching the voice session reconstruction request is included in the cache, it mounts the voice session request and deletes the voice session request from the cache; the PGW regenerates a target voice session request by using the mounted voice session request and the voice session reconstruction request and caches the target voice session request; the PGW sends the target voice session request to the base station to initiate the reconstruction of the voice session request in the second network system. For example, when the PGW detects that a dedicated bearer for the voice session to be established is required during the reconstruction of a 4G voice session, it can immediately initiate the establishment of the dedicated bearer for the voice session by itself after the voice session is reconstructed, without waiting for the PCF to initiate the establishment of the voice dedicated bearer.
[0047] Optionally, when the PGW sends the target voice session request to the base station, it includes: the PGW starts a second timer; the PGW sends the target voice session request to the base station according to the trigger of the second timer. The duration of the second timer can be configured based on the application scenario. By the trigger of the second timer, the PGW can initiate the voice session request in a timely manner, ensuring the reconstruction of the voice session.
[0048] In an exemplary embodiment, during the process of switching the network connection of the user equipment from the first network system to the second network system and when the user equipment initiates a Tracking Area Update (TAU), it is determined that the Mobility Management Entity (MME) is in an abnormal state. Herein, the MME being in an abnormal state includes that when the user equipment initiates a voice session request for the first time, the MME does not send a voice session request to the SGW. For example, since the MME does not initiate a voice session handover due to an abnormality, the user's 4G TAU fails, and then an Attach needs to be re-initiated in the 4G network system. The MME sends a Create Session Request to the SGW to initiate the Attach process, and the SGW sends a Create Session Request to the PGW to initiate the Attach process.
[0049] In an exemplary embodiment, in the case of receiving a voice session reconstruction request, a handover request is sent to the Serving Gateway (SGW) so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system. After that, the method further includes: the Mobility Management Entity (MME) sends a handover response message to the Access and Mobility Management Function (AMF), where the handover response message is used to indicate that the network connection of the user equipment has been switched to the second network system; the AMF releases the first network system to which the user equipment is connected based on the handover response message. This embodiment releases the first network system to which the user equipment is connected in a timely manner after the voice session is established, saving network resources.
[0050] In an exemplary embodiment, based on the received voice session reconstruction request, a handover request is sent to the Serving Gateway (SGW) so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system, including: when the number of times the AMF receives the voice session reconstruction request is greater than a preset threshold, the AMF sends the handover request to the SGW so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system. In this embodiment, the preset threshold can be flexibly set according to the application scenario. For example, it can be 5 times or 10 times. By setting the number of times of the voice session reconstruction request, this embodiment can switch to other network systems in a timely manner to reconstruct the voice session when the network system is abnormal, ensuring the establishment of the voice session.
[0051] The present application will be described in detail below with reference to specific embodiments:
[0052] This specific embodiment takes the scenario of switching to a 4G network system in the case of an abnormality in establishing a voice session in a 5G network system as an example for description, including handover in a non-roaming scenario and handover in a roaming scenario, specifically as follows:
[0053] In the non-roaming scenario, the user uses a User Equipment (UE) within the network range of their own operator to make a voice call. The process of the voice call includes: voice dialing, connection establishment, call connection, voice call, and ending the voice call. In this process, each network element in the communication network will use various protocols to transmit voice signals and establish connections to ensure stable voice calls between both parties. The network architecture between each network in the non-roaming scenario is as Figure 2 shown. In this network architecture, the UE preferentially connects to the 5G network system for voice calls. However, due to an abnormality in the 5G network system, the voice call cannot obtain a response. To ensure the connection of the voice call, the voice call needs to fall back from the 5G network system to the 4G network system to reconstruct the voice call. When falling back from the 5G network system to the 4G network system for a voice call, the interaction process between each network element is as Figure 4 shown, including the following steps:
[0054] S401. The UE has completed going online and is in an online state. The UE initiates a voice call establishment request.
[0055] S402. The PCF receives the voice call establishment request and initiates a voice call establishment request to the base station. Since the base station does not support VoNR (Voice over New Radio, voice carried over the new air interface, i.e., the commonly mentioned 5G voice technology), it returns an EPS fallback (Evolved Packet System fallback, 5G voice service falls back to 4G) cause value to the SMF.
[0056] S403. The SMF receives the EPS fallback cause value and starts a timer (the first timer) to trigger voice call reconstruction.
[0057] S404. The UE initiates a TAU (Tracking Area Update) process.
[0058] S405. The eNB (Evolved Node B) receives the TAU request.
[0059] S406. The eNB sends the TAU request to the MME.
[0060] S407. The MME responds to the TAU request and sends a context request to the AMF.
[0061] S408. The AMF responds to the context request.
[0062] S409. The AMF performs authentication or security verification on the context request.
[0063] S410. The MME replies a Context Ack (Acknowledge character) message to the visiting and AMF.
[0064] S411. Due to an exception, the MME does not initiate a network handover to the SGW, and the SMF timer times out to trigger a voice call reconstruction request.
[0065] S412. The SMF notifies the AMF to perform voice call reconstruction.
[0066] S413. The AMF determines that it has received the indication of voice call reconstruction from the MME and identifies it as the state of switching to the 4G network system. Then it replies to the SMF for voice call reconstruction, indicating that the forward network element is performing a network system handover.
[0067] S414. When the SMF timer times out, a voice call session reconstruction will be initiated again. The AMF system sets an internal threshold to detect whether the cumulative number of times of receiving the voice call session establishment request from the SMF during the handover process (S413) exceeds the set threshold.
[0068] S415. When the AMF detects that the exception reaches the set threshold, the AMF needs to construct a new message (Hand Over To EPS Immediately Request) to notify the MME, causing the MME to immediately initiate the handover process for voice call session reconstruction.
[0069] S416. When the MME receives the handover request from the AMF, if the MME determines that it has obtained the Retrieve message for recovery, it will reply to the AMF with a handover response and add a new message (Hand Over To EPS Immediately Response). Then the MME sends a handover message to the SGW in the 4G network system to ensure the continuation of the handover process. Otherwise, if the 4G network system is considered abnormal, the MME quickly triggers the user to go online again.
[0070] S417. The MME sends a voice call session reconstruction request to the SGW.
[0071] S418. The SGW modifies the voice call session reconstruction request and sends it to the PGW.
[0072] S419. The PGW responds to the voice call session reconstruction request.
[0073] S420. The SGW sends a voice call session reconstruction response to the MME, completing the 4G part of the TAU process from the 5G network system to the 4G network system.
[0074] S421. After switching to the 4G network system, the PGW-C initiates the voice call session reconstruction process.
[0075] In this embodiment, for the exception of the MME, through the SMF reconstruction mechanism, the AMF detection mechanism, and the cooperation among the AMF, SMF, and MME, the abnormal process can be restored, improving the user's voice call experience.
[0076] In the non-roaming scenario, after the user tracking area update (TAU) fails, the process of triggering the establishment of a dedicated voice bearer after reconstructing the PDN from the 4G network system is as Figure 5 shown, and specifically includes the following steps:
[0077] S501. The UE has completed going online and is in the online state. The UE initiates a voice call session establishment request.
[0078] S502, The PCF receives a voice call establishment request and initiates a voice call establishment request to the base station. Since the base station does not support VoNR, it returns an EPS fallback cause value to the SMF.
[0079] S503, The SMF receives the EPS fallback cause value and starts a timer to trigger voice call reconstruction.
[0080] S504, The UE initiates a TAU trigger process.
[0081] S505, The eNB (Evolved Node B) receives the TAU request.
[0082] S506, The eNB sends the TAU request to the MME.
[0083] S507, The MME responds to the TAU request and sends a context request to the AMF.
[0084] S508, The AMF responds to the context request.
[0085] S509, The AMF performs authentication or security verification on the context request.
[0086] S510, The UE initiates a TAU process, and the MME sends a context confirmation message to the AMF.
[0087] S511, The SMF timer times out, triggering voice call reconstruction.
[0088] S512, Since the MME fails to initiate a handover to the SGW due to an exception, the user's 4G TAU fails, and then a voice call reconstruction is initiated again on 4G.
[0089] S513, The core network re-establishes the PDN, but an existing call on the PGW / SMF cannot be connected.
[0090] S514, The MME sends a voice call reconstruction request to the SGW to initiate the voice call reconstruction process.
[0091] S515, The SGW sends a voice call reconstruction request to the PGW to initiate the voice call reconstruction process.
[0092] S516, The PGW detects that the user has logged in repeatedly, which will trigger voice call self-release and voice call reconstruction. The specific implementation is as follows: first send an internal deletion, and then send a session online message to the PGW.
[0093] S517, The PGW receives the self-release message, detects the existence of a voice call dedicated bearer establishment, constructs and continues to cache the message for the PCF to establish a reverse voice call dedicated bearer.
[0094] S518. The PGW receives the voice session reconstruction message constructed by itself in S516. The PGW completes the voice session reconstruction. If it detects the existence of the reverse voice session bearer establishment cache message of this user, it starts a timer (with a configurable duration), and after the voice session reconstruction, it initiates the voice session bearer establishment again.
[0095] S519. The SGW sends a voice session reconstruction response to the PGW.
[0096] S520. The MME sends a voice session reconstruction response to the SGW.
[0097] S521. The SGW and the MME complete the subsequent processes of the user's PDN voice session reconstruction.
[0098] S522. When the timer started in S518 times out, the PGW pops up the cache message and triggers the voice session reconstruction again.
[0099] S523. The subsequent processes of the voice session reconstruction are completed.
[0100] In this embodiment, for the abnormality of the MME, the TAU fails, and the user re - attaches in the 4G network system. When performing session reconstruction through the 4G network system, the cached voice bearer is recognized and retained, ensuring that voice establishment is immediately initiated after the 4G network system reconstruction without waiting for the PCF's re - voice request, thus improving the user's voice call experience.
[0101] In the roaming scenario, the user uses the UE outside the network range of their own operator to make a voice call. The process of the voice call includes: starting and entering the communication application, selecting the contact to be called, the UE automatically searching for the network signal in the current location area and connecting to the strongest signal tower, the call being connected, having a voice call, and ending the voice call. In this process, each network element in the communication network will use various protocols to transmit voice signals and establish connections to ensure stable voice calls between both parties. The network architecture between each network in the roaming scenario is as Figure 6 shown. In this network architecture, the UE preferentially connects to the 5G network system for voice calls. However, due to an abnormality in the 5G network system, the voice call cannot obtain a response. To ensure the connection of the voice call, the voice call needs to fall back from the 5G network system to the 4G network system for voice call reconstruction. When falling back from the 5G network system to the 4G network system for voice calls, the interaction process between each network element is as Figure 7 shown, including the following steps:
[0102] S701. The UE has completed going online and is in an online state. The UE initiates a voice session establishment request.
[0103] S702, The PCF initiates a voice call establishment request. Since the base station does not support VoNR, it returns an EPS fallback cause value.
[0104] S703, The A / H-SMF receives the EPS fallback cause value and starts a timer (the first timer) to trigger voice call reconstruction.
[0105] S704, The UE initiates a TAU trigger process.
[0106] S705, The eNB receives the TAU request process.
[0107] S706, The eNB sends the TAU request process to the MME.
[0108] S707, The MME responds to the TAU request process and sends a context request to the AMF.
[0109] S708, The AMF responds to the context request.
[0110] S709, The AMF performs authentication or security verification on the context request.
[0111] S710, The MME sends a context confirmation message to the AMF.
[0112] S711, Since the MME fails to initiate a network handover to the SGW due to an exception, the SMF timer times out and triggers voice call reconstruction.
[0113] S712, The A / H-SMF notifies the I / V-SMF (Intermediate or Visited SMF) to perform voice call reconstruction.
[0114] S713, The I / V-SMF notifies the AMF to perform voice call reconstruction.
[0115] S714, The AMF determines that it has received an indication from the MME and identifies it as a handover to the 4G state. Then it returns "ongoing" to the I / V-SMF, indicating that the forward network element is in the process of handover. The I / V-SMF notifies the A / H-SMF that the user is in the process of handover.
[0116] S715, When the A / H-SMF timer times out, it will initiate voice call reconstruction again and notify the I / V-SMF of the voice call reconstruction.
[0117] S716, The I / V-SMF notifies the AMF of voice call reconstruction. The AMF sets a threshold internally in the system to detect whether the cumulative number of times (the number of voice dedicated bearer establishment requests received from the I / V-SMF during the handover process) in steps similar to S714 - S715 above exceeds the set threshold.
[0118] S717, AMF detects anomalies reaching a set threshold. This embodiment requires AMF to construct a new message (Hand Over To EPS Immediately Request) to notify MME, so that MME immediately initiates the switching process.
[0119] S718, MME receives the handover request from AMF. When MME determines that it has obtained the Retrieve message, it replies to AMF with a handover response and adds a new message (Hand Over To EPS Immediate Response). Then MME sends a 4G handover message to SGW to ensure that the handover process continues. Otherwise, it is considered that the network system is abnormal, and MME quickly triggers the user to go back online.
[0120] S719, the MME initiates a voice session reestablishment request to the SGW.
[0121] S720, the SGW modifies the voice session reestablishment request, and initiates a voice session reestablishment request to the PGWC.
[0122] S721, PGWC returns a voice session modification and reestablishment response to SGW.
[0123] S722, SGW returns a voice session reestablishment response to the MME, completing the 4G part of the 5G to 4G TAU process.
[0124] S723, after switching to 4G, PGW-C initiates the voice session reestablishment process.
[0125] In this embodiment, for the MME anomaly, the abnormal process is restored through the A / H-SMF reconstruction mechanism, the AMF detection mechanism, and the collaboration between AMF, I / V-SMF, A / H-SMF, and MME, which can improve the user's voice call experience.
[0126] In the roaming scenario, after the user's TAU fails, the process of triggering the establishment of a dedicated voice bearer after reestablishing the PDN from 4G is as follows: Figure 8 As shown, the specific steps include:
[0127] S801, the UE has completed going online and is in an online state, and the UE initiates a voice session establishment request.
[0128] S802: The PCF receives a voice session establishment request and initiates a voice dedicated bearer establishment request to the base station. Since the base station does not support VoNR, it returns an EPS fallback reason value.
[0129] S803, SMF receives the EPS fallback reason value, starts a timer (first timer) to trigger dedicated bearer reestablishment (ie, initiates a voice session reestablishment request).
[0130] S804, The UE triggers the TAU flow request process.
[0131] S805, The eNB receives the TAU request process.
[0132] S806, The eNB sends the TAU request process to the MME.
[0133] S807, The MME responds to the TAU request process and sends a context request to the AMF.
[0134] S808, The AMF responds to the context request process.
[0135] S809, The AMF authenticates or performs security verification on the context request.
[0136] S810, The UE initiates the TAU process, and the MME sends a context confirmation message to the AMF.
[0137] S811, Since the MME does not initiate a handover to the SGW due to an exception, the user's 4G TAU fails, and then a voice call session reconstruction is initiated again in 4G.
[0138] S812, The core network side re - establishes the PDN, but an existing call through the PGW / SMF cannot be connected.
[0139] S813, The MME sends a voice call session reconstruction request to the SGW to initiate the voice call session reconstruction process.
[0140] S814, The SGW sends a voice call session reconstruction request to the PGW to initiate the voice call session reconstruction process.
[0141] S815, The PGW detects that the user logs in repeatedly, which will trigger the self - release of the voice call session and the voice call session reconstruction. The specific implementation is as follows: first send an internal deletion, and then send a voice call session online message to the PGW itself.
[0142] S816, The PGW receives the voice call session self - release message, detects the existence of a voice call session establishment, constructs and continues to cache the PCF reverse voice call session dedicated bearer message.
[0143] S817, The PGW receives the voice call session reconstruction message constructed by itself in S815. The PGW completes the voice call session reconstruction. If it detects the existence of the cached reverse voice call session dedicated bearer establishment message for this user, it starts a timer (the duration can be configured) and initiates the voice call session dedicated bearer establishment again after the voice call session reconstruction.
[0144] S818, The PGWC returns a voice call session reconstruction response to the SGW.
[0145] S819, The SGW returns a voice call session reconstruction response to the MME.
[0146] At S820, the SGW and MME complete the subsequent processes for the user's PDN voice session reconstruction.
[0147] At S821, when the timer started at S817 times out, the PGW pops up the cached message and triggers the voice session reconstruction again.
[0148] At S822, the subsequent processes for the voice session reconstruction are completed.
[0149] At S823, the I / V-SMF removal process is completed.
[0150] In summary, this embodiment optimizes the EPS fallback exception process in the 4G network system and the 5G network system. When the cooperation among multiple network elements is abnormal, the 5G retransmission and detection mechanism timely triggers the handover process from the 5G network system to the 4G network system, enabling the user to continue initiating the establishment of a voice dedicated bearer after switching to the 4G network system, thereby shortening the user's voice waiting time and improving the success rate of voice calls, enhancing the user experience. At the same time, anomaly optimization is carried out from the 4G network system side. When the user's 4G TAU fails and re-Attaches, the voice dedicated bearer to be established can be detected and reconstruction is immediately triggered after the Attach process, thereby enhancing the user experience.
[0151] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
[0152] In this embodiment, a switching processing device for a network system is also provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0153] Figure 9 is a structural block diagram of the switching processing device for a network system according to an embodiment of the present invention. As Figure 9 shown, this device includes:
[0154] A first receiving module 92, configured to receive handover information sent by a Mobility Management Entity (MME), where the handover information indicates that the network connection of a User Equipment (UE) will be handed over from a first network system to a second network system; a first sending module 94, configured to receive, based on the handover information, a voice session reconstruction request continuously sent by a Session Management Function (SMF), where the voice session reconstruction request is a reconstruction request for a voice session request sent to the UE when a base station does not support establishing a voice session with the first network system; a second sending module 96, configured to send a handover request to a Serving Gateway (SGW) based on the received voice session reconstruction request, so that the SGW responds to the handover request and hands over the network connection of the UE from the first network system to the second network system.
[0155] In an exemplary embodiment, the apparatus further includes: a first enabling module, configured to, before receiving, based on the handover information, the voice session reconstruction request continuously sent by the SMF, when the SMF determines that the base station does not support establishing a voice session of the 5G network system, enable a first timer; a third sending module, configured to, when the timing of the first timer is greater than a preset time, the SMF continuously sends the voice session reconstruction request to the Access and Mobility Management Function (AMF).
[0156] In an exemplary embodiment, the apparatus further includes: a fourth sending module, configured to, after receiving the handover information sent by the MME, send the handover information to the SMF to indicate that the SMF sends the voice session reconstruction request.
[0157] In an exemplary embodiment, the apparatus further includes: a fifth sending module, configured to, after sending a handover request to the Serving Gateway (SGW) based on the received voice session reconstruction request, so that the SGW responds to the handover request and hands over the network connection of the UE from the first network system to the second network system, the SGW sends the voice session reconstruction request to a Packet Data Network Gateway (PGW); a sixth sending module, configured to, when the PGW receives the voice session reconstruction request, send the voice session request to the base station.
[0158] In an exemplary embodiment, the sixth sending module includes: a first mounting unit, configured to, when the PGW detects that the cache includes the voice session request matching the voice session reconstruction request, mount the voice session request and delete the voice session request from the cache; a first generating unit, configured to the PGW regenerate a target voice session request by using the mounted voice session request and the voice session reconstruction request, and cache the target voice session request; a first sending unit, configured to the PGW send the target voice session request to the base station to initiate reconstruction of the voice session request in the second network system.
[0159] In an exemplary embodiment, the first sending unit includes: a first starting sub-module, configured to the PGW start a second timer; a first sending sub-module, configured to the PGW send the target voice session request to the base station according to the trigger of the second timer.
[0160] In an exemplary embodiment, during the process of the network connection of the user equipment switching from the first network system to the second network system, and when the user equipment initiates a Tracking Area Update (TAU), it is determined that the MME is in an abnormal state, where the MME being in the abnormal state includes that when the user equipment first initiates the voice session request, the MME does not send the voice session request to the SGW.
[0161] In an exemplary embodiment, the apparatus further includes: a seventh sending module, configured to, in the case of receiving the voice session reconstruction request, send a handover request to the SGW, so that after the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system, the MME sends a handover response message to the AMF, where the handover response message is used to indicate that the network connection of the user equipment has been switched to the second network system; a first releasing module, configured to the AMF release the first network system to which the user equipment is connected based on the handover response message.
[0162] In an exemplary embodiment, the second sending module includes: a second sending unit, configured to the AMF send the handover request to the SGW when the number of times of receiving the voice session reconstruction request is greater than a preset threshold, so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system.
[0163] It should be noted that the above-mentioned various modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned various modules are respectively located in different processors in any combination form.
[0164] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. Among them, the computer program is set to execute the steps in any one of the above method embodiments when running.
[0165] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as USB flash drives, read-only memories (abbreviated as ROM), random access memories (abbreviated as RAM), mobile hard disks, magnetic disks or optical discs that can store computer programs.
[0166] An embodiment of the present invention further provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is set to run the computer program to execute the steps in any one of the above method embodiments.
[0167] In an exemplary embodiment, the above electronic device may further include a transmission device and an input / output device. Among them, the transmission device is connected to the above processor, and the input / output device is connected to the above processor.
[0168] Specific examples in this embodiment may refer to the examples described in the above embodiments and exemplary embodiments, and will not be repeated here.
[0169] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. They can be implemented by program codes executable by the computing device. Thus, they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the present invention is not limited to any specific combination of hardware and software.
[0170] The above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A switching processing method for a network system, characterized in that, Applied to the Authentication Management Function entity AMF, including: Receiving handover information sent by the Mobility Management Entity MME, where the handover information indicates that the network connection of the user equipment will be switched from the first network system to the second network system; Receiving continuously sent voice session reconstruction requests from the Session Management Function SMF based on the handover information, where the voice session reconstruction request is a reconstruction request for the voice session request sent to the user equipment when the base station does not support establishing a voice session with the first network system; Based on the received voice session reconstruction request, sending a handover request to the Serving Gateway SGW, so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system.
2. The method according to claim 1, characterized in that Before receiving continuously sent voice session reconstruction requests from the Session Management Function SMF based on the handover information, the method further includes: The SMF starts a first timer when determining that the base station does not support establishing a voice session in the 5G network system; The SMF continuously sends the voice session reconstruction request to the AMF under the trigger that the timing of the first timer is greater than a preset time.
3. The method according to claim 1, wherein After receiving the handover information sent by the Mobility Management Entity MME, the method further includes: Sending the handover information to the SMF to indicate that the SMF sends the voice session reconstruction request.
4. The method according to claim 1, wherein After sending a handover request to the Serving Gateway SGW based on the received voice session reconstruction request, so that the SGW responds to the handover request and switches the network connection of the user equipment from the first network system to the second network system, the method further includes: The SGW sends the voice session reconstruction request to the Packet Data Network Gateway PGW; The PGW sends the voice session request to the base station when receiving the voice session reconstruction request.
5. The method according to claim 4, wherein The PGW sending the voice session request to the base station when receiving the voice session reconstruction request includes: When the PGW detects that the cache includes the voice session request matching the voice session reconstruction request, the PGW mounts the voice session request and deletes the voice session request from the cache; The PGW regenerates a target voice session request using the mounted voice session request and the voice session reconstruction request and caches the target voice session request; The PGW sends the target voice session request to the base station to initiate the reconstruction of the voice session request in the second network system.
6. The method according to claim 5, characterized in that, The PGW sending the target voice session request to the base station includes: The PGW starts a second timer; The PGW sends the target voice session request to the base station according to the trigger of the second timer.
7. The method according to any one of claims 1-6, characterized in that, During the process of switching the network connection of the user equipment from the first network system to the second network system, and when the user equipment initiates a Tracking Area Update (TAU), it is determined that the Mobility Management Entity (MME) is in an abnormal state. Herein, the MME being in the abnormal state includes that when the user equipment first initiates the voice session request, the MME does not send the voice session request to the Serving Gateway (SGW).
8. The method according to claim 1, characterized in that In the case of receiving the voice session reconstruction request, after sending a handover request to the Serving Gateway (SGW) to cause the SGW to respond to the handover request and switch the network connection of the user equipment from the first network system to the second network system, the method further includes: The MME sends a handover response message to the Access and Mobility Management Function (AMF), wherein the handover response message is used to indicate that the network connection of the user equipment has been switched to the second network system; The AMF releases the first network system to which the user equipment is connected based on the handover response message.
9. The method according to claim 1, wherein Based on the received voice session reconstruction request, sending a handover request to the Serving Gateway (SGW) to cause the SGW to respond to the handover request and switch the network connection of the user equipment from the first network system to the second network system includes: When the number of times the AMF receives the voice session reconstruction request is greater than a preset threshold, the AMF sends the handover request to the SGW to cause the SGW to respond to the handover request and switch the network connection of the user equipment from the first network system to the second network system.
10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, wherein when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 9 are implemented.
11. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the method described in any one of claims 1 to 9 are implemented.