Method for regulating number of sub-transmitter and device thereof
A technology of transmitters and numbers, applied in the direction of electrical components, transmission systems, etc., can solve the problems of large impact and low bandwidth utilization, and achieve the effect of improving speed and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] See figure 1 , The embodiment of the present invention provides a file transmission method, the method includes:
[0030] 101: After receiving the response of the file block sent last time, when it is determined that it is valid, query the coordinator for the label of the next file block to be sent;
[0031] 102: Receive the label of the next file block to be sent returned by the coordinator, and send the file block with the label.
[0032] For example, if the label of the last file block sent is 13, then a certain sub-sender queries the coordinator for the label of the next file block to be sent as 14, then the certain sub-sender will send the file block with label 14. Then when another sub-sender queries the coordinator, the label of the next file to be sent is 15.
[0033] Among them, the method also includes:
[0034] After receiving the response of the file block sent last time, it stops sending when it is determined that it is invalid.
[0035] For example, there are...
Embodiment 2
[0041] The embodiment of the present invention provides a method for adjusting the number of sub-transmitters provided in Embodiment 1, and the method includes:
[0042] Step b1: Multiply the real-time average speed in the first preset time period and the real-time average RTT (Round-Trip Time, round-trip time) in the preset time period to obtain the sub-transmitter required to maintain the current real-time average speed The minimum number of.
[0043] Among them, assuming that the first preset time period is 5s, the real-time average speed is the total number of file blocks sent in 5s / 5s. If the 5s calculated last time is 2 to 6s, the 5s calculated next time can be 3 to 7s. That is, time periods can overlap.
[0044] Among them, the method includes:
[0045] Step b2: Multiply the minimum number of sub-transmitters required to maintain the current real-time average speed calculated above by the multi-transmission coefficient to obtain the number of multi-transmission sub-transmit...
Embodiment 3
[0059] See image 3 , The embodiment of the present invention provides a seed transmitter, and the sub transmitter includes:
[0060] Query module 201 and first sending module 202;
[0061] The query module 201 is configured to query the coordinator for the label of the next file block to be sent when it is determined that it is valid after receiving the response of the file block sent last time;
[0062] The first sending module 202 is configured to receive the label of the next file block to be sent returned by the coordinator, and send the file block with the label.
[0063] For example, if the label of the last file block sent is 13, then a certain sub-sender queries the coordinator for the label of the next file block to be sent as 14, then the certain sub-sender will send the file block with label 14. Then when another sub-sender queries the coordinator, the label of the next file to be sent is 15.
[0064] Among them, the sub-transmitter also includes:
[0065] The determin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 