WO2024078476A1 - Network switching method and apparatus - Google Patents

Network switching method and apparatus Download PDF

Info

Publication number
WO2024078476A1
WO2024078476A1 PCT/CN2023/123694 CN2023123694W WO2024078476A1 WO 2024078476 A1 WO2024078476 A1 WO 2024078476A1 CN 2023123694 W CN2023123694 W CN 2023123694W WO 2024078476 A1 WO2024078476 A1 WO 2024078476A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
evaluation value
call
duration
electronic device
Prior art date
Application number
PCT/CN2023/123694
Other languages
French (fr)
Chinese (zh)
Inventor
汪昭河
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024078476A1 publication Critical patent/WO2024078476A1/en

Links

Classifications

    • 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/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • 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

Definitions

  • the present application belongs to the technical field of electronic equipment, and specifically relates to a network switching method and device.
  • the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) has the characteristics of high speed, low latency and large connection and is gradually being applied to electronic devices.
  • 5G new call ultra-high-definition video voice call service (Voice over New Radio, VoNR) has gradually been commercialized.
  • VoNR Voice over New Radio
  • 5G new call ultra-high-definition video voice call service still has many problems, such as intermittent calls, call freezes, noise, etc.
  • the purpose of the embodiments of the present application is to provide a network switching method and device, which can solve the problems of call interruption, call freeze, call noise, etc. in the commercial 5G new call ultra-clear video voice call service due to performance limitations in related embodiments, which affects the quality of the call and cannot meet the needs of the call.
  • an embodiment of the present application provides a network switching method, including: during a call through a first network, obtaining a first evaluation value of voice quality; when the first evaluation value is less than or equal to a first threshold, obtaining a first duration when the first evaluation value is less than or equal to the first threshold; when the first duration is greater than or equal to the first duration, switching the electronic device from the first network to the second network; wherein the first network is an NR network and the second network is an LTE network.
  • an embodiment of the present application provides a network switching device, including: a first acquisition module, used to obtain a first evaluation value of voice quality during a call through a first network; a second acquisition module, used to obtain a first duration of time when the first evaluation value is less than or equal to the first threshold when the first evaluation value is less than or equal to the first threshold; a switching module, used to switch the electronic device from the first network to the second network when the first duration is greater than or equal to the first duration; wherein the first network is an NR network and the second network is an LTE network.
  • an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
  • a chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
  • a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
  • an electronic device configured to execute the steps of the method described in the first aspect.
  • a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to the comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is relatively poor.
  • the voice quality during a call is improved, thereby meeting the user's needs for call quality.
  • obtaining a first evaluation value so as to compare the first evaluation value with a first threshold, and when the first evaluation value is less than or equal to the first threshold, obtaining a duration during which the first evaluation value is less than or equal to the first threshold, that is, a first duration, and comparing the first duration with the first duration, so as to judge the call quality over a period of time, and when the first duration is greater than the first duration, switching the network of the electronic device from the first network to the second network.
  • the setting of the first duration can reduce the frequency of network switching and ensure the user's calling experience.
  • FIG1 is a flowchart of a network switching method provided in some embodiments of the present application.
  • FIG2 is a second flow chart of a network switching method provided in some embodiments of the present application.
  • FIG3 is one of the logical schematic diagrams of network switching provided in some embodiments of the present application.
  • FIG4 is a third flow chart of a network switching method provided in some embodiments of the present application.
  • FIG5 is a second logical schematic diagram of network switching provided in some embodiments of the present application.
  • FIG6 is a schematic block diagram of a network switching device provided in some embodiments of the present application.
  • FIG7 is a hardware schematic diagram of an electronic device provided in some embodiments of the present application.
  • FIG8 is a hardware schematic diagram of an electronic device provided in some embodiments of the present application.
  • first, second, etc. in the specification and claims of this application are used to distinguish similar objects. It is not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first”, “second”, etc. are generally of the same type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims means at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
  • an embodiment of the present application provides a network switching method, including:
  • Step 102 During a call through a first network, a first evaluation value of voice quality is obtained.
  • the first evaluation value includes: MOS value or packet loss rate.
  • the first evaluation value may be a Mean Opinion Score (MOS) value, wherein the MOS value is a general or average opinion score of all audio files calculated after obtaining the score given by each listener, wherein the larger the MOS value, the better the voice quality, and conversely, the smaller the MOS value, the worse the voice quality.
  • MOS Mean Opinion Score
  • the first evaluation value may be selected as a packet loss rate, wherein the packet loss rate refers to the ratio of the number of lost data packets in the test to the number of sent data groups.
  • the packet loss rate may be the ratio of the number of data packets received by the electronic device to the number of data packets sent by the base station to the electronic device within a preset time period during a call. The preset time period may be selected according to actual usage needs, and will not be described in detail here.
  • the first evaluation value is obtained periodically, that is, during a call through the first network, the first evaluation value of the voice quality is periodically obtained to achieve continuous monitoring of the voice quality during the call.
  • Step 104 when the first evaluation value is less than or equal to the first threshold, obtain a first duration during which the first evaluation value is less than or equal to the first threshold.
  • timing starts, and the relationship between the updated first evaluation value and the first threshold is determined. If the updated first evaluation value is still less than the first threshold, an interval duration is accumulated, and the cycle is repeated.
  • the accumulated duration is the continuous duration, wherein the interval duration is the duration between each two acquisitions of the first evaluation value.
  • Step 106 When the first duration is greater than or equal to the first duration, switch the electronic device from the first network to the second network.
  • the first duration can be determined according to actual usage requirements, wherein the first duration is greater than the interval duration.
  • the first network is the New Radio (NR) network
  • the second network is the Long Term Evolution (LTE) network.
  • NR New Radio
  • LTE Long Term Evolution
  • NR also known as 5GNR
  • 5GNR is a global 5G standard with a new air interface design based on orthogonal frequency division multiplexing (OFDM) technology.
  • OFDM orthogonal frequency division multiplexing
  • LTE Universal Mobile Telecommunications System
  • 3GPP 3rd Generation Partnership Project
  • a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to a comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is poor.
  • the voice quality during a call is improved, thereby meeting the user's needs for call quality.
  • the first evaluation value is continuously compared with a first threshold value, and when the first evaluation value is less than or equal to the first threshold value, the duration during which the first evaluation value is less than or equal to the first threshold value, that is, the first duration, is obtained, and the first duration is compared with the first duration to judge the call quality over a period of time.
  • the first duration is greater than the first duration, the network of the electronic device is switched from the first network to the second network.
  • the setting of the first duration can reduce the frequency of network switching and ensure the user's calling experience.
  • the network switching method further includes: obtaining a call status of the electronic device; and when the call status is to maintain the call, maintaining the network of the electronic device unchanged until the call ends.
  • the call status is obtained and the network is kept unchanged according to the call status, so as to reduce the frequency of network switching and the impact of network switching on the call, such as reducing the sound freeze at the moment of switching.
  • the network before switching is VoNR
  • the network after switching is a voice call under the Voice of Long Time Evolution (VoLTE) bearer standard
  • VoIP Voice of Long Time Evolution
  • the network of the electronic device always maintains a voice call under the Voice of Long Time Evolution (VoLTE) bearer standard.
  • switching the network of the electronic device specifically includes: sending the switched network to the modem so that the modem acts according to the switched network; when receiving confirmation information fed back by the modem, the network switching of the electronic device is completed.
  • the switched network is sent to the modem so that the modem can perform actions according to the switched network, thereby achieving network switching.
  • the network switching is terminated by limiting the time when confirmation information fed back by the modem is received, so as to ensure that the network is switched.
  • the network switching method includes:
  • Step 202 The electronic device triggers a voice call under VoNR
  • Step 204 determining whether the voice call under VoNR is ended at each interval of a time length TI, and if the determination result is yes, ending; if the determination result is no, executing step 206;
  • Step 206 detecting the MOS value of the voice call under VoNR
  • Step 208 determining whether the MOS value of the voice call under VoNR is lower than the first threshold and maintained for the first duration, if the determination result is yes, executing step 210, if the determination result is no, executing step 206;
  • Step 210 switching the voice call under VoNR to the voice call under VoLTE;
  • Step 212 determine whether the call is ended. If the judgment result is no, execute step 212. If the judgment result is yes, end.
  • an access point may be an upper layer application module corresponding to a modem, wherein the command sent by the AP includes the switched network so that the modem can feedback (Acknowledge, ACK) confirmation information (i.e., the confirmation information mentioned above).
  • Acknowledge, ACK Acknowledge, ACK
  • the method further includes: obtaining a second evaluation value of voice quality during a call via the second network; obtaining a second duration when the second evaluation value is greater than or equal to the second threshold when the second evaluation value is greater than or equal to the second threshold when the second duration is greater than or greater than the second duration. Switching the electronic device from the second network to the first network when the second duration is greater than or greater than the second duration.
  • the voice quality of the second network is evaluated to obtain a second evaluation value, wherein the second evaluation value can characterize the quality of the network environment under the current network, and whether to switch the network of the electronic device to the first network is determined according to the second evaluation value.
  • the first network can be used as a priority network under the premise of ensuring the call quality.
  • the second evaluation value can represent the quality of the network environment under the current network.
  • the quality of the network environment can be understood as the network delay and data transmission rate. When the quality of the network environment is good, the network delay is low and the data transmission rate is high. Conversely, when the quality of the network environment is poor, the network delay is high and the data transmission rate is low.
  • the second evaluation value is obtained periodically, wherein the second evaluation value may have the same acquisition period as the first evaluation value, and the second duration is determined in the same manner as the first duration, which will not be described in detail herein.
  • the second duration of the second evaluation value being greater than or equal to the second threshold is obtained, and if the duration is greater than or equal to the second duration, it is considered that the quality of the network environment under the current network is good and can meet the use needs under the first network, and then the network of the electronic device is switched under the premise of ensuring the call quality.
  • the first network is used as the preferred network.
  • the second duration can be set according to actual usage needs and is not limited here.
  • obtaining a second evaluation value of voice quality specifically includes: obtaining a call status of the electronic device at every third time interval; and obtaining the second evaluation value of voice quality when the call status is to maintain the call.
  • the third duration can be set according to actual usage needs and is not limited here.
  • the call status can be determined by whether the application called on the electronic device is ended. Specifically, when the call is held, the application executing the call keeps running, and after the call ends, the application executing the call ends running. Therefore, the call status can be determined by detecting whether the application executing the call is running.
  • the method further includes:
  • the first evaluation value is updated; and according to the updated first evaluation value, the network of the electronic device is controlled to switch between the first network and the second network.
  • the first evaluation value is updated so that network switching is achieved based on the updated first evaluation value, the first threshold and the first duration.
  • the first network can be used as a priority network without affecting the call quality.
  • the second evaluation value is updated, and the second network is switched to the first network based on the updated second evaluation value, the second threshold and the second duration, so that the network of the electronic device is switched between the first network and the second network until the call ends.
  • the network switching method includes:
  • Step 402 The electronic device triggers a voice call under VoNR
  • Step 404 determining whether the voice call under VoNR is ended at each interval of a time length TI, and if the determination result is yes, ending; if the determination result is no, executing step 406;
  • Step 406 detecting the MOS value of the voice call under VoNR
  • Step 408 determining whether the MOS value of the voice call under VoNR is lower than the first threshold and maintained for the first duration, if the determination result is yes, executing step 410, if the determination result is no, executing step 406;
  • Step 410 switching the voice call under VoNR to the voice call under VoLTE;
  • Step 412 determining whether the voice call under VoLTE is ended at intervals of a time length T2, and if the determination result is yes, ending the call; if the determination result is no, executing step 414;
  • Step 414 detecting the MOS value of the voice call under VoLTE
  • Step 416 determine whether the MOS value of the voice call under VoLTE is greater than or equal to the second threshold and is maintained for the second duration. If the judgment result is yes, execute step 402, and if the judgment result is no, execute step 414.
  • the AP may be an upper layer application module corresponding to a modem, wherein the instruction sent by the AP includes the switched network so that the modem feeds back ACK confirmation information (ie, the confirmation information mentioned above).
  • the call includes: a voice call or a video call.
  • the voice call under the first network may be VoNR
  • the voice call under the second network may be VoLTE.
  • the video call under the first network may be a video call under NR (Video of New radio, ViNR), and the video call under the second network may be a video call under LTE (Video of Long Time Evolution, ViLTE).
  • NR Video of New radio
  • LTE Video of Long Time Evolution
  • the network switching method provided in the embodiment of the present application can be executed by a network switching device.
  • the network switching device provided in the embodiment of the present application is described by taking the network switching method executed by the network switching device as an example.
  • a network switching device 600 comprising: a first acquisition module 602, configured to acquire a first evaluation value of voice quality during a call through a first network; a second acquisition module 604, configured to acquire a first evaluation value of voice quality when the first evaluation value is less than or equal to a first threshold value; A first duration equal to a first threshold; a switching module 606, used to switch the electronic device from the first network to the second network when the first duration is greater than or equal to the first duration; wherein the first network is an NR network and the second network is an LTE network.
  • a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to the comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is relatively poor.
  • the voice quality during a call is improved, thereby meeting the user's needs for call quality.
  • the first evaluation value is continuously compared with a first threshold value, and when the first evaluation value is less than or equal to the first threshold value, the duration during which the first evaluation value is less than or equal to the first threshold value, that is, the first duration, is obtained, and the first duration is compared with the first duration to judge the call quality over a period of time.
  • the first duration is greater than the first duration, the network of the electronic device is switched from the first network to the second network.
  • the setting of the first duration can reduce the frequency of network switching and ensure the user's calling experience.
  • the switching module 606 is further used to: obtain the call status of the electronic device; and when the call status is to maintain the call, maintain the network of the electronic device unchanged until the call ends.
  • the call status is obtained and the network is kept unchanged according to the call status, so as to reduce the frequency of network switching and the impact of network switching on the call, such as reducing the sound freeze at the moment of switching.
  • the switching module 606 is specifically used to: send the switched network to the modem so that the modem can act according to the switched network; when receiving the confirmation information fed back by the modem, the network switching of the electronic device is completed.
  • the switched network is sent to the modem so that the modem can perform actions according to the switched network, thereby achieving network switching.
  • the network switching is terminated by limiting the time when confirmation information fed back by the modem is received, so as to ensure that the network is switched.
  • the first acquisition module 602 is further used to: obtain a second evaluation value of voice quality during a call via the second network;
  • the second acquisition module 604 is further used to: when the second evaluation value is greater than or equal to a second threshold, obtain a second duration of time when the second evaluation value is greater than or equal to the second threshold;
  • the switching module 606 is further used to: when the second duration is greater than or greater than the second duration, switch the electronic device from the second network to the first network.
  • the voice quality of the second network is evaluated to obtain a second evaluation value, wherein the second evaluation value can characterize the quality of the network environment under the current network, and whether to switch the network of the electronic device to the first network is determined according to the second evaluation value.
  • the first network can be used as a priority network under the premise of ensuring the call quality.
  • the second evaluation value can represent the quality of the network environment under the current network.
  • the quality of the network environment can be understood as the network delay and data transmission rate. When the quality of the network environment is good, the network delay is low and the data transmission rate is high. The data transmission rate is high. Conversely, when the quality of the network environment is poor, the network latency is high and the data transmission rate is low.
  • the second evaluation value is obtained periodically, wherein the second evaluation value may have the same acquisition period as the first evaluation value, and the second duration is determined in the same manner as the first duration, which will not be described in detail herein.
  • the second duration of the second evaluation value being greater than or equal to the second threshold is obtained, and if the duration is greater than or equal to the second duration, it is considered that the quality of the network environment under the current network is good and can meet the use needs under the first network, and then the network of the electronic device is switched under the premise of ensuring the call quality.
  • the first network is used as the preferred network.
  • the second duration can be set according to actual usage needs and is not limited here.
  • the first acquisition module 602 is specifically used to: acquire the call status of the electronic device at every third time interval; and acquire the second evaluation value of the voice quality when the call status is to hold the call.
  • the third duration can be set according to actual usage needs and is not limited here.
  • the call status can be determined by whether the application called on the electronic device is ended. Specifically, when the call is held, the application executing the call keeps running, and after the call ends, the application executing the call ends running. Therefore, the call status can be determined by detecting whether the application executing the call is running.
  • the switching module 606 is further configured to: update the first evaluation value; and control the network of the electronic device to switch between the first network and the second network according to the updated first evaluation value.
  • the first evaluation value is updated so that network switching is achieved based on the updated first evaluation value, the first threshold and the first duration.
  • the first network can be used as a priority network without affecting the call quality.
  • the switching module 606 is further used to: update the second evaluation value, and switch the second network to the first network based on the updated second evaluation value, the second threshold and the second duration, so as to switch the network of the electronic device between the first network and the second network until the call ends.
  • the call includes: a voice call or a video call.
  • the first evaluation value includes: MOS value or packet loss rate.
  • the switching device 600 of the network in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal, or it can be other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
  • the network 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 are not specifically limited in the embodiment of the present application.
  • the embodiment of the present application further provides an electronic device 700, including a processor 702 and a memory 704, wherein the memory 704 stores programs or instructions that can be executed on the processor 702, and when the program or instructions are executed by the processor 702, the various steps of the switching method embodiment of the above-mentioned network are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
  • the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, so as to implement functions such as charging, discharging, and power consumption management through the power management system.
  • the electronic device structure shown in FIG8 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
  • the processor 810 is used to: obtain a first evaluation value of voice quality during a call through a first network; when the first evaluation value is less than or equal to a first threshold, obtain a first duration during which the first evaluation value is less than or equal to the first threshold; when the first duration is greater than or equal to the first duration, switch the electronic device from the first network to the second network; wherein the first network is an NR network and the second network is an LTE network.
  • the processor 810 is further used to: obtain a second evaluation value of voice quality during a call through a second network; when the second evaluation value is greater than or equal to a second threshold, obtain a second duration when the second evaluation value is greater than or equal to the second threshold; when the second duration is greater than or greater than the second duration, switch the electronic device from the second network to the first network.
  • the processor 810 is specifically configured to: obtain a call status of the electronic device at every third time interval; and obtain a second evaluation value of the voice quality when the call status is to hold the call.
  • the processor 810 is further configured to: update the first evaluation value; and control the network of the electronic device to switch between the first network and the second network according to the updated first evaluation value.
  • the processor 810 is further configured to: obtain a call status of the electronic device; and when the call status is to maintain the call, maintain the network of the electronic device unchanged until the call ends.
  • the first evaluation value includes: a MOS value or a packet loss rate.
  • a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to the comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is poor.
  • the voice quality during a call can be improved. Sound quality, thereby meeting users' needs for call quality.
  • obtaining a first evaluation value so as to compare the first evaluation value with a first threshold, and when the first evaluation value is less than or equal to the first threshold, obtaining a duration during which the first evaluation value is less than or equal to the first threshold, that is, a first duration, and comparing the first duration with the first duration, so as to judge the call quality over a period of time, and when the first duration is greater than the first duration, switching the network of the electronic device from the first network to the second network.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072.
  • the touch panel 8071 is also called a touch screen.
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
  • An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the program or instruction is executed by a processor, each process of the above-mentioned network switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned network switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the switching method embodiment of the above-mentioned network, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiments of the present application are essentially or partly contributed to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, or a network device, etc.

Landscapes

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

Abstract

The present application relates to the technical field of electronic devices, and discloses a network switching method and apparatus. The network switching method comprises: in the process of performing a call by means of a first network, acquiring a first evaluation value of voice quality; when the first evaluation value is less than or equal to a first threshold, acquiring a first duration for which the first evaluation value is less than or equal to the first threshold; and when the first duration is greater than or equal to a first time length, switching an electronic device from the first network to a second network, wherein the first network is an NR network, and the second network is an LTE network.

Description

网络的切换方法和装置Network switching method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2022年10月14日在中国提交的中国专利申请No.202211261215.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202211261215.X filed in China on October 14, 2022, the entire contents of which are incorporated herein by reference.
技术领域Technical Field
本申请属于电子设备技术领域,具体涉及一种网络的切换方法和装置。The present application belongs to the technical field of electronic equipment, and specifically relates to a network switching method and device.
背景技术Background technique
相关技术方案中,第五代移动通信技术(5th Generation Mobile Communication Technology,5G)具有高速率、低时延和大连接的特点逐渐应用到电子设备上。Among the relevant technical solutions, the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) has the characteristics of high speed, low latency and large connection and is gradually being applied to electronic devices.
具体地,5G新通话超清视频语音通话服务(Voice over New Radio,VoNR)逐渐实现了商用,然而,在商用初期,由于性能限制,5G新通话超清视频语音通话服务仍存在很多问题,如通话断续、通话卡顿、通话存在杂音等。Specifically, 5G new call ultra-high-definition video voice call service (Voice over New Radio, VoNR) has gradually been commercialized. However, in the early stage of commercialization, due to performance limitations, 5G new call ultra-high-definition video voice call service still has many problems, such as intermittent calls, call freezes, noise, etc.
由于上述问题的存在,影响了通话的质量,无法满足通话的需要。Due to the existence of the above problems, the quality of the call is affected and the needs of the call cannot be met.
发明内容Summary of the invention
本申请实施例的目的是提供一种网络的切换方法和装置,能够解决相关实施例中由于性能限制,商用的5G新通话超清视频语音通话服务存在的通话断续、通话卡顿、通话存在杂音等问题,影响了通话的质量,无法满足通话的需要的问题。The purpose of the embodiments of the present application is to provide a network switching method and device, which can solve the problems of call interruption, call freeze, call noise, etc. in the commercial 5G new call ultra-clear video voice call service due to performance limitations in related embodiments, which affects the quality of the call and cannot meet the needs of the call.
第一方面,本申请实施例提供了一种网络的切换方法,包括:在通过第一网络进行通话的过程中,获取语音质量的第一评估值;在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的第一持续时长;在第一持续时长大于或等于第一时长的情况下,将电子设备从第一网络切换到第二网络;其中,第一网络为NR网络,第二网络为LTE网络。In a first aspect, an embodiment of the present application provides a network switching method, including: during a call through a first network, obtaining a first evaluation value of voice quality; when the first evaluation value is less than or equal to a first threshold, obtaining a first duration when the first evaluation value is less than or equal to the first threshold; when the first duration is greater than or equal to the first duration, switching the electronic device from the first network to the second network; wherein the first network is an NR network and the second network is an LTE network.
第二方面,本申请实施例提供了一种网络的切换装置,包括:第一获取模组,用于在通过第一网络进行通话的过程中,获取语音质量的第一评估值;第二获取模组,用于在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的第一持续时长;切换模组,用于在第一持续时长大于或等于第一时长的情况下,将电子设备从第一网络切换到第二网络;其中,第一网络为NR网络,第二网络为LTE网络。In the second aspect, an embodiment of the present application provides a network switching device, including: a first acquisition module, used to obtain a first evaluation value of voice quality during a call through a first network; a second acquisition module, used to obtain a first duration of time when the first evaluation value is less than or equal to the first threshold when the first evaluation value is less than or equal to the first threshold; a switching module, used to switch the electronic device from the first network to the second network when the first duration is greater than or equal to the first duration; wherein the first network is an NR network and the second network is an LTE network.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。 In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储有程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
第五方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
第六方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
第七方面,提供了一种电子设备,被配置成用于执行如第一方面所述的方法的步骤。According to a seventh aspect, an electronic device is provided, configured to execute the steps of the method described in the first aspect.
在本申请实施例中,获取通话过程中语音质量的第一评估值,以便根据第一评估值与第一阈值的比较结果来衡量当前网络下通话时语音质量的好坏,进而在当前语音质量比较差的情况下,切换电子设备的网络。通过切换电子设备的网络,以此来提高通话时的语音质量,进而满足用户对通话质量的需要。In the embodiment of the present application, a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to the comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is relatively poor. By switching the network of the electronic device, the voice quality during a call is improved, thereby meeting the user's needs for call quality.
通过获取第一评估值,以便将第一评估值与第一阈值进行比较,并在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的持续时长,也即,第一持续时长,并将第一持续时长与第一时长进行比较,以此判断一段时间内通话质量的情况,在第一持续时长大于第一时长的情况下,将电子设备的网络从第一网络切换到第二网络。By obtaining a first evaluation value, so as to compare the first evaluation value with a first threshold, and when the first evaluation value is less than or equal to the first threshold, obtaining a duration during which the first evaluation value is less than or equal to the first threshold, that is, a first duration, and comparing the first duration with the first duration, so as to judge the call quality over a period of time, and when the first duration is greater than the first duration, switching the network of the electronic device from the first network to the second network.
在上述实施例中,第一时长的设置,可以降低了网络切换的频次,确保了用户的通话体验。In the above embodiment, the setting of the first duration can reduce the frequency of network switching and ensure the user's calling experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请一些实施例提供的网络的切换方法的流程示意图之一;FIG1 is a flowchart of a network switching method provided in some embodiments of the present application;
图2为本申请一些实施例提供的网络的切换方法的流程示意图之二;FIG2 is a second flow chart of a network switching method provided in some embodiments of the present application;
图3为本申请一些实施例提供的网络的切换的逻辑示意图之一;FIG3 is one of the logical schematic diagrams of network switching provided in some embodiments of the present application;
图4为本申请一些实施例提供的网络的切换方法的流程示意图之三;FIG4 is a third flow chart of a network switching method provided in some embodiments of the present application;
图5为本申请一些实施例提供的网络的切换的逻辑示意图之二;FIG5 is a second logical schematic diagram of network switching provided in some embodiments of the present application;
图6为本申请一些实施例提供的网络的切换装置的示意框图;FIG6 is a schematic block diagram of a network switching device provided in some embodiments of the present application;
图7为本申请一些实施例提供的电子设备的硬件示意图;FIG7 is a hardware schematic diagram of an electronic device provided in some embodiments of the present application;
图8为本申请一些实施例提供的电子设备的硬件示意图。FIG8 is a hardware schematic diagram of an electronic device provided in some embodiments of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的实施例进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the embodiments in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而 不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects. It is not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的网络的切换方法和装置进行详细地说明。The network switching method and device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
如图1所示,本申请实施例提供一种网络的切换方法,包括:As shown in FIG1 , an embodiment of the present application provides a network switching method, including:
步骤102,在通过第一网络进行通话的过程中,获取语音质量的第一评估值。Step 102: During a call through a first network, a first evaluation value of voice quality is obtained.
在其中一个实施例中,第一评估值包括:MOS值或丢包率。In one embodiment, the first evaluation value includes: MOS value or packet loss rate.
在该实施例中,第一评估值可以选取平均意见得分(Mean Opinion Score,MOS)值,其中,MOS值是在取得每个收听者给出的得分之后,计算所有音频文件的一般或平均意见得分,其中,在MOS值越大的情况下,语音质量越好,反之,在MOS值越小的情况下,语音质量越差。In this embodiment, the first evaluation value may be a Mean Opinion Score (MOS) value, wherein the MOS value is a general or average opinion score of all audio files calculated after obtaining the score given by each listener, wherein the larger the MOS value, the better the voice quality, and conversely, the smaller the MOS value, the worse the voice quality.
在该实施例中,第一评估值可以选取丢包率,其中,丢包率是指测试中所丢失数据包数量占发送数据组的比率,具体到在本申请的实施例中,丢包率可以是通话过程中,预设时间周期内,电子设备接收到的数据包数量占基站向电子设备发送的数据包的占比。其中,预设时间周期可以根据实际使用需要进行取值,在此不再赘述。In this embodiment, the first evaluation value may be selected as a packet loss rate, wherein the packet loss rate refers to the ratio of the number of lost data packets in the test to the number of sent data groups. Specifically, in the embodiment of the present application, the packet loss rate may be the ratio of the number of data packets received by the electronic device to the number of data packets sent by the base station to the electronic device within a preset time period during a call. The preset time period may be selected according to actual usage needs, and will not be described in detail here.
在其中一个实施例中,第一评估值是周期性获取得到的,也即,在通过第一网络进行通话的过程中,周期性获取语音质量的第一评估值,以便实现通话过程中语音质量的持续监测。In one of the embodiments, the first evaluation value is obtained periodically, that is, during a call through the first network, the first evaluation value of the voice quality is periodically obtained to achieve continuous monitoring of the voice quality during the call.
步骤104,在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的第一持续时长。Step 104 , when the first evaluation value is less than or equal to the first threshold, obtain a first duration during which the first evaluation value is less than or equal to the first threshold.
在该实施例中,在获取得到的第一评估值小于第一阈值的情况下,开始计时,并判断更新后的第一评估值与第一阈值的大小关系,如更新后的第一评估值仍小于第一阈值的情况下,累计一个间隔时长,周而复始,累计得到的时长为持续时长,其中,间隔时长为每两次获取第一评估值之间的时长。In this embodiment, when the acquired first evaluation value is less than the first threshold, timing starts, and the relationship between the updated first evaluation value and the first threshold is determined. If the updated first evaluation value is still less than the first threshold, an interval duration is accumulated, and the cycle is repeated. The accumulated duration is the continuous duration, wherein the interval duration is the duration between each two acquisitions of the first evaluation value.
步骤106,在第一持续时长大于或等于第一时长的情况下,将电子设备从第一网络切换到第二网络。Step 106: When the first duration is greater than or equal to the first duration, switch the electronic device from the first network to the second network.
在该实施例中,第一时长可以根据实际使用需要进行取值,其中,第一时长大于间隔时长。In this embodiment, the first duration can be determined according to actual usage requirements, wherein the first duration is greater than the interval duration.
其中,第一网络为新空口(New Radio,NR)网络,第二网络为长期演进(Long Term Evolution,LTE)网络。Among them, the first network is the New Radio (NR) network, and the second network is the Long Term Evolution (LTE) network.
其中,NR,也即5GNR,是基于正交频分复用技术(Orthogonal Frequency Division Multiplexing,OFDM)的全新空口设计的全球性5G标准。 Among them, NR, also known as 5GNR, is a global 5G standard with a new air interface design based on orthogonal frequency division multiplexing (OFDM) technology.
其中,通用移动通信技术的LTE是基于第三代合作伙伴计划(The 3rd Generation Partnership Project,3GPP)组织制定的通用移动通信系统(Universal Mobile Telecommunications System,UNTS)技术标准的长期演进。Among them, LTE, a universal mobile communication technology, is the long-term evolution of the Universal Mobile Telecommunications System (UNTS) technical standard developed by the 3rd Generation Partnership Project (3GPP).
在该实施例中,获取通话过程中语音质量的第一评估值,以便根据第一评估值与第一阈值的比较结果来衡量当前网络下通话时语音质量的好坏,进而在当前语音质量比较差的情况下,切换电子设备的网络。通过切换电子设备的网络,以此来提高通话时的语音质量,进而满足用户对通话质量的需要。In this embodiment, a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to a comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is poor. By switching the network of the electronic device, the voice quality during a call is improved, thereby meeting the user's needs for call quality.
通过获取第一评估值,以便将第一评估值持续与第一阈值进行比较,并在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的持续时长,也即,第一持续时长,并将第一持续时长与第一时长进行比较,以此判断一段时间内通话质量的情况,在第一持续时长大于第一时长的情况下,将电子设备的网络从第一网络切换到第二网络。By obtaining a first evaluation value, the first evaluation value is continuously compared with a first threshold value, and when the first evaluation value is less than or equal to the first threshold value, the duration during which the first evaluation value is less than or equal to the first threshold value, that is, the first duration, is obtained, and the first duration is compared with the first duration to judge the call quality over a period of time. When the first duration is greater than the first duration, the network of the electronic device is switched from the first network to the second network.
在上述实施例中,第一时长的设置,可以降低了网络切换的频次,确保了用户的通话体验。In the above embodiment, the setting of the first duration can reduce the frequency of network switching and ensure the user's calling experience.
在上述任一实施例中,网络的切换方法还包括:获取电子设备的通话状态;在通话状态为保持通话的情况下,维持电子设备的网络不变,直至通话结束。In any of the above embodiments, the network switching method further includes: obtaining a call status of the electronic device; and when the call status is to maintain the call, maintaining the network of the electronic device unchanged until the call ends.
在该实施例中,通过获取通话状态,并根据通话状态保持网络不变,以便减少了网络的切换频率,降低了网络切换对通话所带来的影响。如减少切换瞬间存在的声音卡顿等。In this embodiment, the call status is obtained and the network is kept unchanged according to the call status, so as to reduce the frequency of network switching and the impact of network switching on the call, such as reducing the sound freeze at the moment of switching.
示例性地,切换前的网络为VoNR,切换后的网络为长期演进语音承载制式下的语音通话(Voice of Long Time Evolution,VoLTE),并在后续通话的过程中,电子设备的网络一直维持在长期演进语音承载制式下的语音通话。Exemplarily, the network before switching is VoNR, and the network after switching is a voice call under the Voice of Long Time Evolution (VoLTE) bearer standard, and in subsequent calls, the network of the electronic device always maintains a voice call under the Voice of Long Time Evolution (VoLTE) bearer standard.
在其中一个实施例中,切换电子设备的网络,具体包括:向调制解调器发送执行切换后的网络,以使调制解调器根据切换后的网络进行动作;在接收到调制解调器反馈的确认信息的情况下,电子设备的网络切换结束。In one embodiment, switching the network of the electronic device specifically includes: sending the switched network to the modem so that the modem acts according to the switched network; when receiving confirmation information fed back by the modem, the network switching of the electronic device is completed.
在该实施例中,通过向调制解调器发送切换后的网络,以便调制解调器能够根据切换后的网络执行动作,进而实现网络的切换,在此过程中,通过限定在接收到调制解调器反馈的确认信息的情况下,网络切换结束,以便确保网络得以切换。In this embodiment, the switched network is sent to the modem so that the modem can perform actions according to the switched network, thereby achieving network switching. In this process, the network switching is terminated by limiting the time when confirmation information fed back by the modem is received, so as to ensure that the network is switched.
如图2和图3所示,网络的切换方法包括:As shown in FIG. 2 and FIG. 3 , the network switching method includes:
步骤202,电子设备触发VoNR下的语音通话;Step 202: The electronic device triggers a voice call under VoNR;
步骤204,每间隔一段时长TI判断VoNR下的语音通话是否结束,在判断结果为是的情况下,结束;在判断结果为否时,执行步骤206;Step 204, determining whether the voice call under VoNR is ended at each interval of a time length TI, and if the determination result is yes, ending; if the determination result is no, executing step 206;
步骤206,检测VoNR下的语音通话的MOS值;Step 206, detecting the MOS value of the voice call under VoNR;
步骤208,判断VoNR下的语音通话的MOS值低于第一阈值、且保持第一时长,在判断结果为是的情况下,执行步骤210,在判断结果为否,执行步骤206;Step 208, determining whether the MOS value of the voice call under VoNR is lower than the first threshold and maintained for the first duration, if the determination result is yes, executing step 210, if the determination result is no, executing step 206;
步骤210,将VoNR下的语音通话切换为VoLTE下的语音通话; Step 210, switching the voice call under VoNR to the voice call under VoLTE;
步骤212,判断通话是否结束,在判断为否的情况下,执行步骤212,在判断结果为是的情况下,结束。Step 212, determine whether the call is ended. If the judgment result is no, execute step 212. If the judgment result is yes, end.
如图3所示,接入点(Access Point,AP)可以是与调制解调器(也即modem)相对应的上层应用模块,其中,AP发送的指令中包含切换后的网络,以使modem反馈(Acknowledge,ACK)确定信息(也即上文中的确认信息)。As shown in FIG. 3 , an access point (AP) may be an upper layer application module corresponding to a modem, wherein the command sent by the AP includes the switched network so that the modem can feedback (Acknowledge, ACK) confirmation information (i.e., the confirmation information mentioned above).
在其中一个实施例中,在第一持续时长大于或等于第一时长的情况下,将电子设备从第一网络切换到第二网络之后,还包括:在通过第二网络进行通话的过程中,获取语音质量的第二评估值;在第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长;在第二持续时长大于或大于第二时长的情况下,将电子设备从第二网络切换到第一网络。In one of the embodiments, after switching the electronic device from the first network to the second network when the first duration is greater than or equal to the first duration, the method further includes: obtaining a second evaluation value of voice quality during a call via the second network; obtaining a second duration when the second evaluation value is greater than or equal to the second threshold when the second evaluation value is greater than or equal to the second threshold when the second duration is greater than or greater than the second duration. Switching the electronic device from the second network to the first network when the second duration is greater than or greater than the second duration.
在该实施例中,在将网络从第一网络切换为第二网络之后,还对第二网络下的语音质量进行评估,得到第二评估值,其中,第二评估值能够表征在当前网络下网络环境的质量,并根据第二评估值来判断是否将电子设备的网络切换到第一网络。在此过程中,可以在确保通话质量的前提下,可以将第一网络作为优先使用的网络使用。In this embodiment, after the network is switched from the first network to the second network, the voice quality of the second network is evaluated to obtain a second evaluation value, wherein the second evaluation value can characterize the quality of the network environment under the current network, and whether to switch the network of the electronic device to the first network is determined according to the second evaluation value. In this process, the first network can be used as a priority network under the premise of ensuring the call quality.
其中,第二评估值能够表征在当前网络下网络环境的质量。具体地,网络环境的质量可以理解为网络的时延、数据传输速率,在网络环境的质量好的情况下,网络的时延低、数据传输速率高,反之,在网络环境的质量差的情况下,网络的时延高、数据传输速率低。The second evaluation value can represent the quality of the network environment under the current network. Specifically, the quality of the network environment can be understood as the network delay and data transmission rate. When the quality of the network environment is good, the network delay is low and the data transmission rate is high. Conversely, when the quality of the network environment is poor, the network delay is high and the data transmission rate is low.
具体地,周期性获取第二评估值,其中,第二评估值的可以与第一评估值的获取周期相同,第二持续时长的确定方式与第一持续时长的确定方式相同,在此不再进行赘述。Specifically, the second evaluation value is obtained periodically, wherein the second evaluation value may have the same acquisition period as the first evaluation value, and the second duration is determined in the same manner as the first duration, which will not be described in detail herein.
若检测到第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长,并持续时长大于或等于第二时长的情况下,认为当前网络下网络环境的质量较好,可以满足第一网络下的使用需要,进而在确保通话质量的前提下,切换电子设备的网络。在此过程中,将第一网络作为优先使用的网络使用。If it is detected that the second evaluation value is greater than or equal to the second threshold, the second duration of the second evaluation value being greater than or equal to the second threshold is obtained, and if the duration is greater than or equal to the second duration, it is considered that the quality of the network environment under the current network is good and can meet the use needs under the first network, and then the network of the electronic device is switched under the premise of ensuring the call quality. In this process, the first network is used as the preferred network.
在上述实施例中,第二时长可以根据实际使用需要进行取值,在此不再进行限定。In the above embodiment, the second duration can be set according to actual usage needs and is not limited here.
在其中一个实施例中,在通过第二网络进行通话的过程中,获取语音质量的第二评估值,具体包括:每间隔第三时长获取电子设备的通话状态;在通话状态为保持通话的情况下,获取语音质量的第二评估值。In one of the embodiments, during a call through a second network, obtaining a second evaluation value of voice quality specifically includes: obtaining a call status of the electronic device at every third time interval; and obtaining the second evaluation value of voice quality when the call status is to maintain the call.
在该实施例中,考虑到本申请对网络的切换目的在于确保通话质量,因此,需要判断通话是否结束,通过每间隔第三时长获取电子设备的通话状态,以便在通话状态为保持通话的情况下,获取第二评估值,以便实现通过过程中的网络的切换控制。In this embodiment, considering that the purpose of network switching in this application is to ensure the call quality, it is necessary to determine whether the call is ended, and obtain the call status of the electronic device at every third time interval, so that when the call status is to maintain the call, a second evaluation value is obtained to implement network switching control during the process.
在上述实施例中,第三时长的可以根据实际使用需要进行取值,在此不再进行限定。In the above embodiment, the third duration can be set according to actual usage needs and is not limited here.
在上述实施例中,通话状态可以通过电子设备上调用的应用程序是否结束来确定,具体地,在保持通话时,执行通话的应用程序保持运行,而在通话结束后,执行通话的应用程序结束运行,因此,可以通过检测执行通话的应用程序是否运行来判断通话状态。In the above embodiment, the call status can be determined by whether the application called on the electronic device is ended. Specifically, when the call is held, the application executing the call keeps running, and after the call ends, the application executing the call ends running. Therefore, the call status can be determined by detecting whether the application executing the call is running.
在其中一个实施例中,将电子设备从第二网络切换到第一网络之后,还包括: In one embodiment, after switching the electronic device from the second network to the first network, the method further includes:
更新第一评估值;根据更新后的第一评估值,控制电子设备的网络在第一网络和第二网络之间切换。The first evaluation value is updated; and according to the updated first evaluation value, the network of the electronic device is controlled to switch between the first network and the second network.
在该实施例中,通过更新第一评估值,以便基于更新后的第一评估值、第一阈值和第一时长来实现网络的切换,在此过程中,通过切换网络,可以在不影响通话质量的前提下,将第一网络作为优先使用的网络使用。In this embodiment, the first evaluation value is updated so that network switching is achieved based on the updated first evaluation value, the first threshold and the first duration. In this process, by switching the network, the first network can be used as a priority network without affecting the call quality.
在上述任一实施例中,更新第二评估值,并基于更新后的第二评估值、第二阈值和第二时长来将第二网络切换到第一网络,以此实现电子设备的网络在第一网络和第二网络之间切换,直至通话结束。In any of the above embodiments, the second evaluation value is updated, and the second network is switched to the first network based on the updated second evaluation value, the second threshold and the second duration, so that the network of the electronic device is switched between the first network and the second network until the call ends.
如图4和图5所示,网络的切换方法包括:As shown in FIG. 4 and FIG. 5 , the network switching method includes:
步骤402,电子设备触发VoNR下的语音通话;Step 402: The electronic device triggers a voice call under VoNR;
步骤404,每间隔一段时长TI判断VoNR下的语音通话是否结束,在判断结果为是的情况下,结束;在判断结果为否时,执行步骤406;Step 404, determining whether the voice call under VoNR is ended at each interval of a time length TI, and if the determination result is yes, ending; if the determination result is no, executing step 406;
步骤406,检测VoNR下的语音通话的MOS值;Step 406, detecting the MOS value of the voice call under VoNR;
步骤408,判断VoNR下的语音通话的MOS值低于第一阈值、且保持第一时长,在判断结果为是的情况下,执行步骤410,在判断结果为否,执行步骤406;Step 408, determining whether the MOS value of the voice call under VoNR is lower than the first threshold and maintained for the first duration, if the determination result is yes, executing step 410, if the determination result is no, executing step 406;
步骤410,将VoNR下的语音通话切换为VoLTE下的语音通话;Step 410, switching the voice call under VoNR to the voice call under VoLTE;
步骤412,每间隔一段时长T2判断VoLTE下的语音通话是否结束,在判断结果为是的情况下,结束;在判断结果为否时,执行步骤414;Step 412, determining whether the voice call under VoLTE is ended at intervals of a time length T2, and if the determination result is yes, ending the call; if the determination result is no, executing step 414;
步骤414,检测VoLTE下的语音通话的MOS值;Step 414, detecting the MOS value of the voice call under VoLTE;
步骤416,判断VoLTE下的语音通话的MOS值大于或等于第二阈值、且保持第二时长,在判断结果为是的情况下,执行步骤402,在判断结果为否,执行步骤414。Step 416, determine whether the MOS value of the voice call under VoLTE is greater than or equal to the second threshold and is maintained for the second duration. If the judgment result is yes, execute step 402, and if the judgment result is no, execute step 414.
其中,AP可以是与调制解调器(也即modem)相对应的上层应用模块,其中,AP发送的指令中包含切换后的网络,以使modem反馈ACK确定信息(也即上文中的确认信息)。The AP may be an upper layer application module corresponding to a modem, wherein the instruction sent by the AP includes the switched network so that the modem feeds back ACK confirmation information (ie, the confirmation information mentioned above).
在上述任一实施例中,通话包括:语音通话或视频通话。In any of the above embodiments, the call includes: a voice call or a video call.
具体地,第一网络下的语音通话可以是VoNR,第二网络下的语音通话可以是VoLTE。Specifically, the voice call under the first network may be VoNR, and the voice call under the second network may be VoLTE.
在其中一个实施例中,第一网络下的视频通话可以是NR下的视频通话(Video of New radio,ViNR),第二网络下的视频通话可以是LTE下的视频通话(Video of Long Time Evolution,ViLTE)。In one embodiment, the video call under the first network may be a video call under NR (Video of New radio, ViNR), and the video call under the second network may be a video call under LTE (Video of Long Time Evolution, ViLTE).
本申请实施例提供的网络的切换方法,执行主体可以为网络的切换装置。本申请实施例中以网络的切换装置执行网络的切换方法为例,说明本申请实施例提供的网络的切换装置。The network switching method provided in the embodiment of the present application can be executed by a network switching device. In the embodiment of the present application, the network switching device provided in the embodiment of the present application is described by taking the network switching method executed by the network switching device as an example.
在其中一个实施例中,如图6所示,提供了一种网络的切换装置600,包括:第一获取模组602,用于在通过第一网络进行通话的过程中,获取语音质量的第一评估值;第二获取模组604,用于在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或 等于第一阈值的第一持续时长;切换模组606,用于在第一持续时长大于或等于第一时长的情况下,将电子设备从第一网络切换到第二网络;其中,第一网络为NR网络,第二网络为LTE网络。In one embodiment, as shown in FIG6 , a network switching device 600 is provided, comprising: a first acquisition module 602, configured to acquire a first evaluation value of voice quality during a call through a first network; a second acquisition module 604, configured to acquire a first evaluation value of voice quality when the first evaluation value is less than or equal to a first threshold value; A first duration equal to a first threshold; a switching module 606, used to switch the electronic device from the first network to the second network when the first duration is greater than or equal to the first duration; wherein the first network is an NR network and the second network is an LTE network.
在本申请实施例中,获取通话过程中语音质量的第一评估值,以便根据第一评估值与第一阈值的比较结果来衡量当前网络下通话时语音质量的好坏,进而在当前语音质量比较差的情况下,切换电子设备的网络。通过切换电子设备的网络,以此来提高通话时的语音质量,进而满足用户对通话质量的需要。In the embodiment of the present application, a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to the comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is relatively poor. By switching the network of the electronic device, the voice quality during a call is improved, thereby meeting the user's needs for call quality.
通过获取第一评估值,以便将第一评估值持续与第一阈值进行比较,并在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的持续时长,也即,第一持续时长,并将第一持续时长与第一时长进行比较,以此判断一段时间内通话质量的情况,在第一持续时长大于第一时长的情况下,将电子设备的网络从第一网络切换到第二网络。By obtaining a first evaluation value, the first evaluation value is continuously compared with a first threshold value, and when the first evaluation value is less than or equal to the first threshold value, the duration during which the first evaluation value is less than or equal to the first threshold value, that is, the first duration, is obtained, and the first duration is compared with the first duration to judge the call quality over a period of time. When the first duration is greater than the first duration, the network of the electronic device is switched from the first network to the second network.
在上述实施例中,第一时长的设置,可以降低了网络切换的频次,确保了用户的通话体验。In the above embodiment, the setting of the first duration can reduce the frequency of network switching and ensure the user's calling experience.
在其中一个实施例中,切换模组606,还用于:获取电子设备的通话状态;在通话状态为保持通话的情况下,维持电子设备的网络不变,直至通话结束。In one embodiment, the switching module 606 is further used to: obtain the call status of the electronic device; and when the call status is to maintain the call, maintain the network of the electronic device unchanged until the call ends.
在该实施例中,通过获取通话状态,并根据通话状态保持网络不变,以便减少了网络的切换频率,降低了网络切换对通话所带来的影响。如减少切换瞬间存在的声音卡顿等。In this embodiment, the call status is obtained and the network is kept unchanged according to the call status, so as to reduce the frequency of network switching and the impact of network switching on the call, such as reducing the sound freeze at the moment of switching.
在其中一个实施例中,切换模组606,具体用于:向调制解调器发送执行切换后的网络,以使调制解调器根据切换后的网络进行动作;在接收到调制解调器反馈的确认信息的情况下,电子设备的网络切换结束。In one embodiment, the switching module 606 is specifically used to: send the switched network to the modem so that the modem can act according to the switched network; when receiving the confirmation information fed back by the modem, the network switching of the electronic device is completed.
在该实施例中,通过向调制解调器发送切换后的网络,以便调制解调器能够根据切换后的网络执行动作,进而实现网络的切换,在此过程中,通过限定在接收到调制解调器反馈的确认信息的情况下,网络切换结束,以便确保网络得以切换。In this embodiment, the switched network is sent to the modem so that the modem can perform actions according to the switched network, thereby achieving network switching. In this process, the network switching is terminated by limiting the time when confirmation information fed back by the modem is received, so as to ensure that the network is switched.
在其中一个实施例中,第一获取模组602,还用于:在通过第二网络进行通话的过程中,获取语音质量的第二评估值;第二获取模组604,还用于:在第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长;切换模组606,还用于:在第二持续时长大于或大于第二时长的情况下,将电子设备从第二网络切换到第一网络。In one of the embodiments, the first acquisition module 602 is further used to: obtain a second evaluation value of voice quality during a call via the second network; the second acquisition module 604 is further used to: when the second evaluation value is greater than or equal to a second threshold, obtain a second duration of time when the second evaluation value is greater than or equal to the second threshold; the switching module 606 is further used to: when the second duration is greater than or greater than the second duration, switch the electronic device from the second network to the first network.
在该实施例中,在将网络从第一网络切换为第二网络之后,还对第二网络下的语音质量进行评估,得到第二评估值,其中,第二评估值能够表征在当前网络下网络环境的质量,并根据第二评估值来判断是否将电子设备的网络切换到第一网络。在此过程中,可以在确保通话质量的前提下,可以将第一网络作为优先使用的网络使用。In this embodiment, after the network is switched from the first network to the second network, the voice quality of the second network is evaluated to obtain a second evaluation value, wherein the second evaluation value can characterize the quality of the network environment under the current network, and whether to switch the network of the electronic device to the first network is determined according to the second evaluation value. In this process, the first network can be used as a priority network under the premise of ensuring the call quality.
其中,第二评估值能够表征在当前网络下网络环境的质量。具体地,网络环境的质量可以理解为网络的时延、数据传输速率,在网络环境的质量好的情况下,网络的时延低、 数据传输速率高,反之,在网络环境的质量差的情况下,网络的时延高、数据传输速率低。The second evaluation value can represent the quality of the network environment under the current network. Specifically, the quality of the network environment can be understood as the network delay and data transmission rate. When the quality of the network environment is good, the network delay is low and the data transmission rate is high. The data transmission rate is high. Conversely, when the quality of the network environment is poor, the network latency is high and the data transmission rate is low.
具体地,周期性获取第二评估值,其中,第二评估值的可以与第一评估值的获取周期相同,第二持续时长的确定方式与第一持续时长的确定方式相同,在此不再进行赘述。Specifically, the second evaluation value is obtained periodically, wherein the second evaluation value may have the same acquisition period as the first evaluation value, and the second duration is determined in the same manner as the first duration, which will not be described in detail herein.
若检测到第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长,并持续时长大于或等于第二时长的情况下,认为当前网络下网络环境的质量较好,可以满足第一网络下的使用需要,进而在确保通话质量的前提下,切换电子设备的网络。在此过程中,将第一网络作为优先使用的网络使用。If it is detected that the second evaluation value is greater than or equal to the second threshold, the second duration of the second evaluation value being greater than or equal to the second threshold is obtained, and if the duration is greater than or equal to the second duration, it is considered that the quality of the network environment under the current network is good and can meet the use needs under the first network, and then the network of the electronic device is switched under the premise of ensuring the call quality. In this process, the first network is used as the preferred network.
在上述实施例中,第二时长可以根据实际使用需要进行取值,在此不再进行限定。In the above embodiment, the second duration can be set according to actual usage needs and is not limited here.
在其中一个实施例中,第一获取模组602,具体用于:每间隔第三时长获取电子设备的通话状态;在通话状态为保持通话的情况下,获取语音质量的第二评估值。In one embodiment, the first acquisition module 602 is specifically used to: acquire the call status of the electronic device at every third time interval; and acquire the second evaluation value of the voice quality when the call status is to hold the call.
在该实施例中,考虑到本申请对网络的切换目的在于确保通话质量,因此,需要判断通话是否结束,通过每间隔第三时长获取电子设备的通话状态,以便在通话状态为保持通话的情况下,获取第二评估值,以便实现通过过程中的网络的切换控制。In this embodiment, considering that the purpose of network switching in this application is to ensure the call quality, it is necessary to determine whether the call is ended, and obtain the call status of the electronic device at every third time interval, so that when the call status is to maintain the call, a second evaluation value is obtained to implement network switching control during the process.
在上述实施例中,第三时长的可以根据实际使用需要进行取值,在此不再进行限定。In the above embodiment, the third duration can be set according to actual usage needs and is not limited here.
在上述实施例中,通话状态可以通过电子设备上调用的应用程序是否结束来确定,具体地,在保持通话时,执行通话的应用程序保持运行,而在通话结束后,执行通话的应用程序结束运行,因此,可以通过检测执行通话的应用程序是否运行来判断通话状态。In the above embodiment, the call status can be determined by whether the application called on the electronic device is ended. Specifically, when the call is held, the application executing the call keeps running, and after the call ends, the application executing the call ends running. Therefore, the call status can be determined by detecting whether the application executing the call is running.
在其中一个实施例中,切换模组606,还用于:更新第一评估值;根据更新后的第一评估值,控制电子设备的网络在第一网络和第二网络之间切换。In one embodiment, the switching module 606 is further configured to: update the first evaluation value; and control the network of the electronic device to switch between the first network and the second network according to the updated first evaluation value.
在该实施例中,通过更新第一评估值,以便基于更新后的第一评估值、第一阈值和第一时长来实现网络的切换,在此过程中,通过切换网络,可以在不影响通话质量的前提下,将第一网络作为优先使用的网络使用。In this embodiment, the first evaluation value is updated so that network switching is achieved based on the updated first evaluation value, the first threshold and the first duration. In this process, by switching the network, the first network can be used as a priority network without affecting the call quality.
在其中一个实施例中,切换模组606,还用于:更新第二评估值,并基于更新后的第二评估值、第二阈值和第二时长来将第二网络切换到第一网络,以此实现电子设备的网络在第一网络和第二网络之间切换,直至通话结束。In one embodiment, the switching module 606 is further used to: update the second evaluation value, and switch the second network to the first network based on the updated second evaluation value, the second threshold and the second duration, so as to switch the network of the electronic device between the first network and the second network until the call ends.
在其中一个实施例中,通话包括:语音通话或视频通话。In one embodiment, the call includes: a voice call or a video call.
在其中一个实施例中,第一评估值包括:MOS值或丢包率。In one embodiment, the first evaluation value includes: MOS value or packet loss rate.
本申请实施例中的网络的切换装置600可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。 The switching device 600 of the network in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than the terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的网络的切换装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The network 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 are not specifically limited in the embodiment of the present application.
在其中一个实施例中,如图7所示,本申请实施例还提供一种电子设备700,包括处理器702和存储器704,存储器704上存储有可在处理器702上运行的程序或指令,该程序或指令被处理器702执行时实现上述网络的切换方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。In one embodiment, as shown in FIG. 7 , the embodiment of the present application further provides an electronic device 700, including a processor 702 and a memory 704, wherein the memory 704 stores programs or instructions that can be executed on the processor 702, and when the program or instructions are executed by the processor 702, the various steps of the switching method embodiment of the above-mentioned network are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
如图8所示,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。As shown in FIG8 , the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810. Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, so as to implement functions such as charging, discharging, and power consumption management through the power management system. The electronic device structure shown in FIG8 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
在其中一个实施例中,处理器810,用于:在通过第一网络进行通话的过程中,获取语音质量的第一评估值;在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的第一持续时长;在第一持续时长大于或等于第一时长的情况下,将电子设备从第一网络切换到第二网络;其中,第一网络为NR网络,第二网络为LTE网络。In one embodiment, the processor 810 is used to: obtain a first evaluation value of voice quality during a call through a first network; when the first evaluation value is less than or equal to a first threshold, obtain a first duration during which the first evaluation value is less than or equal to the first threshold; when the first duration is greater than or equal to the first duration, switch the electronic device from the first network to the second network; wherein the first network is an NR network and the second network is an LTE network.
在其中一个实施例中,处理器810,还用于:在通过第二网络进行通话的过程中,获取语音质量的第二评估值;在第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长;在第二持续时长大于或大于第二时长的情况下,将电子设备从第二网络切换到第一网络。In one of the embodiments, the processor 810 is further used to: obtain a second evaluation value of voice quality during a call through a second network; when the second evaluation value is greater than or equal to a second threshold, obtain a second duration when the second evaluation value is greater than or equal to the second threshold; when the second duration is greater than or greater than the second duration, switch the electronic device from the second network to the first network.
在其中一个实施例中,处理器810,具体用于:每间隔第三时长获取电子设备的通话状态;在通话状态为保持通话的情况下,获取语音质量的第二评估值。In one embodiment, the processor 810 is specifically configured to: obtain a call status of the electronic device at every third time interval; and obtain a second evaluation value of the voice quality when the call status is to hold the call.
在其中一个实施例中,处理器810,还用于:更新第一评估值;根据更新后的第一评估值,控制电子设备的网络在第一网络和第二网络之间切换。In one embodiment, the processor 810 is further configured to: update the first evaluation value; and control the network of the electronic device to switch between the first network and the second network according to the updated first evaluation value.
在其中一个实施例中,处理器810,还用于:获取电子设备的通话状态;在通话状态为保持通话的情况下,维持电子设备的网络不变,直至通话结束。在其中一个实施例中,第一评估值包括:MOS值或丢包率。In one embodiment, the processor 810 is further configured to: obtain a call status of the electronic device; and when the call status is to maintain the call, maintain the network of the electronic device unchanged until the call ends. In one embodiment, the first evaluation value includes: a MOS value or a packet loss rate.
在本申请实施例中,获取通话过程中语音质量的第一评估值,以便根据第一评估值与第一阈值的比较结果来衡量当前网络下通话时语音质量的好坏,进而在当前语音质量比较差的情况下,切换电子设备的网络。通过切换电子设备的网络,以此来提高通话时的语 音质量,进而满足用户对通话质量的需要。In the embodiment of the present application, a first evaluation value of the voice quality during a call is obtained, so as to measure the quality of the voice during a call in the current network according to the comparison result between the first evaluation value and the first threshold value, and then switch the network of the electronic device when the current voice quality is poor. By switching the network of the electronic device, the voice quality during a call can be improved. Sound quality, thereby meeting users' needs for call quality.
通过获取第一评估值,以便将第一评估值与第一阈值进行比较,并在第一评估值小于或等于第一阈值的情况下,获取第一评估值小于或等于第一阈值的持续时长,也即,第一持续时长,并将第一持续时长与第一时长进行比较,以此判断一段时间内通话质量的情况,在第一持续时长大于第一时长的情况下,将电子设备的网络从第一网络切换到第二网络。By obtaining a first evaluation value, so as to compare the first evaluation value with a first threshold, and when the first evaluation value is less than or equal to the first threshold, obtaining a duration during which the first evaluation value is less than or equal to the first threshold, that is, a first duration, and comparing the first duration with the first duration, so as to judge the call quality over a period of time, and when the first duration is greater than the first duration, switching the network of the electronic device from the first network to the second network.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072中的至少一种。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器809可以包括易失性存储器或非易失性存储器,或者,存储器809可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器809包括但不限于这些和任意其它适合类型的存储器。The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器810可包括一个或多个处理单元;可选的,处理器810集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述网络的切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。 An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned network switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述网络的切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned network switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述网络的切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the switching method embodiment of the above-mentioned network, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "including one" do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的实施例本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the embodiments of the present application are essentially or partly contributed to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (13)

  1. 一种网络的切换方法,包括:A network switching method, comprising:
    在通过第一网络进行通话的过程中,获取语音质量的第一评估值;During a call through the first network, obtaining a first evaluation value of voice quality;
    在所述第一评估值小于或等于第一阈值的情况下,获取所述第一评估值小于或等于第一阈值的第一持续时长;When the first evaluation value is less than or equal to a first threshold, obtaining a first duration during which the first evaluation value is less than or equal to the first threshold;
    在所述第一持续时长大于或等于第一时长的情况下,将电子设备从所述第一网络切换到第二网络;When the first duration is greater than or equal to the first duration, switching the electronic device from the first network to a second network;
    其中,所述第一网络为NR网络,所述第二网络为LTE网络。The first network is an NR network and the second network is an LTE network.
  2. 根据权利要求1所述的网络的切换方法,其中,在所述第一持续时长大于或等于第一时长的情况下,将电子设备从所述第一网络切换到第二网络之后,还包括:The network switching method according to claim 1, wherein, when the first duration is greater than or equal to the first duration, after switching the electronic device from the first network to the second network, further comprising:
    在通过所述第二网络进行通话的过程中,获取语音质量的第二评估值;During the call through the second network, obtaining a second evaluation value of voice quality;
    在所述第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长;When the second evaluation value is greater than or equal to a second threshold, obtaining a second duration during which the second evaluation value is greater than or equal to the second threshold;
    在所述第二持续时长大于或大于第二时长的情况下,将电子设备从所述第二网络切换到所述第一网络。When the second duration is greater than or equal to the second duration, the electronic device is switched from the second network to the first network.
  3. 根据权利要求2所述的网络的切换方法,其中,所述在通过所述第二网络进行通话的过程中,获取语音质量的第二评估值,具体包括:The network switching method according to claim 2, wherein, in the process of making a call through the second network, obtaining a second evaluation value of voice quality specifically comprises:
    每间隔第三时长获取所述电子设备的通话状态;Acquire the call status of the electronic device at intervals of a third time length;
    在所述通话状态为保持通话的情况下,获取语音质量的第二评估值。When the call state is to hold the call, a second evaluation value of the voice quality is obtained.
  4. 根据权利要求2所述的网络的切换方法,其中,所述将电子设备从所述第二网络切换到所述第一网络之后,还包括:The network switching method according to claim 2, wherein after switching the electronic device from the second network to the first network, the method further comprises:
    更新所述第一评估值;updating the first evaluation value;
    根据更新后的所述第一评估值,控制所述电子设备的网络在所述第一网络和所述第二网络之间切换。According to the updated first evaluation value, the network of the electronic device is controlled to switch between the first network and the second network.
  5. 根据权利要求1所述的网络的切换方法,其中,所述方法还包括:The network switching method according to claim 1, wherein the method further comprises:
    获取所述电子设备的通话状态;Acquiring the call status of the electronic device;
    在所述通话状态为保持通话的情况下,维持所述电子设备的网络不变,直至通话结束。When the call status is to maintain the call, the network of the electronic device is maintained unchanged until the call ends.
  6. 根据权利要求1至5中任一项所述的网络的切换方法,其中,所述第一评估值包括:The network switching method according to any one of claims 1 to 5, wherein the first evaluation value comprises:
    MOS值或丢包率。MOS value or packet loss rate.
  7. 一种网络的切换装置,包括:A network switching device, comprising:
    第一获取模组,用于在通过第一网络进行通话的过程中,获取语音质量的第一评估值;A first acquisition module, used for acquiring a first evaluation value of voice quality during a call through a first network;
    第二获取模组,用于在所述第一评估值小于或等于第一阈值的情况下,获取所述第一评估值小于或等于第一阈值的第一持续时长; A second acquisition module, configured to acquire, when the first evaluation value is less than or equal to a first threshold, a first duration during which the first evaluation value is less than or equal to the first threshold;
    切换模组,用于在所述第一持续时长大于或等于第一时长的情况下,将电子设备从所述第一网络切换到第二网络;a switching module, configured to switch the electronic device from the first network to a second network when the first duration is greater than or equal to the first duration;
    其中,所述第一网络为NR网络,所述第二网络为LTE网络。The first network is an NR network and the second network is an LTE network.
  8. 根据权利要求7所述的网络的切换装置,其中,所述切换模组,还用于:The network switching device according to claim 7, wherein the switching module is further used for:
    在通过所述第二网络进行通话的过程中,获取语音质量的第二评估值;During the call through the second network, obtaining a second evaluation value of voice quality;
    在所述第二评估值大于或等于第二阈值的情况下,获取第二评估值大于或等于第二阈值的第二持续时长;When the second evaluation value is greater than or equal to a second threshold, obtaining a second duration during which the second evaluation value is greater than or equal to the second threshold;
    在所述第二持续时长大于或大于第二时长的情况下,将电子设备从所述第二网络切换到所述第一网络。When the second duration is greater than or equal to the second duration, the electronic device is switched from the second network to the first network.
  9. 根据权利要求7所述的网络的切换装置,其中,所述切换模组,还用于:The network switching device according to claim 7, wherein the switching module is further used for:
    获取所述电子设备的通话状态;Acquiring the call status of the electronic device;
    在所述通话状态为保持通话的情况下,维持所述电子设备的网络不变,直至通话结束。When the call status is to maintain the call, the network of the electronic device is maintained unchanged until the call ends.
  10. 根据权利要求7至9中任一项所述的网络的切换装置,其中,所述第一评估值包括:The switching device of a network according to any one of claims 7 to 9, wherein the first evaluation value comprises:
    MOS值或丢包率。MOS value or packet loss rate.
  11. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-6中任一项所述的网络的切换方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the network switching method according to any one of claims 1 to 6.
  12. 一种计算机程序产品,所述计算机程序产品被存储在存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-6中任一项所述的网络的切换方法的步骤。A computer program product is stored in a storage medium and is executed by at least one processor to implement the steps of the network switching method according to any one of claims 1 to 6.
  13. 一种电子设备,被配置成用于执行如权利要求1-6中任一项所述的网络的切换方法的步骤。 An electronic device is configured to execute the steps of the network switching method according to any one of claims 1 to 6.
PCT/CN2023/123694 2022-10-14 2023-10-10 Network switching method and apparatus WO2024078476A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211261215.X 2022-10-14
CN202211261215.XA CN115460665A (en) 2022-10-14 2022-10-14 Network switching method and device

Publications (1)

Publication Number Publication Date
WO2024078476A1 true WO2024078476A1 (en) 2024-04-18

Family

ID=84310478

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/123694 WO2024078476A1 (en) 2022-10-14 2023-10-10 Network switching method and apparatus

Country Status (2)

Country Link
CN (1) CN115460665A (en)
WO (1) WO2024078476A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460665A (en) * 2022-10-14 2022-12-09 维沃移动通信有限公司 Network switching method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936854A (en) * 2017-12-15 2019-06-25 中国移动通信集团浙江有限公司 Trigger the method and device of SRVCC switching
US10623554B1 (en) * 2019-03-12 2020-04-14 Sprint Spectrum L.P. Limiting voice filter bandwidth for device model based on observed sound quality of voice-call communications
CN111294870A (en) * 2018-12-10 2020-06-16 Oppo广东移动通信有限公司 Voice service switching method, device and storage medium
CN111866976A (en) * 2020-06-16 2020-10-30 维沃移动通信有限公司 Network switching method and device
CN115460665A (en) * 2022-10-14 2022-12-09 维沃移动通信有限公司 Network switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936854A (en) * 2017-12-15 2019-06-25 中国移动通信集团浙江有限公司 Trigger the method and device of SRVCC switching
CN111294870A (en) * 2018-12-10 2020-06-16 Oppo广东移动通信有限公司 Voice service switching method, device and storage medium
US10623554B1 (en) * 2019-03-12 2020-04-14 Sprint Spectrum L.P. Limiting voice filter bandwidth for device model based on observed sound quality of voice-call communications
CN111866976A (en) * 2020-06-16 2020-10-30 维沃移动通信有限公司 Network switching method and device
CN115460665A (en) * 2022-10-14 2022-12-09 维沃移动通信有限公司 Network switching method and device

Also Published As

Publication number Publication date
CN115460665A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN110831041B (en) Cell beam failure processing method, mobile communication terminal and network equipment
WO2024078476A1 (en) Network switching method and apparatus
WO2022143520A1 (en) Cell switching method and apparatus, and user equipment
CN111615141A (en) Measurement method, measurement configuration method, terminal and network equipment
JP7374131B2 (en) Cell management method, terminal and network side equipment
WO2022121732A1 (en) Network switching method and apparatus, and electronic device
WO2015131768A1 (en) Video processing method, apparatus and system
CN111866976B (en) Network switching method and device
US20220078595A1 (en) Method and apparatus for back-connecting bluetooth device, terminal and computer-readable storage medium
JP2021530134A (en) Resource request method and user equipment
WO2020088277A1 (en) Measurement recording, reporting, configuration and acquisition method, terminal and network device
CN110958710B (en) Channel access method, configuration method, terminal and network side equipment
JP7002564B2 (en) Communication method and equipment
US11665586B2 (en) Method and apparatus for data transmission, electronic device and computer readable storage medium
CN111836311B (en) Capability negotiation method, terminal and network equipment
CN113596736A (en) Data retransmission method and device, target node, source node and terminal
CN112965830B (en) Data synchronization method and device thereof
WO2022121883A1 (en) Method and apparatus for re-establishment after radio link failure, and electronic device
US20240007211A1 (en) Communication Method, Electronic Device, and System
CN114650616A (en) Network mode control method and device
CN114125739A (en) Network switching method and device, electronic equipment and storage medium
CN111615147B (en) Configuration method and terminal equipment
TWI678937B (en) Method for uplink timing adjustment and terminal
CN112312370A (en) Switching threshold value processing method and device
WO2024093919A1 (en) Relay link release method and apparatus, and communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23876678

Country of ref document: EP

Kind code of ref document: A1