WO2022205633A1 - 一种网络切换方法、存储介质及电子设备 - Google Patents

一种网络切换方法、存储介质及电子设备 Download PDF

Info

Publication number
WO2022205633A1
WO2022205633A1 PCT/CN2021/102483 CN2021102483W WO2022205633A1 WO 2022205633 A1 WO2022205633 A1 WO 2022205633A1 CN 2021102483 W CN2021102483 W CN 2021102483W WO 2022205633 A1 WO2022205633 A1 WO 2022205633A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
source
target
signal strength
electronic device
Prior art date
Application number
PCT/CN2021/102483
Other languages
English (en)
French (fr)
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 WO2022205633A1 publication Critical patent/WO2022205633A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a network switching method, a storage medium, and an electronic device.
  • the prior art will switch between a wifi network and a mobile network based on signal strength to ensure better data transmission. For example, when the strength of the WiFi signal is lower than a certain set threshold, switch to the mobile network for data transmission; but when the respective signal strengths of the WiFi network and the mobile network are not good, the switching between the WiFi network and the mobile network does not work.
  • the transmission quality cannot be improved, and there may be a "ping-pong effect", that is, frequent switching between the wifi network and the mobile network, which increases the power consumption of the device.
  • the technical problem to be solved by the present disclosure is to provide a network switching method, a storage medium and an electronic device aiming at the deficiencies of the prior art.
  • a first aspect of the embodiments of the present disclosure provides a network switching method, wherein the method includes:
  • the electronic device When the electronic device transmits data through the source network, the electronic device obtains the source signal strength of the source network and the target signal strength of the target network, wherein the source network is a Volte network or a VoNR network, and the target network is WiFi network; or, the source network is a WiFi network, and the target network is a Volte network or a VoNR network;
  • the electronic device detects whether it is in a voice call state
  • the electronic device When the electronic device is in a voice call state, the electronic device obtains the source transmission delay of the source network and the target transmission delay of the target network to which the electronic device is connected;
  • the electronic device switches to the target network to transmit data
  • the preset conditions include:
  • the first condition the source signal strength is less than a first strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the first level threshold;
  • the source signal strength is greater than or equal to a first strength threshold and less than a second strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the second level threshold , wherein the second level threshold is greater than the first level threshold;
  • the fact that the source signal strength and the target signal strength satisfy the preset condition is that the source signal strength and the target signal strength satisfy at least one of the first condition and the second condition.
  • the method further includes:
  • the electronic device When the electronic device is not in the voice call state, and the first timer of the non-voice call state configured by the electronic device times out, the electronic device switches to the target network to transmit data.
  • the source transmission of the source network is the data transmission delay of the source network
  • the target transmission delay of the target network is the data transmission delay of the target network
  • the preset conditions further include:
  • the third condition when the source signal strength is greater than or equal to the first strength threshold and less than the second strength threshold, the target network is the default communication network, and the strength level of the target signal strength and the source signal strength The level difference of the intensity levels is greater than the first level threshold.
  • the electronic device when the electronic device transmits data through the source network, the electronic device uses the UDP communication protocol for data transmission; and when the application's reliability requirements for data transmission are lower than a preset requirement threshold, and the application uses TCP
  • the communication protocol corresponding to the application is configured as the UDP communication protocol, so as to replace the TCP communication protocol with the UDP communication protocol to control data packet forwarding at the transport layer.
  • the method further includes:
  • the electronic device keeps the source network transmission data, and re-executes the electronic device to obtain the source of the source network after a preset time interval Steps for signal strength and target signal strength of the target network.
  • a second aspect of the embodiments of the present disclosure provides a network switching method, wherein the method includes:
  • the electronic device When the electronic device transmits data through the source network, the electronic device obtains the source signal strength of the source network and the target signal strength of the target network;
  • the electronic device acquires the source transmission delay of the source network and the target transmission delay of the target network;
  • the electronic device switches to a communication network to transmit data according to the source transmission delay and the target transmission delay, wherein the communication network is a source network or a target network.
  • the source network is a Volte network or a VoNR network
  • the target network is a WiFi network
  • the source network is a WiFi network
  • the target network is a Volte network or a VoNR network.
  • the source transmission of the source network is the data transmission delay of the source network
  • the target transmission delay of the target network is the data transmission delay of the target network
  • the method includes:
  • the electronic device keeps the source network transmission data, and re-executes the electronic device to obtain the source of the source network after a preset time interval Steps for signal strength and target signal strength of the target network.
  • the preset conditions include:
  • the first condition the source signal strength is less than a first strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the first level threshold;
  • the source signal strength is greater than or equal to a first strength threshold and less than a second strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the second level threshold , wherein the second level threshold is greater than the first level threshold;
  • the fact that the source signal strength and the target signal strength satisfy the preset condition is that the source signal strength and the target signal strength satisfy at least one of the first condition and the second condition.
  • the preset conditions further include:
  • the third condition when the source signal strength is greater than or equal to the first strength threshold and less than the second strength threshold, the target network is the default communication network, and the strength level of the target signal strength and the source signal strength The level difference of the intensity levels is greater than the first level threshold.
  • the electronic device acquiring the source transmission delay of the source network and the target transmission delay of the target network specifically include: :
  • the electronic device detects whether it is in a voice call state
  • the electronic device When the electronic device is in a voice call state, the electronic device obtains the source transmission delay of the source network and the target transmission delay of the target network to which the electronic device is connected;
  • the electronic device When the electronic device is not in the voice call state, and the first timer of the non-voice call state configured by the electronic device times out, the electronic device switches to the target network to transmit data.
  • the electronic device switching to the communication network to transmit data according to the source transmission delay and the target transmission delay specifically includes:
  • the electronic device switches to the target network to transmit data.
  • the electronic device switching to the target network to transmit data specifically includes:
  • the electronic device detects whether the second timer of the voice call state configured by itself has timed out;
  • the electronic device switches to the target network to transmit data.
  • the electronic device when the electronic device transmits data through the source network, the electronic device uses the UDP communication protocol for data transmission.
  • the reliability requirement for data transmission by the application in the electronic device is lower than the preset requirement threshold, and when the application adopts the TCP communication protocol, the communication protocol corresponding to the application is configured as the UDP communication protocol , to control packet forwarding at the transport layer by replacing the TCP communication protocol with the UDP communication protocol.
  • a third aspect of the embodiments of the present disclosure provides an electronic device, wherein the electronic device includes: a first acquisition module, a second acquisition module, a switching module, a wireless transmission module for transmitting data, and a mobile network module, wherein,
  • the first acquisition module for acquiring the source signal strength of the source network and the target signal strength of the target network when the electronic device transmits data through the source network;
  • the second acquisition module used to acquire the source transmission delay of the source network and the target transmission delay of the target network when the source signal strength and the target signal strength meet a preset condition;
  • the switching module is configured to switch to data transmission through a communication network transmission module according to the source transmission delay and the target transmission delay, wherein the communication network transmission module is a wireless transmission module or a mobile network module.
  • a fourth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to Steps in any of the network switching methods described above are implemented.
  • a fifth aspect of the embodiments of the present disclosure provides an electronic device, which includes: a processor, a memory, and a communication bus; the memory stores a computer-readable program executable by the processor;
  • the communication bus implements connection communication between the processor and the memory
  • the present disclosure provides a network switching method, a storage medium and an electronic device.
  • the method includes: when the electronic device transmits data through the source network, the electronic device obtains the source signal strength and the source signal strength of the source network. The target signal strength of the target network; when the source signal strength and the target signal strength meet the preset conditions, the electronic device obtains the source transmission delay of the source network and the target transmission delay of the target network; The target transmission delay is switched to the communication network to transmit data.
  • the communication network is determined according to the source transmission delay and the target transmission delay, so that when the signal strength of the source network is poor, the target network can be switched to solve the problem of poor call quality.
  • the transmission delay of the source network by comparing the transmission delay of the source network with the transmission delay of the target network, the problem of poor call quality after the handover caused by the high transmission delay of the target network can be avoided.
  • FIG. 1 is a flowchart of a network switching method provided by an embodiment of the present disclosure.
  • FIG. 2 is a flowchart of switching between a Volte network and a target network as a WiFi network according to an embodiment of the present disclosure.
  • FIG. 3 is a flowchart of switching between a WiFi network and a target network that is a Volte network according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the present disclosure provides a network switching method, a storage medium, and an electronic device.
  • the electronic devices described in the embodiments of the present disclosure include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers with touch-sensitive surfaces (eg, touch display screens and/or touch pads) equipment. It should also be understood that, in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (eg, a touch display and/or a touchpad).
  • electronic devices including displays and touch-sensitive surfaces are described. It should be understood, however, that the electronic device may also include one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.
  • Electronic devices support various applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, video conferencing applications, disc burning applications, spreadsheet applications, gaming applications, telephony apps, video conferencing apps, email messaging apps, instant messaging apps, workout support apps, photo management apps, data camera apps, digital video camera apps, web browsing apps, digital music player apps and/or digital video playback applications, etc.
  • Various applications that may be executed on an electronic device may use at least one common physical user interface device, such as a touch-sensitive surface.
  • the first or more functions of the touch-sensitive surface and the corresponding information displayed on the terminal may be adjusted and/or changed between applications and/or within respective applications.
  • the common physical framework of the terminal eg, touch-sensitive surface
  • Zhejiang Mobile has launched the "WiFi call assistant" application, which enables users to automatically switch to the mobile network and WiFi network according to the signal strength of the mobile network and WiFi network during the call state through the two-way seamless switching between Volte and VoWiFi.
  • a network with better signal can provide users with Volte calling or VoWiFi calling service to improve call quality.
  • the currently commonly used switching methods are generally based on signal strength, switching between the wifi network and the mobile network to ensure better data transmission. For example, when the strength of the WiFi signal is lower than a certain set threshold, switch to the mobile network for data transmission; but when the respective signal strengths of the WiFi network and the mobile network are not good, the switching between the WiFi network and the mobile network does not work.
  • the transmission quality cannot be improved, and there may be a "ping-pong effect", that is, frequent switching between the wifi network and the mobile network, which increases the power consumption of the device.
  • the electronic device when the electronic device transmits data through the source network, the electronic device obtains the source signal strength of the source network and the target signal strength of the target network; when the source signal strength and the target signal strength meet the preset When conditions are met, the electronic device obtains the source transmission delay of the source network and the target transmission delay of the target network; the electronic device switches to the communication network to transmit data according to the source transmission delay and the target transmission delay.
  • the communication network when the source signal strength and the target signal strength meet the preset conditions, the communication network is determined according to the source transmission delay and the target transmission delay, so that when the signal strength of the source network is poor, the target network can be switched to solve the problem of poor call quality.
  • the transmission delay of the source network with the transmission delay of the target network, the problem of poor call quality after the handover caused by the high transmission delay of the target network can be avoided.
  • This embodiment provides a network switching method, as shown in FIG. 1 , the method includes:
  • the electronic device When the electronic device transmits data through the source network, the electronic device acquires the source signal strength of the source network and the target signal strength of the target network.
  • the electronic device is connected to the access point of the source network, and data packets of the application are transmitted through the source network.
  • the source network is a mobile network
  • the electronic device is connected to the access point of the mobile network, and data is transmitted through the mobile network.
  • the electronic connection is within the coverage of the target network through which signal transmission can take place.
  • the source network is a Volte network or a VoNR network
  • the target network is a WiFi network; or, as shown in FIG.
  • the source network is a WiFi network
  • the target network is Volte network or VoNR network, where Volte is called Voice over Long-Term Evolution (Long-Term Evolution Voice Bearer), which refers to a data wireless communication standard for mobile phones and data terminals. It is based on an IP Multimedia Subsystem (IMS) network and uses a profile tailored over LTE for the control plane and the media plane for voice services, which enables voice services (control plane and media plane) as data Streams are transported over the LTE data bearer network instead of maintaining and relying on traditional circuit-switched voice networks.
  • the wireless access technology of 4G is LTE, and the voice on it is called Volte.
  • VoNR Voice over New Radio, Voice over New Radio
  • VoNR refers to a data wireless communication standard for mobile phones and data terminals. It refers to a global 5G standard based on a new air interface design based on OFDM.
  • the electronic device acquiring the source signal strength of the source network and the target signal strength of the target network specifically includes:
  • the electronic device When the electronic device transmits data through the source network, obtain the source signal strength of the source network obtained by the electronic device;
  • the source signal strength of the source network is acquired periodically or at several predetermined times.
  • the signal strength is used to reflect the signal quality of the source network, and the signal quality of the source network will affect the perception of the user using the electronic device.
  • the signal strength of the source network will affect the perception of the user using the electronic device.
  • the signal strength of the source network is poor (that is, the network environment of the source network is poor), it is easy to appear.
  • High packet transmission delay and packet loss will affect user usage. For example, when the electronic device is in a weak signal coverage environment at the edge of a cell or an environment with high signal interference, when the electronic device makes a voice call through the source network, the call may be silent, intermittent or dropped, which affects user perception.
  • the source signal strength is used to reflect the signal quality of the source network
  • the target signal strength is used to reflect the signal command of the target network.
  • the source network is the Volte network
  • the source signal strength is the signal strength of the Volte network, which is used to reflect the Volte network.
  • the signal quality of the network when the source network is a WiFi network, the source signal strength is the signal strength of the WiFi network, which is used to reflect the signal quality of the WiFi network.
  • the electronic device acquires the source transmission delay of the source network and the target transmission delay of the target network.
  • the transmission delay is used to reflect that when the electronic device transmits a data packet, the data packet has an end-to-end transmission delay.
  • the transmission delay of fixed network is relatively fixed, which is the main factor causing the fluctuation of end-to-end transmission delay of data packets. It is a wireless network.
  • the source The source transmission delay of the network can be equivalent to the data transmission delay of the source network, and the target transmission delay of the target network can be equivalent to the data transmission delay of the target network.
  • the source transmission delay The delay is the transmission delay of the Volte network
  • the source transmission delay is the transmission delay of the VoNR network
  • the target transmission delay is the transmission delay of the WiFi network.
  • the preset conditions include:
  • the first condition the source signal strength is less than a first strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the first level threshold;
  • the source signal strength is greater than or equal to a first strength threshold and less than a second strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the second level threshold , wherein the second level threshold is greater than the first level threshold.
  • the source signal strength and the target signal strength satisfy a preset condition is that the source signal strength and the target signal strength satisfy at least one of the first condition and the second condition.
  • the source signal strength and the target signal strength satisfy the first condition, or satisfy the second condition, or satisfy both the first condition and the second condition, the source signal strength and the target signal strength meet the preset conditions.
  • the first intensity threshold and the second intensity threshold are both preset.
  • the electronic device can search for the first strength threshold corresponding to the source network in a preset threshold set according to the source network. For example, if the source network is a Volte network, then Find the first intensity threshold corresponding to the Volte network in the threshold set.
  • the threshold set includes several key-value pairs, and each key-value pair in the several key-value pairs takes the network identifier as the key and the strength threshold as the value, and for each network identifier, there are several key-value pairs in the several key-value pairs.
  • the two key-values correspond to the network identifier, the value of one key-value pair in the two key-value pairs is the first intensity threshold corresponding to the network identifier, and the value of the other key-value pair is the second intensity threshold corresponding to the network identifier. .
  • the network identifier is the network identifier of the Volte network
  • the first intensity threshold of the Volte network is -105dBm
  • the second intensity threshold is -100dBm
  • the two key-value pairs corresponding to the Volte network are, respectively, ⁇ Volte network, -105dBm> and ⁇ Volte network, -100dBm>
  • the network identifier is the network identifier of the WiFi network
  • the first intensity threshold of the WiFi network is -80dBm
  • the second intensity threshold is -75dBm
  • the two key-value pairs corresponding to the WiFi network They are, ⁇ WiFi network, -80dBm> and ⁇ WiFi network, -75dBm>.
  • the preset condition may further include:
  • the third condition when the source signal strength is greater than or equal to the first strength threshold and less than the second strength threshold, the target network is the default communication network, and the strength level of the target signal strength and the source signal strength The level difference of the intensity levels is greater than the first level threshold.
  • the default communication network is the priority communication network configured by the electronic device. In other words, when the electronic device is connected to several communication networks and the network signal strengths of the several communication networks meet the preset conditions, the electronic device preferentially uses the default communication network data transfer.
  • the source signal strength is greater than or equal to the first strength threshold and less than the second strength threshold, it indicates that the communication quality of the source network is similar to the communication quality of the target network.
  • the default communication network is preferentially used for data transmission, which can meet the needs of users usage habit. Therefore, when the source signal strength is greater than or equal to the first strength threshold and less than the second strength threshold, the target network is the default communication network, and the strength level of the target signal strength and the source signal strength are When the level difference of the intensity levels is greater than the first level threshold, the electronic device switches to the target network to transmit data.
  • the method further includes:
  • the electronic device keeps the source network transmission data, and re-executes the electronic device to obtain the source of the source network after a preset time interval Steps for signal strength and target signal strength of the target network.
  • the electronic device when the source signal strength and the target signal strength do not meet a preset condition, it means that the source network used by the electronic device does not need to be switched. In other words, when the source signal strength and the target signal strength do not meet a preset condition, the electronic device may continue to transmit data through the source network. Therefore, the electronic device keeps the transmission data of the source network, and can re-execute the step of acquiring the source signal strength of the source network and the target signal strength of the target network by the electronic device after a preset time interval, so as to realize real-time To ensure data transmission efficiency, the preset duration may be 20s, 30s, or the like.
  • the electronic device when the electronic device transmits data through the source network, uses the UDP communication protocol for data transmission, wherein the data transmission includes data transmission on the control plane and data transmission on the user plane, for example, Game applications, streaming media, VoIP, etc. apply the triggered data transmission process, etc.
  • the communication protocol corresponding to the application program can be configured as the UDP communication protocol, so as to pass the communication protocol.
  • the UDP communication protocol replaces the TCP communication protocol to control packet forwarding at the transport layer.
  • the UDP communication protocol is a connectionless transport layer protocol.
  • the electronic device acquires the source transmission delay of the source network and the target network to which the electronic device is connected
  • the target transmission delay specifically includes:
  • the electronic device obtains the source transmission delay of the source network and the target transmission delay of the target network to which the electronic device is connected;
  • the electronic device switches to the target network to transmit data.
  • the user may directly switch to the target network, or compare the signal strength with the target signal strength, and determine the communication network according to the comparison result. For example, when the signal strength is greater than or equal to the target signal strength, the source network is a communication network; when the signal strength is less than the target signal strength, the target network is a communication network.
  • the communication protocol is not the UDP communication protocol, it is also possible to determine whether the reliability of the data transmission of the application that triggers the data transmission is lower than the reliability threshold, and when the reliability threshold is lower, the UDP communication protocol is used to replace the application. and obtain the target transmission delay of the target network to which the electronic device is connected; when it is higher than or equal to the reliability threshold, the electronic device ensures that the communication protocol of the application remains unchanged, and obtains the data of the target network it is connected to. Target signal strength.
  • the electronic device acquires the source transmission delay of the source network and the connection of the electronic device
  • the target transmission delay of the target network specifically includes:
  • the electronic device detects whether it is in a voice call state
  • the electronic device When the electronic device is in a voice call state, the electronic device obtains the source transmission delay of the source network and the target transmission delay of the target network to which the electronic device is connected;
  • the electronic device When the electronic device is not in the voice call state, and the first timer of the non-voice call state configured by the electronic device times out, the electronic device switches to the target network to transmit data.
  • the voice call state can be formed by establishing an IMS voice call, wherein, IMS (IP Multimedia Subsystem) is an IP Multimedia Subsystem, which is a brand-new multimedia service form, which can meet the needs of more innovative and more Diversified multimedia business needs.
  • IMS IP Multimedia Subsystem
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • the IMS voice network is a public telephone system based on IMS. This public telephone system does not refer to the original circuit interactive network PSTN based on analog technology, but refers to a voice and multimedia communication network based on IMS on a packet-switched network.
  • the electronic device when the electronic device does not process the voice call state, and monitors whether the first timer for the non-voice call state configured by the electronic device times out, when the first timer times out, it switches to The target network transmits data.
  • the signal strength is used as the basis for switching between the source network and the target network.
  • network switching is not performed; when the source signal strength and the target signal strength meet the preset conditions, And when the time interval from the last handover reaches a preset time, switch to the target network to transmit data, wherein the preset time is the timing time configured by the first timer, so that the switching operation is triggered by the first timer.
  • the electronic device switches to the communication network to transmit data according to the source transmission delay and the target transmission delay.
  • the communication network is a network for data transmission determined based on the source transmission delay and the target transmission delay, wherein the communication network may be the source network or the target network, and when the communication network is the source network, the description The electronic device performs network switching.
  • the communication network is the target network, it means that the electronic device performs network switching.
  • the electronic device switching to the communication network to transmit data according to the source transmission delay and the target transmission delay specifically includes:
  • the electronic device switches to the target network to transmit data.
  • the source network is pre-configured with a number of first delay levels
  • the target network is pre-configured with a number of second delay levels. After the source transmission delay and the target transmission delay are obtained, according to the source transmission delay
  • the source delay level to which the source transmission delay belongs is selected from the delay level
  • the target delay level is selected from several second delay levels according to the target transmission delay.
  • the target delay level After obtaining the source delay level and the target delay level, compare the source delay level with the target delay level; if the source delay level is lower than the target delay level, switch to the target network to transmit data , if the source delay level is higher than or equal to the target delay level, keep the source network transmitting data, and re-execute the electronic device to obtain the source signal strength of the source network after a preset time interval and Steps for the target signal strength of the target network.
  • the preset time may be preset, which is a restriction condition for the electronic device to obtain the source signal strength of the source network and the target signal strength of the target network, and the preset time may be used as a timer.
  • the electronic device acquires the source signal strength of the source network and the target signal strength of the target network, so that when the target delay level of the target network is lower than the source delay level of the source network, it switches to target network to improve voice call quality.
  • the preset time can be set to be longer than 5 seconds, so that the current target network delay can be checked again. For example, the preset time is 6 seconds, 7 seconds, and so on.
  • the electronic device switching to the target network to transmit data specifically includes:
  • the electronic device detects whether the second timer of the voice call state configured by itself has timed out;
  • the electronic device switches to the target network to transmit data.
  • the timing time configured by the second timer is smaller than the timing time configured by the first timer, so that the preset time interval is shorter in the call state, and the call drop can be avoided. This is because when the WiFi edge moves , the signal attenuates rapidly, and the signal quality may drop rapidly within the preset time interval, which may easily lead to dropped calls. In the non-call state, the set time interval is shorter, which can reduce the ping-pong handover without causing the problem of dropped calls.
  • this embodiment provides a network switching method.
  • the method includes: when an electronic device transmits data through a source network, the electronic device acquires the source transmission delay of the source network; when the source transmits data; When the delay is less than the first intensity threshold corresponding to the source network, the electronic device obtains the target transmission delay of the target network to which it is connected; the electronic device obtains the target transmission delay according to the source transmission delay and the target transmission delay, Switching to a communication network to transmit data, wherein the communication network is a source network or a target network.
  • the communication network when the signal strength of the source network is lower than the first strength threshold, the communication network is determined according to the transmission delay of the source network and the transmission delay of the target network, so that when the signal strength of the source network is poor, the communication network can be switched to the target network to resolve the call.
  • the problem of poor quality can also be avoided by comparing the transmission delay of the source network with the transmission delay of the target network to avoid the problem of poor call quality after handover due to the high transmission delay of the target network.
  • the electronic device includes: a first acquisition module 100 , a second acquisition module 200 , a switching module 300 , a wireless data transmission module The transmission module 400 and the mobile network module 500, wherein,
  • the first obtaining module 100 is configured to obtain the source signal strength of the source network and the target signal strength of the target network when the electronic device transmits data through the source network;
  • the second obtaining module 200 is used to obtain the source transmission delay of the source network and the target transmission time of the target network connected to the electronic device when the source signal strength and the target signal strength meet preset conditions. extend;
  • the switching module 300 is configured to switch to data transmission through a communication network transmission module according to the source transmission delay and the target transmission delay, wherein the communication network transmission module is a wireless transmission module 400 or a mobile network module 500.
  • the source network is a Volte network or a VoNR network
  • the target network is a WiFi network
  • the source network is a WiFi network
  • the target network is a Volte network or a VoNR network.
  • the electronic device further includes a retention module
  • the holding module used to keep the source network transmission data when the source signal strength and the target signal strength do not meet preset conditions, and re-execute the electronic device after a preset time interval The step of acquiring the source signal strength of the source network and the target signal strength of the target network.
  • the preset conditions include:
  • the first condition the source signal strength is less than a first strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the first level threshold;
  • the source signal strength is greater than or equal to a first strength threshold and less than a second strength threshold, and the level difference between the strength level of the target signal strength and the strength level of the source signal strength is greater than the second level threshold , wherein the second level threshold is greater than the first level threshold;
  • the fact that the source signal strength and the target signal strength satisfy the preset condition is that the source signal strength and the target signal strength satisfy at least one of the first condition and the second condition.
  • the second obtaining module is specifically used for:
  • the electronic device detects whether it is in a voice call state
  • the electronic device When the electronic device is in a voice call state, the electronic device obtains the first transmission delay of the source network and the second transmission delay of the target network to which the electronic device is connected;
  • the electronic device When the electronic device is not in the voice call state, and the first timer of the non-voice call state configured by the electronic device times out, the electronic device switches to the target network to transmit data.
  • the switching module is specifically used for:
  • the electronic device switches to the target network to transmit data.
  • the switching module is specifically used for:
  • the electronic device detects whether the second timer of the voice call state configured by itself has timed out;
  • the electronic device switches to the target network to transmit data.
  • each functional module of the electronic device provided in this embodiment is the same as the working process of the above-mentioned network switching method, which is not repeated here, and can refer to the description of the above-mentioned network switching method.
  • this embodiment provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors , so as to implement the steps in the network switching method described in the foregoing embodiments.
  • the present disclosure also provides an electronic device, as shown in FIG. 5 , which includes at least one processor 20; a display screen 21; and a memory 22, which may also include a communication interface ( Communications Interface) 23 and bus 24.
  • the processor 20 , the display screen 21 , the memory 22 and the communication interface 23 can communicate with each other through the bus 24 .
  • the display screen 21 is set to display a user guide interface preset in the initial setting mode.
  • the communication interface 23 can transmit information.
  • the processor 20 may invoke logic instructions in the memory 22 to perform the methods in the above-described embodiments.
  • logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 22 may be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, ie, implements the methods in the above embodiments.
  • the memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device, and the like. Additionally, memory 22 may include high-speed random access memory, and may also include non-volatile memory. For example, U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes, or temporary state storage medium.
  • U disk U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes, or temporary state storage medium.

Landscapes

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

Abstract

本公开提供了一种网络切换方法、存储介质及电子设备,所述方法包括当电子设备通过源网络传输数据时,电子设备获取源网络的源信号强度及目标网络的目标信号强度;当源信号强度与目标信号强度满足预设条件时,电子设备获取源网络的源传输时延及所述目标网络的目标传输时延;电子设备根据源传输时延和目标传输时延,切换至通讯网络传输数据。本公开在源信号强度和目标信号强度满足预设条件时,根据源传输延时和目标传输延时来确定通讯网络,这样可以在源网络信号强度差时切换至目标网络以解决通话质量差的问题,同时还可以通过源网络的传输延时和目标网络的传输延时的比较,避免因目标网络的传输延时过高而导致切换后的通话质量更加不佳的问题。

Description

一种网络切换方法、存储介质及电子设备
优先权
本公开要求于申请日为2021年3月30日提交中国专利局、申请号为“2021103422880”、申请名称为“一种网络切换方法、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及通信技术领域,特别涉及一种网络切换方法、存储介质及电子设备。
背景技术
从3G、4G到5G,手机上网的速度越来越快。但对于电信运营商来说,因移动网络所使用的频段越来越高,所造带来的网络覆盖难度增加,是电信运营商不得不面对的难题。尤其是,室内深度覆盖的难度更高,会给用户在室内数据上网和语音通话带来不便。
为了给用户提供更好的体验,现有技术会基于信号强度,在wifi网络和移动网络之间的切换以保证较好的数据传输。比如,当wifi信号的强度低于某一设定阈值时,切换到移动网络进行数据传输;但当wifi网络和移动网络各自的信号强度都不佳时,wifi网络和移动网络之间的切换并不能提高传输质量,而且可能会产生“乒乓球效应”,即频繁在wifi网络和移动网络之间切换,增加了设备的功耗。
发明内容
本公开要解决的技术问题在于,针对现有技术的不足,提供一种网络切换方法、存储介质及电子设备。
为了解决上述技术问题,本公开实施例第一方面提供了一种网络切换方法,其中,所述方法包括:
当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度,其中,所述源网络为Volte网络或VoNR网络,所述目标 网络为WiFi网络;或者是,所述源网络为WiFi网络,所述目标网络为Volte网络或VoNR网络;
当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备检测其自身是否处于语音通话状态;
当所述电子设备处于语音通话状态时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
确定所述源传输时延对应的源时延等级,以及所述目标传输时延对应的目标时延等级;
当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据;
其中,所述预设条件包括:
第一条件:所述源信号强度小于第一强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值;
第二条件:所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第二等级阈值,其中,所述第二等级阈值大于所述第一等级阈值;
所述源信号强度与所述目标信号强度满足预设条件为所述源信号强度与所述目标信号强度至少满足第一条件和第二条件中的一条。
在一个实施例中,所述方法还包括:
当所述电子设备未处于语音通话状态,且所述电子设备配置的非语音通话状态的第一定时器超时时,所述电子设备切换至所述目标网络传输数据。
在一个实施例中,所述所述源网络的源传输为源网络的数据传输时延,所述目标网络的目标传输时延为目标网络的数据传输时延。
在一个实施例中,所述预设条件还包括:
第三条件:当所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,所述目标网络为默认通讯网络时,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值。
在一个实施例中,所述电子设备通过源网络传输数据时,电子设备采用UDP通讯 协议进行数据传输;并且当应用程序对数据传输的可靠性要求低于预设要求阈值,且应用程序采用TCP通讯协议时,将该应用程序对应的通讯协议配置为UDP通讯协议,以通过UDP通讯协议替代TCP通讯协议在传输层控制数据包转发。
在一个实施例中,所述方法还包括:
当所述源信号强度与所述目标信号强度不满足预设条件时,所述电子设备保持所述源网络传输数据,并间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
本公开实施例第二方面提供了一种网络切换方法,其中,所述方法包括:
当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度;
当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述目标网络的目标传输时延;
所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据,其中,所述通讯网络为源网络或目标网络。
在一个实施例中,所述源网络为Volte网络或VoNR网络,所述目标网络为WiFi网络;或者是,所述源网络为WiFi网络,所述目标网络为Volte网络或VoNR网络。
在一个实施例中,所述所述源网络的源传输为源网络的数据传输时延,所述目标网络的目标传输时延为目标网络的数据传输时延。
在一个实施例中,所述方法包括:
当所述源信号强度与所述目标信号强度不满足预设条件时,所述电子设备保持所述源网络传输数据,并间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
在一个实施例中,所述预设条件包括:
第一条件:所述源信号强度小于第一强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值;
第二条件:所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第二等级阈值,其中,所述第二等级阈值大于所述第一等级阈值;
所述源信号强度与所述目标信号强度满足预设条件为所述源信号强度与所述目标信号强度至少满足第一条件和第二条件中的一条。
在一个实施例中,所述预设条件还包括:
第三条件:当所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,所述目标网络为默认通讯网络时,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值。
在一个实施例中,当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述目标网络的目标传输时延具体包括:
当所述目标信号强度与所述源信号强度满足预设条件时,所述电子设备检测其自身是否处于语音通话状态;
当所述电子设备处于语音通话状态时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
当所述电子设备未处于语音通话状态,且所述电子设备配置的非语音通话状态的第一定时器超时时,所述电子设备切换至所述目标网络传输数据。
在一个实施例中,所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据具体包括:
确定所述源传输时延对应的源时延等级,以及所述目标传输时延对应的目标时延等级;
当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据。
在一个实施例中,所述当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据具体包括:
当所述源时延等级低于所述目标时延等级时,所述电子设备检测其自身配置的语音通话状态的第二定时器是否超时;
当所述第二定时器超时时,所述电子设备切换至所述目标网络传输数据。
在一个实施例中,所述电子设备通过源网络传输数据时,电子设备采用UDP通讯协议进行数据传输。
在一个实施例中,所述电子设备中的应用程序对数据传输的可靠性要求低于预设要 求阈值,且应用程序采用TCP通讯协议时,将该应用程序对应的通讯协议配置为UDP通讯协议,以通过UDP通讯协议替代TCP通讯协议在传输层控制数据包转发。
本公开实施例第三方面提供了一种电子设备,其中,所述电子设备包括:第一获取模块、第二获取模块、切换模块、用于传输数据的无线传输模块以及移动网络模块,其中,
所述第一获取模块:用于当电子设备通过源网络传输数据时,获取所述源网络的源信号强度以及目标网络的目标信号强度;
所述第二获取模块:用于所述源信号强度与所述目标信号强度满足预设条件时,获取所述源网络的源传输时延以及所述目标网络的目标传输时延;
所述切换模块:用于根据所述源传输时延和所述目标传输时延,切换至通过通讯网络传输模块传输数据,其中,所述通讯网络传输模块为无线传输模块或移动网络模块。
本公开实施例第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任一所述的网络切换方法中的步骤。
本公开实施例第五方面提供了一种电子设备,其包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;
所述通信总线实现处理器和存储器之间的连接通信;
所述处理器执行所述计算机可读程序时实现如上任一所述的网络切换方法中的步骤。
有益效果:与现有技术相比,本公开提供了一种网络切换方法、存储介质及电子设备,所述方法包括当电子设备通过源网络传输数据时,电子设备获取源网络的源信号强度及目标网络的目标信号强度;当源信号强度与目标信号强度满足预设条件时,电子设备获取源网络的源传输时延及所述目标网络的目标传输时延;电子设备根据源传输时延和目标传输时延,切换至通讯网络传输数据。本公开在源信号强度和目标信号强度满足预设条件时,根据源传输延时和目标传输延时来确定通讯网络,这样可以在源网络信号强度差时切换至目标网络以解决通话质量差的问题,同时还可以通过源网络的传输延时和目标网络的传输延时的比较,避免因目标网络的传输延时过高而导致切换后的通话质量更加不佳的问题。
附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员而言,在不符创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的网络切换方法的流程图。
图2为本公开实施例提供的Volte网络和目标网络为WiFi网络的切换流程图。
图3为本公开实施例提供的WiFi网络和目标网络为Volte网络的切换流程图。
图4为本公开实施例提供的电子设备的结构原理图。
图5为本公开实施例提供的电子设备的结构原理图。
具体实施方式
本公开提供一种网络切换方法、存储介质及电子设备,为使本公开的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本公开进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本公开,并不用于限定本公开。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本公开的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本公开所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。
具体实现中,本公开实施例中描述的电子设备包括但不限于诸如具有触摸敏感表面(例如,触摸显示屏和/或触摸板)的移动电话,膝上形计算机或平板计算机之类的其他便携式设备。还应该理解的是,在某些实施例中,所述设备并非便携式通讯设备,而是具有触摸敏感表面(例如,触摸显示屏和/或触摸板)的台式计算机。
在接下来的讨论中,描述了包括显示器和触摸敏感表面的电子设备。然而,应当理解的是,电子设备还可以包括诸如物理键盘、鼠标和/或控制杆的一个或多个其他物理用户接口设备。
电子设备支持各种应用程序,例如以下中的一个或多个:绘图应用程序、演示应用程序、文字处理应用程序、视频会议应用程序、盘刻录应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件由于程序、即时消息收发应用程序、锻炼支持应用程序、照片管理应用程序、数据相机应用程序、数字摄像机应用程序、web浏览应用程序、数字音乐播放器应用程序和/或数字视频播放应用程序等。
可以在电子设备上执行的各种应用程序可以使用诸如触摸敏感表面的至少一个公共物理用户接口设备。可以在应用程序之间和/或相应应用程序内调整和/或改变触摸敏感表面的第一或多个功能以及终端上显示的相应信息。这样,终端的公共物理框架(例如,触摸敏感表面)可以支持具有对用户而言直观且透明的用户界面的各种应用程序。
应理解,本实施例中各步骤的序号和大小并不意味着执行顺序的先后,各过程的执行顺序以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。
发明人经过研究发现,从3G、4G到5G,手机上网的速度越来越快。但对于电信运营商来说,因移动网络所使用的频段越来越高,所造带来的网络覆盖难度增加,是电信运营商不得不面对的难题。尤其是,室内深度覆盖的难度更高,会给用户在室内数据上网和语音通话带来不便。然而,随着5G时代到来,VoWiFi(Voice over WiFi)或者称WiFi Calling业务会被广泛应用于语音通话业务,以解决室内数据上网和语音通话带来不便。例如,浙江移动推出了“WiFi通话助手”应用,其通过Volte和VoWiFi之间的双向无缝切换,使得用户在通话状态下,可根据移动网络和WiFi网络的信号强弱情况,自动选择切换至信号更佳的网络,向用户提供Volte通话或者VoWiFi通话服务,以提高通话质量。
然而,目前普遍采用的切换方式普遍基于信号强度,在wifi网络和移动网络之间 的切换以保证较好的数据传输。比如,当wifi信号的强度低于某一设定阈值时,切换到移动网络进行数据传输;但当wifi网络和移动网络各自的信号强度都不佳时,wifi网络和移动网络之间的切换并不能提高传输质量,而且可能会产生“乒乓球效应”,即频繁在wifi网络和移动网络之间切换,增加了设备的功耗。
为了解决上述问题,在本公开实施例中,当电子设备通过源网络传输数据时,电子设备获取源网络的源信号强度及目标网络的目标信号强度;当源信号强度与目标信号强度满足预设条件时,电子设备获取源网络的源传输时延及所述目标网络的目标传输时延;电子设备根据源传输时延和目标传输时延,切换至通讯网络传输数据。本公开在源信号强度和目标信号强度满足预设条件时,根据源传输延时和目标传输延时来确定通讯网络,这样可以在源网络信号强度差时切换至目标网络以解决通话质量差的问题,同时还可以通过源网络的传输延时和目标网络的传输延时的比较,避免因目标网络的传输延时过高而导致切换后的通话质量更加不佳的问题。
下面结合附图,通过对实施例的描述,对公开内容作进一步说明。
本实施例提供了一种网络切换方法,如图1所示,所述方法包括:
S10、当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度。
具体地,电子设备接入源网络的接入点,通过源网络传输应用程序的数据包,例如,源网络为移动网络,电子设备接入移动网络的接入点,通过移动网络传输数据。此外,电子连接处于所述目标网络的覆盖范围内,可以通过所述目标网络进行信号传输。在一个具体实现方式中,如图2所示,所述源网络为Volte网络或VoNR网络,所述目标网络为WiFi网络;或者是,如图3所示,所述源网络为WiFi网络,所述目标网络为Volte网络或VoNR网络,其中,Volte全称为Voice over Long-Term Evolution(长期演进语音承载),是指一个面向手机和数据终端的数据无线通信标准。它基于IP多媒体子系统(IMS)网络,在LTE上使用为控制面(Control plane)和语音服务的媒体成名(Media plane)特制的配置文件,这使语音服务(控制层面和媒体层面)作为数据流在LTE数据承载网络中传输,而不再维护和依赖传统的电路交换语音网络。4G的无线接入技术为LTE,其上面承载语音称之为Volte。VoNR(Voice over New Radio,新空口语音承载)是指一个面向手机和数据终端的数据无线通信标准,它是指基于下交频分复用OFDM 的全新空口设计的全球性5G标准。
在本实施例的一个实现方式中,当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度具体包括:
当电子设备通过源网络传输数据时,获取所述电子设备获取所述源网络的源信号强度;
当所述源信号强度小于第二强度阈值时,获取所述目标网络的目标信号强度;
当所述源信号强度大于或者等于第二强度阈值时,周期性的或者在若干预定时刻获取源网络的源信号强度。
具体地,所述信号强度用于反映源网络的信号质量,源网络的信号质量会影响使用该电子设备的用户感知。这是由于在数据包传输过程中,比如从电子设备传输到应用服务器,会经过电子设备连接的源网络,而源网络的信号强度差(即,源网络的网络环境较差)时,容易出现数据包传输时延高以及丢包的情况,进而影响用户使用。例如,当电子设备处于小区边缘的弱信号覆盖环境或者信号干扰大的环境时,电子设备通过源网络进行语音通话时,会出现通话无声,断续或者掉话的问题,而影响用户感知。其中,源信号强度用于反映源网络的信号质量,目标信号强度用于反映目标网络的信号指令,例如,当源网络为Volte网络时,源信号强度为Volte网络的信号强度,用于反映Volte网络的信号质量;当源网络为WiFi网络时,源信号强度为WiFi网络的信号强度,用于反映WiFi网络的信号质量。
S20、当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述目标网络的目标传输时延。
具体地,所述传输时延用于反映电子设备在传输数据包时,该数据包有端到端的传输时延。其中,数据包传输过程中,比如从电子设备传输到应用服务器,通常会经过无线网络和固定网络,其中固定网络的传输时延相对固定,而造成数据包端到端传输时延波动的主要因素是无线网络,无线网络部分的数据传输时延越大,则端到端传输时延越大,反之亦然。因此,在一个实施例中,为了便于测量,可以将电子设备通过无线局域网传输应用的数据包时的端到端数据传输时延简单等同为无线局域网的数据传输时延,由此,所述源网络的源传输时延可以等同为源网络的数据传输时延,所述目标网络的目标传输时延可以等同为目标网络的数据传输时延,例如,当源网络为Volte网络时, 源传输时延为Volte网络的传输时延;当源网络为或VoNR网络时,源传输时延为VoNR网络的传输时延,当目标网络为WiFi网络时,目标传输时延为WiFi网络的传输时延。
在本实施例的一个实现方式中,所述预设条件包括:
第一条件:所述源信号强度小于第一强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值;
第二条件:所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第二等级阈值,其中,所述第二等级阈值大于所述第一等级阈值。
具体地,所述源信号强度与所述目标信号强度满足预设条件为所述源信号强度与所述目标信号强度至少满足第一条件和第二条件中的一条。换句话说,当源信号强度与所述目标信号强度满足第一条件、或者是,满足第二条件,或者是,同时满足第一条件和第二条件时,源信号强度与所述目标信号强度满足预设条件。其中,第一强度阈值和第二强度阈值均为预先设置的。
此外,由于Volte网络或VoNR网络的信号强度,与WiFi网络的信号强度,从而Volte网络或VoNR网络对应给的第一强度阈值,和WiFi网络对应的第一强度阈值。由此,在电子设备获取所述源网络的源信号强度后,可以根据源网络在预设的阈值集中查找所述源网络对应的第一强度阈值,例如,所述源网络是Volte网络,则在阈值集中查找Volte网络对应的第一强度阈值。其中,所述阈值集包括若干键值对,若干键值对中的每个键值对均以网络标识为键,以强度阈值为值,并对于每个网络标识,若干键值对中均存在两个键值对于该网络标识相对应,两个键值对中的一个键值对的值为网络标识对应的第一强度阈值,另一个键值对的值为网络标识对应的第二强度阈值。例如,网络标识为Volte网络的网络标识,Volte网络的第一强度阈值为-105dBm,第二强度阈值为-100dBm,那么Volte网络对应的两个键值对分别为,<Volte网络,-105dBm>和<Volte网络,-100dBm>;又如,网络标识为WiFi网络的网络标识,WiFi网络的第一强度阈值为-80dBm,第二强度阈值为-75dBm,那么WiFi网络对应的两个键值对分别为,<WiFi网络,-80dBm>和<WiFi网络,-75dBm>。
在本实施例的一个实现方式中,所述预设条件还可以包括:
第三条件:当所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,所 述目标网络为默认通讯网络时,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值。其中,所述默认通讯网络为电子设备配置的优先通讯网络,换句话说,当电子设备连接若干通讯网络时,若干通讯网络的网络信号强度均满足预设条件时,电子设备优先采用默认通讯网络进行数据传输。当所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,说明源网络的通讯质量与目标网络的通讯质量相差不多,此时优先采用默认通讯网络进行数据传输,这样可以满足用户使用习惯。由此,当满足所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,所述目标网络为默认通讯网络时,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值时,所述电子设备切换至所述目标网络传输数据。
在本实施例的一个实现方式中,所述方法还包括:
当所述源信号强度与所述目标信号强度不满足预设条件时,所述电子设备保持所述源网络传输数据,并间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
具体地,所述源信号强度与所述目标信号强度不满足预设条件时,说明无需切换电子设备所使用的源网络。换句话说,当所述源信号强度与所述目标信号强度不满足预设条件时时,所述电子设备可以继续通过所述源网络传输数据。由此,所述电子设备保持所述源网络传输数据,并可以间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤,以实现实时保证数据传输效率,其中,预设时长可以为20s、30s等等。
在本实施例的一个实现方式中,电子设备通过源网络传输数据时,电子设备采用UDP通讯协议进行数据传输,其中,所述数据传输包括控制面的数据传输和用户面的数据传输,例如,游戏应用、流媒体以及VoIP等应用所述触发的数据传输过程等。此外,在实际应用中,当应用程序对数据传输的可靠性要求低于预设要求阈值,且应用程序采用TCP通讯协议时,可以将该应用程序对应的通讯协议配置为UDP通讯协议,以通过UDP通讯协议替代TCP通讯协议在传输层控制数据包转发,其中,UDP通讯协议是一种面向无连接的传输层协议,在通过UDP通讯协议将数据包从源端发送到目的端时,无需事先建立连接。
基于此,在一个实现方式中,当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延具体包括:
当电子设备通过源网络传输数据时,获取触发传输数据的应用程序所采用的通讯协议;
若通讯协议为UDP通讯协议,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
若通讯协议不为UDP通讯协议,所述电子设备切换至所述目标网络传输数据。
具体地,在基于所述信号强度以及所述目标信号强度,切换至通讯网络传输数据时,可以直接切换至目标网络,也可以将信号强度与目标信号强度进行比较,并根据比较结果确定通讯网络,例如,当信号强度大于或者等于目标信号强度时,源网络为通讯网络;当信号强度小于目标信号强度时,目标网络为通讯网络。当然,在通讯协议不为UDP通讯协议时,也可以判断触发传输数据的应用程序的数据传输的可靠性是否低于可靠性阈值,当低于可靠性阈值时,采用UDP通讯协议替换该应用程序的通讯协议,并获取所述电子设备连接的目标网络的目标传输时延;当高于或者等于可靠性阈值时,电子设备保证该应用程序的通讯协议不变,并获取其连接的目标网络的目标信号强度。
在本实施例的一个实现方式中,所述当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延具体包括:
当所述目标信号强度与所述源信号强度满足预设条件时,所述电子设备检测其自身是否处于语音通话状态;
当所述电子设备处于语音通话状态时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
当所述电子设备未处于语音通话状态,且所述电子设备配置的非语音通话状态的第一定时器超时时,所述电子设备切换至所述目标网络传输数据。
具体地,语音通话状态可以是通过建立IMS语音通话所形成的,其中,IMS(IP Multimedia Subsystem)是IP多媒体子系统,是一种全新的多媒体业务形式,他能够满足终端客户更新颖,更多样化多媒体业务的需求。IMS被认为是下一代网络的核心技术, 也是接近移动与固网融合,引入语音、数据、视频三重融合等差异化业务的重要方式。IMS语音网络为基于IMS的公用电话系统,这个公用电话系统不是指原有的以模拟技术为基础的电路交互网络PSTN,而是指在分组交换网上以IMS为基础实现语音及多媒体通信网络。
在本实施例的一个实现方式中,当电子设备未处理语音通话状态时,监听所述电子设备配置的非语音通话状态的第一定时器是否超时时,在第一定时器超时时,切换至所述目标网络传输数据。换句话说,将信号强度作为源网络和目标网络的切换依据,当源信号强度与目标信号强度未满足预设条件时,不进行网络切换;当源信号强度与目标信号强度满足预设条件,且与上次切换的时间间隔达到预设时间时,切换至目标网络传输数据,其中,预设时间为第一定时器配置的定时时间,以通过第一定时器来触发切换操作。
S30、所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据。
具体地,所述通讯网络为基于源传输时延和所述目标传输时延确定的用于传输数据的网络,其中,通讯网络可以为源网络或目标网络,当通讯网络为源网络时,说明电子设备为进行网络切换,当通讯网络为目标网络时,说明电子设备进行网络切换。
在本实施例的一个实现方式中,所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据具体包括:
确定所述源传输时延对应的源时延等级,以及所述目标传输时延对应的目标时延等级;
当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据。
具体地,所述源网络预先配置若干第一时延等级,目标网络预先配置若干第二时延等级,在获取到源传输时延和目标传输时延后,根据源传输时延在若干第一时延等级中选取源传输时延所属的源时延等级,并根据目标传输时延在若干第二时延等级中选取目标时延等级。在获取到源时延等级和目标时延等级后,比较源时延等级和目标时延等级;若所述源时延等级低于所述目标时延等级,则切换至所述目标网络传输数据,若所述源时延等级高于或者等于所述目标时延等级,则保持所述源网络传输数据,并间隔预设时 间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
此外,预设时间可以为预先设置的,其作为所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤的限制条件,可以将预设时间作为定时器,当定时器超时时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤,以便于在目标网络的目标延时等级低于源网络的源延时等级时,切换至目标网络,以提高语音通话质量。此外,由于传输时延每间隔5s产生一个最新的数据,从而可以预设时间可以设置为大于为5秒的时长,以便于可以再次检查当前目标网络时延。例如,预设时间为6秒、7秒等。
在本实施例的一个实现方式中,所述当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据具体包括:
当所述源时延等级低于所述目标时延等级时,所述电子设备检测其自身配置的语音通话状态的第二定时器是否超时;
当所述第二定时器超时时,所述电子设备切换至所述目标网络传输数据。
具体地,所第二定时器配置的定时时间小于第一定时器配置的定时时间,这样在通话状态时间隔较短的预设时间,可避免通话掉话,这是由于在WiFi边缘移动的时候,信号衰减较快,在间隔的预设时间内信号质量可能急速下降,进而容易导致掉话。而在非通话状态时间隔较短的设定时间,在不会导致掉话的问题同时还可以减少乒乓切换。
综上所述,本实施例提供了一种网络切换方法,所述方法包括当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源传输时延;当所述源传输时延小于所述源网络对应的第一强度阈值时,所述电子设备获取其连接的目标网络的目标传输时延;所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据,其中,所述通讯网络为源网络或目标网络。本公开在源网络信号强度低于第一强度阈值时,根据源网络的传输延时和目标网络的传输延时来确定通讯网络,这样可以在源网络信号强度差时切换至目标网络以解决通话质量差的问题,同时还可以通过源网络的传输延时和目标网络的传输延时的比较,避免因目标网络的传输延时过高而导致切换后的通话质量更加不佳的问题。
基于上述网络切换方法,本实施例提供了一种电子设备,如图4所示,所述电子设 备包括:第一获取模块100、第二获取模块200、切换模块300、用于传输数据的无线传输模块400以及移动网络模块500,其中,
所述第一获取模块100:用于当电子设备通过源网络传输数据时,获取所述源网络的源信号强度以及目标网络的目标信号强度;
所述第二获取模块200:用于所述源信号强度与所述目标信号强度满足预设条件时,获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
所述切换模块300:用于根据所述源传输时延和所述目标传输时延,切换至通过通讯网络传输模块传输数据,其中,所述通讯网络传输模块为无线传输模块400或移动网络模块500。
在一个实现方式中,所述源网络为Volte网络或VoNR网络,所述目标网络为WiFi网络;或者是,所述源网络为WiFi网络,所述目标网络为Volte网络或VoNR网络。
在一个实现方式中,所述电子设备还包括保持模块;
所述保持模块:用于当所述源信号强度与所述目标信号强度不满足预设条件时,所述电子设备保持所述源网络传输数据,并间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
在一个实现方式中,所述预设条件包括:
第一条件:所述源信号强度小于第一强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值;
第二条件:所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第二等级阈值,其中,所述第二等级阈值大于所述第一等级阈值;
所述源信号强度与所述目标信号强度满足预设条件为所述源信号强度与所述目标信号强度至少满足第一条件和第二条件中的一条。
在一个实现方式中,所述第二获取模块具体用于:
当所述目标信号强度与所述源信号强度满足预设条件时,所述电子设备检测其自身是否处于语音通话状态;
当所述电子设备处于语音通话状态时,所述电子设备获取所述源网络的第一传输时延以及所述电子设备连接的目标网络的第二传输时延;
当所述电子设备未处于语音通话状态,且所述电子设备配置的非语音通话状态的第一定时器超时时,所述电子设备切换至所述目标网络传输数据。
在一个实现方式中,所述切换模块具体用于:
确定所述第一传输时延对应的第一时延等级,以及所述第二传输时延对应的第二时延等级;
当所述第一时延等级低于所述第二时延等级时,所述电子设备切换至所述目标网络传输数据。
在一个实现方式中,所述切换模块具体用于:
当所述第一时延等级低于所述第二时延等级时,所述电子设备检测其自身配置的语音通话状态的第二定时器是否超时;
当所述第二定时器超时时,所述电子设备切换至所述目标网络传输数据。
此外值得说明的是,本实施例提供的电子设备的各功能模块的工作过程与上述网络切换方法的工作过程相同,这里就不再赘述,具体可以参照上述网络切换方法的说明。
基于上述网络切换方法,本实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上述实施例所述的网络切换方法中的步骤。
基于上述网络切换方法,本公开还提供了一种电子设备,如图5所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。
此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器20通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。
存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
此外,上述存储介质以及电子设备中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。
最后应说明的是:以上实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围。

Claims (20)

  1. 一种网络切换方法,其中,所述方法包括:
    当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度,其中,所述源网络为Volte网络或VoNR网络,所述目标网络为WiFi网络;或者是,所述源网络为WiFi网络,所述目标网络为Volte网络或VoNR网络;
    当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备检测其自身是否处于语音通话状态;
    当所述电子设备处于语音通话状态时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
    确定所述源传输时延对应的源时延等级,以及所述目标传输时延对应的目标时延等级;
    当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据;
    其中,所述预设条件包括:
    第一条件:所述源信号强度小于第一强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值;
    第二条件:所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第二等级阈值,其中,所述第二等级阈值大于所述第一等级阈值;
    所述源信号强度与所述目标信号强度满足预设条件为所述源信号强度与所述目标信号强度至少满足第一条件和第二条件中的一条。
  2. 根据权利要求1所述网络切换方法,其中,所述方法还包括:
    当所述电子设备未处于语音通话状态,且所述电子设备配置的非语音通话状态的第一定时器超时时,所述电子设备切换至所述目标网络传输数据。
  3. 根据权利要求1所述网络切换方法,其中,所述所述源网络的源传输为源网络的数据传输时延,所述目标网络的目标传输时延为目标网络的数据传输时延。
  4. 根据权利要求1所述网络切换方法,其中,所述预设条件还包括:
    第三条件:当所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,所 述目标网络为默认通讯网络时,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值。
  5. 根据权利要求1所述网络切换方法,其中,所述电子设备通过源网络传输数据时,电子设备采用UDP通讯协议进行数据传输;并且当应用程序对数据传输的可靠性要求低于预设要求阈值,且应用程序采用TCP通讯协议时,将该应用程序对应的通讯协议配置为UDP通讯协议,以通过UDP通讯协议替代TCP通讯协议在传输层控制数据包转发。
  6. 根据权利要求1所述网络切换方法,其中,所述方法还包括:
    当所述源信号强度与所述目标信号强度不满足预设条件时,所述电子设备保持所述源网络传输数据,并间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
  7. 一种网络切换方法,其中,所述方法包括:
    当电子设备通过源网络传输数据时,所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度;
    当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述目标网络的目标传输时延;
    所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据,其中,所述通讯网络为源网络或目标网络。
  8. 根据权利要求7所述网络切换方法,其中,所述源网络为Volte网络或VoNR网络,所述目标网络为WiFi网络;或者是,所述源网络为WiFi网络,所述目标网络为Volte网络或VoNR网络。
  9. 根据权利要求7所述网络切换方法,其中,所述所述源网络的源传输为源网络的数据传输时延,所述目标网络的目标传输时延为目标网络的数据传输时延。
  10. 根据权利要求7所述网络切换方法,其中,所述方法包括:
    当所述源信号强度与所述目标信号强度不满足预设条件时,所述电子设备保持所述源网络传输数据,并间隔预设时间后重新执行所述电子设备获取所述源网络的源信号强度以及目标网络的目标信号强度的步骤。
  11. 根据权利要求7或10所述网络切换方法,其中,所述预设条件包括:
    第一条件:所述源信号强度小于第一强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值;
    第二条件:所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第二等级阈值,其中,所述第二等级阈值大于所述第一等级阈值;
    所述源信号强度与所述目标信号强度满足预设条件为所述源信号强度与所述目标信号强度至少满足第一条件和第二条件中的一条。
  12. 根据权利要求11所述网络切换方法,其中,所述预设条件还包括:
    第三条件:当所述源信号强度大于或者等于第一强度阈值且小于第二强度阈值,所述目标网络为默认通讯网络时,以及所述目标信号强度的强度等级与所述源信号强度的强度等级的等级差值大于第一等级阈值。
  13. 根据权利要求7所述网络切换方法,其中,当所述源信号强度与所述目标信号强度满足预设条件时,所述电子设备获取所述源网络的源传输时延以及所述目标网络的目标传输时延具体包括:
    当所述目标信号强度与所述源信号强度满足预设条件时,所述电子设备检测其自身是否处于语音通话状态;
    当所述电子设备处于语音通话状态时,所述电子设备获取所述源网络的源传输时延以及所述电子设备连接的目标网络的目标传输时延;
    当所述电子设备未处于语音通话状态,且所述电子设备配置的非语音通话状态的第一定时器超时时,所述电子设备切换至所述目标网络传输数据。
  14. 根据权利要求7所述网络切换方法,其中,所述电子设备根据所述源传输时延和所述目标传输时延,切换至通讯网络传输数据具体包括:
    确定所述源传输时延对应的源时延等级,以及所述目标传输时延对应的目标时延等级;
    当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据。
  15. 根据权利要求14所述网络切换方法,其中,所述当所述源时延等级低于所述目标时延等级时,所述电子设备切换至所述目标网络传输数据具体包括:
    当所述源时延等级低于所述目标时延等级时,所述电子设备检测其自身配置的语音通话状态的第二定时器是否超时;
    当所述第二定时器超时时,所述电子设备切换至所述目标网络传输数据。
  16. 根据权利要求7所述网络切换方法,其中,所述电子设备通过源网络传输数据时,电子设备采用UDP通讯协议进行数据传输。
  17. 根据权利要求16网络切换方法,其中,所述电子设备中的应用程序对数据传输的可靠性要求低于预设要求阈值,且应用程序采用TCP通讯协议时,将该应用程序对应的通讯协议配置为UDP通讯协议,以通过UDP通讯协议替代TCP通讯协议在传输层控制数据包转发。
  18. 一种电子设备,其中,所述电子设备包括:第一获取模块、第二获取模块、切换模块、用于传输数据的无线传输模块以及移动网络模块,其中,
    所述第一获取模块:用于当电子设备通过源网络传输数据时,获取所述源网络的源信号强度以及目标网络的目标信号强度;
    所述第二获取模块:用于所述源信号强度与所述目标信号强度满足预设条件时,获取所述源网络的源传输时延以及所述目标网络的目标传输时延;
    所述切换模块:用于根据所述源传输时延和所述目标传输时延,切换至通过通讯网络传输模块传输数据,其中,所述通讯网络传输模块为无线传输模块或移动网络模块。
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1-7任意一项所述的网络切换方法中的步骤,或者以实现如权利要求8-17任意一项所述的网络切换方法中的步骤。
  20. 一种电子设备,其中,包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;
    所述通信总线实现处理器和存储器之间的连接通信;
    所述处理器执行所述计算机可读程序时实现如权利要求1-7任意一项所述的网络切换方法中的步骤,或者实现如权利要求8-17任意一项所述的网络切换方法中的步骤。
PCT/CN2021/102483 2021-03-30 2021-06-25 一种网络切换方法、存储介质及电子设备 WO2022205633A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110342288.0A CN113099497B (zh) 2021-03-30 2021-03-30 一种网络切换方法、存储介质及电子设备
CN202110342288.0 2021-03-30

Publications (1)

Publication Number Publication Date
WO2022205633A1 true WO2022205633A1 (zh) 2022-10-06

Family

ID=76671456

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2021/102483 WO2022205633A1 (zh) 2021-03-30 2021-06-25 一种网络切换方法、存储介质及电子设备
PCT/CN2022/072636 WO2022206132A1 (zh) 2021-03-30 2022-01-19 一种网络切换方法、存储介质及电子设备

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/072636 WO2022206132A1 (zh) 2021-03-30 2022-01-19 一种网络切换方法、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN113099497B (zh)
WO (2) WO2022205633A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099497B (zh) * 2021-03-30 2022-09-02 捷开通讯(深圳)有限公司 一种网络切换方法、存储介质及电子设备
CN114339869B (zh) * 2022-02-25 2024-04-05 京东科技信息技术有限公司 网络管理方法、装置、电子设备和存储介质
CN115696511B (zh) * 2022-12-29 2024-02-06 小米汽车科技有限公司 网络确定方法、装置、车辆及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047557A (zh) * 2006-05-22 2007-10-03 华为技术有限公司 用于WiMAX网络的无线网络管理系统和方法
US20170245180A1 (en) * 2014-09-01 2017-08-24 Samsung Electronics Co., Ltd. Device and method for maintaining service connection by terminal in wireless communication system
WO2018058876A1 (zh) * 2016-09-27 2018-04-05 中兴通讯股份有限公司 一种网络切换方法和装置
CN109743761A (zh) * 2019-03-07 2019-05-10 北京西米兄弟未来科技有限公司 一种无线网络的切换方法、装置和设备
CN112333800A (zh) * 2020-11-13 2021-02-05 Oppo广东移动通信有限公司 网络切换方法、装置、存储介质及电子设备

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497659B (zh) * 2011-12-05 2014-08-13 中国电信股份有限公司 双网覆盖下的网络选择方法与系统、双模终端
CN104349411B (zh) * 2013-07-29 2019-07-02 中兴通讯股份有限公司 一种网络切换方法、装置和终端
CN105163355A (zh) * 2015-09-29 2015-12-16 努比亚技术有限公司 一种移动终端切换网络的方法及装置
CN108476453A (zh) * 2016-09-05 2018-08-31 华为技术有限公司 一种语音切换的方法、终端以及存储介质
CN107969020A (zh) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 一种通信中的网络切换方法及装置、移动终端
CN107613536A (zh) * 2017-09-22 2018-01-19 广东欧珀移动通信有限公司 选择网络的方法、装置、移动终端及可读存储介质
CN111294870A (zh) * 2018-12-10 2020-06-16 Oppo广东移动通信有限公司 语音业务切换方法、装置及存储介质
CN111356190A (zh) * 2018-12-24 2020-06-30 深圳市优必选科技有限公司 通信链路的切换方法、装置、终端和计算机可读存储介质
CN110913447B (zh) * 2019-12-30 2022-01-07 Oppo广东移动通信有限公司 网络控制方法、装置、存储介质及电子设备
CN111526492B (zh) * 2020-04-16 2021-07-30 天翼电信终端有限公司 一种vr通话方法及系统
CN113099497B (zh) * 2021-03-30 2022-09-02 捷开通讯(深圳)有限公司 一种网络切换方法、存储介质及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047557A (zh) * 2006-05-22 2007-10-03 华为技术有限公司 用于WiMAX网络的无线网络管理系统和方法
US20170245180A1 (en) * 2014-09-01 2017-08-24 Samsung Electronics Co., Ltd. Device and method for maintaining service connection by terminal in wireless communication system
WO2018058876A1 (zh) * 2016-09-27 2018-04-05 中兴通讯股份有限公司 一种网络切换方法和装置
CN109743761A (zh) * 2019-03-07 2019-05-10 北京西米兄弟未来科技有限公司 一种无线网络的切换方法、装置和设备
CN112333800A (zh) * 2020-11-13 2021-02-05 Oppo广东移动通信有限公司 网络切换方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN113099497A (zh) 2021-07-09
CN113099497B (zh) 2022-09-02
WO2022206132A1 (zh) 2022-10-06

Similar Documents

Publication Publication Date Title
WO2022205633A1 (zh) 一种网络切换方法、存储介质及电子设备
WO2017157191A1 (zh) 视频清晰度的切换方法及装置
JP2021522750A (ja) 通信方法及び通信装置
US10708739B2 (en) Selectively transferring one or more services in multi-subscriber identity module (SIM)-multi-standby electronic device
JP2008271555A (ja) 無線通信システムにおいてmbmsの受信方法及び装置
WO2021000697A1 (zh) 一种调度切换方法及装置
WO2017054286A1 (zh) 一种语音通话承载方法及装置
JP2009284517A (ja) 無線通信システムにおいてcpc機能を改善する方法及び装置
JP5779285B2 (ja) 移動通信ネットワークにおけるパケットサービスコール管理
US11516705B2 (en) Network performance improvement method and device
WO2022082451A1 (zh) 连接建立方法、装置、通信设备和存储介质
WO2023221794A1 (zh) 控制方法、通信设备及存储介质
TW201414238A (zh) 用以管理網路中資訊之方法及裝置
WO2022194210A1 (zh) 会话参数更新方法、装置及通信设备、电子设备
WO2021120039A1 (zh) 无线通信方法、装置及系统
WO2024007960A1 (zh) 双连接测量控制方法和电子设备
WO2019201036A1 (zh) 覆盖级别更新方法、装置、基站、终端和可读存储介质
US20180376362A1 (en) Video Optimization Method, User Equipment, And Network Device
JP7002564B2 (ja) 通信方法および装置
WO2024007975A1 (zh) 通话能力监测方法、装置、终端和可读存储介质
WO2021254266A1 (zh) 语音通话方法、装置和电子设备
WO2022121883A1 (zh) 无线链路失败重建的方法、装置和电子设备
US20240187942A1 (en) Network switching method, storage medium and electronic device
WO2024051627A1 (zh) 一种通信建立方法、装置、终端设备及网络侧设备
WO2023174321A1 (zh) 语音业务的实现方法、装置及终端

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: 21934282

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21934282

Country of ref document: EP

Kind code of ref document: A1