CN115150452A - Data transmission method, terminal, computer-readable storage medium, and electronic device - Google Patents

Data transmission method, terminal, computer-readable storage medium, and electronic device Download PDF

Info

Publication number
CN115150452A
CN115150452A CN202110278801.4A CN202110278801A CN115150452A CN 115150452 A CN115150452 A CN 115150452A CN 202110278801 A CN202110278801 A CN 202110278801A CN 115150452 A CN115150452 A CN 115150452A
Authority
CN
China
Prior art keywords
data
channel
service
transmission
data transmission
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.)
Pending
Application number
CN202110278801.4A
Other languages
Chinese (zh)
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.)
Pateo Connect and Technology Shanghai Corp
Original Assignee
Pateo Connect and Technology Shanghai Corp
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 Pateo Connect and Technology Shanghai Corp filed Critical Pateo Connect and Technology Shanghai Corp
Priority to CN202110278801.4A priority Critical patent/CN115150452A/en
Publication of CN115150452A publication Critical patent/CN115150452A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Abstract

A data transmission method, a terminal, a computer-readable storage medium and an electronic device, wherein the data transmission method comprises: establishing a transmission service channel, wherein the transmission service channel at least comprises a first service channel and a second service channel, and the first service channel is provided with a first cache region; transmitting the service data to a target terminal through a first service channel; when the first service channel is interrupted, performing a first data takeover step to enable a second service channel to transmit first data to be transmitted to a target terminal, wherein the first data takeover step comprises: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted. By the data transmission method, user experience is improved.

Description

Data transmission method, terminal, computer-readable storage medium, and electronic device
Technical Field
The present invention relates to the field of intelligent technologies, and in particular, to a data transmission method, a terminal, a computer-readable storage medium, and an electronic device.
Background
With the improvement of living standards and the development of technologies, users generally transmit data between terminals through wired or wireless connections.
Generally, in the process of transmitting data between terminals, if a data transmission channel currently used by a user is interrupted, the user needs to reestablish the data transmission channel between the terminals and instruct the terminals to perform data transmission again, which results in poor user experience.
In order to improve user experience, a method for data transmission between terminals is proposed in the prior art. In the data transmission method, a plurality of data transmission channels are established between terminals, for example, a USB channel and a Bluetooth channel are established simultaneously. In the process of data transmission, if the currently used data transmission channel is interrupted, other channels in the multiple data transmission channels are used to retransmit the data after the permission of the user is obtained.
However, in the above method for data transmission between terminals, since permission of a user still needs to be obtained before other channels in the multiple data transmission channels are used, and when the currently used data transmission channel is interrupted, a transmitted portion and an untransmitted portion in data cannot be distinguished, so that in the process of retransmitting data, the transmitted data needs to be repeatedly transmitted to ensure that complete data is transmitted, and therefore, when the currently used data transmission channel is interrupted, data cannot be continuously transmitted, resulting in poor user experience. Furthermore, since the application program storing the data needs to confirm the connection condition of the data transmission channel between the terminals before each data transmission, when the currently used data transmission channel is interrupted, the application program needs to confirm the connection condition of the new data transmission channel again, thereby increasing the time before the data is transmitted again, and causing poor user experience.
Disclosure of Invention
The invention aims to provide a data transmission method, a terminal, a computer readable storage medium and electronic equipment to improve user experience.
In order to solve the above technical problem, a technical solution of the present invention provides a data transmission method, including: establishing a transmission service channel, wherein the transmission service channel at least comprises a first service channel and a second service channel, and the first service channel is provided with a first cache region; transmitting the service data to a target terminal through a first service channel; when the first service channel is interrupted, a first data takeover step is carried out so that the second service channel transmits the first data to be transmitted to the target terminal, wherein the first data takeover step comprises the following steps: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted.
Correspondingly, the technical scheme of the invention also provides a terminal, which comprises: the communication unit is used for establishing a transmission service channel with a target terminal, wherein the transmission service channel at least comprises a first service channel and a second service channel, the first service channel transmits service data to the target terminal, and the first service channel is provided with a first cache region; a data take-over transmission module, configured to perform a first data take-over step when the first service channel is interrupted, so that the second service channel transmits the first data to be transmitted to the target terminal, where the first data take-over step includes: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted.
Accordingly, the present invention also provides a computer-readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the data transmission method as described above is implemented.
Accordingly, an aspect of the present invention also provides an electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method as described above.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
in the data transmission method provided in the technical solution of the present invention, because the first data takeover step is performed when the first service channel is interrupted, so that the second service channel transmits the first data to be transmitted to the target terminal, and the first data takeover step includes transferring the data in the first buffer to the second service channel, after the first service channel is interrupted, the part of the service data that is not transmitted (the first data to be transmitted) can be distinguished, and the part of the service data that is not transmitted (the first data to be transmitted) is directly transmitted to the target terminal through the second service channel, so that when one data transmission channel is interrupted, the seamless switching transmission of the service data can be realized through the other data transmission channel. Meanwhile, the transmission service channel at least comprises a first service channel and a second service channel, so that the state of the transmission service channel is uninterrupted under the condition that one of the first service channel and the second service channel is uninterrupted. For example, after the interruption of the first traffic channel, the status of the transmission traffic channel is still uninterrupted. Therefore, when the service data is stored in the upper layer application program, the state of the transmission service channel is not changed (is still not interrupted) under the condition that the first service channel is interrupted, so that the upper layer application program does not need to confirm the state of the transmission service channel after the first service channel is interrupted, the process that the upper layer application program reconfirms the connection state of the data transmission channel is further reduced, and the data processing of the upper layer application is reduced. In conclusion, in the data transmission method, the situations of repeated data transmission and data transmission blockage are improved, and the user experience is improved.
Drawings
Fig. 1 is a flow chart illustrating a data transmission method according to an embodiment of the invention;
FIG. 2 is a schematic flow chart of step S100 in FIG. 1;
FIG. 3 is a schematic diagram of a terminal according to an embodiment of the invention;
fig. 4 is a schematic diagram of a communication unit according to an embodiment of the invention.
Detailed Description
As described in the background art, in the method for data transmission between terminals in the prior art, since permission of a user still needs to be obtained before other channels in multiple data transmission channels are used, and when a currently used data transmission channel is interrupted, a transmitted portion and an untransmitted portion in data cannot be distinguished, so that in the process of retransmitting data, the transmitted data needs to be repeatedly transmitted to ensure that complete data is transmitted, and therefore, when the currently used data transmission channel is interrupted, data cannot be continuously transmitted, resulting in poor user experience. Furthermore, since the application program storing the data needs to confirm the connection condition of the data transmission channel between the terminals before each data transmission, when the currently used data transmission channel is interrupted, the application program needs to confirm the connection condition of the new data transmission channel again, thereby increasing the time before the data is transmitted again, and causing poor user experience.
To solve the foregoing technical problems, embodiments of the present invention provide a data transmission method, a terminal, a computer-readable storage medium, and an electronic device. According to the data transmission method, a transmission service channel is selected, and a first data takeover step is carried out. Thus, user experience is improved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 is a flowchart illustrating a data transmission method according to an embodiment of the invention.
Referring to fig. 1, the data transmission method includes:
step S100, establishing a transmission service channel, wherein the transmission service channel at least comprises a first service channel and a second service channel, and the first service channel is provided with a first cache region;
step S110, transmitting the service data to the target terminal through the first service channel;
step S120, when the first service channel is interrupted, performing a first data takeover step to enable the second service channel to transmit the first data to be transmitted to the target terminal, where the first data takeover step includes: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted.
When the first service channel is interrupted, the first data takeover step is performed to enable the second service channel to transmit the first data to be transmitted to the target terminal, and the first data takeover step includes transferring the data in the first buffer to the second service channel, so that after the first service channel is interrupted, the part (the first data to be transmitted) which is not transmitted in the service data can be distinguished, and the part (the first data to be transmitted) which is not transmitted in the service data is directly transmitted to the target terminal through the second service channel, so that the seamless switching transmission of the service data can be realized through the other data transmission channel under the condition that one data transmission channel is interrupted. Meanwhile, the transmission service channel at least comprises a first service channel and a second service channel, so that the state of the transmission service channel is uninterrupted under the condition that one of the first service channel and the second service channel is uninterrupted. For example, after the interruption of the first traffic channel, the status of the transmission traffic channel is still uninterrupted. Therefore, when the service data is stored in the upper layer application program, the state of the transmission service channel is not changed (is still not interrupted) under the condition that the first service channel is interrupted, so that the upper layer application program does not need to confirm the state of the transmission service channel after the first service channel is interrupted, the process that the upper layer application program reconfirms the connection state of the data transmission channel is further reduced, and the data processing of the upper layer application is reduced. In conclusion, in the data transmission method, the situations of repeated data transmission and data transmission blockage are improved, and the user experience is improved.
In one scenario, a wired connection channel and a wireless connection channel are established between the target terminal and the target terminal, wherein the wired connection channel is a first service channel, and the wireless connection channel is a second service channel. At this time, the service data is transmitted to the target terminal through the wired connection channel. And when the wired connection channel is interrupted, performing a first data takeover step, and continuously transmitting the part of the service data which is not transmitted to the target terminal through the wireless connection channel.
In another scenario, a wired connection channel and a wireless connection channel are established between the target terminal and the target terminal, where the wireless connection channel is a first service channel and the wired connection channel is a second service channel. At this time, the service data is transmitted to the target terminal through the wireless connection channel. When the wireless connection channel is interrupted, a first data taking-over step is carried out, and the part of the service data which is not transmitted to the target terminal is continuously transmitted to the target terminal through the wired connection channel.
Thereby, seamless switching between wired transmission and wireless transmission is realized.
In one scene, the user enables a wifi channel, a bluetooth channel and a USB channel to be simultaneously established between the mobile terminal and the vehicle-mounted terminal, so that the user can charge the mobile terminal through the USB channel. At this time, the user transmits the service data to the vehicle-mounted terminal by using the USB channel, and the service data in this scenario is audio data. When the mobile terminal is fully charged, the user disconnects the USB connection between the mobile terminal and the vehicle-mounted terminal for more flexible use of the mobile terminal. In the scene, the USB channel is a first service channel, the wifi channel or the Bluetooth channel is a second service channel, when the USB channel is interrupted, a first data taking-over step is carried out, and the part of the service data which is not transmitted to the vehicle-mounted terminal is continuously transmitted to the terminal through the wifi channel or the Bluetooth channel. Specifically, a buffer area is arranged in the USB transmission channel, a part of the service data which is not transmitted to the vehicle-mounted terminal is stored in the buffer area of the USB transmission channel, the service data in the buffer area is transferred to the second service channel, and after the second service channel receives the service data in the buffer area of the USB transmission channel, the data transmission work is normally carried out, so that the whole data taking-over process is quickly realized, and a user hardly feels any blockage. Therefore, in the scene, a user can conveniently establish or interrupt the USB channel according to actual use requirements, meanwhile, through the first data taking-over step, when the USB channel is interrupted, the USB channel can be seamlessly switched to a wifi channel or a Bluetooth channel, and parts which are not transmitted to the vehicle-mounted terminal in service data are continuously transmitted to the vehicle-mounted terminal, so that repeated data transmission is reduced, or the user feels that the data transmission is blocked, and the user experience is improved.
In this embodiment, the data transmission channel includes: at least two of a USB channel, a Bluetooth channel and a wifi channel.
In this embodiment, the service type of the service data includes: at least one of a video service, an audio service, and a touch screen service.
Referring to fig. 1 and fig. 2, fig. 2 is a schematic flowchart of step S100 in fig. 1, and in this embodiment, the method for establishing a transmission service channel includes:
step S101, more than two different data transmission channels are established;
step S102, selecting the transmission service channel from the more than two data transmission channels.
In step S102 of this embodiment, the method for selecting the transmission service channel from the two or more data transmission channels includes: providing a preset transmission rule, wherein the preset transmission rule comprises a corresponding rule of service data and a data transmission channel; and selecting a transmission service channel corresponding to the service data from the more than two data transmission channels according to the preset transmission rule.
The preset rules comprise corresponding rules of the service data and the data transmission channels, and the transmission service channel corresponding to the service data is selected from the more than two data transmission channels according to the preset transmission rules. Therefore, a transmission service channel with higher transmission performance and service data adaptability can be selected, so that the transmission of the service data is more efficient, faster and more stable, and the user experience is improved.
In this embodiment, the preset transmission rule includes: when the data size of the service data is larger than or equal to the preset data size, the corresponding rule of the service data and the data transmission channel comprises a first priority rule; and when the data size of the service data is smaller than the preset data size, the corresponding rule of the service data and the data transmission channel comprises a second priority rule.
Specifically, in this embodiment, a manner is provided by which a transmission traffic channel corresponding to traffic data can be adapted in the two or more data transmission channels according to the data size of the traffic data through the preset transmission rule. Therefore, a transmission service channel with higher adaptability can be provided for service data with different data sizes.
In another embodiment, the preset transmission rule includes: providing a plurality of non-coincident preset data size ranges; a priority rule of a data transmission channel corresponding to each of the preset data size ranges is provided. Thus, another way is provided in which a transmission traffic channel corresponding to traffic data can be adapted among the two or more data transmission channels according to the data size of the traffic data. Therefore, a transmission service channel with higher adaptability can be provided for service data with different data sizes.
In another embodiment, the priority rule comprises a first priority rule or a second priority rule. Wherein the first priority rule comprises: the data transmission channel with large bandwidth is prior to the data transmission channel with small bandwidth. The second priority rule comprises: the data transmission channel with small bandwidth is prior to the data transmission channel with large bandwidth.
It should be noted that, in another embodiment, one preset data size range may correspond to the first priority rule, and another preset data size range may correspond to the second priority rule. Or several non-coincident preset data size ranges simultaneously correspond to the first priority rule, and the other several non-coincident preset data size ranges simultaneously correspond to the second priority rule.
In this embodiment, the first priority rule includes: the data transmission channel with large bandwidth is prior to the data transmission channel with small bandwidth.
Therefore, for the service data with larger data size, the data transmission channel with larger bandwidth can be adapted, so that the data transmission channel with larger bandwidth preferentially becomes the transmission service channel corresponding to the service data. Therefore, no matter before or after the first data takeover step, the established data transmission channel with large bandwidth can be utilized, and the service data with large data size can be transmitted more efficiently, quickly and stably.
For example, for a video service with a long duration, an audio service with a long duration, and the like, a USB channel or a wifi channel with a wide bandwidth can be used for data transmission.
Moreover, since in the first priority rule, the established data transmission channels are adapted to the service data according to the bandwidth of the established data transmission channels, that is, in the process of adapting the data transmission channels, the bandwidth ordering of the adapted data transmission channels is a relative ordering according to the established data transmission channels. Therefore, compared with the method for adapting the service data in the preset size range to the data transmission channel with the absolutely fixed type, the adaptation mode of the transmission service channel can be flexibly changed according to the established data transmission channel, so that the interruption risk of service data transmission is smaller.
In one scene, a USB channel, a Bluetooth channel and a wifi channel are established, and meanwhile, the service data is video service data with the data size of A, wherein A is larger than the preset data size. And according to the preset transmission rule, the USB channel and the wifi channel can be selected as service transmission channels.
And when the USB channel is the first service channel, the wifi channel is the second service channel. At this time, the service data is transmitted to the target terminal through the USB channel. And when the USB channel is interrupted, performing a first data taking-over step to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the wifi channel.
And when the wifi channel is the first service channel, the USB channel is the second service channel. At the moment, the service data is transmitted to the target terminal through the wifi channel. And when the wifi channel is interrupted, performing a first data takeover step to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the USB channel.
In another scenario, a USB channel and a bluetooth channel are established, and the USB channel and the bluetooth channel can be selected as service transmission channels according to the preset transmission rule.
And when the USB channel is the first service channel, the Bluetooth channel is the second service channel. At this time, the service data is transmitted to the target terminal through the USB channel. When the USB channel is interrupted, a first data taking-over step is carried out so as to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the Bluetooth channel.
And when the Bluetooth channel is the first service channel, the USB channel is the second service channel. At this time, the service data is transmitted to the target terminal through the bluetooth channel. And when the Bluetooth channel is interrupted, performing a first data takeover step to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the USB channel.
In this embodiment, the second priority rule includes: the data transmission channel with small bandwidth is prior to the data transmission channel with large bandwidth.
Therefore, the data transmission channel with small bandwidth can be adapted to the service data with small data size, so that the uninterrupted transmission of the service data is realized, the data transmission channel with large bandwidth is occupied by less transmission of the service data, and convenience is provided for the transmission of other service data with large data size.
For example, for a touch screen service, an audio service with a short duration, a video service with a short duration, and the like, a bluetooth channel or a wifi channel with a small bandwidth can be used for data transmission.
Similarly, similar to the first priority rule, since in the second priority rule, the established data transmission channels are adapted to the service data according to the bandwidth of the established data transmission channels, that is, in the process of adapting the data transmission channels, the bandwidth ordering of the adapted data transmission channels is performed according to the relative ordering of the established data transmission channels. Therefore, compared with the method for adapting the service data in the preset size range to the data transmission channel with the absolutely fixed type, the adaptation mode of the transmission service channel can be flexibly changed according to the established data transmission channel, so that the interruption risk of service data transmission is smaller.
In one scene, a USB channel, a Bluetooth channel and a wifi channel are established, and meanwhile, the service data is video service data with the data size of B, wherein B is smaller than the preset data size. And according to the preset transmission rule, the Bluetooth channel and the wifi channel can be selected as service transmission channels.
And when the Bluetooth channel is the first service channel, the wifi channel is the second service channel. At this time, the service data is transmitted to the target terminal through the bluetooth channel. And when the Bluetooth channel is interrupted, performing a first data taking-over step so as to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the wifi channel.
And when the wifi channel is the first service channel, the Bluetooth channel is the second service channel. At the moment, the service data is transmitted to the target terminal through the wifi channel. And when the wifi channel is interrupted, performing a first data takeover step so as to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the Bluetooth channel.
In one scene, a USB channel and a wifi channel are established, meanwhile, the service data is video service data with the data size of B, and B is smaller than the preset data size. And according to the preset transmission rule, the Bluetooth channel and the wifi channel can be selected as service transmission channels.
And when the USB channel is the first service channel, the wifi channel is the second service channel. At this time, the service data is transmitted to the target terminal through the USB channel. And when the USB channel is interrupted, performing a first data takeover step to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the wifi channel.
And when the wifi channel is the first service channel, the USB channel is the second service channel. At the moment, the service data is transmitted to the target terminal through the wifi channel. And when the wifi channel is interrupted, performing a first data takeover step to continuously transmit the part which is not transmitted to the target terminal in the service data to the target terminal through the USB channel.
In other embodiments, the first service channel and the second service channel in the transmission service channels are randomly selected from the two or more data transmission channels.
In this embodiment, the second service channel has a second buffer, and the method for transferring data in the first buffer to the second service channel includes: and transferring the data in the first cache region to the second cache region.
In another embodiment, the transmission service channel further includes a third service channel, and when the second service channel is interrupted, a second data takeover step is performed to enable the third service channel to transmit second data to be transmitted to the target terminal, where the second data takeover step includes: and transferring the data in the second cache region to a third service channel, wherein the second to-be-transmitted data is the part which is not transmitted to the target terminal in the service data when the second service channel is interrupted.
Fig. 3 is a schematic diagram of a terminal according to an embodiment of the invention.
Accordingly, an embodiment of the present invention further provides a terminal using the data transmission method, and referring to fig. 3, the terminal 200 includes: a communication unit 210, configured to establish a transmission service channel with a target terminal, where the transmission service channel at least includes a first service channel and a second service channel, the first service channel transmits service data to the target terminal, and the first service channel has a first cache area; a data takeover transmission module 220, configured to perform a first data takeover step when the first service channel is interrupted, so that the second service channel transmits the first data to be transmitted to the target terminal, where the first data takeover step includes: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted.
Referring to fig. 3 and 4, fig. 4 is a schematic diagram of a communication unit according to an embodiment of the present invention, in the embodiment, the communication unit 210 includes: a channel establishing module 211, configured to establish two or more different data transmission channels; a channel selecting unit 212, configured to select the transmission service channel from the more than two data transmission channels.
The channel selecting unit 212 includes: a preset routing rule module (not shown) for providing a preset transmission rule, where the preset transmission rule includes a rule corresponding to a service data and a data transmission channel; a selecting module (not shown) configured to select, according to the preset transmission rule, a transmission service channel corresponding to the service data from the two or more data transmission channels.
In one other embodiment, the transmission traffic channel further comprises a third traffic channel. The terminal further comprises: a second data takeover transmission module, configured to perform a second data takeover step when the second service channel is interrupted, so that a third service channel transmits second data to be transmitted to the target terminal, where the second data takeover step includes: and transferring the data in the second cache region to a third service channel, wherein the second to-be-transmitted data is the part which is not transmitted to the target terminal in the service data when the second service channel is interrupted.
In this embodiment, the target terminal includes a smart watch, a smart phone, a tablet computer, or a vehicle-mounted terminal.
Accordingly, an embodiment of the present invention further provides a computer readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the data transmission method as described above is implemented.
Accordingly, an embodiment of the present invention also provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the data transmission method as described above.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A method of data transmission, comprising:
establishing a transmission service channel, wherein the transmission service channel at least comprises a first service channel and a second service channel, and the first service channel is provided with a first cache region;
transmitting the service data to a target terminal through a first service channel;
when the first service channel is interrupted, performing a first data takeover step to enable a second service channel to transmit first data to be transmitted to a target terminal, wherein the first data takeover step comprises: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted.
2. The data transmission method according to claim 1, wherein the method for establishing the transmission traffic channel comprises: more than two different data transmission channels are established; and selecting the transmission service channel from the more than two data transmission channels.
3. The data transmission method according to claim 2, wherein the method for selecting the transmission service channel from the two or more data transmission channels comprises: providing a preset transmission rule, wherein the preset transmission rule comprises a corresponding rule of service data and a data transmission channel; and selecting a transmission service channel corresponding to the service data from the more than two data transmission channels according to the preset transmission rule.
4. The data transmission method according to claim 3, wherein the preset transmission rule comprises: when the data size of the service data is larger than or equal to the preset data size, the corresponding rule of the service data and the data transmission channel comprises a first priority rule; and when the data size of the service data is smaller than the preset data size, the corresponding rule of the service data and the data transmission channel comprises a second priority rule.
5. The data transmission method according to claim 3, wherein the preset transmission rule comprises: providing a plurality of non-coincident preset data size ranges; a priority rule of a data transmission channel corresponding to each of the preset data size ranges is provided.
6. The data transmission method of claim 5, the priority rule comprising a first priority rule or a second priority rule.
7. The data transmission method according to claim 4 or 6, the first priority rule comprising: the data transmission channel with large bandwidth is prior to the data transmission channel with small bandwidth.
8. The data transmission method according to claim 4 or 6, the second priority rule comprising: the data transmission channel with small bandwidth is prior to the data transmission channel with large bandwidth.
9. The data transmission method according to claim 1, wherein the second service channel has a second buffer, and the method for transferring the data in the first buffer to the second service channel comprises: and transferring the data in the first cache region to the second cache region.
10. The data transmission method according to claim 1, wherein the service type of the service data comprises: at least one of a video service, an audio service, and a touch screen service.
11. The data transmission method according to claim 2, the data transmission channel comprising: at least two of a USB channel, a Bluetooth channel and a wifi channel.
12. A terminal, comprising:
the communication unit is used for establishing a transmission service channel with a target terminal, wherein the transmission service channel at least comprises a first service channel and a second service channel, the first service channel transmits service data to the target terminal, and the first service channel is provided with a first cache region;
a data take-over transmission module, configured to perform a first data take-over step when the first service channel is interrupted, so that the second service channel transmits the first data to be transmitted to the target terminal, where the first data take-over step includes: and transferring the data in the first cache region to a second service channel, wherein the first data to be transmitted is the part which is not transmitted to the target terminal in the service data when the first service channel is interrupted.
13. The terminal of claim 12, the target terminal comprising a smart watch, a smartphone, a tablet, or a vehicle terminal.
14. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the data transmission method of any one of claims 1 to 11.
15. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-11.
CN202110278801.4A 2021-03-15 2021-03-15 Data transmission method, terminal, computer-readable storage medium, and electronic device Pending CN115150452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110278801.4A CN115150452A (en) 2021-03-15 2021-03-15 Data transmission method, terminal, computer-readable storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110278801.4A CN115150452A (en) 2021-03-15 2021-03-15 Data transmission method, terminal, computer-readable storage medium, and electronic device

Publications (1)

Publication Number Publication Date
CN115150452A true CN115150452A (en) 2022-10-04

Family

ID=83404236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110278801.4A Pending CN115150452A (en) 2021-03-15 2021-03-15 Data transmission method, terminal, computer-readable storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN115150452A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695440A (en) * 2009-10-26 2010-04-21 南京邮电大学 Method for realizing medical and healthy care system based on Internet of things
JP2010124202A (en) * 2008-11-19 2010-06-03 Hitachi Automotive Systems Ltd Seamless communication method and communication system using the same
CN101937216A (en) * 2010-07-27 2011-01-05 上海中为智能机器人有限公司 Mine underground intelligent wireless monitoring and positioning system
CN202663551U (en) * 2012-07-06 2013-01-09 上海中铁通信信号国际工程有限公司 Seamless switching embedded module
CN103889013A (en) * 2012-12-19 2014-06-25 中国移动通信集团北京有限公司 Cellular network and WLAN seamless switching method, device and client
CN106792954A (en) * 2016-12-16 2017-05-31 中南大学 A kind of bluetooth based on environment sensing and Wifi changing methods and transmission equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010124202A (en) * 2008-11-19 2010-06-03 Hitachi Automotive Systems Ltd Seamless communication method and communication system using the same
CN101695440A (en) * 2009-10-26 2010-04-21 南京邮电大学 Method for realizing medical and healthy care system based on Internet of things
CN101937216A (en) * 2010-07-27 2011-01-05 上海中为智能机器人有限公司 Mine underground intelligent wireless monitoring and positioning system
CN202663551U (en) * 2012-07-06 2013-01-09 上海中铁通信信号国际工程有限公司 Seamless switching embedded module
CN103889013A (en) * 2012-12-19 2014-06-25 中国移动通信集团北京有限公司 Cellular network and WLAN seamless switching method, device and client
CN106792954A (en) * 2016-12-16 2017-05-31 中南大学 A kind of bluetooth based on environment sensing and Wifi changing methods and transmission equipment

Similar Documents

Publication Publication Date Title
EP3668253B1 (en) Data transmission methods and devices
CN111818503B (en) Voice communication method, system, chip, electronic equipment and storage medium
EP3537734B1 (en) Method and device for connecting a bluetooth device
US20200178327A1 (en) Method and device for indicating radio bearer
CN104363598A (en) DRB mapping method and device
CN112584550A (en) Dual-connection management method and communication device
JP7048762B2 (en) HARQ-ACK codebook determination method and terminal
CN110944311B (en) Method for distributing time slot of wireless earphone and wireless earphone adopting same
WO2020252755A1 (en) Channel selection method and apparatus of bluetooth low energy device
CN103634556A (en) Information transmission method, information receiving method and electronic apparatus
JP6081652B1 (en) Terminal device, communication system, and connection destination selection method
CN104836672A (en) Method, device, system and terminal equipment for data transmission of multi-screen interaction
JP7317236B2 (en) DATA PROCESSING METHOD, DATA PROCESSING DEVICE, COMMUNICATION DEVICE, AND STORAGE MEDIUM
US20210144630A1 (en) Base station and data transmission method thereof for mobile communication system
CN102833404B (en) Method and device for selecting conversation equipment
CN110856213B (en) Method and device for switching data transmission modes, storage medium and electronic equipment
US9301295B1 (en) Redirection of wireless communication devices to target base stations that support requested media sessions
CN115150452A (en) Data transmission method, terminal, computer-readable storage medium, and electronic device
US9210568B1 (en) Hardware-capability update method for a portable device with multiple SIM cards
KR101070982B1 (en) Method for providing contents for mobile terminal using a plurality of cdn servers and control apparatus for the same
CN114040510A (en) Data transmission method and related device
CN115209393A (en) Data transmission method, system, electronic device and storage medium
CN115696283A (en) Audio control method, electronic device, audio device, and storage medium
KR102044523B1 (en) Apparatus and method for providing short-range wireless communication
CN112055383A (en) Mobile communication system for improving data link transmission reliability by adopting double terminals

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