Large file distribution method and system in local area network

A local area network and large file technology, applied in the computer field, can solve problems such as slow file delivery, server downtime, and concentrated distribution bottlenecks, and achieve the effect of increasing distribution speed and reducing server pressure

CN106973080AInactive Publication Date: 2017-07-21GREEN NET WORLD FUJIAN NETWORK TECH
4 Cites 3 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2017-07-21
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention discloses a large file distribution method and system in a local area network. The method comprises the following steps: a server maintains client list information and numbers clients as C1, C2... Cn in sequence; the server virtually segments a file into n blocks on average and marks the blocks as F1, F2... Fn in sequence; the server maintains file block information and sends the client list information and the file block information to all clients; the server distributes the file block Fi to the client Ci according to the file block information; the client Ci distributes the received file block Fi to other clients in the local area network according to the client list information; and the clients splice the received file blocks F1, F2... Fn into a complete file according to the file block information, verify the integrity of the file and notify the server. According to the large file distribution method and system in the local area network disclosed by the invention, the large file is segmented and is equally distributed to the clients in the form of the file blocks, and the clients distribute the file blocks to one another, thereby reducing the pressure of the server and improving the distribution speed.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer technology, in particular to a method and system for distributing large files in a local area network. Background technique

[0002] When using the C / S mode to send large files to multiple terminals in the same LAN, the current general practice is: the server sends large files to each client, which leads to a large amount of traffic required for server distribution, and the distribution bottleneck is concentrated in On the server, the file delivery is slow and causes the server to process a high load state for a long time. Once the load is too heavy, it may cause the server to go down and the file needs to be resent. For example, the teacher sends a 100MB file to 60 student terminals through the server, and the server needs to send a total of 6000MB. If the LAN broadband is 100Mbps, it takes 6000MB / 100Mbps=480s to complete the entire distribution process. If the distribution between classes takes such a lo...

Examples

Embodiment Construction

[0031] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0032] It should be noted that the execution subject of the method of this embodiment includes a server terminal and multiple client terminals, and the terminals are devices such as tablet computers, palmtop computers, PDAs, notebooks or desktop computers. Of course, other devices with similar functions can also be used. device, and the model configuration of the terminal is configured according to actual requirements, which is not limited in this embodiment.

[0033] see figure 1 As shown, a method for distributing large files in a local area network includes:

[0034] In step 101, the server maintains client list information, and sequentially numbers each client as C1, C2, ..., Cn; wherein, n represents the number of clients in the same local...