CN112867074B - Data transmission method, electronic device and storage medium - Google Patents

Data transmission method, electronic device and storage medium Download PDF

Info

Publication number
CN112867074B
CN112867074B CN202011627854.4A CN202011627854A CN112867074B CN 112867074 B CN112867074 B CN 112867074B CN 202011627854 A CN202011627854 A CN 202011627854A CN 112867074 B CN112867074 B CN 112867074B
Authority
CN
China
Prior art keywords
network
call
electronic device
local area
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011627854.4A
Other languages
Chinese (zh)
Other versions
CN112867074A (en
Inventor
李柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coolpad Technology Co ltd
Original Assignee
Shenzhen Coolpad Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Coolpad Technology Co ltd filed Critical Shenzhen Coolpad Technology Co ltd
Priority to CN202011627854.4A priority Critical patent/CN112867074B/en
Publication of CN112867074A publication Critical patent/CN112867074A/en
Application granted granted Critical
Publication of CN112867074B publication Critical patent/CN112867074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • 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/00837Determination of triggering parameters for hand-off
    • 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

Landscapes

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

Abstract

The application provides a data transmission method, electronic equipment and a storage medium, wherein the method comprises the following steps: sending a call request based on a wireless local area network; and responding to the call request, closing a 5G network transmission channel, and switching a network for transmitting call data from the wireless local area network to an operator network under the condition that the call quality of the electronic equipment does not meet a first preset condition. The data transmission method solves the problem of poor voice call quality caused by poor WIFI signal or even incapability of covering in the VoWIFI process of the electronic equipment supporting 5G.

Description

Data transmission method, electronic device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method, an electronic device, and a storage medium.
Background
Voice over Wi-Fi, or VoWiFi, is a Voice service provided over a WiFi network. A user can make a call without a mobile signal, voWiFi is a complementary technology to VoLTE. Compared with the traditional call service, the VoWiFi has the advantages that the WiFi networking is preferentially utilized by the VoWiFi to realize the call function and the automatic seamless switching, the automatic switching between the mobile network and the WiFi network is realized, and the call can be realized at different places by a user without special setting. More importantly, the problem of poor signal in indoor or basement is overcome by using WiFi networking. In a place with weak network coverage or interference, the user can make or receive a call as long as the WiFi can be connected. For the existing electronic devices supporting the fifth generation mobile communication technology (5G generation mobile networks, 5G) and the VoWiFi, in the WIFI Voice call process, a WIFI signal difference may occur or no WIFI coverage may be caused by movement, and the electronic devices may hand over the call process to a pure 5G-based communication solution (5G Voice New radio,5G VoNR) process, but the current electronic devices supporting the 5G network cannot completely support the 5G VoNR function, which may affect the Voice quality of the user when performing the VoWiFi, and reduce the user experience.
Disclosure of Invention
The embodiment of the application provides a data transmission method, electronic equipment and a storage medium, and solves the problem of poor voice call quality caused by poor WIFI signals or even incapability of covering in the VoWIFI process of 5G-supporting electronic equipment.
In order to solve the technical problems, the application comprises the following technical scheme:
in a first aspect, an embodiment of the present application provides a data transmission method, where the data transmission method is applied to an electronic device supporting a fifth generation mobile communication technology 5G, and the method includes:
sending a call request based on a wireless local area network;
and responding to the call request, closing a 5G network transmission channel, and switching a network for transmitting call data from the wireless local area network to an operator network under the condition that the call quality of the electronic equipment does not meet a first preset condition.
In a second aspect, an embodiment of the present application provides an electronic device, including:
the sending module is used for sending a call request based on a wireless local area network;
and the switching module is used for responding to the call request, closing a 5G network transmission channel and switching the network for transmitting the call data from the wireless local area network to the operator network under the condition that the call quality of the electronic equipment does not meet the preset condition.
In a third aspect, an embodiment of the present application provides another electronic device, including a processor, a memory, and a communication interface:
the processor is connected with the memory and the communication interface;
the memory for storing executable program code;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the data transmission method according to the first aspect described above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, implement a data transmission method as described in the first aspect or any one of the possible implementation manners of the first aspect.
According to the data transmission method, for the electronic equipment supporting the 5G network and the VoWIFI function, when the electronic equipment carries out VoWIFI calling, the data transmission channel of the 5G network is firstly closed, the current call quality is judged in real time in the call process, and if the call quality does not meet the preset condition, the network for currently transmitting call data is switched to an operator network from the WIFI network. The data transmission method solves the problem of poor voice call quality caused by poor WIFI signal or even incapability of covering the existing electronic equipment supporting 5G in the VoWIFI process.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an interface change of network switching performed by an electronic device in a call process according to an embodiment of the present application;
fig. 4 is a schematic view illustrating an interface change of network switching performed by an electronic device in a call process according to another embodiment of the present application;
fig. 5 is a schematic flowchart of another data transmission method provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the present application are described in detail below.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a data transmission system provided in an embodiment of the present application, where the data transmission system includes: a first electronic device 101, a second electronic device 102, a gateway device 103, and a base station 104.
The first electronic device 101 may include, but is not limited to, a smartphone, a personal computer, a laptop, a smart tablet, and a portable wearable device. The first electronic device 101 has a flexible Access mode and a high bandwidth communication performance, and has a plurality of communication modes, which may include but are not limited to communication through various wireless operation networks such as GSM, code Division Multiple Access (CDMA), wideband Code Division Multiple Access (W-CDMA), and may also communicate through wireless lan, bluetooth, and infrared. In the embodiment of the present application, the first electronic device 101 supports a 5G network function, and may also use a fourth Generation mobile communication technology (the 4G), a third Generation mobile communication technology (3G), and a second Generation mobile communication technology (2-Generation wireless telephone technology, 2G), but is not limited thereto. The first electronic device 101 further supports VoWIFI and VoLTE calls, may connect to a wireless local area network provided by the gateway device 103, and communicates with the base station 104 through the gateway device 103, thereby implementing a call with the second electronic device 102 based on the wireless local area network and implementing mutual transmission of call data. Under the condition that the WIFI signal affects the call quality, the first electronic device 101 may also switch the network transmitting the call data to the operator network.
The second electronic device 102 may include, but is not limited to, a smart phone, a personal computer, a laptop computer, a smart tablet, and a portable wearable device. The first electronic device 102 has a flexible Access mode and a high bandwidth communication performance, and has a plurality of communication modes, which may include but are not limited to communication through various wireless operation networks such as GSM, code Division Multiple Access (CDMA), wideband Code Division Multiple Access (W-CDMA), and may also communicate through wireless lan, bluetooth, and infrared. In the embodiment of the present application, the second electronic device 102 supports 5G, 4G, 3G, and 2G, but is not limited thereto. The second electronic device 102 may perform a voice call with the first electronic device 101 based on a WIFI network provided by the gateway device through a communication connection between the base station 104 and the gateway device 103.
Gateway device 103, also called an internetwork connector, protocol converter, is a computer system or device that provides data conversion services across multiple networks. Gateway device 103 is a connector between different networks, i.e. a device that "negotiates" data to be transferred from one network to another. The gateway device 103 may include, but is not limited to, a local area network/host gateway, a local area network/local area network gateway, an internet/local area network gateway. In this embodiment, the gateway device 103 may establish a communication connection with the base station 104. The gateway device 103 may provide a wireless local area network for the first electronic device 101 to connect, and the gateway device 103 has a basic IP bearer function. The first electronic device 101 may talk to the second electronic device 102 via a wireless local area network provided by the gateway device 103.
The base station 104, i.e., a public mobile communication base station, is an interface device for a mobile device to access the internet and is a form of a radio station, which is a radio transceiver station for information transfer with a mobile phone terminal through a mobile communication switching center in a certain radio coverage area. In this embodiment, the base station 104 may establish communication connections with the gateway device 103, the first electronic device 101, and the second electronic device 102, respectively, and when the first electronic device 101 and the second electronic device 102 are in a call, if the WIFI affects the call quality, the base station 104 may switch the call data of the electronic device based on the wireless local area network transmission to be based on the operator network transmission.
The network may be a medium that provides a communication link between the first electronic device 101 and the second electronic device 102, the first electronic device 101, and the gateway device 103, or may be the internet including a network device and a transmission medium, without being limited thereto. The present application may use 5G, 4G, 3G, 2G, but is not limited thereto. The transmission medium may be a wired link (such as, but not limited to, a coaxial cable, fiber optic and Digital Subscriber Line (DSL), etc.) or a wireless link (such as, but not limited to, a wireless local area network, bluetooth, and carrier network, etc.).
Next, a data transmission method provided in an embodiment of the present application will be described with reference to the connection system shown in fig. 1.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data transmission method in an embodiment of the present application, where the data transmission method is applied to an electronic device supporting a fifth generation mobile communication technology 5G, and the method includes:
s201, sending a call request based on the wireless local area network.
Specifically, the user uses the electronic device to connect to the wireless local area network provided by the gateway device, and after the connection is successful, clicks a dial page entering the electronic device, inputs a number for calling of the target electronic device, and clicks a call. At this time, the electronic device successfully sends a call request to the target electronic device based on the wireless local area network. Wherein the call request is transmitted over a wireless local area network.
S202, responding to the call request, closing a 5G network transmission channel, and switching the network for transmitting call data from the wireless local area network to an operator network under the condition that the call quality of the electronic equipment does not meet a first preset condition.
Specifically, after the electronic device sends a call request, based on the call request, the electronic device closes the 5G network transmission channel and simultaneously accesses the call data transmission channel. The electronic equipment and the target electronic equipment perform communication data transmission based on the wireless local area network. In the VoWIFI call process, the electronic equipment detects the call quality in the current call process according to a preset time interval. And when the call quality does not meet the first preset condition, the electronic equipment switches the network for transmitting the call data from the wireless local area network to the operator network. The method for switching the network includes, but is not limited to: and switching the wireless local area network into an operator network in an IMS system registration mode.
Further, the call quality of the electronic device not meeting the first preset condition includes, but is not limited to, at least one of the following: the Mean Opinion Score (MOS) of the call voice is not higher than a preset MOS value, and the voice signal strength of the call voice is not higher than a preset signal strength value. The MOS value is used for measuring the voice quality of the electronic device during a call, and the preset MOS value is set by a related developer, for example, set to 2. At this time, in the embodiment of the present application, when the MOS value of the call voice is not higher than the preset MOS value, that is, the MOS value of the call voice is not greater than 2, it is determined that the current call quality of the electronic device does not satisfy the preset condition. The voice signal strength value represents the voice signal strength of the electronic equipment in the call process. The preset speech signal strength value may be set by the relevant developer, for example, to 50 db. At this time, in the embodiment of the present application, when the voice signal strength value of the call voice is not higher than the preset signal strength value, that is, the call voice signal strength value is not more than 50 decibels, it is determined that the current call quality of the electronic device does not satisfy the preset condition. The operator network comprises any of the following: 4G, 3G and 2G. It should be noted that the voice quality in the call process does not meet the preset condition may be determined by the MOS value and the voice signal strength value together, or may be determined by any one of the MOS value and the voice signal strength value, which is not limited in this application.
Further, when the operator network is in the 4G state during the call, the network for transmitting the call data is switched from the 4G network to the 3G network when the call quality of the electronic device does not satisfy the second preset condition. And if the communication quality of the electronic equipment does not meet a third preset condition when the communication equipment is in a 3G state with the operator network, switching the network for transmitting the communication data from 3G to 2G. The first preset condition, the second preset condition, and the third preset condition may be the same, that is, the preset MOS value and the voice signal strength value are the same, or all of them are different, and the first preset condition standard is higher than the second preset condition standard, and the second preset condition standard is higher than the third preset condition standard, for example, the first preset condition is that the MOS value is 5, the voice signal strength value is 100, the second preset condition is that the MOS value is 4, the voice signal strength value is 80, and the third preset condition is that the MOS value is 3, and the voice signal strength value is 50. The consistency of the first preset condition, the second preset condition and the third preset condition is not limited.
As shown in fig. 3 and 4, a user uses a smartphone supporting a 5G network and a VoWIFI function to connect to the WIFI provided by the gateway device, open a dialing page, input a number 131xxxx6982 of a target smartphone, click a call, access the smartphone to a call data transmission channel, after the call is successful, the smartphone displays a page shown as 301 in fig. 3, the current network state of the smartphone is 5G network open, and the call data of the electronic device is transmitted through the WIFI, as shown as 301a in fig. 301. In the process that a user uses the smart phone to communicate with a target smart phone, the smart phone detects the voice quality in the communication process according to a preset time interval, and the measurement standard of the voice quality comprises an MOS value and a voice signal intensity value, namely, under the condition that the MOS value in the communication process is not higher than the preset MOS value and the voice signal intensity value is not higher than the preset signal intensity value, the smart phone switches a network for transmitting communication data in the communication process from WIFI to 4G. The preset MOS value is 3, the voice signal strength value is 80 decibels, and the first preset condition, the second preset condition and the third preset condition are all consistent. When the call of the smartphone is carried out for 5 minutes and 36 seconds as shown in 302 in fig. 3, it is detected that the MOS value is 2.5, the voice signal strength value is 50 decibels, at this time, the MOS value is lower than the preset MOS value, and the voice signal strength value is lower than the preset voice signal strength value, it is considered that the call voice quality at this time does not satisfy the preset condition, and then the network currently transmitting the call data is switched from WIFI to a 4G network, as shown in 302a in fig. 302. Based on the 4G network, the smartphone continues the current call, as shown in 401a in fig. 4, the network that currently transmits call data is the 4G network. When the call is carried out for 6 minutes and 50 seconds, the smart phone detects that the current call MOS value is 2 again, the voice signal strength value is 70 decibels, the MOS value at this time is lower than the preset MOS value, and the voice signal strength value is lower than the preset voice signal strength value, the smart phone determines that the current call quality does not meet the preset condition, so that the network for transmitting call data is switched from the 4G network to the 3G network, and the network state of the switched electronic device is shown as 402a in the graph 402.
According to the data transmission method, for the electronic equipment supporting the 5G network and the VoWIFI function, when the electronic equipment carries out VoWIFI calling, the data transmission channel of the 5G network is firstly closed, the current call quality is judged in real time in the call process, and if the call quality does not meet the preset condition, the current network for transmitting call data is switched to an operator network from the WIFI network. The data transmission method solves the problem of poor voice call quality caused by poor WIFI signal or even incapability of covering the existing electronic equipment supporting 5G in the VoWIFI process.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating another data transmission method in an embodiment of the present application, where the data transmission method is applied to an electronic device supporting a fifth generation mobile communication technology 5G, and the method includes:
s501, the electronic equipment accesses a wireless local area network provided by the gateway equipment.
Specifically, the user connects to a wireless local area network provided by the gateway device using the electronic device.
S502, the electronic equipment receives the number and the calling instruction input by the user.
Specifically, the user opens a dialing page of the electronic device, inputs a target number to be dialed, and clicks a call function option. The electronic equipment receives the number input by the user and a calling instruction.
S503, the electronic device responds to the call instruction and sends a call request based on the wireless local area network.
Specifically, the electronic device sends a call request to the called electronic device through the wireless local area network in response to the call instruction.
S504, the electronic equipment responds to the call request and closes the 5G network transmission channel.
Specifically, the electronic device responds to the call request, closes the 5G network channel, and simultaneously accesses the call data transmission channel.
And S505, judging whether the call quality of the electronic equipment meets a first preset condition. If so, go to step S511, otherwise, go to step S506.
Specifically, in the process of a call of the electronic device, the electronic device acquires an MOS value and a voice signal value of a call voice in the call process according to a preset time interval. The preset time interval may be set by a related developer, which is not limited in this application. And when the MOS value acquired in the call process is not higher than the preset MOS value and the voice signal value is not higher than the preset voice signal value, the current call quality of the electronic equipment is considered not to meet the preset condition. If the current obtained MOS value is 2 and the voice signal value is 50 decibels. The preset MOS value is 4, and the voice signal value is 80 decibels. At this time, if the obtained MOS value is not higher than the preset MOS value and the voice signal value is not higher than the preset voice signal value, the current call quality of the electronic device does not satisfy the preset condition, and S506 is executed. If the MOS value is 4 and the voice signal value is 89 db, the call quality satisfies the predetermined condition, and S511 is executed.
S506, the electronic equipment switches the network for transmitting the call data from the wireless local area network to a 4G network.
Specifically, the electronic device switches the current network for transmitting the call data from the wireless local area network to the 4G network according to the judgment result.
And S507, judging whether the call quality of the electronic equipment meets a second preset condition. If so, go to S511, otherwise, go to S508.
Specifically, in the process that the electronic device transmits call data through the 4G network, whether the call quality of the electronic device meets a second preset condition is judged. If the preset MOS value in the current second preset condition is 3, the preset voice signal strength value is 70 db, and the currently acquired MOS value of the electronic device is 2 and the voice signal strength value is 60 db, the current call quality of the electronic device does not satisfy the second preset condition, and S508 is executed. Conversely, if the obtained MOS value is higher than the preset MOS value and the voice signal value is higher than the preset voice signal value, the notification quality of the electronic device satisfies the second preset condition, and S511 is executed.
And S508, the electronic equipment switches the network for transmitting the call data from the 4G network to the 3G network.
Specifically, the electronic device switches the network currently transmitting call data from the 4G network to the 3G network when the call quality does not satisfy the second preset condition.
And S509, judging whether the call quality of the electronic equipment meets a third preset condition. If so, go to step S511, otherwise, go to step S510.
Specifically, when the call data of the electronic device is transmitted based on the 3G network, it is determined whether the current call quality satisfies a third preset condition. If the preset MOS value in the current third preset condition is 2.5, the preset voice signal strength value is 60 db, and the current MOS value obtained by the electronic device is 2 and the voice signal strength value is 50 db, the current call quality of the electronic device does not satisfy the third preset condition, and S510 is executed. Conversely, if the obtained MOS value is higher than the preset MOS value and the voice signal value is higher than the preset voice signal value, the notification quality of the electronic device satisfies the third preset condition, and S511 is executed.
It should be noted that the first preset condition, the second preset condition, and the third preset condition may be all the same, or may not be all the same, where for the same standard for determining the quality of a call voice, the first preset condition is higher than the second preset condition, and the second preset condition is higher than the third preset condition. The consistency of the first preset condition, the second preset condition and the third preset condition is not limited.
And S510, the electronic equipment switches the network for transmitting the call data from the 3G network to the 2G network.
Specifically, the electronic device switches the current network for transmitting call data from the 3G network to the 2G network when the call quality does not satisfy the third preset condition.
And S511, the electronic equipment keeps the current call state until the call is finished, and the 5G network transmission channel is opened under the condition that the call of the electronic equipment is finished.
Specifically, if the current call quality of the electronic device meets a first preset condition, a second preset condition and a third preset condition, the current call state is maintained until the call is finished, and when the call of the electronic device is finished, the 5G network transmission channel is opened and the 5G network is resided.
According to the data transmission method, for the electronic equipment supporting the 5G network and the VoWIFI function, when VoWIFI conversation is conducted, the electronic equipment detects the current conversation state according to the preset time interval, if the conversation voice quality does not meet the first preset condition, the network for transmitting the conversation data is switched to the 4G network, if the conversation voice quality does not meet the second preset condition when 4G conversation is conducted, the network is switched from the 4G network to the 3G network, and if the voice quality still does not meet the third preset condition, the network is switched from the 3G network to the 2G network. The method for switching the network for transmitting the call data according to the call voice quality at any time effectively solves the problems of poor call voice quality and even call drop caused by the WIFI problem when the electronic equipment carries out VoWIFI call.
Referring to fig. 6, based on the data transmission method, fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, including:
a sending module 601, configured to send a call request based on a wireless local area network;
a switching module 602, configured to close a 5G network transmission channel in response to the call request, and switch a network for transmitting call data from the wireless local area network to an operator network when the call quality of the electronic device does not meet a preset condition.
In some embodiments, after the switching module switches the network for transmitting the call data from the wireless local area network to the carrier network, the switching module is further configured to:
and opening the 5G network transmission channel under the condition that the conversation of the electronic equipment is finished.
In some embodiments, the carrier network is a fourth generation mobile communication technology 4G;
after the switching module 602 switches the network for transmitting the call data from the wireless local area network to the operator network, the switching module is further configured to:
and under the condition that the call quality of the electronic equipment does not meet a second preset condition, switching the network for transmitting the call data from the wireless local area network to a third generation mobile communication technology 3G.
In some embodiments, after the switching module 602 switches the network for transmitting the call data from the wireless local area network to the third generation mobile communication technology 3G, the switching module is further configured to:
and under the condition that the call quality of the electronic equipment does not meet a third preset condition, switching the network for transmitting the call data from the wireless local area network to a second generation mobile communication technology 2G.
In some embodiments, the fact that the call quality of the electronic device does not satisfy the preset condition includes: and the mean opinion value MOS value of the call voice of the electronic equipment is not higher than a preset MOS value.
In some embodiments, the fact that the call quality of the electronic device does not satisfy the preset condition includes: the voice signal intensity of the call voice of the electronic equipment is not higher than the preset signal intensity value.
In some embodiments, the electronic device further comprises:
and the access module is used for accessing the call data transmission channel by the electronic equipment after the switching module responds to the call request and closes the 5G network transmission channel and before the network for transmitting the call data is switched from the wireless local area network to the operator network.
Referring to fig. 7, a schematic structural diagram of an electronic device 700 provided in the embodiment of the present application is shown. The electronic device 700 may include at least: at least one processor 701, e.g., a CPU, at least one network interface 704, a user interface 703, a memory 705, at least one communication bus 702. The communication bus 702 is used to realize connection communication among these components. The user interface 703 may include, but is not limited to, a camera, a display, a touch screen, a keyboard, a mouse, a joystick, and the like. The network interface 704 may optionally include a standard wired interface, a wireless interface (e.g., WIFI interface), and a communication connection may be established with the server through the network interface 704. The memory 702 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). As shown in fig. 7, the memory 705, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and program instructions.
It should be noted that the network interface 704 may be connected to the acquirer, the transmitter or other communication module, and the other communication module may include, but is not limited to, a WiFi module, an operator network communication module, and the like.
The processor 701 may be used to call program instructions stored in the memory 705, which may perform the following methods:
sending a call request based on a wireless local area network;
and responding to the call request, closing a 5G network transmission channel, and switching a network for transmitting call data from the wireless local area network to an operator network under the condition that the call quality of the electronic equipment does not meet a first preset condition.
Possibly, after the processor switches the network for transmitting call data from the wireless local area network to the operator network, the processor is further configured to:
and opening the 5G network transmission channel under the condition that the conversation of the electronic equipment is finished.
Possibly, the operator network is a fourth generation mobile communication technology 4G;
after the processor 701 switches the network for transmitting the call data from the wireless local area network to the operator network, the processor is further configured to:
and under the condition that the call quality of the electronic equipment does not meet a second preset condition, switching the network for transmitting the call data from the wireless local area network to a third generation mobile communication technology 3G.
Possibly, after the processor 701 switches the network for transmitting call data from the wireless local area network to the third generation mobile communication technology 3G, the processor is further configured to:
and under the condition that the call quality of the electronic equipment does not meet a third preset condition, switching the network for transmitting the call data from the wireless local area network to a second generation mobile communication technology 2G.
Possibly, the fact that the call quality of the electronic device does not meet the preset condition includes: and the mean opinion value MOS value of the call voice of the electronic equipment is not higher than a preset MOS value.
Possibly, the fact that the call quality of the electronic device does not meet the preset condition includes: the voice signal intensity of the call voice of the electronic equipment is not higher than the preset signal intensity value.
Possibly, the processor is further configured to, after closing a 5G network transmission channel in response to the call request and before switching the network for transmitting call data from the wireless local area network to an operator network, perform:
the electronic equipment is accessed to a communication data transmission channel.
Embodiments of the present application further provide a computer-readable storage medium having stored therein instructions, which when executed on a computer or processor, cause the computer or processor to perform one or more steps of any one of the methods described above. The respective constituent modules of the electronic device described above may be stored in the computer-readable storage medium if they are implemented in the form of software functional units and sold or used as independent products.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by instructing relevant hardware by a computer program, and the program may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. And the aforementioned storage medium includes: various media capable of storing program codes, such as Read-Only Memory (ROM), random Access Memory (RAM), magnetic disk, and optical disk. The technical features in the present examples and embodiments may be arbitrarily combined without conflict.
The above-described embodiments are only preferred embodiments of the present application, and are not intended to limit the scope of the present application, and various modifications and improvements made to the technical solutions of the present application by those skilled in the art without departing from the design spirit of the present application should fall within the protection scope defined by the claims of the present application.

Claims (10)

1. A data transmission method is applied to an electronic device supporting a fifth generation mobile communication technology 5G, and comprises the following steps:
sending a call request based on a wireless local area network;
responding to the call request, closing a 5G network transmission channel, detecting the call quality in the current call process according to a preset time interval, and switching a network for transmitting call data from the wireless local area network to an operator network under the condition that the call quality of the electronic equipment does not meet a first preset condition, wherein the operator network comprises other network transmission channels except the 5G network transmission channel.
2. The method of claim 1, wherein after switching the network over which the call data is transmitted from the wireless local area network to an operator network, further comprising:
and opening the 5G network transmission channel under the condition that the conversation of the electronic equipment is finished.
3. The method of claim 1, wherein the operator network is a fourth generation mobile communications technology 4G;
after the network for transmitting the call data is switched from the wireless local area network to the operator network, the method further comprises the following steps:
and under the condition that the call quality of the electronic equipment does not meet a second preset condition, switching the network for transmitting call data from the fourth generation mobile communication technology 4G to the third generation mobile communication technology 3G.
4. The method of claim 3, wherein after switching the network for transmitting the call data from the wireless local area network to a third generation mobile communication technology 3G, further comprising:
and under the condition that the call quality of the electronic equipment does not meet a third preset condition, switching the network for transmitting call data from the third generation mobile communication technology 3G to the second generation mobile communication technology 2G.
5. The method of claim 1, wherein the call quality of the electronic device not meeting a preset condition comprises: and the mean opinion value MOS value of the call voice of the electronic equipment is not higher than a preset MOS value.
6. The method of claim 1, wherein the call quality of the electronic device not meeting a preset condition comprises: the voice signal intensity of the call voice of the electronic equipment is not higher than the preset signal intensity value.
7. The method of any one of claims 1 to 6, wherein after closing a 5G network transmission channel in response to the call request and before switching the network for transmitting the call data from the wireless local area network to an operator network, the method further comprises:
the electronic equipment is accessed to a communication data transmission channel.
8. An electronic device, characterized in that the electronic device comprises:
the sending module is used for sending a call request based on a wireless local area network;
and the switching module is used for responding to the call request, closing a 5G network transmission channel, detecting the call quality in the current call process according to a preset time interval, and switching a network for transmitting call data from the wireless local area network to an operator network under the condition that the call quality of the electronic equipment does not meet a preset condition, wherein the operator network comprises other network transmission channels except the 5G network transmission channel.
9. An electronic device, comprising a processor, a memory, and a communication interface:
the processor is connected with the memory and the communication interface;
the memory for storing executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the data transmission method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the data transmission method according to any one of claims 1 to 7.
CN202011627854.4A 2020-12-30 2020-12-30 Data transmission method, electronic device and storage medium Active CN112867074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011627854.4A CN112867074B (en) 2020-12-30 2020-12-30 Data transmission method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011627854.4A CN112867074B (en) 2020-12-30 2020-12-30 Data transmission method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112867074A CN112867074A (en) 2021-05-28
CN112867074B true CN112867074B (en) 2023-01-10

Family

ID=75999622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011627854.4A Active CN112867074B (en) 2020-12-30 2020-12-30 Data transmission method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112867074B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205882B (en) * 2021-12-14 2022-10-14 深圳市甜筒网络科技有限公司 5G voice data transmission method and system
CN115190553A (en) * 2022-08-11 2022-10-14 维沃移动通信有限公司 Call processing method and device, electronic equipment and storage medium
CN116347550B (en) * 2022-12-30 2023-10-31 荣耀终端有限公司 Network switching method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018231813A1 (en) * 2017-06-13 2018-12-20 Intel IP Corporation Systems, methods and devices for legacy system fallback in a cellular communications system
CN112087775A (en) * 2020-09-15 2020-12-15 珠海格力电器股份有限公司 Network control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107969020A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 Method for switching network and device, mobile terminal in a kind of communication
CN108112015B (en) * 2016-11-25 2020-03-10 中兴通讯股份有限公司 Voice service switching method and device and mobile terminal
CN108243467B (en) * 2016-12-23 2020-09-11 大唐移动通信设备有限公司 Cell switching method and system based on LTE network
EP3665938B1 (en) * 2017-08-11 2021-09-22 Nokia Solutions and Networks Oy Realising voice service
CN111246530B (en) * 2020-02-06 2022-10-18 北京小米移动软件有限公司 Network switching method and device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018231813A1 (en) * 2017-06-13 2018-12-20 Intel IP Corporation Systems, methods and devices for legacy system fallback in a cellular communications system
CN112087775A (en) * 2020-09-15 2020-12-15 珠海格力电器股份有限公司 Network control method and device

Also Published As

Publication number Publication date
CN112867074A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112867074B (en) Data transmission method, electronic device and storage medium
US8948135B2 (en) Techniques for establishing a handoff profile using user feedback
US20090238170A1 (en) Method and system for providing voice over ip (voip) to wireless mobile communication devices
WO2020029782A1 (en) Frequency hopping method during repeated transmission of pusch, terminal, and network device
US9107237B2 (en) Communication control method and a mobile communication terminal
EP3783957B1 (en) Transmission path switching method, computer-readable storage medium and device
CN104333643B (en) Add the method for contact person, system and terminal
CN112672388A (en) Call method, device, storage medium and user terminal
CN111404623A (en) Data transmission method, device and storage medium based on mobile network
CN107466033A (en) IMS register method, device, mobile terminal and storage medium
US20140302832A1 (en) Phone connection method, electronic terminal and system
JP4694356B2 (en) Wireless terminal having wireless telephone function and IP telephone function, and roaming method between public wireless line and wireless LAN
CN105704106A (en) Visualization IVR realization method and mobile terminal
US20080014936A1 (en) Methods and devices for communication network selection by recipient
US9479910B2 (en) System and method for reassigning an active mobile telephone call from device to another device
KR20130097328A (en) Apparatus and method for dynamically determining communication link in communication system
US10334102B2 (en) Device and method for voice communication control in fixed-mobile convergence system
CN114867038A (en) Cell measurement method, device, chip and chip module
KR101094898B1 (en) Method and apparatus for providing instant messaging service
CN115396870A (en) Call control method and device, call system, wearable device and readable medium
CN112235472A (en) Call processing method and device
US20140269620A1 (en) Techniques for Establishing a Handoff Profile Using User Feedback
JP5644185B2 (en) Communications system
CN111447634B (en) Voice communication method, device, storage medium and electronic equipment
EP1860905A1 (en) Routing a communication session to a plurality of mobile terminals having the same identity

Legal Events

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