CN111031531A - Data transmission method, device, storage medium and terminal - Google Patents

Data transmission method, device, storage medium and terminal Download PDF

Info

Publication number
CN111031531A
CN111031531A CN201911261258.6A CN201911261258A CN111031531A CN 111031531 A CN111031531 A CN 111031531A CN 201911261258 A CN201911261258 A CN 201911261258A CN 111031531 A CN111031531 A CN 111031531A
Authority
CN
China
Prior art keywords
data
identification card
voice communication
channel
user identity
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.)
Granted
Application number
CN201911261258.6A
Other languages
Chinese (zh)
Other versions
CN111031531B (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.)
JRD Communication Shenzhen Ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201911261258.6A priority Critical patent/CN111031531B/en
Publication of CN111031531A publication Critical patent/CN111031531A/en
Application granted granted Critical
Publication of CN111031531B publication Critical patent/CN111031531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0027Control or signalling for completing the hand-off for data sessions of end-to-end connection for a plurality of data sessions of end-to-end connections, e.g. multi-call or multi-bearer end-to-end data connections
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a data transmission method, a data transmission device, a storage medium and a terminal. The method comprises the following steps: when the terminal transmits network data through a data channel of the current user identity identification card, if a voice communication signal is detected, closing the data channel of the current user identity identification card, and opening the voice channel of the current user identity identification card to transmit the voice communication signal; and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data. According to the scheme, in the voice call process, data transmission is carried out by opening the data channel in stages, so that the voice call and network data transmission can be carried out in a crossed manner, and the data transmission efficiency is improved.

Description

Data transmission method, device, storage medium and terminal
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a data transmission method, an apparatus, a storage medium, and a terminal.
Background
With the development of the internet and the mobile communication network, and the rapid development of the processing capability and the storage capability of the terminal, a great amount of applications are rapidly spread and used.
In the related art, when a user processes network information, if a terminal voice communication signal terminal receives an incoming call, a data network signal terminal interrupts transmission, and the user cannot browse the network information and can only process incoming call communication singly. If the terminal voice communication signal end is in a voice communication state for a long time, the data network signal end cannot receive network information for a long time, and the data transmission efficiency is greatly reduced.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a data transmission device, a storage medium and a terminal, which can improve data transmission efficiency.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a terminal, and includes:
when a terminal transmits network data through a data channel of a current user identity identification card, if a voice communication signal is detected, closing the data channel of the current user identity identification card, and opening the voice channel of the current user identity identification card to transmit the voice communication signal;
and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to a terminal, and includes:
the first processing unit is used for closing the data channel of the current user identity identification card and opening the voice channel of the current user identity identification card to transmit voice communication signals if the voice communication signals are detected when the terminal performs network data transmission through the data channel of the current user identity identification card;
and the second processing unit is used for closing the voice channel of the current user identity identification card and opening the data channel of the current user identity identification card to transmit network data when the fact that the voice communication signal is transmitted is detected.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute the above data transmission method.
In a fourth aspect, an embodiment of the present application further provides a terminal, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute the data transmission method.
In the implementation of the application, when the terminal performs network data transmission through the data channel of the current user identity identification card, if a voice communication signal is detected, the data channel of the current user identity identification card is closed, and the voice channel of the current user identity identification card is opened to perform voice communication signal transmission; and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data. According to the scheme, in the voice call process, data transmission is carried out by opening the data channel in stages, so that the voice call and network data transmission can be carried out in a crossed manner, and the data transmission efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of a data transmission method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Fig. 4 is another schematic structural diagram of a data transmission device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a data transmission method, a data transmission device, a storage medium and a terminal. The details will be described below separately.
In an embodiment, a data transmission method is provided, and is applied to terminal devices such as smart phones, tablet computers, and notebook computers. Referring to fig. 1, a specific flow of the data transmission method may be as follows:
101. when the terminal transmits network data through the data channel of the current user identity identification card, if a voice communication signal is detected, the data channel of the current user identity identification card is closed, and the voice channel of the current user identity identification card is opened to transmit the voice communication signal.
The current Subscriber Identity module card may be a sim (Subscriber Identity module) card, a usim (universal Subscriber Identity module) card, or the like. In this embodiment, the voice call layer and the data layer of the user id card correspond to different network modes, respectively, and therefore, the two layers cannot be concurrent. Taking the SIM card under a certain operator as an example, it includes three network modes, CDMA1X (2G), EVDO (3G), and FDD and TDD-LTE hybrid network (4G). CDMA1X belongs to the voice call layer, and EVDO and LTE belong to the data layer. Because the CSFB voice fallback technique is currently used, when a 4G or 3G network is connected, if a voice call is received or a voice call is made, a signal falls to a voice layer (i.e., CDMA 1X), and because CDMA1X does not support data transmission, the data layer has no signal and thus network disconnection occurs.
At present, when a user processes network information, a mobile terminal voice communication signal terminal calls, the transmission of the network information is interrupted, and the user cannot browse the network information. If the mobile terminal voice communication signal end is in long-time voice communication, the data signal end cannot receive network information for a long time, and user experience is greatly reduced. Therefore, in this embodiment, when a data channel of the terminal is used for network data transmission (including receiving network data and/or sending network data), if an incoming call or a voice signal generated by making a call to the outside is detected, the data channel is closed to stop the transmission of the network data, and the voice channel is opened to drop the signal back to the voice layer for the transmission of the voice signal.
102. And when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data.
In this embodiment, the voice communication signal may be a pulse sequence including a plurality of pulse signals, and when the last pulse signal in the pulse sequence completes transmission, it may be determined that the voice communication signal completes transmission. At this time, the voice channel of the current user identification card can be closed, and the data channel of the current user identification card can be opened to call the signal back to the data layer for network data transmission.
In practical application, if the terminal is a dual-card dual-standby type or a multi-card multi-standby type, two or more user identification cards may be set in the terminal. Referring to fig. 2, in some embodiments, after closing the data channel of the current subscriber identity module card and opening the voice channel of the current subscriber identity module card for transmitting the voice communication signal, the following process may be further included
103. Detecting whether a standby user identity identification card exists or not;
104. and if the standby user identity identification card exists, starting a data channel of the standby user identity identification card for data transmission.
The standby user identification card refers to a user identification card except the current user identification card. Similarly, the spare subscriber identity module card may be a SIM card, a USIM card, or the like. It should be noted that, in this embodiment, the current subscriber identity card and the standby subscriber identity card may belong to the same operator or may not belong to the same operator.
Because the data channel of the current subscriber identity module card is closed, the terminal cannot transmit network data, when the standby subscriber identity module card is detected to exist, the data channel of the standby subscriber identity module card can be opened to transmit the network data, so that the network data can be transmitted while the terminal is in voice communication, and the data transmission efficiency is improved.
With continued reference to fig. 2, in some embodiments, to further increase the transmission rate, the data channels of the current subscriber identity card and the standby subscriber identity card may be utilized simultaneously for network data transmission. That is, when it is detected that the voice communication signal is transmitted, before the data channel of the current subscriber identity module card is opened to transmit the network data, the following process may be further included:
105. acquiring first data flow information of a current user identity identification card and second data flow information of a standby user identity identification card;
106. determining the data transmission ratio of the current user identification card and the standby user identification card according to the first data flow information and the second data flow information;
107. and respectively starting data channels of the current user identification card and the standby user identification card, and transmitting the network data according to the data transmission ratio.
Specifically, in order to increase the transmission rate and ensure that the data flow using the user identification card does not exceed the package range of the data flow, the data transmission ratio between the current user identification card and the standby user identification card can be adjusted by obtaining the data flow parameters of the current user identification card and the standby user identification card. That is, the user id card with more data traffic can correspondingly transmit more data, and the user id card with less data traffic can correspondingly transmit less data. In this embodiment, the data transmission ratio of the data to be transmitted corresponding to the current subscriber identity card and the standby subscriber identity card can be determined by calculating the ratio of the remaining data flows of the two subscriber identity cards. And distributing data volume for the data channels of the current user identification card and the standby user identification card according to the calculated data transmission proportion to carry out network data transmission.
For example, if the remaining data traffic corresponding to the current subscriber identity card is 100M, the remaining data traffic corresponding to the standby subscriber identity card is 500M, and the data traffic ratio between the current subscriber identity card and the standby subscriber identity card is 1:5, the ratio can be used as the data transmission ratio between the current subscriber identity card and the standby subscriber identity card. If the total amount of the current network data to be transmitted is 600M, transmitting 100M distributed data through a data channel of the current user identity identification card, and transmitting the remaining 500M data through a data channel of the standby user identity identification card.
In some embodiments, when it is detected that the voice communication signal is completely transmitted, before the data channel of the current subscriber identity card is opened for transmitting the network data, the method may further include the following steps:
(11) acquiring the data type and the data volume of network data to be transmitted;
(12) respectively determining operator information of a current user identification card and a standby user identification card;
(13) determining a target user identity identification card from the current user identity identification card and the standby user identity identification card according to the data type, the data volume and the operator information;
(14) and opening a data channel of the target user identification card to transmit network data.
The division reference of the data type of the network data may include a plurality of types. For example, the data type may be divided based on the format of the data (e.g., byte, short, int, long, float, etc.), or the data type may be divided based on the content of the data (e.g., voice class, video class, text class, etc.). In this embodiment, different data volumes and data types are correspondingly suitable for different operators. Therefore, the operator information can be matched based on the data type and the data volume of the current network data to be transmitted, so that a proper user identification card is selected from the operator information, and the network data is transmitted through the data channel of the user identification card.
In some embodiments, when it is detected that the transmission of the voice communication signal through the voice channel of the current subscriber identity module card is abnormally interrupted, the voice channel of the standby subscriber identity module card may be opened to transmit the voice communication signal.
In some embodiments, after the voice channel of the current subscriber identity module card is opened for transmission of the voice communication signal, the method may further include:
determining current call quality parameters;
and adjusting the network system of the current user identity identification card to transmit data according to the call quality parameters.
Specifically, when voice communication is performed through the voice channel of the current subscriber identity card, the data channel and the voice channel of the current subscriber identity card are opened in a crossed manner during the period, which may result in poor overall call quality. At this time, the network system of the data network can be opened by the current user identification card, so that the influence of the transmission of the network data under the adjusted network system on the voice communication is small. For example, after a voice channel is opened to transmit a voice communication signal, the network standard of the data network is returned to the 2G network, and if the voice communication quality is detected to be poor, the network standard of the data network is subsequently returned to the 1G network, so as to improve the quality of the voice communication.
When the call quality is detected, the current call quality parameter can be obtained, and the quality of the call quality is determined based on the call quality parameter.
As can be seen from the above, in the data transmission method provided in this embodiment, when the terminal performs network data transmission through the data channel of the current subscriber identity module, if a voice communication signal is detected, the data channel of the current subscriber identity module is closed, and the voice channel of the current subscriber identity module is opened to perform transmission of the voice communication signal; and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data. According to the scheme, in the voice call process, data transmission is carried out by opening the data channel in stages, so that the voice call and network data transmission can be carried out in a crossed manner, and the data transmission efficiency is improved.
In order to further explain the data transmission method of the present application, the following will take the terminal receiving an incoming call as an example to further describe the scheme of the present application in detail.
And when the voice communication signal end of the mobile terminal calls for voice communication, the cross communication control module is started. The mobile terminal opens a data channel through the cross communication control module stage to cross receive the network information, and the network information of the network signal end can be synchronously received when the voice communication signal end carries out voice communication. Namely, the cross communication control module controls the cross communication of the mobile terminal communication signal and the network signal, and the mobile terminal receives the network information.
When the mobile terminal sends the voice communication information, the cross communication control module detects whether the voice communication signal of the voice communication signal end of the mobile terminal finishes sending the voice communication information or not, and the voice communication signal transmits the voice communication information to be sent out from the mobile terminal. If the voice communication signal is generated by the cross communication control module, and the voice communication information generated by the mobile terminal is transmitted and sent out through the voice communication signal, the voice communication signal can simultaneously detect whether the voice communication information is completely sent out, and the cross communication control module detects whether the voice communication information is completely sent out through the voice communication signal.
When voice communication information is sent through the mobile terminal, the processor processes the voice communication information and simultaneously outputs an enabling oscillation signal to the cross communication control module, the cross communication control module simultaneously starts oscillation to generate a voice communication signal f (1), the voice communication signal f (1) is composed of a plurality of groups of oscillation pulses, namely f (1) ═ f1(1) + f2(1) +. + f + - + f (n) (1), the amplitudes of f1, f2,. multidot.,. f (n) are the same, the amplitudes of f1, f2,. multidot.,. f (n) are the same as the amplitude of the voice communication signal f (1), the frequencies of f1, f2,. multidot.,. f (n) are the same, the frequencies of f1, f2,. multidot.,. f (n) are greater than the frequency of the voice communication signal f (1), and n is a positive integer. Each group of oscillation pulses is used as a transmission unit to transmit a group of voice communication information, and then the voice communication signal f (1) needs to transmit a plurality of groups of voice communication information f1(2), f2(2),. ·, f (n) (2), wherein f1(2) + f2(2) +. ·+ f (n) (2) is the complete voice communication information to be sent by the mobile terminal.
The f1(1), f2(1),. so, f (n) (1) corresponds to the transmission f1(2), f2(2),. so, f (n) (2), the oscillation pulses f1(1), f2(1),. so, f (n) (1) have amplitude larger than that of each group of voice communication information f1(2), f2(2),. so, f (n) (2), the frequency of each group of oscillation pulses is equal to the frequency of the voice communication information, each group of voice communication information is superposed on the corresponding oscillation pulses f1(1), f2(1),. so, f (n) (1) to form f1(2), f2(2),. so, f (n) (2) and is sent in a signal pattern mode, and the voice communication information can be sent directly to a voice channel for transmission.
When the voice communication signal f (n +1) (1) is not overlapped with signals, namely the voice communication signal detects that all voice communication information is sent, the cross communication control module starts the network module, the network module instantly transmits network data to the processor for processing, and the network signal end of the mobile terminal receives the network information;
when the mobile terminal receives voice communication information, the cross communication control module detects whether the voice communication signal end of the mobile terminal finishes receiving the voice communication information, the voice communication signal group f1(1), f2(1),. multidot.multidot.f (n) (1) correspondingly transmits f1(2), f2(2),. multidot.f (n) (2) to the processor, when the superposed signal of the voice communication signals f (n +1) (1) is empty, namely the voice communication signals detect that all the voice communication information is received by the mobile terminal, the cross communication control module starts the network module, the network module instantly transmits network data to the processor for processing, and the network signal end of the mobile terminal receives the network information;
when the mobile terminal finishes sending the voice communication information and simultaneously receives the voice communication information instantly, the voice communication signal f (n +1) (1) has a superposed signal, namely the voice communication information, the voice communication signal f (1) transmits the voice communication information to the mobile terminal, and the processor directly processes the transmitted voice communication information. When the superposed signal of f (n + m) (1) is empty, the cross communication control module starts the network module, the network module instantly transmits network data to the processor for processing, and the network signal end of the mobile terminal receives network information.
According to the data transmission method provided by the embodiment, the network signals are opened in stages, and the network information is received in a cross manner, so that the network information of the network signal end can be synchronously received when the voice communication signal end carries out voice communication, the network information processing efficiency is improved, and the user experience is greatly enhanced.
In another embodiment of the present application, a data transmission apparatus is further provided, where the data transmission apparatus may be integrated in a terminal in a form of software or hardware, and the terminal may specifically include a mobile phone, a tablet computer, a notebook computer, and the like. As shown in fig. 3, the data transmission apparatus 300 may include: a first processing unit 301 and a second processing unit 302, wherein:
the first processing unit 301 is configured to, when the terminal performs network data transmission through a data channel of a current subscriber identity module card, if a voice communication signal is detected, close the data channel of the current subscriber identity module card, and open the voice channel of the current subscriber identity module card to perform transmission of the voice communication signal;
the second processing unit 302 is configured to close the voice channel of the current subscriber identity module card and open the data channel of the current subscriber identity module card for network data transmission when it is detected that the voice communication signal completes transmission.
In some embodiments, the voice communication signal includes a pulse sequence composed of a plurality of pulse signals, and when the last pulse signal in the pulse sequence completes transmission, it is determined that the voice communication signal completes transmission.
Referring to fig. 4, in some embodiments, the data processing apparatus 300 may further include:
the detecting unit 303 is configured to detect whether a standby user identity card exists after closing a data channel of the current user identity card and opening a voice channel of the current user identity card to transmit a voice communication signal;
the first starting unit 304 is configured to start a data channel of the standby subscriber identity module card for data transmission if the standby subscriber identity module card exists.
Referring to fig. 5, in some embodiments, the data processing apparatus 300 may further include:
a first obtaining unit 305, configured to obtain first data traffic information of the current subscriber identity module card and second data traffic information of the standby subscriber identity module card when it is detected that a voice communication signal is completely transmitted and before a data channel of the current subscriber identity module card is opened for network data transmission;
a ratio determining unit 306, configured to determine a data transmission ratio between the current subscriber identity module card and the standby subscriber identity module card according to first data traffic information and second data traffic information;
a third processing unit 307, configured to respectively open data channels of the current subscriber identity module card and the standby subscriber identity module card, and perform network data transmission according to the data transmission ratio.
In some embodiments, the data processing apparatus 300 may further include:
the second acquisition unit is used for acquiring the data type and the data volume of the network data to be transmitted before the data channel of the current user identity identification card is opened for transmitting the network data when the voice communication signal is detected to be transmitted;
an information determining unit, configured to determine operator information of the current subscriber identity module card and the standby subscriber identity module card respectively;
a target determining unit, configured to determine a target user identification card from the current user identification card and the standby user identification card according to the data type, the data size, and the operator information;
and the second starting unit is used for starting a data channel of the target user identity identification card to transmit network data.
In some embodiments, the data processing apparatus 300 may further include:
and the abnormity processing unit is used for opening the voice channel of the standby user identity recognition card to transmit the voice communication signal when detecting that the voice communication signal transmitted through the voice channel of the current user identity recognition card is abnormally interrupted.
In some embodiments, the data processing apparatus 300 may further include:
the parameter determining unit is used for determining the current call quality parameter after a voice channel of the current user identity identification card is opened for transmitting a voice communication signal;
and the adjusting unit is used for adjusting the network type of the current user identity identification card to carry out data transmission according to the call quality parameter.
As can be seen from the above, in the data transmission device provided in the embodiment of the present application, when the terminal performs network data transmission through the data channel of the current user identity card, if a voice communication signal is detected, the data channel of the current user identity card is closed, and the voice channel of the current user identity card is opened to perform transmission of the voice communication signal; and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data. According to the scheme, in the voice call process, data transmission is carried out by opening the data channel in stages, so that the voice call and network data transmission can be carried out in a crossed manner, and the data transmission efficiency is improved.
In another embodiment of the present application, a terminal is further provided, where the terminal may be a terminal device such as a smart phone and a tablet computer. As shown in fig. 6, the terminal 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the terminal 400, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or loading an application stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the terminal.
In this embodiment, the processor 401 in the terminal 400 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs the application stored in the memory 402, thereby implementing various functions:
when a terminal transmits network data through a data channel of a current user identity identification card, if a voice communication signal is detected, closing the data channel of the current user identity identification card, and opening the voice channel of the current user identity identification card to transmit the voice communication signal;
and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data.
In some embodiments, the voice communication signal includes a pulse sequence composed of a plurality of pulse signals, and the voice communication signal is determined to be transmitted when the last pulse signal in the pulse sequence completes transmission.
In some embodiments, after closing the data channel of the current subscriber identity module card and opening the voice channel of the current subscriber identity module card for transmitting the voice communication signal, the processor 401 further performs the following steps:
detecting whether a standby user identity identification card exists or not;
and if the standby user identification card exists, starting a data channel of the standby user identification card for data transmission.
In some embodiments, when it is detected that the voice communication signal is completely transmitted, before the data channel of the current subscriber identity card is opened for network data transmission, the processor 401 further performs the following steps:
acquiring first data flow information of the current user identification card and second data flow information of the standby user identification card;
determining the data transmission ratio of the current user identification card and the standby user identification card according to the first data flow information and the second data flow information;
and respectively starting data channels of the current user identification card and the standby user identification card, and transmitting network data according to the data transmission ratio.
In some embodiments, when it is detected that the voice communication signal is completely transmitted, before the data channel of the current subscriber identity card is opened for network data transmission, the processor 401 further performs the following steps:
acquiring the data type and the data volume of network data to be transmitted;
respectively determining the operator information of the current user identification card and the standby user identification card;
determining a target user identity identification card from the current user identity identification card and the standby user identity identification card according to the data type, the data volume and the operator information;
and starting a data channel of the target user identification card to transmit network data.
In some embodiments, when detecting an abnormal interruption of the voice communication signal transmitted through the voice channel of the current subscriber identity module card, the processor 401 further performs the following steps:
and opening a voice channel of the standby user identity identification card to transmit voice communication signals.
In some embodiments, after the voice channel of the current subscriber identity card is opened for transmission of the voice communication signal, the processor 401 further performs the following steps:
determining current call quality parameters;
and adjusting the network system of the current user identity identification card to transmit data according to the call quality parameters.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing instructions executable in the processor. Applications may constitute various functional modules. The processor 401 executes various functional applications and data transmission by running the applications stored in the memory 402.
In some embodiments, as shown in fig. 7, the terminal 400 further includes: display 403, control circuit 404, radio frequency circuit 405, input unit 406, sensor 408, and power supply 409. The processor 401 is electrically connected to the display 403, the control circuit 404, the rf circuit 405, the input unit 406, the camera 407, the sensor 408, and the power source 409.
The display screen 403 may be used to display information input by or provided to the user as well as various graphical user interfaces of the terminal, which may be constituted by images, text, icons, video, and any combination thereof.
The control circuit 404 is electrically connected to the display 403, and is configured to control the display 403 to display information.
The rf circuit 405 is used for transceiving rf signals to establish wireless communication with a terminal or other terminals through wireless communication, and to transceive signals with a server or other terminals.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 406 may include a fingerprint recognition module.
The camera 407 may be used to collect image information. The camera may be a single camera with one lens, or may have two or more lenses.
The sensor 408 is used to collect external environmental information. The sensors 408 may include ambient light sensors, acceleration sensors, light sensors, motion sensors, and other sensors.
The power supply 409 is used to power the various components of the terminal 400. In some embodiments, the power source 409 may be logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
Although not shown in fig. 7, the terminal 400 may further include a speaker, a bluetooth module, and the like, which will not be described in detail herein.
As can be seen from the above, when network data transmission is performed through the data channel of the current user identity card, if a voice communication signal is detected, the data channel of the current user identity card is closed, and the voice channel of the current user identity card is opened to perform voice communication signal transmission; and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data. According to the scheme, in the voice call process, data transmission is carried out by opening the data channel in stages, so that the voice call and network data transmission can be carried out in a crossed manner, and the data transmission efficiency is improved.
In some embodiments, a computer-readable storage medium is also provided having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the data transfer methods described above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The data transmission method, the data transmission device, the storage medium and the terminal provided by the embodiment of the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A data transmission method is applied to a terminal, and is characterized by comprising the following steps:
when a terminal transmits network data through a data channel of a current user identity identification card, if a voice communication signal is detected, closing the data channel of the current user identity identification card, and opening the voice channel of the current user identity identification card to transmit the voice communication signal;
and when the voice communication signal is detected to finish transmission, closing the voice channel of the current user identity identification card, and opening the data channel of the current user identity identification card to transmit network data.
2. The data transmission method of claim 1, wherein the voice communication signal comprises a pulse sequence consisting of a plurality of pulse signals, and when a last pulse signal in the pulse sequence completes transmission, it is determined that the voice communication signal completes transmission.
3. The data transmission method according to claim 1, wherein after closing the data channel of the current subscriber identity module card and opening the voice channel of the current subscriber identity module card for transmitting the voice communication signal, the method further comprises:
detecting whether a standby user identity identification card exists or not;
and if the standby user identification card exists, starting a data channel of the standby user identification card for data transmission.
4. The data transmission method according to claim 3, wherein before the data channel of the current subscriber identity module card is opened for network data transmission when the voice communication signal is detected to complete transmission, the method further comprises:
acquiring first data flow information of the current user identification card and second data flow information of the standby user identification card;
determining the data transmission ratio of the current user identification card and the standby user identification card according to the first data flow information and the second data flow information;
and respectively starting data channels of the current user identification card and the standby user identification card, and transmitting network data according to the data transmission ratio.
5. The data transmission method according to claim 3, wherein before the data channel of the current subscriber identity module card is opened for network data transmission when the voice communication signal is detected to complete transmission, the method further comprises:
acquiring the data type and the data volume of network data to be transmitted;
respectively determining the operator information of the current user identification card and the standby user identification card;
determining a target user identity identification card from the current user identity identification card and the standby user identity identification card according to the data type, the data volume and the operator information;
and starting a data channel of the target user identification card to transmit network data.
6. The data transmission method according to claim 3, further comprising:
and when detecting that the voice communication signal transmission through the voice channel of the current user identity recognition card is abnormally interrupted, opening the voice channel of the standby user identity recognition card to transmit the voice communication signal.
7. The data transmission method according to any one of claims 1 to 6, further comprising, after the voice channel of the current SIM card is opened for transmission of the voice communication signal:
determining current call quality parameters;
and adjusting the network system of the current user identity identification card to transmit data according to the call quality parameters.
8. A data transmission apparatus applied to a terminal, comprising:
the first processing unit is used for closing the data channel of the current user identity identification card and opening the voice channel of the current user identity identification card to transmit voice communication signals if the voice communication signals are detected when the terminal performs network data transmission through the data channel of the current user identity identification card;
and the second processing unit is used for closing the voice channel of the current user identity identification card and opening the data channel of the current user identity identification card to transmit network data when the fact that the voice communication signal is transmitted is detected.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the data transfer method of any of claims 1-7.
10. A terminal is characterized by comprising a processor and a memory, wherein the processor is electrically connected with the memory, and the memory is used for storing instructions and data; the processor is configured to perform the data transmission method of any one of claims 1-7.
CN201911261258.6A 2019-12-10 2019-12-10 Data transmission method, device, storage medium and terminal Active CN111031531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911261258.6A CN111031531B (en) 2019-12-10 2019-12-10 Data transmission method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911261258.6A CN111031531B (en) 2019-12-10 2019-12-10 Data transmission method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN111031531A true CN111031531A (en) 2020-04-17
CN111031531B CN111031531B (en) 2023-03-24

Family

ID=70208657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911261258.6A Active CN111031531B (en) 2019-12-10 2019-12-10 Data transmission method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111031531B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021254162A1 (en) * 2020-06-15 2021-12-23 京东方科技集团股份有限公司 Data sending method and apparatus, storage medium, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3922497A (en) * 1973-03-21 1975-11-25 Cselt Centro Studi Lab Telecom Switching system for PCM communication with alternate voice and data transmission
CN1307771A (en) * 1998-04-24 2001-08-08 艾利森电话股份有限公司 Alternating speed and data transmission in digital communications systems
EP2045932A1 (en) * 2007-10-03 2009-04-08 NEXTER Systems Method of transmitting voice and data between users of a wireless telecommunication network and device implementing such a method
CN102711194A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Method and system for realizing data service switching in voice service switching process
CN103024779A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Method and device for improving internet speed of double cards
CN107635259A (en) * 2016-07-18 2018-01-26 中兴通讯股份有限公司 A kind of data service from adaptation method, device and terminal
CN108990124A (en) * 2018-09-26 2018-12-11 中国联合网络通信集团有限公司 Voice communication and data service switching method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3922497A (en) * 1973-03-21 1975-11-25 Cselt Centro Studi Lab Telecom Switching system for PCM communication with alternate voice and data transmission
CN1307771A (en) * 1998-04-24 2001-08-08 艾利森电话股份有限公司 Alternating speed and data transmission in digital communications systems
EP2045932A1 (en) * 2007-10-03 2009-04-08 NEXTER Systems Method of transmitting voice and data between users of a wireless telecommunication network and device implementing such a method
CN102711194A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Method and system for realizing data service switching in voice service switching process
CN103024779A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Method and device for improving internet speed of double cards
CN107635259A (en) * 2016-07-18 2018-01-26 中兴通讯股份有限公司 A kind of data service from adaptation method, device and terminal
CN108990124A (en) * 2018-09-26 2018-12-11 中国联合网络通信集团有限公司 Voice communication and data service switching method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021254162A1 (en) * 2020-06-15 2021-12-23 京东方科技集团股份有限公司 Data sending method and apparatus, storage medium, and electronic device

Also Published As

Publication number Publication date
CN111031531B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN107820331B (en) Call method, device, computer equipment and readable storage medium
CN108965306B (en) Call processing method and mobile terminal
US20220303861A1 (en) Network handover method and electronic device
WO2020232712A1 (en) Paging method and apparatus
US20230128632A1 (en) Dci transmission method and apparatus, and communication device and storage medium
CN110022553B (en) User identity identification card management method and mobile terminal
CN109819489B (en) Terminal calling method and terminal
WO2018145468A1 (en) Network access method, terminal and storage medium
CN106413128A (en) Projection method and mobile terminal
US20230032301A1 (en) Method and apparatus for indicating data transmission, communication device and storage medium
CN109565717A (en) The configuration method and device of portions of bandwidth
US20220360971A1 (en) Method for sending mdt information, method for receiving mdt information, electronic device and storage medium
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
US20220240143A1 (en) Method for determining network switch resource and method for configuring network switch resource
CN108541046B (en) Network selection method, terminal and storage medium
CN111031531B (en) Data transmission method, device, storage medium and terminal
CN110521227A (en) Residence reselecting and device, priority indication method and apparatus
CN107682916B (en) Network searching connection adaptation method and device and computer readable storage medium
CN106412878A (en) Device and method for activating subscriber identity module card
CN111010716B (en) Network control method, network control device, storage medium and electronic equipment
CN111918288A (en) Communication method, communication device and electronic equipment
US20220346083A1 (en) Methods and apparatuses for determining network allocation vector, and storage media
CN109309924B (en) Data transmission method and device
US20230087282A1 (en) Dual wi-fi connection method and electronic device
CN112866983B (en) Control method, control device and electronic equipment

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