Method and device for file transfer
A file transfer and file type technology, applied in the field of computer communication, can solve the problems of network congestion, slow file transfer rate, low file transfer efficiency, etc., and achieve the effect of reducing idle and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Embodiment one, figure 1 It is a flow chart of file transmission in the embodiment of the present invention. Such as figure 1 shown, including:
[0042] Step 101: Obtain first characteristic information of a file to be transferred.
[0043] In a local area network with a fixed network bandwidth, files can be transmitted to one, two or more clients at the same time. In the embodiment of the present invention, files are not fixedly transmitted to a set client, but can be determined according to the characteristics of the files to be transmitted. The number of clients to transmit. Therefore, it is necessary to obtain feature information of the file to be transmitted, where the feature information is the first feature information.
[0044] In the embodiment of the present invention, the feature information of the file includes: one or both of file capacity information and file type information. The file capacity information is used to indicate the size of the file, for...
Embodiment 2
[0051] Embodiment 2. In this embodiment, the feature information of the file is the file capacity information. Therefore, the preset correspondence between the feature information and the number of clients is the first correspondence between the file capacity range and the number of clients. see figure 2 , the process of file transfer in this embodiment includes:
[0052] Step 201: Obtain first file capacity information of a file to be transferred.
[0053] Here, obtaining the first file capacity information of the file to be transferred is obtaining the size of the file to be transferred. For example, the first file capacity information of the file to be transferred is 10M or 30M.
[0054] Step 202: According to the first corresponding relationship between the set file capacity range and the number of clients, determine the first number of clients corresponding to the first capacity information.
[0055] The network bandwidth in the LAN is fixed, for example: the network b...
Embodiment 3
[0063] Embodiment 3. In this embodiment, the first characteristic information is the first file type information, and the preset correspondence between the characteristic information and the number of clients is the second correspondence between the file type and the number of clients. see image 3 , the process of file transfer in this embodiment includes:
[0064] Step 301: Obtain the first file type information of the file to be transferred.
[0065] File types include text files, video files, picture files, etc. Therefore, the first file type information includes: text file information, video file information, picture file information, and the like.
[0066] Step 302: According to the set second corresponding relationship between the file type and the number of clients, determine the first number of clients corresponding to the first file type information.
[0067] In this embodiment, the network bandwidth in the local area network is fixed. For the fixed bandwidth, acco...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


