CN105357139A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN105357139A
CN105357139A CN201510728271.3A CN201510728271A CN105357139A CN 105357139 A CN105357139 A CN 105357139A CN 201510728271 A CN201510728271 A CN 201510728271A CN 105357139 A CN105357139 A CN 105357139A
Authority
CN
China
Prior art keywords
data
forwarding device
network interface
interface card
receiver
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
CN201510728271.3A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510728271.3A priority Critical patent/CN105357139A/en
Publication of CN105357139A publication Critical patent/CN105357139A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/13Flow control; Congestion control in a LAN segment, e.g. ring or bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a data transmission method and device. The data transmission method comprises the steps of determining whether the speed of a local first network card is greater than that of a second network card at a receiving side; when the speed of the first network card is greater than that of the second network card and a residual local network bandwidth exists, transmitting first data of to-be-transmitted data to the receiving side and transmitting second data of the to-be-transmitted data to a data forwarding device, wherein the first data and the second data compose the to-be-transmitted data; and forwarding the second data which have not been transmitted from the data transmitting side to the data receiving side to the data receiving side through the data forwarding device. According to the technical scheme, the second data of the to-be-transmitted data are transmitted to the data forwarding device while the first data of the to-be-transmitted data are transmitted to the data receiving side so as to finish transmission of the to-be-transmitted data through a double-line transmission channel, so that the utilization rate of the local bandwidth is increased, the data transmission time of the data transmitting side is shortened, and the usage time and working life of the battery of the data transmitting side are prolonged.

Description

Data transmission method and device
Technical field
The disclosure relates to data technique field, particularly relates to data transmission method and device.
Background technology
At present, local area network (LAN) transmitting file is a very basic function, and lan device can be allowed to enjoy a lot of transmission speed faster than Internet.Traditional file transfer sets up a direct channel between devices, and transmission speed is by equipment network interface card, netting twine, router network interface, WiFi signal intensity, WiFi protocol type etc.Along with popularizing of 802.11.ac agreement, transmission speed between distinct device will there will be very large difference, when the sending ending equipment of a such as 11.ac (1Gbps) gives the receiving device transmitting file of a 11.g (54Mbps), owing to being limited to the transmission speed of receiving device, the transmission speed of sending ending equipment is 54Mbps at the soonest, for the sending ending equipment of 11.ac, its bandwidth availability ratio only has 5.4%, and need transmission time of growing very much, do not reach expection far away.
Summary of the invention
Disclosure embodiment provides data transmission method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of data transmission method is provided, comprises:
Determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
When described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, described first data and described second data form described outgoing data;
Do not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device;
Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device;
Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
A part of data block in described at least two data blocks is sent to described data receiver;
The remaining data block removed beyond described a part of data block in described at least two data blocks is sent to described data forwarding device.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
According to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device.
In one embodiment, when described data forwarding device is one, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
While described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed,
Wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
It is in one embodiment, when described data forwarding device is at least two, described according to described first network interface card speed and described second network interface card speed,
While described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
Determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
In one embodiment, describedly determine that the first transmission rate of described first data comprises:
Determine that described first transmission rate is described second network interface card speed;
Described when determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device comprises:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device;
Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
According to the second aspect of disclosure embodiment, a kind of another data transmission method is provided, comprises:
Obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein,
Described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receive described second data that described data receiver sends;
Store described second data.
In one embodiment, described method also comprises:
Described second data are sent to described data receiver.
According to the third aspect of disclosure embodiment, a kind of data transmission device is provided, comprises:
Determination module, for determining whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
Sending module, for be greater than described second network interface card speed when described first network interface card speed and described local network bandwidth has a residue time, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, described first data and described second data form described outgoing data;
Forwarding module, for not sending to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
In one embodiment, described sending module also comprises:
First segmentation submodule, for being divided at least two data blocks by described outgoing data;
First sends submodule, for
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device;
Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device; Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
In one embodiment, described sending module also comprises:
Second segmentation submodule, for being divided at least two data blocks by described outgoing data;
Second sends submodule, for a part of data block in described at least two data blocks is sent to described data receiver;
3rd sends submodule, for the remaining data block removed beyond described a part of data block in described at least two data blocks is sent to described data forwarding device.
In one embodiment, described sending module also comprises:
4th sends submodule, for according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, sends described second data to described data forwarding device.
In one embodiment, described 4th send submodule also for:
When described data forwarding device is one, while described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
In one embodiment, described 4th send submodule also for:
When described data forwarding device is at least two, determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
In one embodiment, described 4th send submodule also for:
Determine that described first transmission rate is described second network interface card speed;
Described 4th send submodule also for:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device;
Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device,
Wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
According to the fourth aspect of disclosure embodiment, another kind of data transmission device is provided, comprises:
Acquisition module, for the second network interface card speed of the first network interface card speed and data receiver that obtain data receiver;
Judge module, for judging whether described first network interface card speed is greater than described second network interface card speed, and is sent to described data receiver by judged result;
Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receiver module, for receiving described second data that described data receiver sends;
Memory module, for storing described second data.
In one embodiment, described device also comprises:
Sending module, for being sent to described data receiver by described second data.
According to the 5th aspect of disclosure embodiment, provide another data transmission device, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Wherein, described processor is configured to:
Determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
When described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, described first data and described second data form described outgoing data;
Do not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
According to the 6th aspect of disclosure embodiment, provide another data transmission device, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receive described second data that described data receiver sends;
Store described second data.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The technical scheme that embodiment of the present disclosure provides, when the first network interface card speed is greater than the second network interface card speed, illustrate that data receiver is high-speed network appliance, data receiver is slow network equipment, the maximum data transfer rate of data receiver is greater than the maximum data transfer rate of data receiver, therefore, when outgoing data is sent to data receiver by data receiver, if outgoing data is directly all sent to data receiver by means of only single wire transmission passage, the message transmission rate of data receiver can because be limited to the second network interface card speed of data receiver, and reduce the utilance in local broadband and increase the data transmission period of data receiver, therefore, while send the first data in outgoing data to data receiver, the second data in outgoing data can be sent to data forwarding device, to be completed the transmission of outgoing data by Double wire transmission passage, thus improve the utilance of local bandwidth, shorten the data transmission period of data receiver and extend service time of battery and the useful life of data receiver.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of data transmission method according to an exemplary embodiment.
Fig. 2 is the flow chart of the another kind of data transmission method according to an exemplary embodiment one.
Fig. 3 is the flow chart of another data transmission method according to an exemplary embodiment one.
Fig. 4 is the flow chart of another data transmission method according to an exemplary embodiment one.
Fig. 5 is the flow chart of another data transmission method according to an exemplary embodiment one.
Fig. 6 is the flow chart of another data transmission method according to an exemplary embodiment one.
Fig. 7 is the flow chart of another data transmission method according to an exemplary embodiment one.
Fig. 8 is the flow chart of another data transmission method according to an exemplary embodiment one.
Fig. 9 is the flow chart of another data transmission method according to an exemplary embodiment one.
Figure 10 is the flow chart of another data transmission method according to an exemplary embodiment one.
Figure 11 is the flow chart of another data transmission method according to an exemplary embodiment one.
Figure 12 is the block diagram of a kind of data transmission device according to an exemplary embodiment.
Figure 13 is the block diagram of the another kind of data transmission device according to an exemplary embodiment.
Figure 14 is the block diagram of another data transmission device according to an exemplary embodiment.
Figure 15 is the block diagram of another data transmission device according to an exemplary embodiment.
Figure 16 is the block diagram of another data transmission device according to an exemplary embodiment.
Figure 17 is the block diagram of another data transmission device according to an exemplary embodiment.
Figure 18 is the block diagram that being applicable to according to an exemplary embodiment refers to data transmission device.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
At present, along with popularizing of 802.11.ac agreement, transmission speed between distinct device will there will be very large difference, when the sending ending equipment of a such as 11.ac (1Gbps) gives the receiving device transmitting file of a 11.g (54Mbps), owing to being limited to the transmission speed of receiving device, the transmission speed of sending ending equipment is 54Mbps at the soonest, for the sending ending equipment of 11.ac, its bandwidth availability ratio only has 5.4%, and need transmission time of growing very much, do not reach expection far away.
In order to solve the problems of the technologies described above, disclosure embodiment provides a kind of data transmission method, and the method can be used in data distributing program, system or device, as shown in Figure 1, and the method comprising the steps of S101-S103:
In step S101, determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver, when determining whether the first local network interface card speed is greater than the second network interface card speed of data receiver, the local second network interface card speed that independently can detect the first network interface card speed and data receiver, then independently determine whether the first network interface card speed is greater than the second network interface card speed of data receiver according to testing result, whether the first network interface card speed that can certainly receive this locality that data forwarding device sends is greater than the judged result of the second network interface card speed of data receiver, then determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver according to this judged result.
In step s 102, when the first network interface card speed is greater than the second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to data receiver, send the second data in outgoing data to data forwarding device, described first data and described second data form described outgoing data;
When the first network interface card speed is greater than the second network interface card speed, illustrate that data receiver is high-speed network appliance, data receiver is slow network equipment, the maximum data transfer rate of data receiver is greater than the maximum data transfer rate of data receiver, therefore, when outgoing data is sent to data receiver by data receiver, if outgoing data is directly all sent to data receiver by means of only single wire transmission passage, the message transmission rate of data receiver can because be limited to the second network interface card speed of data receiver, and reduce the utilance in local broadband and increase the data transmission period of data receiver, therefore, while send the first data in outgoing data to data receiver, if local network bandwidth has residue, the second data in outgoing data then can be sent to data forwarding device, to be completed the transmission of outgoing data by Double wire transmission passage, thus improve the utilance of local bandwidth, shorten the data transmission period of data receiver and extend service time of battery and the useful life of data receiver.
In step s 103, do not send to second data retransmission of data receiver to data receiver data receiver by data forwarding device.
To directly not send to second data retransmission of data receiver to data receiver by data forwarding device, the complete outgoing data that data receiver can receive data receiver and sends can be guaranteed, certainly, if the message transmission rate of data forwarding device support is greater than the first network interface card speed, now the first data also can be empty, namely outgoing data is all transmitted to data forwarding device by data receiver, still outgoing data is sent to data receiver indirectly by single channel, in this case, message transmission rate due to data forwarding device support is greater than the first network interface card speed, therefore, still the data transmission period of data receiver can be shortened, improve the bandwidth availability ratio of data receiver.
As shown in Figure 2, in one embodiment, above-mentioned steps S102 can be performed as:
In steps A 1, outgoing data is divided at least two data blocks;
In steps A 2, from the data header of outgoing data, the direction block-by-block along data header to data trailer sends data block to data receiver; From the data trailer of outgoing data, the direction block-by-block along data trailer to data header sends data block to data forwarding device;
After outgoing data is divided at least two data blocks, data block can be sent by direction block-by-block along from data header to data trailer to data receiver, send data block along the direction block-by-block towards data trailer to data header to data forwarding device simultaneously, thus make it possible to along two contrary directions, whole outgoing data be sent, also can avoid repeating to send.
Or
As shown in Figure 3, in one embodiment, above-mentioned steps S102 can be performed as:
In steps A 1, outgoing data is divided at least two data blocks;
In steps A 3, from the data trailer of outgoing data, the direction block-by-block along data trailer to data header sends data block to data receiver; From the data header of outgoing data, the direction block-by-block along data header to data trailer sends data block to data forwarding device;
Wherein, the data block sending to data receiver and the data block sending to data forwarding device form at least two data blocks.
Certainly, after outgoing data is divided at least two data blocks, data block can also be sent by direction block-by-block along from data trailer to data header to data receiver, direction block-by-block simultaneously along from data header to data trailer sends data block to data forwarding device, thus make it possible to along two contrary directions, whole outgoing data be sent, also can avoid repeating to send.
As shown in Figure 4, in one embodiment, above-mentioned steps S102 can be performed as:
In steps A 1, outgoing data is divided at least two data blocks;
In steps A 4, a part of data block at least two data blocks is sent to data receiver;
In steps A 5, the remaining data block removed at least two data blocks beyond a part of data block is sent to data forwarding device.
After outgoing data is divided at least two data blocks, can also in these at least two data blocks, extract diverse data block and be sent to data receiver and data forwarding device respectively, thus make it possible to the different pieces of information block in whole outgoing data all to send, also can avoid repeating to send.
As shown in Figure 5, in one embodiment, above-mentioned steps S102 can be performed as:
In step bl is determined., according to the first network interface card speed and the second network interface card speed, while the first data are sent to data receiver, the second data are sent to data forwarding device.
The transmission rate of the first data directly transferring to data receiver can be determined according to the first network interface card speed and the second network interface card speed, and transfer to the transmission rate of the second data of data forwarding device, therefore, according to the first network interface card speed and the second network interface card speed can as much as possible fast first data are sent to data receiver while, the second data are sent to data forwarding device, thus farthest shorten the data transmission period of data receiver, and improve bandwidth availability ratio.
As shown in Figure 6, in one embodiment, when data forwarding device is one, above-mentioned steps S102 can be performed as:
In step C1, while the first data being sent to data receiver with the second network interface card speed, second data are sent to data forwarding device according to target transmission speed, wherein, target transmission speed equals the difference between the first network interface card speed and the second network interface card speed, and the message transmission rate of data forwarding device support is more than or equal to target transmission speed.
When data forwarding device is one, the data that data receiver sends directly are received soon in order to ensure data receiver is many as far as possible, need with the second network interface card speed by the first data full speed transfer to data receiver, simultaneously, in order to ensure can saving the data transmission period of data receiver most possibly and improving the utilance of bandwidth, the second data are needed to be sent to data forwarding device according to target transmission speed, certainly, data forwarding device can be the router with selecting paths, also can be a common terminal, but no matter data forwarding device specifically what equipment, can implement smoothly in order to ensure scheme, the message transmission rate of this routing forwarding device support must be more than or equal to this target transmission speed.
As shown in Figure 7, in one embodiment, when data forwarding device is at least two, above-mentioned steps S102 can be performed as:
In step C2, determine the first transmission rate of the first data;
In step C3, when determining the different piece data parallel in the second data to be sent to each data forwarding device, each self-corresponding second transmission rate of each data forwarding device;
In step C4, while the first data are sent to data receiver according to the first transmission rate, the different piece data in the second data are sent to corresponding each data forwarding device according to the second transmission rate of correspondence respectively.
When data forwarding device is at least two, the first transmission rate of the first data can be determined respectively, when being sent to each data forwarding device with the data of the different piece in the second data, each self-corresponding second transmission rate of each data forwarding device, then the first data are sent to data receiver according to the first transmission rate, different piece data in second data are sent to corresponding each data forwarding device according to the second transmission rate of correspondence respectively simultaneously, thus farthest shorten to the greatest extent the data transmission period of data receiver, and improve bandwidth availability ratio.
As shown in Figure 8, in one embodiment, above-mentioned steps C2 can be performed as:
In step D1, determine that the first transmission rate is the second network interface card speed; Directly receive the data that data receiver sends soon in order to ensure data receiver is many as far as possible, the first transmission rate should equal the second network interface card speed.
Above-mentioned steps C3 can be performed as:
In step d 2, each self-corresponding second transmission rate of each data forwarding device is determined according to the message transmission rate of target transmission speed and each self-supporting of each data forwarding device;
When determining each self-corresponding second transmission rate of each data forwarding device, the message transmission rate of target transmission speed and each data forwarding device support can be compared, to guarantee that the second data can be sent to each data forwarding device with the shortest transmission time, such as: when remaining bandwidth is enough large, when target transmission speed is greater than the message transmission rate of each data forwarding device support, when sending a part of data in the second data to each data forwarding device, guarantee that each self-corresponding second transmission rate of each data forwarding device is the message transmission rate self supported.Or
As shown in Figure 9, above-mentioned steps C3 also can be performed as:
In step D3, total number according to target transmission speed and each data forwarding device determines each self-corresponding second transmission rate of each data forwarding device, wherein, target transmission speed equals the difference between the first network interface card speed and the second network interface card speed, and the message transmission rate sum of each self-supporting of each data forwarding device is more than or equal to target transmission speed.
Certainly, when determining each self-corresponding second transmission rate of each data forwarding device, each self-corresponding second transmission rate of each data forwarding device can also be determined, such as: can determine that each self-corresponding second transmission rate of each data forwarding device is equal to the business of the total number of target transmission speed and each data forwarding device according to the total number of target transmission speed and each data forwarding device.
As shown in Figure 10, disclosure embodiment provides another kind of data transmission method, for data forwarding device, comprising:
In step S1001, obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
In step S1002, judge whether the first network interface card speed is greater than the second network interface card speed, and judged result is sent to data receiver; Wherein, data receiver is used for when determining according to judged result that the first network interface card speed is greater than the second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to data receiver, send the second data in outgoing data to data forwarding device, and described first data and described second data form described outgoing data; Data receiver is convenient to when determining according to judged result that the first network interface card speed is greater than the second network interface card speed and local bandwidth has a residue by judged result being sent to data receiver, while sending the first data in local outgoing data to data receiver, the second data in outgoing data are sent to this data forwarding device, to shorten the data transmitting time of data receiver, and improve the network bandwidth utilization factor of data receiver.
In the step s 1003, the second data that data receiver sends are received;
In step S1004, store the second data.After the second data receiving data receiver transmission, be not necessarily connected with data forwarding device because data receiver is current, therefore, the second data can be stored, so that afterwards the second data are sent to data receiver.
As shown in figure 11, in an embodiment, said method also can comprise:
In step S1101, the second data are sent to data receiver.
By the second data are sent to data receiver, the first data directly received in outgoing data and these second data can be synthesized by data receiver, to obtain complete outgoing data, certainly, when the second data are sent to data receiver, the transmission of the second data can be carried out by WIFI, mobile network, bluetooth, the mode such as infrared.
The above-mentioned data transmission method that corresponding disclosure embodiment provides, disclosure embodiment also provides a kind of data transmission device, as shown in figure 12, this device comprises: determination module 1201, is configured to determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
Sending module 1202, be configured to when described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, and described first data and described second data form described outgoing data;
Forwarding module 1203, is configured to not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
As shown in figure 13, in an embodiment, described sending module 1202 comprises:
First segmentation submodule 12021, is configured to described outgoing data to be divided at least two data blocks;
First sends submodule 12022, is configured to
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device; Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device; Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
As shown in figure 14, in an embodiment, described sending module 1202 also comprises:
Second segmentation submodule 12023, is configured to described outgoing data to be divided at least two data blocks;
Second sends submodule 12024, is configured to a part of data block in described at least two data blocks to be sent to described data receiver;
3rd sends submodule 12025, is configured to the remaining data block removed beyond described a part of data block in described at least two data blocks to be sent to described data forwarding device.
As shown in figure 15, in an embodiment, described sending module 1202 also comprises:
4th sends submodule 12026, is configured to according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, sends described second data to described data forwarding device.
In an embodiment, the described 4th sends submodule 12026 is also configured to:
When described data forwarding device is one, while described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
In an embodiment, the described 4th sends submodule 12026 is also configured to:
When described data forwarding device is at least two, determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
In an embodiment, the described 4th sends submodule 12026 is also configured to:
Determine that described first transmission rate is described second network interface card speed;
Described 4th sends submodule 12026 is also configured to:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device; Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
As shown in figure 16, disclosure embodiment also provides another kind of data transmission device, and this device comprises:
Acquisition module 1601, is configured to obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge module 1602, is configured to judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein, described data receiver is configured to when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receiver module 1603, is configured to described second data receiving the transmission of described data receiver;
Memory module 1604, is configured to store described second data.
As shown in figure 17, in an embodiment, said apparatus also can comprise:
Sending module 1701, is configured to described second data to be sent to described data receiver.
According to the 5th aspect of disclosure embodiment, a kind of data transmission device is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, processor is configured to:
Determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
When described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, described first data and described second data form described outgoing data;
Do not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
Above-mentioned processor also can be configured to:
Described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device;
Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device;
Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
Above-mentioned processor also can be configured to:
Described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
A part of data block in described at least two data blocks is sent to described data receiver;
The remaining data block removed beyond described a part of data block in described at least two data blocks is sent to described data forwarding device.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
According to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device.
Above-mentioned processor also can be configured to:
When described data forwarding device is one, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
While described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
Above-mentioned processor also can be configured to:
When described data forwarding device is at least two, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
Determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
Above-mentioned processor also can be configured to:
Describedly determine that the first transmission rate of described first data comprises:
Determine that described first transmission rate is described second network interface card speed;
Described when determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device comprises:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device;
Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device,
Wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
According to the 6th aspect of disclosure embodiment, a kind of data transmission device is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, processor is configured to:
Obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receive described second data that described data receiver sends;
Store described second data.
In one embodiment, described method also comprises:
Described second data are sent to described data receiver.
Figure 18 is a kind of block diagram for data transmission device 1800 according to an exemplary embodiment, and this device is applicable to terminal equipment.Such as, device 1800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 18, device 1800 can comprise with next or at least two assemblies: processing components 1802, memory 1804, power supply module 1806, multimedia groupware 1808, audio-frequency assembly 1810, the interface 1812 of I/O (I/O), sensor cluster 1814, and communications component 1816.
The integrated operation of the usual control device 1800 of processing components 1802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1802 can comprise one or at least two processors 1820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1802 can comprise one or at least two modules, and what be convenient between processing components 1802 and other assemblies is mutual.Such as, processing unit 1802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1808 and processing components 1802.
Memory 1804 is configured to store various types of data to be supported in the operation of equipment 1800.The example of these data comprises for any storage object of operation on device 1800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1806 is device 1800 provide electric power.Electric power assembly 1806 can comprise power-supply management system, one or at least two power supplys, and other and the assembly generating, manage and distribute electric power for device 1800 and be associated.
Multimedia groupware 1808 is included in the screen providing an output interface between described device 1800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or at least two touch sensors with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1808 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1810 is configured to export and/or input audio signal.
Such as, audio-frequency assembly 1810 comprises a microphone (MIC), and when device 1800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1804 further or be sent via communications component 1816.In certain embodiments, audio-frequency assembly 1810 also comprises a loud speaker, for output audio signal.
I/O interface 1812 is for providing interface between processing components 1802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1814 comprises one or at least two transducers, for providing the state estimation of various aspects for device 1800.Such as, sensor cluster 1814 can detect the opening/closing state of equipment 1800, the relative positioning of assembly, such as described assembly is display and the keypad of device 1800, the position of all right checkout gear 1800 of sensor cluster 1814 or device 1800 assemblies changes, the presence or absence that user contacts with device 1800, the variations in temperature of device 1800 orientation or acceleration/deceleration and device 1800.Sensor cluster 1814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1816 is configured to the communication being convenient to wired or wireless mode between device 1800 and other equipment.Device 1800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1800 can by one or at least two methods application-specific integrated circuit (ASIC) (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, for performing said method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1804 of instruction, above-mentioned instruction can perform said method by the processor 1818 of device 1800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of said apparatus 1800, makes said apparatus 1800 need to perform a kind of data transmission method, comprising:
Determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
When described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, and described first data and described second data form described outgoing data;
Do not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device;
Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device;
Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
A part of data block in described at least two data blocks is sent to described data receiver;
The remaining data block removed beyond described a part of data block in described at least two data blocks is sent to described data forwarding device.
In one embodiment, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
According to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device.
In one embodiment, when described data forwarding device is one, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
While described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed,
Wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
In one embodiment, when described data forwarding device is at least two, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
Determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
In one embodiment, describedly determine that the first transmission rate of described first data comprises:
Determine that described first transmission rate is described second network interface card speed;
Described when determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device comprises:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device;
Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of said apparatus 1800, makes said apparatus 1800 also need to perform a kind of data transmission method, comprising:
Obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receive described second data that described data receiver sends;
Store described second data.
In one embodiment, described method also comprises:
Described second data are sent to described data receiver.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (20)

1. a data transmission method, for data receiver, is characterized in that, comprising:
Determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
When described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, and described first data and described second data form described outgoing data;
Do not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
2. method according to claim 1, is characterized in that, described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device; Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device;
Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
3. method according to claim 1, is characterized in that,
Described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
Described outgoing data is divided at least two data blocks;
A part of data block in described at least two data blocks is sent to described data receiver;
The remaining data block removed beyond described a part of data block in described at least two data blocks is sent to described data forwarding device.
4. according to the method in any one of claims 1 to 3, it is characterized in that,
Described the first data sent to described data receiver in outgoing data, send the second data in described outgoing data, comprising to data forwarding device:
According to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device.
5. method according to claim 4, is characterized in that,
When described data forwarding device is one, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
While described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
6. method according to claim 4, is characterized in that,
When described data forwarding device is at least two, described according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, send described second data to described data forwarding device, comprising:
Determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
7. method according to claim 6, is characterized in that,
Describedly determine that the first transmission rate of described first data comprises:
Determine that described first transmission rate is described second network interface card speed;
Described when determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device comprises:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device; Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
8. a data transmission method, for data forwarding device, is characterized in that, comprising:
Obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receive described second data that described data receiver sends;
Store described second data.
9. method according to claim 8, is characterized in that, described method also comprises:
Described second data are sent to described data receiver.
10. a data transmission device, for data receiver, is characterized in that, comprising:
Determination module, for determining whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
Sending module, for be greater than described second network interface card speed when described first network interface card speed and described local network bandwidth has a residue time, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, and described first data and described second data form described outgoing data;
Forwarding module, for not sending to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
11. devices according to claim 10, is characterized in that, described sending module comprises:
First segmentation submodule, for being divided at least two data blocks by described outgoing data;
First sends submodule, for
From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data receiver; From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data forwarding device; Or
From the data trailer of described outgoing data, the direction block-by-block along data trailer to data header sends data block to described data receiver; From the data header of described outgoing data, the direction block-by-block along data header to data trailer sends data block to described data forwarding device; Wherein, send to the data block of described data receiver with send to the data block of described data forwarding device form described at least two data blocks.
12. devices according to claim 10, is characterized in that,
Described sending module also comprises:
Second segmentation submodule, for being divided at least two data blocks by described outgoing data;
Second sends submodule, for a part of data block in described at least two data blocks is sent to described data receiver;
3rd sends submodule, for the remaining data block removed beyond described a part of data block in described at least two data blocks is sent to described data forwarding device.
13., according to claim 10 to the device according to any one of 12, is characterized in that, described sending module also comprises:
4th sends submodule, for according to described first network interface card speed and described second network interface card speed, while described first data are sent to described data receiver, sends described second data to described data forwarding device.
14. devices according to claim 13, is characterized in that,
Described 4th send submodule also for:
When described data forwarding device is one, while described first data being sent to described data receiver with described second network interface card speed, described second data are sent to described data forwarding device according to target transmission speed, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate of described data forwarding device support is more than or equal to described target transmission speed.
15. devices according to claim 13, is characterized in that,
Described 4th send submodule also for:
When described data forwarding device is at least two, determine the first transmission rate of described first data;
When determining the different piece data parallel in described second data to be sent to described each data forwarding device, each self-corresponding second transmission rate of described each data forwarding device;
While described first data are sent to described data receiver according to described first transmission rate, the different piece data in described second data are sent to corresponding described each data forwarding device according to the second transmission rate of correspondence respectively.
16. devices according to claim 15, is characterized in that,
Described 4th send submodule also for:
Determine that described first transmission rate is described second network interface card speed;
Described 4th send submodule also for:
Each self-corresponding second transmission rate of described each data forwarding device is determined according to the message transmission rate of described target transmission speed and each self-supporting of described each data forwarding device; Or
Total number according to described target transmission speed and described each data forwarding device determines each self-corresponding second transmission rate of described each data forwarding device, wherein, described target transmission speed equals the difference between described first network interface card speed and described second network interface card speed, and the message transmission rate sum of each self-supporting of described each data forwarding device is more than or equal to described target transmission speed.
17. 1 kinds of data transmission devices, for data forwarding device, is characterized in that, comprising:
Acquisition module, for the second network interface card speed of the first network interface card speed and data receiver that obtain data receiver;
Judge module, for judging whether described first network interface card speed is greater than described second network interface card speed, and is sent to described data receiver by judged result; Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receiver module, for receiving described second data that described data receiver sends;
Memory module, for storing described second data.
18. devices according to claim 17, is characterized in that, described device also comprises:
Sending module, for being sent to described data receiver by described second data.
19. 1 kinds of data transmission devices, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Determine whether the first local network interface card speed is greater than the second network interface card speed of data receiver;
When described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in outgoing data are sent to described data receiver, send the second data in described outgoing data to data forwarding device, described first data and described second data form described outgoing data;
Do not send to second data retransmission of described data receiver to described data receiver described data receiver by described data forwarding device.
20. 1 kinds of data transmission devices, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the first network interface card speed of data receiver and the second network interface card speed of data receiver;
Judge whether described first network interface card speed is greater than described second network interface card speed, and judged result is sent to described data receiver; Wherein, described data receiver is used for when determining according to described judged result that described first network interface card speed is greater than described second network interface card speed and described local network bandwidth has a residue, the first data in local outgoing data are sent to described data receiver, send the second data in described outgoing data to described data forwarding device, and described first data and described second data form described outgoing data;
Receive described second data that described data receiver sends;
Store described second data.
CN201510728271.3A 2015-10-30 2015-10-30 Data transmission method and device Pending CN105357139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510728271.3A CN105357139A (en) 2015-10-30 2015-10-30 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510728271.3A CN105357139A (en) 2015-10-30 2015-10-30 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN105357139A true CN105357139A (en) 2016-02-24

Family

ID=55333011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510728271.3A Pending CN105357139A (en) 2015-10-30 2015-10-30 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN105357139A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791413A (en) * 2016-03-31 2016-07-20 宇龙计算机通信科技(深圳)有限公司 Data transmission method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581969A (en) * 2003-08-13 2005-02-16 华为技术有限公司 Rate adapting method
US7729259B1 (en) * 2004-01-20 2010-06-01 Cisco Technology, Inc. Reducing latency jitter in a store-and-forward buffer for mixed-priority traffic
CN102137010A (en) * 2011-02-17 2011-07-27 大唐移动通信设备有限公司 Data transmitting method and communication nodes
CN103703740A (en) * 2011-05-26 2014-04-02 高通股份有限公司 Multipath overlay network and multipath management protocol thereof
CN104135341A (en) * 2014-07-31 2014-11-05 广州金山网络科技有限公司 Data communication method, data communication device and data communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581969A (en) * 2003-08-13 2005-02-16 华为技术有限公司 Rate adapting method
US7729259B1 (en) * 2004-01-20 2010-06-01 Cisco Technology, Inc. Reducing latency jitter in a store-and-forward buffer for mixed-priority traffic
CN102137010A (en) * 2011-02-17 2011-07-27 大唐移动通信设备有限公司 Data transmitting method and communication nodes
CN103703740A (en) * 2011-05-26 2014-04-02 高通股份有限公司 Multipath overlay network and multipath management protocol thereof
CN104135341A (en) * 2014-07-31 2014-11-05 广州金山网络科技有限公司 Data communication method, data communication device and data communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791413A (en) * 2016-03-31 2016-07-20 宇龙计算机通信科技(深圳)有限公司 Data transmission method and terminal device

Similar Documents

Publication Publication Date Title
CN104639966A (en) Method and device for remote control
CN105554687A (en) Networking working method of intelligent equipment, device and intelligent equipment
CN105357262A (en) Device control method and device control apparatus
CN105120099A (en) Shooting control method and device
CN104602112A (en) Configuration method and device
CN104980820A (en) Multimedia file playing method and multimedia file playing device
CN105162889A (en) Device finding method and apparatus
CN104618511A (en) Intelligent device detection method and device
CN103973900B (en) The method of transmission information and device
CN104684106A (en) Network connection method and device
CN105119958A (en) Method and device of controlling intelligent device
CN105472698A (en) Wireless network access method and device
CN104093216A (en) Method and device for wireless data transmission
CN104812020A (en) Method, device and system for controlling intelligent equipment to access network
CN104468971A (en) Method and device for connecting playing source
CN105827489A (en) Intelligent household electrical appliance control method and device and intelligent household electrical appliance
CN104581667A (en) Call forwarding method and device
CN105530167A (en) Method and device for setting group name card
CN104881120A (en) Method and device for connecting external device
CN105376144A (en) Information processing method and device
CN104539871A (en) Multimedia call method and device
CN105049219A (en) Network traffic ordering method and system, mobile terminal and server
CN105228201A (en) The changing method of relay router and device
CN104602275A (en) Subscriber Identity Module (SIM) card switching method and device
CN105207813A (en) Intelligent equipment sorting method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160224