CN112616167B - Switching method and device - Google Patents

Switching method and device Download PDF

Info

Publication number
CN112616167B
CN112616167B CN202011503253.2A CN202011503253A CN112616167B CN 112616167 B CN112616167 B CN 112616167B CN 202011503253 A CN202011503253 A CN 202011503253A CN 112616167 B CN112616167 B CN 112616167B
Authority
CN
China
Prior art keywords
network
voice
voice network
pdn connection
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011503253.2A
Other languages
Chinese (zh)
Other versions
CN112616167A (en
Inventor
佘峰霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011503253.2A priority Critical patent/CN112616167B/en
Publication of CN112616167A publication Critical patent/CN112616167A/en
Application granted granted Critical
Publication of CN112616167B publication Critical patent/CN112616167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Landscapes

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

Abstract

The application discloses a switching method and a switching device, and belongs to the technical field of communication. The switching method comprises the following steps: under the condition of meeting a voice network switching condition, sending a first Packet Data Network (PDN) connection request message to network side equipment, wherein a PDN type carried by the first PDN connection request message is an Internet Protocol (IP) type acquired by the electronic equipment in a target voice network, and the target voice network is any voice network registered by the electronic equipment; and under the condition of receiving the PDN connection acceptance message sent by the network side equipment, switching the currently registered voice network from the first voice network to the second voice network. The method and the device can improve the success rate of voice network switching of the electronic equipment.

Description

Switching method and device
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a handover method and apparatus.
Background
An Internet Protocol Multimedia Subsystem (IMS) Voice system includes a Voice over Wi-Fi (VoWiFi) network and a Voice over Long Term Evolution (VoLTE) network. In a voice call, the electronic device may switch between a VoWiFi network and a VoLTE network, such as: when the electronic device is registered in the VoWiFi network for voice call, if the service experience provided by the VoWiFi network is not good or the electronic device cannot be used, the electronic device can be switched to the VoLTE network to continue the voice call.
Currently, when an electronic device sends a Packet Data Network (PDN) connection request to switch a voice Network, a PDN Type (PDN Type) carried in the PDN connection request is generally set to Internet Protocol Version 6, internet Protocol Version 4v6, which easily causes a high failure rate of switching the voice Network.
Disclosure of Invention
The embodiment of the application provides a switching method and a switching device, which can solve the problem that the failure rate of voice network switching is high in the prior art.
In a first aspect, a handover method performed by an electronic device is provided, where the method includes:
under the condition of meeting a voice network switching condition, sending a first Packet Data Network (PDN) connection request message to network side equipment, wherein a PDN type carried by the first PDN connection request message is an Internet Protocol (IP) type acquired by the electronic equipment in a target voice network, and the target voice network is any voice network registered by the electronic equipment;
and under the condition of receiving the PDN connection acceptance message sent by the network side equipment, switching the currently registered voice network from the first voice network to the second voice network.
In a second aspect, there is provided a switching device comprising:
a sending module, configured to send a first packet data network PDN connection request message to a network side device when a voice network switching condition is met, where a PDN type carried in the first PDN connection request message is an internet protocol IP type acquired by the electronic device in a target voice network, and the target voice network is any voice network registered by the electronic device;
and the switching module is used for switching the currently registered voice network from the first voice network to the second voice network under the condition of receiving the PDN connection receiving message sent by the network side equipment.
In a third aspect, an electronic device is provided, which comprises a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, a readable storage medium is provided, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, a chip is provided, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a network-side device program or instruction to implement the method according to the first aspect.
In this embodiment of the present application, when the electronic device needs to switch a voice network, the PDN type carried in the PDN connection request message sent by the electronic device may be set to an IP type acquired by the electronic device in any registered voice network. Because the PDN type requested by the electronic device is an IP type obtained by the electronic device in history, it indicates that the PDN type requested by the electronic device can be supported by the network side device, so that the network side device is very likely to accept the PDN connection request, and further implement the voice network switching of the electronic device, thereby improving the success rate of the voice network switching of the electronic device.
Drawings
FIG. 1 is a block diagram of a wireless communication system to which embodiments of the present application are applicable;
fig. 2 is a flowchart of a handover method according to an embodiment of the present application;
fig. 3 is a second flowchart of a handover method according to an embodiment of the present application;
fig. 4 is a structural diagram of a switching device according to an embodiment of the present application;
FIG. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a second block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be implemented in sequences other than those illustrated or described herein, and the terms "first" and "second" used herein should not be construed as limiting the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, and a character "/" generally means that the former and latter related objects are in an "or" relationship.
Fig. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes an electronic apparatus 11 and a network-side apparatus 12. The electronic Device 11 may also be referred to as a terminal or a terminal Equipment (UE), and the electronic Device 11 may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer) or a notebook Computer, a Personal Digital Assistant (PDA), a palmtop Computer, a netbook, an ultra-Mobile Personal Computer (UMPC), a Mobile Internet Device (MID), a Wearable Device (Wearable Device) or a vehicle-mounted Device (VUE), a pedestrian electronic Device (PUE), or the like. The network side device 12 may be a base station, a core network, or a Mobility Management Entity (MME).
Referring to fig. 2, fig. 2 is a flowchart of a handover method provided in an embodiment of the present application. The switching method of the embodiment of the application can be executed by the electronic device.
As shown in fig. 2, the handover method may include the steps of:
step 201, an electronic device sends a first packet data network PDN connection request message to a network side device when a voice network switching condition is satisfied, where a PDN type carried in the first PDN connection request message is an internet protocol IP type acquired by the electronic device in a target voice network, and the target voice network is any voice network registered by the electronic device.
In a specific implementation manner, in a first implementation manner, the target voice network may be any voice network registered by the electronic device, and may be understood as: the target voice network is any voice network which is registered in the current voice call by the electronic equipment. In this implementation manner, the PDN type carried in the first PDN connection request message may be an IP type obtained by any voice network registered by the electronic device in the current voice call.
In a second implementation manner, the target voice network may be any voice network registered by the electronic device, and the target voice network may be understood as: the target voice network is any voice network which is registered in the historical voice call by the electronic equipment. In this implementation manner, the PDN type carried in the first PDN connection request message may be an IP type obtained by any voice network that is registered in a voice call before history by the electronic device.
In a third implementation manner, the target voice network may be any voice network registered by the electronic device, and the target voice network may be understood as: the target voice network is any voice network which is registered by the electronic equipment before the first PDN connection request message is sent. In this implementation manner, the PDN type carried by the first PDN connection request message may be an IP type obtained by any voice network that is registered by the electronic device in the current voice call and the historical voice call.
It should be noted that, in the embodiment of the present application, the voice network registered by the electronic device when the electronic device executes step 201, that is, the voice network currently registered by the electronic device, may be regarded as the voice network registered by the electronic device, specifically, the voice network registered by the electronic device in the current voice call.
For ease of understanding, the examples are illustrated below:
the method comprises the steps that a call network currently registered by the electronic equipment is assumed to be a VoWiFi network, and the IP type acquired when the electronic equipment is registered in the VoWiFi network is IPv6; the electronic equipment also registers a VoLTE network before registering in the VoWiFi network in the current voice call, and the IP type acquired when the electronic equipment registers in the VoWiFi network is IPv6; in addition, the IP types acquired by the electronic equipment by registering the voice network in the historical voice call are all IPv4.
Then, for the first implementation manner, the PDN type carried in the first PDN connection request message may be set to IPv6; for the second implementation manner, the PDN type carried in the first PDN connection request message may be set to IPv4; for the second implementation manner, the PDN type carried in the first PDN connection request message may be set to IPv6 or IPv4.
In this embodiment of the present application, the PDN connection request message sent by the electronic device may carry other information besides the PDN type, such as: request Type (Request Type), etc. It can be understood that, the request type carried in the PDN connection request message sent when the voice network handover condition is satisfied may be a handover request.
In an implementation of the present application, optionally, the meeting the voice network handover condition includes any one of: a) The network signal intensity value of the voice network currently registered by the electronic equipment is smaller than a preset signal intensity value; b) The voice network currently registered by the electronic equipment is closed.
For a), further, the preset signal strength values corresponding to different voice networks may be different, that is, the preset signal strength values compared with the network signal strength values of different voice networks are different; of course, the preset signal strengths corresponding to different voice networks may be the same, that is, the preset signal strength value compared with the network signal strength values of different voice networks is the same, and may be specifically set according to an actual situation, which is not limited in this embodiment of the present application.
For b), the voice network currently registered by the electronic device is closed, which can be understood as: and the voice network currently registered by the electronic equipment is in an unavailable state. Such as: under the condition that the currently registered voice network of the electronic equipment is the VoWiFi network, if the Wi-Fi is turned off, the electronic equipment can be switched to the VoLTE network for voice communication.
Step 202, the electronic device switches the currently registered voice network from the first voice network to the second voice network when receiving the PDN connection accept message sent by the network side device.
After receiving the first PDN connection request message, the network side device may detect whether it supports the PDN type requested by the electronic device. If so, a PDN connection accept message may be sent to the electronic device, and the PDN connection REQUEST of the electronic device is accepted, where the PDN connection accept message may be represented as an ACTIVATE IMS signaling BEARER message (or an activation REQUEST called IMS signaling BEARER), that is, an ACTIVATE DEFAULT EPS BEARER CONTEXT REQUEST (QCI = 5), but is not limited thereto. If not, a PDN connection rejection message may be sent to the electronic device, and the PDN connection request of the electronic device is rejected.
In this embodiment of the application, because the PDN type carried in the first PDN connection request message is an IP type acquired by the electronic device in a registered voice network, which indicates that the PDN type requested by the electronic device this time is very likely to be supported by the network side device, the network side device is very likely to receive the PDN connection request of the electronic device this time, so that the electronic device can implement the voice network handover, and thus the success rate of the voice network handover of the electronic device can be increased.
In a specific implementation manner, in a first implementation manner, after receiving the PDN connection acceptance message, the electronic device may directly perform a voice network switching operation, that is, switch the currently registered voice network from the first voice network to the second voice network. It is understood that the first voice network is a voice network currently registered by the electronic device.
In a second implementation manner, after receiving the PDN connection accept message, before switching the currently registered voice network from the first voice network to the second voice network, the electronic device may further perform the following operations: responding to an activation BEARER request (namely a PDN connection acceptance message) issued by a network side device, and feeding back an activation DEFAULT EPS BEARER CONTEXT acceptance (ACTIVATE DEFAULT EPS BEARER CONTEXT ACCEPT) message to the network side device; and establishing an IMS signaling bearer and initiating a registration process of the second voice network.
According to the switching method provided by the embodiment of the application, when the electronic equipment needs to switch the voice network, the PDN type carried in the sent PDN connection request message can be set as the IP type acquired by any voice network in which the electronic equipment is registered. Because the PDN type requested by the electronic device is an IP type obtained by the electronic device in history, it indicates that the PDN type requested by the electronic device can be supported by the network side device, so that the network side device is likely to receive the PDN connection request, and further implement the voice network switching of the electronic device, thereby improving the success rate of the voice network switching of the electronic device.
In this embodiment of the application, one of the first voice network and the second voice network may be a voice network of a communication system, such as a VoLTE network, but is not limited thereto; the other voice network may be a wireless communication voice network, such as a VoWiFi network, but is not limited thereto.
Optionally, the first voice network is a VoWiFi network, and the second voice network is a VoLTE network; or, the first voice network is a VoLTE network, and the second voice network is a voice over long term evolution (VoWiFi) network.
The concrete description is as follows:
in an embodiment, the first voice network is a VoWiFi network, and the second voice network is a VoLTE network.
In this embodiment, assuming that the electronic device performs the switching from the VoWiFi network to the VoLTE network N times during the voice call, where N is a positive integer, the electronic device may implement the switching from the VoWiFi network to the VoLTE network P times in the manner of steps 201 and 202, where P is a positive integer less than or equal to N.
For other switching from the VoWiFi network to the VoLTE network and switching from the VoLTE network to the VoWiFi network, the electronic device may be implemented by using related technologies, which are not described herein again.
In a second embodiment, the first voice network is a VoLTE network, and the second voice network is a voice over long term evolution (VoWiFi) network.
In this embodiment, assuming that the electronic device performs switching from the VoLTE network to the VoWiFi network M times during the voice call, where M is a positive integer, the electronic device may implement switching from the VoLTE network to the VoWiFi network Q times in the manner of steps 201 and 202, and Q is a positive integer less than or equal to M.
For other times of switching from the VoLTE network to the volga network and switching from the volga network to the volga network, the electronic device may be implemented by using related technologies, which are not described herein again.
In practical applications, the first embodiment and the second embodiment may be implemented independently or in combination.
When the method is implemented independently, for the first embodiment, the electronic device may implement, by using a switching manner in the related art, switching from the VoWiFi network to the VoLTE network and switching from the VoLTE network to the VoWiFi network other than the switching from the VoWiFi network to the VoLTE network P times; for the second embodiment, the electronic device may implement, by using a switching manner of the related art, switching from the VoLTE network to the VoWiFi network and switching from the VoWiFi network to the VoLTE network in addition to the Q times of switching from the VoLTE network to the VoWiFi network.
When implemented in combination, the electronic device may implement the handover from the VoWiFi network to the VoLTE network and the handover from the VoLTE network to the VoWiFi network in steps 201 to 202. That is to say, each time a voice network needs to be switched, the PDN connection request sent by the electronic device may carry the IP type acquired by the electronic device in the target voice network. Therefore, the success rate of the voice network switching of the electronic equipment can be further improved.
In this embodiment of the present application, optionally, the target voice network may be: the voice network currently registered by the electronic device, or the voice network initially registered by the electronic device.
It should be noted that, the voice network where the electronic device initially registers may be understood as: the voice network initially registered by the electronic equipment in the current voice call; or, the electronic equipment is initially registered in the voice network after the electronic equipment is started; or the voice network initially registered after the electronic device leaves the factory may be determined specifically according to actual conditions, which is not limited in this embodiment of the present application.
In addition, because the IP type supported by the network side device does not change in a short time, when the target voice network is the voice network currently registered by the electronic device, the IP type supported by the network side device generally remains unchanged, and based on this, the network side device will accept the PDN connection request, so that the reliability of the voice network switching of the electronic device can be improved.
In this embodiment of the present application, optionally, before the sending the first packet data network PDN connection request message to the network side device, the method further includes:
acquiring a first IP type acquired by the electronic equipment in a currently registered voice network and a second IP type acquired by the electronic equipment in an initially registered voice network;
determining whether the first IP type and the second IP type are the same;
and under the condition that the first IP type is different from the second IP type, determining the currently registered voice network as the target voice network.
In this alternative embodiment, the electronic device may determine the target voice network based on a determination result of whether the first IP type and the second IP type are the same.
In a specific implementation, when the first IP type is different from the second IP type, it is described that the IP type supported by the network-side device changes, or the network-side device accessed by the electronic device changes, so that the current registered voice network of the electronic device can be selected to be determined as the target voice network, and a success rate of switching the voice networks can be improved.
In the case that the first IP type is the same as the second IP type, it indicates that the IP type supported by the network side device has not changed, and the electronic device may determine the currently registered voice network as the target voice network, or determine the voice network initially registered by the electronic device as the target voice network, which may be determined specifically according to an actual situation, and this is not limited in this embodiment of the present application.
In this embodiment of the present application, optionally, when the first voice network is a wireless voice over wifi network and the second voice network is a voice over long term evolution (VoLTE) network, the sending a first Packet Data Network (PDN) connection request message to a network side device includes:
sending a second PDN connection request message to the network side equipment, wherein the PDN types carried by the second PDN connection request message are a fourth version IP and a sixth version IP;
and under the condition of receiving the PDN connection rejection message sent by the network side equipment, sending a first packet data network PDN connection request message to the network side equipment.
In the optional embodiment, when the electronic device needs to perform the handover from the VoWiFi network to the VoLTE network, the PDN connection request may be sent by using a handover method in the related art first, and after the request fails, the PDN connection request is continuously sent by using the handover method provided in the embodiment of the present application, so that a success rate of the voice network handover may be increased, and thus reliability of the voice call may be increased.
Of course, it can be understood that in other embodiments, when the electronic device needs to perform handover from the VoWiFi network to the VoLTE network, the PDN connection request may be directly sent by using the handover method provided in the embodiment of the present application, so that the handover time may be reduced, and the fluency of the voice call may be improved.
It should be noted that, various optional embodiments described in the embodiments of the present application may be implemented in combination with each other or separately, and the embodiments of the present application are not limited thereto.
For ease of understanding, examples are illustrated below:
the scheme can be applied to switching VoWiFi to VoLTE. In the scheme, when a user needs to switch from VoWiFi to VoLTE, if a PDN connection request initiated by the electronic equipment is rejected by a network, the VoLTE is failed to be switched, the electronic equipment improves the success rate of switching from VoWiFi to VoLTE and reduces the switching time delay by trying the scheme, the user is prevented from sensing abnormal switching, and particularly the continuity of user conversation is ensured. As shown in fig. 3, the handover method of the present solution may include the following steps:
step 1, registering the electronic equipment on VoWiFi.
In specific implementation, when the electronic device enters a Wi-Fi-free environment or a user manually turns off Wi-Fi, the electronic device initiates a process of switching to VoLTE, as shown in the following steps 2-6.
And 2, the electronic equipment initiates a PDN connection request on the LTE network, the PDN Type in the request is set as the IP Type acquired by the electronic equipment currently registered on the VoWiFi network, and the req Type is handover (handover).
The network side device may decide whether to accept the PDN connection request of the electronic device, and in case of acceptance, may perform step 3.
And 3, the network side equipment issues an IMS signaling bearer activation message.
ACTIVATE IMS signaling BEARER message, active DEFAULT EPS BEARER CONTEXT REQUEST, where QCI =5.
And step 4, the electronic equipment feeds back an active DEFAULT EPS BEARER CONTEXT ACCEPT message.
And 5, the electronic equipment initiates a VoLTE registration process.
In specific implementation, after an IMS signaling bearer is established, a Session Initiation Protocol (SIP) registration flow is initiated;
and 6, after the registration is completed, the electronic equipment is successfully switched to the VoLTE.
By the scheme, when a user needs to switch from VoWiFi to VoLTE, if a PDN connection request initiated by the electronic equipment is rejected by a network, the VoLTE is failed to be switched, the electronic equipment improves the success rate of switching from VoWiFi to VoLTE and reduces the switching time delay by trying the scheme, the user is prevented from sensing abnormal switching, and particularly the continuity of user conversation is ensured.
In the embodiment of the application, when the network is temporarily abnormal, the electronic equipment tries to switch to VoLTE through different request schemes, so that the switching success rate is improved, and the continuity of the user call can be maintained to a certain extent; reducing the switching time delay and ensuring the conversation quality of the user on the IMS network.
It should be noted that, in the handover method provided in the embodiment of the present application, the execution main body may be a handover device, or a control module in the handover device for executing the handover method. In the embodiment of the present application, a switching device executing a switching method is taken as an example to describe the switching device provided in the embodiment of the present application.
Referring to fig. 4, fig. 4 is a structural diagram of a switching device according to an embodiment of the present application.
As shown in fig. 4, the switching device 400 includes:
a sending module 401, configured to send a first packet data network PDN connection request message to a network side device when a voice network switching condition is met, where a PDN type carried in the first PDN connection request message is an internet protocol IP type acquired by the electronic device in a target voice network, and the target voice network is any voice network registered by the electronic device;
a switching module 402, configured to switch a currently registered voice network from a first voice network to a second voice network in a case that the PDN connection acceptance message sent by the network side device is received.
Optionally, the target voice network is: the voice network currently registered by the electronic device, or the voice network initially registered by the electronic device.
Optionally, the switching device 400 further includes:
the acquisition module is used for acquiring a first IP type acquired by the electronic equipment in a currently registered voice network and a second IP type acquired by the electronic equipment in an initially registered voice network;
a first determining module, configured to determine whether the first IP type is the same as the second IP type;
and a second determining module, configured to determine, when the first IP type is different from the second IP type, a currently registered voice network as the target voice network.
Optionally, when the first voice network is a wireless voice over wifi network and the second voice network is a long term evolution voice over lte network, the sending module 401 includes:
a first sending unit, configured to send a second PDN connection request message to the network side device, where PDN types carried in the second PDN connection request message are a fourth version IP and a sixth version IP;
and a second sending unit, configured to send a first packet data network PDN connection request message to the network side device when receiving the PDN connection rejection message sent by the network side device.
Optionally, the first voice network is a VoWiFi network, and the second voice network is a VoLTE network; or, the first voice network is a VoLTE network, and the second voice network is a voice over long term evolution (VoWiFi) network.
The switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic device.
The switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The switching device 400 provided in the embodiment of the present application can implement each process implemented in the embodiment of the method in fig. 2, and achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement the processes in the embodiment of the method in fig. 2, and can achieve the same technical effects, and no further description is provided here to avoid repetition.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6061 and other input devices 6062. A touch panel 6061 also referred to as a touch screen. The touch panel 6061 may include two parts of a touch detection device and a touch controller. Other input devices 6062 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
In the embodiment of the present application, the radio frequency unit 601 receives downlink data from a network side device, and then processes the downlink data to the processor 610; in addition, the uplink data is sent to the network side equipment. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 609 may be used to store software programs or instructions as well as various data. The memory 609 may mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. In addition, the Memory 609 may include a high-speed random access Memory, and may further include a nonvolatile Memory, wherein the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (Erasable PROM, EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), or a flash Memory. Such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
Processor 610 may include one or more processing units; alternatively, the processor 610 may be integrated into an application processor that handles primarily operating system, user interface, and application programs or instructions, and a modem processor that handles primarily wireless communications, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
Wherein, the radio frequency unit 601 is configured to:
under the condition of meeting a voice network switching condition, sending a first Packet Data Network (PDN) connection request message to network side equipment, wherein a PDN type carried by the first PDN connection request message is an Internet Protocol (IP) type acquired by the electronic equipment in a target voice network, and the target voice network is any voice network registered by the electronic equipment;
a processor 610 configured to:
when receiving the PDN connection accept message sent by the network side device, the radio frequency unit 601 switches the currently registered voice network from the first voice network to the second voice network.
Optionally, the target voice network is: the voice network currently registered by the electronic device, or the voice network initially registered by the electronic device.
Optionally, the processor 610 is further configured to:
acquiring a first IP type acquired by the electronic equipment in a currently registered voice network and a second IP type acquired by the electronic equipment in an initially registered voice network;
determining whether the first IP type and the second IP type are the same;
and under the condition that the first IP type is different from the second IP type, determining the currently registered voice network as the target voice network.
Optionally, when the first voice network is a wireless voice-over-wifi network and the second voice network is a long term evolution voice-over-lte network, the radio frequency unit 601 is configured to:
sending a second PDN connection request message to the network side equipment, wherein the PDN types carried by the second PDN connection request message are a fourth version IP and a sixth version IP;
and under the condition of receiving the PDN connection rejection message sent by the network side equipment, sending a first packet data network PDN connection request message to the network side equipment.
Optionally, the first voice network is a VoWiFi network, and the second voice network is a VoLTE network; or, the first voice network is a VoLTE network, and the second voice network is a VoWiFi network.
It should be noted that, in this embodiment, the electronic device 600 may implement each process in the method embodiment of fig. 2 of the present application and achieve the same beneficial effects, and for avoiding repetition, details are not described here again.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the method embodiment in fig. 2, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a network-side device program or an instruction, so as to implement each process of the method embodiment in fig. 2, and achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip or a system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present application has been described with reference to the embodiments shown in the drawings, the present application is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that many more modifications and variations can be made without departing from the spirit of the application and the scope of the appended claims.

Claims (8)

1. A method of handover, the method comprising:
under the condition of meeting a voice network switching condition, sending a first Packet Data Network (PDN) connection request message to network side equipment, wherein a PDN type carried by the first PDN connection request message is an Internet Protocol (IP) type acquired by electronic equipment in a target voice network, and the target voice network is any voice network registered by the electronic equipment;
under the condition of receiving a PDN connection acceptance message sent by the network side equipment, switching a currently registered voice network from a first voice network to a second voice network;
before the sending the first packet data network PDN connection request message to the network side device, the method further includes:
acquiring a first IP type acquired by the electronic equipment in a currently registered voice network and a second IP type acquired by the electronic equipment in an initially registered voice network;
determining whether the first IP type is the same as the second IP type;
and under the condition that the first IP type is different from the second IP type, determining the currently registered voice network as the target voice network.
2. The method of claim 1, wherein the target voice network is: the voice network currently registered by the electronic device, or the voice network initially registered by the electronic device.
3. The method of claim 1, wherein in a case that the first voice network is a voice over wireless (VoWiFi) network and the second voice network is a voice over long term evolution (VoLTE) network, the sending a first Packet Data Network (PDN) connection request message to a network side device comprises:
sending a second PDN connection request message to the network side equipment, wherein the PDN types carried by the second PDN connection request message are a fourth version IP and a sixth version IP;
and under the condition of receiving the PDN connection rejection message sent by the network side equipment, sending a first packet data network PDN connection request message to the network side equipment.
4. The method of claim 1, wherein the first voice network is a VoWiFi network and the second voice network is a VoLTE network; or, the first voice network is a VoLTE network, and the second voice network is a VoWiFi network.
5. A switching device, characterized in that the switching device comprises:
a sending module, configured to send a first packet data network PDN connection request message to a network side device when a voice network switching condition is met, where a PDN type carried in the first PDN connection request message is an internet protocol IP type acquired by an electronic device in a target voice network, and the target voice network is any voice network registered by the electronic device;
a switching module, configured to switch a currently registered voice network from a first voice network to a second voice network in a case that a PDN connection acceptance message sent by the network side device is received;
the switching device further includes:
the acquisition module is used for acquiring a first IP type acquired by the electronic equipment in a currently registered voice network and a second IP type acquired by the electronic equipment in an initially registered voice network;
a first determining module, configured to determine whether the first IP type is the same as the second IP type;
and a second determining module, configured to determine, when the first IP type is different from the second IP type, a currently registered voice network as the target voice network.
6. The handover apparatus according to claim 5, wherein the target voice network is: the voice network currently registered by the electronic device, or the voice network initially registered by the electronic device.
7. The switching device according to claim 5, wherein in a case where the first voice network is a voice over wireless (VoWiFi) network and the second voice network is a voice over long term evolution (VoLTE) network, the transmitting module comprises:
a first sending unit, configured to send a second PDN connection request message to the network side device, where PDN types carried in the second PDN connection request message are a fourth version IP and a sixth version IP;
and a second sending unit, configured to send a first packet data network PDN connection request message to the network side device when receiving the PDN connection rejection message sent by the network side device.
8. The switching device of claim 5, wherein the first voice network is a VoWiFi network and the second voice network is a VoLTE network; or, the first voice network is a VoLTE network, and the second voice network is a voice over long term evolution (VoWiFi) network.
CN202011503253.2A 2020-12-18 2020-12-18 Switching method and device Active CN112616167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011503253.2A CN112616167B (en) 2020-12-18 2020-12-18 Switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011503253.2A CN112616167B (en) 2020-12-18 2020-12-18 Switching method and device

Publications (2)

Publication Number Publication Date
CN112616167A CN112616167A (en) 2021-04-06
CN112616167B true CN112616167B (en) 2023-04-14

Family

ID=75240492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011503253.2A Active CN112616167B (en) 2020-12-18 2020-12-18 Switching method and device

Country Status (1)

Country Link
CN (1) CN112616167B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668280A (en) * 2008-09-01 2010-03-10 华为技术有限公司 Network switching method, management equipment, terminal and home location server
CN102177748A (en) * 2009-01-08 2011-09-07 华为技术有限公司 Method for network handover, user equipment, gateway and network system thereof
CN103619070A (en) * 2013-10-30 2014-03-05 酷派软件技术(深圳)有限公司 A method and an apparatus for implementing a multi-packet data network
CN104168286A (en) * 2014-08-26 2014-11-26 小米科技有限责任公司 Voice communication method and device
CN104519537A (en) * 2014-12-31 2015-04-15 华为技术有限公司 Communication method, user equipment and communication device
WO2016062672A2 (en) * 2014-10-20 2016-04-28 Alcatel Lucent Support of ip address preservation upon mobility to a non- 3gpp access in an evolved packet system
CN111417163A (en) * 2020-03-27 2020-07-14 Oppo广东移动通信有限公司 IP address recovery method, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10057770B2 (en) * 2016-07-28 2018-08-21 Hewlett Packard Enterprise Development Lp Deauthenticate a client device during an association validation phase based on a plurality of capabilities associated with the client device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668280A (en) * 2008-09-01 2010-03-10 华为技术有限公司 Network switching method, management equipment, terminal and home location server
CN102177748A (en) * 2009-01-08 2011-09-07 华为技术有限公司 Method for network handover, user equipment, gateway and network system thereof
CN103619070A (en) * 2013-10-30 2014-03-05 酷派软件技术(深圳)有限公司 A method and an apparatus for implementing a multi-packet data network
CN104168286A (en) * 2014-08-26 2014-11-26 小米科技有限责任公司 Voice communication method and device
WO2016062672A2 (en) * 2014-10-20 2016-04-28 Alcatel Lucent Support of ip address preservation upon mobility to a non- 3gpp access in an evolved packet system
CN104519537A (en) * 2014-12-31 2015-04-15 华为技术有限公司 Communication method, user equipment and communication device
CN111417163A (en) * 2020-03-27 2020-07-14 Oppo广东移动通信有限公司 IP address recovery method, terminal and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
C1-182188 "Addition of UE NAS capabilty for support of attach including PDN connectivity request with request type "handover" ";Qualcomm Incorporated / Lena;《3GPP tsg_ct\WG1_mm-cc-sm_ex-CN1》;20180409;全文 *
C1-184042 "Correction for PDU session context";Ericsson等;《3GPP tsg_ct\wg1_mm-cc-sm_ex-cn1》;20180713;全文 *
C1-203713 "No retry in 2G/3G/5G for PDN type related ESM causes";Huawei等;《3GPP tsg_ct\wg1_mm-cc-sm_ex-cn1》;20200526;全文 *

Also Published As

Publication number Publication date
CN112616167A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
US11432208B2 (en) Network handover method, apparatus and system
US20130235740A1 (en) Method and mobile terminal for managing circuit switched fallback procedure and network registration
KR102055198B1 (en) Recording medium recording program for method of providing augmented reality contents during video call service, and apparatus teherfor
CN118139216B (en) BWP switching method, device and storage medium
CN113438702B (en) Cell switching method, device, electronic equipment and readable storage medium
EP3399801B1 (en) Voice call processing method and terminal device
US8457030B2 (en) Mobile phone and method for receiving calls
CN112399362A (en) Service processing method, terminal equipment and network side equipment
CN106803917B (en) Video call method for double-screen mobile terminal and double-screen mobile terminal
CN112954753A (en) Voice service switching method and device and user equipment
CN112616167B (en) Switching method and device
WO2023030384A1 (en) Ims network registration method and apparatus, and electronic device
CN115209492B (en) Communication processing method and device and related equipment
CN113747381B (en) Method and device for fallback of evolved packet system and electronic equipment
CN110995939B (en) Switching method and device of call network and storage medium
CN115209521B (en) Message processing method, device, equipment and storage medium
CN114641021A (en) Mobility process processing method and related equipment
CN106792922B (en) Communication method and device
CN114363954A (en) Congestion control method and device, terminal and network side equipment
CN111447634B (en) Voice communication method, device, storage medium and electronic equipment
CN113784384B (en) Mode switching method, terminal and network side equipment
US20240040532A1 (en) Network Access Method, Network Side Device, and Terminal
CN114071445B (en) Configuration method of information transmission mode, terminal and network side equipment
CN113905455B (en) Bearer establishment method and device
WO2024078493A1 (en) Paging method and apparatus, and electronic device and storage medium

Legal Events

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