File distributing method, apparatus and system

A file and file acquisition technology, applied in the field of communication, can solve problems such as slow distribution speed, heavy load of source server, and reduced stability of source server, and achieve the effect of increasing distribution speed, reducing load, and improving stability

Active Publication Date: 2017-02-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the research and practice of the existing technology, the inventor of the present invention found that in the existing technical solution, if there are many target nodes, the source server will generate a large load, resulting in a decrease in the stability of the source server , and, subject to the throughput of the source server, the distribution speed is relatively slow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File distributing method, apparatus and system
  • File distributing method, apparatus and system
  • File distributing method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] In this embodiment, description will be made from the perspective of a task management system, and the task management system may specifically be integrated in a network device, such as a management server and other devices.

[0044] A file distribution method, comprising: receiving a task request about a file distribution task sent by a target node; judging whether there is a completion node according to the task request, and the completion node is another target node that has completed the file distribution task; if there is a completion node , then specify a node from the completion node as the source site corresponding to the task request; if there is no completion node, specify the source server as the source site corresponding to the task request; send the file distribution task to the specified source site The target node, so that the target node fetches the file from the specified source server.

[0045] Such as Figure 1b As shown, the specific process of the ...

Embodiment 2

[0070] This embodiment will be described from the perspective of a file distribution device. Specifically, the file distribution device may be integrated in a client, and the client may serve as a target node in this embodiment of the present invention.

[0071] A file distribution method, comprising: sending a task request about a file distribution task to a task management system; receiving a file distribution task returned by the task management system according to the task request; obtaining a file from a source station according to the file distribution task, and storing the file ; Report the task execution result indicating that the file is successfully obtained to the task management system, so as to serve as a source station for other target nodes to obtain the file.

[0072] Such as figure 2 As shown, the specific process of the file distribution method can be as follows:

[0073] 201. Send a task request about a file distribution task to a task management system. ...

Embodiment 3

[0089] According to the methods described in Embodiments 1 and 2, examples will be given below for further detailed description.

[0090] For example, see Figure 3a , the file distribution system may include a task management system and a target node, where a client is deployed on the target node, wherein any file distribution device provided in the embodiment of the present invention is integrated in the client, and in addition, the file distribution system also You can include origin servers that provide files for distribution.

[0091] For example, if Figure 3a As shown, the clients may include client A, client B, client C, and client D, etc., when file distribution is required, client A, client B, client C, and client D, etc. The management system sends a task request about the file distribution task. After receiving the task request, the task management system judges whether there is a completion node according to the task request. For example, when the task managemen...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

According to the embodiments of the invention, a file distributing method, apparatus and system are disclosed. The method comprises the following steps: when a file distributing task request sent from a target node is received, determining whether there exist other target nodes (or completion nodes) where the file distributing task has already been completed; if there exist such nodes, designating from the completion nodes one node as a source station corresponding to the task request; otherwise, designating a source server as the source station corresponding to the task request; and then, according to the source station, sending the file distributing task to the target node so that the target node could obtain the file from the designated source station. According to the technical schemes of the invention, it is not only possible to reduce the load of a source server and raise the stability of the source server, but also possible to increase the file distributing speed greatly.

Description

technical field [0001] The present invention relates to the technical field of communication, and in particular to a file distribution method, device and system. Background technique [0002] Content Delivery Network (CDN, Content Delivery Network) is a relatively common file distribution technology in recent years. Its basic principle is to widely use various cache servers and distribute these cache servers to areas or networks where user access is relatively concentrated. When a user visits a website, the global load technology is used to direct the user's access to the nearest cache server that is working normally, and the cache server directly responds to the user request. Among them, these cache servers are equivalent to the source station, also known as the source server. When distributing large files, they usually use Hypertext Transfer Protocol (HTTP, HyperText Transfer Protocol), remote synchronization (rsync, remote sync), or even some Private protocol, and then t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/06H04L67/1078G06F16/10H04L65/40
Inventor 沈坤刘强
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products