Background technology
Along with the development of WiMAX access technology and WLAN (WLAN) technology, WiMAX access technology and WLAN move towards to merge the main flow development trend of the communication technology system that is future.The fusion of wireless wideband access network and WLAN will be experienced to the provide convenience mobile service of two-forty of mobile subscriber, will become the main flow trend of future mobile communications business development.Wireless access technology comprises EDGE (Enhanced Data Rate for GSM Evolution; The enhanced data rates for gsm evolution technology), HSDPA (High Speed Downlink PacketAccess; The high-speed downlink packet access), HSUPA (High Speed Uplink PacketAccess, High Speed Uplink Packet inserts) or the like.
Present two kinds of main application scenarioss are: 1, on local area network (LAN), for example, using WIFI (Wireless Fidelity, wireless compatible authentication) to be Client (client) is data cassette tape WIFIClient function, with 3G (3
RdGeneration; 3G (Third Generation) Moblie) networking of wireless wide area network and broadband access such as; At this moment, data card can provide data service through 3G is up, also can be through WIFI visit AP (Access Point; Wireless network bridge) (for example xDSL (digital subscriber line of any kind) gateway) obtains data service from the xDSL passage; 2, on local area network (LAN), for example use WIFI to be AP, with the networking of 3G network, i.e. data cassette tape WIFIAP function, this moment, data card provided data service through 3G is up, and miscellaneous equipment is through WIFI visit data card, thus obtain data service.
The inventor is in realizing process of the present invention; Find to have following problem at least in the prior art: in above-mentioned two kinds of application scenarioss, because USB interface can only provide the 500mA electric current, and wireless wide area network generally needs about 400mA when inserting the transmission data; And also need about 400mA during WIFI local area network (LAN) transmission data; Because both are integrated on the data card, if two network channels transmit data simultaneously, the operating current of this data card will reach about 800mA so; Electric current is the power supply capacity of USB interface head and shoulders above, and the power supply capacity of single USB interface can't satisfy equipment work.
Summary of the invention
In view of the problem that exists in the prior art; The purpose of the embodiment of the invention is to provide a kind of data transmission method and corresponding device thereof and terminal, the powerup issue when using single USB interface just can satisfy when carrying out the online transfer of data of wide area network and local simultaneously to solve to transmit.
The embodiment of the invention provides a kind of data transmission method, comprising:
Be a plurality of data blocks with the deblocking on wide area network passage waiting for transmission and the local Netcom road respectively;
Transmit the said data block on said wide area network passage and the local Netcom road at times, wherein, in each period, transmit said wide area network passage and the local Netcom road said data block on one of them.
The embodiment of the invention provides a kind of data transmission device on the other hand, comprises terminal and data card, and said terminal is connected through USB interface with said data card,
In said terminal and the said data card at least one is provided with data management module, and being used for is a plurality of data blocks with the deblocking on wide area network passage waiting for transmission and the local Netcom road respectively; With the timesharing transport module, be used for transmitting at times the said data block on said wide area network passage and the local Netcom road.
The another aspect of the embodiment of the invention provides a kind of data transmission terminal, comprising:
Data management module, being used for is a plurality of data blocks with the deblocking on wide area network passage waiting for transmission and the local Netcom road respectively; With the timesharing transport module, be used for transmitting at times the said data block on said wide area network passage and the local Netcom road.
The beneficial effect of the embodiment of the invention is; Adopt the data on concentrated controling management wide area network and the local Netcom road; Reduce the power consumption of communication equipment through timesharing transmission wide area network and the data on the local Netcom road, make only just can solve the powerup issue that multi-channel data transmits with a USB interface.
Embodiment
Below in conjunction with accompanying drawing the present invention is done to describe in detail further.
Fig. 1 is the flow chart of data transmission method embodiment one provided by the invention.This flow chart may further comprise the steps:
Step S101 is a plurality of data blocks with the deblocking on wide area network passage waiting for transmission and the local Netcom road respectively;
Step S102 transmits the said data block on said wide area network passage and the local Netcom road at times, wherein, in each period, transmits said wide area network passage and the local Netcom road said data block on one of them.
In the embodiment of the invention; Data waiting for transmission on concentrated controling management wide area network passage and the local Netcom road; After promptly respectively the data of two passages being carried out formation; Respectively the data of each formation are carried out piecemeal again and handle and to obtain a plurality of data blocks, data on timesharing serial transmission two passages again are to reduce the power consumption on the communication equipment.
HSDPA is that bandwidth is bigger in the present WiMAX access technology; Use commonplace 3G technology; Also be a large amount of technology of using of data card terminal, WIFI is a local area network (LAN) commonly used at present, and the end product that the HSDPA wide area network is combined with the WIFI local area network (LAN) is the typical application of this invention technology.Below be that example is carried out detailed explanation to execution mode of the present invention with the transfer of data on HSDPA wide area network and the WIFI local area network (LAN).
Fig. 2 is the flow chart of data transmission method embodiment two provided by the invention.This flow chart may further comprise the steps:
Step S21 carries out formation with the data on HSDPA wide area network and the WIFI local area network (LAN) passage respectively;
Step S22 carries out piecemeal with the data on HSDPA wide area network after the formation and the WIFI local area network (LAN) passage respectively, for example is that unit carries out piecemeal with 100BYTE;
Step S23, the data block on above-mentioned HSDPA wide area network of buffer memory and the WIFI local area network (LAN) passage;
Step S24 carries out the timesharing transmission with the data block on HSDPA wide area network and the WIFI local area network (LAN) passage.At times the data block on HSDPA wide area network and the WIFI local area network (LAN) passage is transmitted; Guarantee in each period; Only transmit one data in HSDPA wide area network and the WIFI local area network (LAN) passage, guarantee the timesharing serial transmission of the data on HSDPA wide area network and the WIFI local area network (LAN) passage.
Fig. 3 is the flow chart before the data of transmitting in the embodiment of the invention two on wide area network (is example with the HSDPA) passage; This flow chart may further comprise the steps:
Step S301 carries out formation with data to be sent on the HSDPA wide area network passage, is divided into data block then, for example is unit with 100BYTE;
Step S302 judges whether data block number waiting for transmission is 0, if data block number waiting for transmission is 0; Then execution in step S303 finishes the operation of this flow process, if data block number waiting for transmission is not 0; Execution in step S304 then, data block to be sent on the buffer memory HSDPA wide area network passage.
Fig. 4 is the flow chart before the data of transmitting in the embodiment of the invention two on local area network (LAN) (is example with the WIFI) passage; This flow chart may further comprise the steps:
Step S401 carries out formation with data to be sent on the WIFI local area network (LAN) passage, is divided into data block then, for example is unit with 100BYTE;
Step S402 judges whether data block number waiting for transmission is 0, if data block number waiting for transmission is 0; Then execution in step S403 finishes the operation of this flow process, if data block number waiting for transmission is not 0; Execution in step S404 then, data block to be sent on the buffer memory WIFI local area network (LAN) passage.
Fig. 5 is the flow chart that transmits the data on wide area network passage and the local Netcom road in the embodiment of the invention two; This flow chart may further comprise the steps:
Step S501; Confirm the data on transmission HSDPA wide area network passage or the WIFI local area network (LAN) passage according to preset weight, the weight of the amount of the data block in each period on transmission HSDPA wide area network passage or the WIFI local area network (LAN) passage can be provided with according to the needs of actual motion;
What suppose current period transmission is the data block on the HSDPA wide area network passage, and step S502 is after the transmission of data blocks on this period is accomplished; With triggering to judge whether the data block on the WIFI local area network (LAN) passage exists, if existence, then step S504; Data block on the transmission WIFI local area network (LAN) passage; If do not exist, promptly the data on the WIFI local area network (LAN) passage are empty, then execution in step S503;
What suppose current period transmission is the data block on the WIFI local area network (LAN) passage, and step S503 is after the transmission of data blocks on this period is accomplished; Judge with triggering whether the data block on the HSDPA wide area network passage exists; If exist, then step S505 transmits the data block on the HSDPA wide area network passage; If do not exist, execution in step S502 then; So back and forth carry out until the transmission of accomplishing data.
Can adopt mode alternately to carry out for the transmission of the data block on data block on the HSDPA wide area network passage and the WIFI local area network (LAN) passage; Be that every transmission finishes after the data block on the HSDPA wide area network passage; Just change to the data block on another passage of transmission next time; It is the data block on the WIFI local area network (LAN) passage; This over-over mode can be regarded weight as and respectively account for 50%, and perhaps transmission means can be transmitted according to HSDPA wide area network data and the shared weight of WIFI LAN data preset in the actual conditions.
A kind of data transmission device that the present invention also provides; Comprise terminal (like PC, mobile phone or the like) and data card (as data card) with WIFI function; The terminal is connected through USB interface with data card; Wherein at least one is provided with data management module in PC and the WIFI data card, and being used for is a plurality of data blocks with the deblocking on wide area network passage waiting for transmission and the local Netcom road respectively; With the timesharing transport module, be used for transmitting the said data block on said wide area network passage and the local Netcom road at times, in each period, one or more data blocks of one of transmitting in two kinds of passages.Only PC is provided with data management module and timesharing transport module; Also only the WIFI data card is provided with data management module and timesharing transport module, can also on PC and WIFI data card, all be provided with data management module and timesharing transport module simultaneously.Wherein can also comprise data allocations module and memory module in the data management module; The amount of the said data block that the data allocations module is used for confirming to transmit in each period according to the preset weight of the data on said wide area network passage and the local Netcom road, memory module is used for the data block on wide area network passage waiting for transmission and the local Netcom road is carried out buffer memory.
Fig. 6 is the structural representation of an embodiment of data transmission device provided by the invention.As shown in the figure, WIFI data card 62 is connected with PC 61 through usb interface module 64.Among this embodiment, be provided with data management module 65 and timesharing transport module 66 in the transceiver module 63 of WIFI data card 62.Data on 65 pairs of wide area network passages waiting for transmission of data management module and the local Netcom road (the for example data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage) are carried out concentrated controling management; Promptly the data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage are carried out formation and piecemeal, to guarantee two kinds of data block timesharing serial transmissions on the passage; Timesharing transport module 66 is used for transmitting the data block on HSDPA wide area network passage and the WIFI local area network (LAN) passage at times, in each period, and one or more data blocks of one of only transmitting in two kinds of passages.Also can comprise data allocations module 1011 and memory module 1012 in the data management module 65; See Figure 10; The amount of the data block on the different passages that data allocations module 1011 is confirmed to transmit in each period according to the preset weight of the data on HSDPA wide area network passage and the WIFI local area network (LAN) passage, memory module 1012 is used for the data block on HSDPA wide area network passage waiting for transmission and the WIFI local area network (LAN) passage is carried out buffer memory.It is high with the efficient of timesharing transport module 66 timesharing transmission that data management module 65 is set in WIFI data card 62.
Fig. 7 is the structural representation of another embodiment of data transmission device provided by the invention.As shown in the figure, WIFI data card 72 is connected with PC 71 through usb interface module 74.Among this embodiment; In the data server 75 of PC 71, be provided with data management module 76 and timesharing transport module 77; Data on 76 pairs of wide area network passages waiting for transmission of data management module and the local Netcom road (the for example data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage) are carried out concentrated controling management; Promptly the data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage are carried out formation and piecemeal, to guarantee two kinds of data block timesharing serial transmissions on the passage; Timesharing transport module 77 is used for transmitting the data block on HSDPA wide area network passage and the WIFI local area network (LAN) passage at times, in each period, and one or more data blocks of one of only transmitting in two kinds of passages.Also can comprise data allocations module 1011 and memory module 1012 in the data management module 75; See Figure 10; The amount of the data block on the different passages that data allocations module 1011 is confirmed to transmit in each period according to the preset weight of the data on HSDPA wide area network passage and the WIFI local area network (LAN) passage, memory module 1012 is used for the data block on HSDPA wide area network passage waiting for transmission and the WIFI local area network (LAN) passage is carried out buffer memory.Data management module and timesharing transport module are set on PC, and efficiency of transmission is low relatively, but can reduce the cost of data card greatly.
Fig. 8 is the structural representation of the another embodiment of data transmission device provided by the invention.As shown in the figure, WIFI data card 82 is connected with PC 81 through usb interface module 84.Among this embodiment, in the data server 87 of transceiver module of WIFI data card 82 83 and PC 81, all be provided with data management module 85,88 and timesharing transport module 86,89.Data on 85,88 pairs of wide area network passages waiting for transmission of data management module and the local Netcom road (the for example data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage) are carried out concentrated controling management; Promptly the data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage are carried out formation and piecemeal, to guarantee two kinds of data block timesharing serial transmissions on the passage; Timesharing transport module 96,99 is used for transmitting the data block on HSDPA wide area network passage and the WIFI local area network (LAN) passage at times, in each period, and one or more data blocks of one of only transmitting in two kinds of passages.Also can comprise data allocations module 1011 and memory module 1012 in the data management module 95,98; See Figure 10; The amount of the data block on the different passages that data allocations module 1011 is confirmed to transmit in each period according to the preset weight of the data on HSDPA wide area network passage and the WIFI local area network (LAN) passage, memory module 1012 is used for the data block on HSDPA wide area network passage waiting for transmission and the WIFI local area network (LAN) passage is carried out buffer memory.
Fig. 9 is the structural representation of the embodiment of data transmission terminal provided by the invention.Be provided with data management module 93 and timesharing transport module 94 in the transceiver module 92 at terminal 91.Data on 93 pairs of wide area network passages waiting for transmission of data management module and the local Netcom road (the for example data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage) are carried out concentrated controling management; Promptly the data on data on the HSDPA wide area network passage and the WIFI local area network (LAN) passage are carried out formation and piecemeal, to guarantee two kinds of data block timesharing serial transmissions on the passage; Timesharing transport module 94 is used for transmitting the data block on HSDPA wide area network passage and the WIFI local area network (LAN) passage at times, in each period, and one or more data blocks of one of only transmitting in two kinds of passages.Also can comprise data allocations module 1011 and memory module 1012 in the data management module 93; See Figure 10; The amount of the data block on the different passages that data allocations module 1011 is confirmed to transmit in each period according to the preset weight of the data on HSDPA wide area network passage and the WIFI local area network (LAN) passage, memory module 1012 is used for the data block on HSDPA wide area network passage waiting for transmission and the WIFI local area network (LAN) passage is carried out buffer memory.
Certainly; The present invention also can have other execution modes; Under the situation that does not deviate from spirit of the present invention and essence thereof; The person of ordinary skill in the field works as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of claim of the present invention.