Abstract:
A method for transmitting data via multi-channel communications is provided. The method comprises following steps: providing transmission modes to be selected and determining transmission channels and transmission modules corresponding to the selected transmission modes; splitting a piece of data to be transmitted to a number of data segments, the number of the data segments being same to a number of the determined transmission channels; labeling a sequence number to each data segment; distributing the labeled data segments to determined transmission modules correspondingly; and transmitting the labeled data segments via the corresponding determined transmission channels. A system and a transmission device for transmitting data via multi-channel communications are also disclosed.

Description:
BACKGROUND 
       [0001]    1. Technical Field 
         [0002]    The present disclosure relates to a system, a method and a transmission device for transmitting data via multi-channel communications. 
         [0003]    2. Description of Related Art 
         [0004]    Although communication devices have a number of data transmission modes, such as Bluetooth transmit mode, a WiFi transmission mode and so on, only one mode can be employed each time to transmit a piece of data such as a song. Therefore, there is a need to transmit a piece of data via a number of data transmission modes, thus to reduce time and improve the efficiency of transmission. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0005]    Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views. 
           [0006]      FIG. 1  is a block diagram of a system for transmitting data via multi-channel communications. 
           [0007]      FIG. 2  is a flowchart of a method for transmitting data via multi-channel communications. 
       
    
    
     DETAILED DESCRIPTION 
       [0008]      FIG. 1  shows a block diagram of a system  10  for transmitting data via multi-channel communications. The system  10  includes a data transmission device  20  and a data receiving device  30 . The data transmission device  20  is configured to transmit a piece of data to the data receiving device  30  in response to a manual operation. 
         [0009]    The data transmission device  20  includes a storage module  21 , a data split module  22 , a channel control module  23 , a data distribution module  24  and a number of transmission modules  26 . The number of transmission modules  26  can be modules under different transmission protocols. Such as, one is a Bluetooth transceiver and another is a WiFi transceiver. The data receiving device  30  includes a number of receiving modules  31 . The transmission modules  26  are respectively corresponding to the receiving modules  31  and configured to communicate with the receiving modules  31  to build a number of transmission channels. Therefore, correspondingly, the number of receiving modules  31  can be modules under different transmission protocols. Such as, one is a Bluetooth transceiver and another is a WiFi transceiver. The transmission channels are corresponding to a number of data transmission modes. For example, one of the transmission modules  26  communicates with one of the receiving modules  31  to build a Bluetooth transmission channel corresponding to a Bluetooth transmission mode. Another one of the transmission modules  26  communicates with another one of the receiving modules  31  to build a WiFi transmission channel corresponding to a WiFi transmission mode. 
         [0010]    The storage module  21  is configured to store data. The channel control module  23  is configured to provide manually selectable transmission modes and determine transmission channels and transmission modules  26  corresponding to selected transmission modes. The data split module  22  is configured to split a piece of data to be transmitted to a number of data segments. The number of the data segments is equal to the number of the determined transmission channels. The data segments are to be transmitted via the determined transmission channels. A size of each data segment is determined by a size of the piece of data and transmission speeds corresponding to the determined transmission channels, in order that transmissions in the determined transmission channels can be completed generally at the same time. 
         [0011]    For example, the size of the piece of data is M. The determined transmission channels include three channels and the transmission speeds corresponding to the three channels are respectively a 1  bit/s, a 2  bit/s and a 3  bit/s. Correspondingly, the data split module  22  splits the data to three data segments and the size of the three data segments are respectively M×a 1 /(a 1 +a 2 +a 3 ), M×a 2 /(a 1 +a 2 +a 3 ) and M×a 3 /(a 1 +a 2 +a 3 ). Thus, the time to complete the transmission of each data segment via the corresponding determined transmission channel is M/(a 1 +a 2 +a 3 ), and the time to complete the transmission of the whole piece of data is also M/(a 1 +a 2 +a 3 ). 
         [0012]    The data split module  22  is further configured to label a sequence number to each data segment. The data distribution module  24  is configured to distribute the labeled data segments to corresponding transmission modules  26  corresponding to the determined transmission channels to transmit the corresponding labeled data segments to the corresponding receiving module  31  via the corresponding determined transmission channels. 
         [0013]    The receiving modules  31  corresponding to the determined transmission module  26  receive the corresponding labeled data segments. The data receiving device  30  further includes a data combination module  32 . The data combination module  32  is configured to identify the sequence number of each labeled data segment and combine the labeled data segments according to the sequence numbers to recover the data. 
         [0014]    In another exemplary embodiment, the data transmission device  20  further includes a transmission determining module  25 . The transmission determining module  25  is configured to detect each transmission module  26  to determine whether the transmission module  26  completes the transmission of the corresponding data segment. The channel control module  23  is further configured to close the transmission module  26  to disconnect the transmission channel corresponding to the transmission module  26  when the transmission module  26  completes the transmission of the corresponding data segment. 
         [0015]      FIG. 2  shows a flowchart of a method for transmitting data via multi-channel communications. 
         [0016]    In step S 40 , the channel control module  23  provides transmission modes to be selected and determines transmission channels and transmission modules  26  corresponding to the selected transmission modes. 
         [0017]    In step S 41 , the data split module  22  splits a piece of data to be transmitted to a number of data segments. The number of the data segments is the same as the number of the determined transmission channels. The size of each data segment is determined by the size of the data and transmission speeds corresponding to the determined transmission channels, in order that transmissions in the determined transmission channels can be completed generally at the same time. 
         [0018]    For example, the size of the piece of data is M. The determined transmission channels include three channels and the transmission speeds corresponding to the three channels are respectively a 1  bit/s, a 2  bit/s and a 3  bit/s. Correspondingly, the data split module  22  splits the data to three data segments and the size of the three data segments are respectively M×a 1 /(a 1 +a 2 +a 3 ), M×a 2 /(a 1 +a 2 +a 3 ) and M×a 3 /(a 1 +a 2 +a 3 ). Thus, the time to complete the transmission of each data segment via the corresponding determined transmission channel is M/(a 1 +a 2 +a 3 ), and the time to complete the transmission of the whole piece of data is also M/(a 1 +a 2 +a 3 ). 
         [0019]    In step S 42 , the data split module  22  labels a sequence number to each data segment. 
         [0020]    In step S 43 , the data distribution module  24  distributes the labeled data segments to the corresponding determined transmission modules  26 . 
         [0021]    In step S 44 , the determined transmission modules  26  transmit the corresponding labeled data segments via the corresponding determined transmission channels. 
         [0022]    In step S 45 , the transmission determining module  25  detects each transmission module  26  to determine whether the transmission module  26  completes the transmission of the corresponding data segment. If the transmission module  26  completes the transmission of the corresponding data segment, the process goes to S 46 . Otherwise the process goes to S 44 . 
         [0023]    In step S 46 , the receiving modules corresponding to the determined transmission channels receives the corresponding labeled data segments. 
         [0024]    In step S 47 , the data combination module  32  identifies the sequence number of each labeled data segment and combines the labeled data segments according to the sequence numbers to recover the data. 
         [0025]    In step S 48 , the channel control module  23  closes the transmission module  26  to disconnect the transmission channel corresponding to the transmission module  26 . 
         [0026]    It is to be understood, however, that even though numerous characteristics and advantages of the present disclosure have been set fourth in the foregoing description, together with details of the structure and function of the present disclosure, the present disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.