File distribution method and device, computer device and storage medium
A computer device and file storage technology, which is applied in the field of computer networks and can solve the problems of bandwidth consumption, bandwidth traffic, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] figure 1 It is a flow chart of the file distribution method provided by the embodiment of the present invention. The file distribution method is applied to a first node, and the first node is a server located in a cloud storage device group of a first local area network.
[0073] Referring to 1, the file distribution method specifically includes the following steps:
[0074] 101. Obtain the file to be distributed from the source station.
[0075] In a specific embodiment, said obtaining the file to be distributed from the source site includes:
[0076] Receiving a file storage request sent by the source station through HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol);
[0077] Establishing an HTTP connection with the source station in response to the file storage request;
[0078] The file to be distributed is received from the source site through the HTTP connection.
[0079] Specifically, after the source station generates the file to be distribute...
Embodiment 2
[0118] figure 2 A structural diagram of a preferred embodiment of a file distribution device provided in an embodiment of the present invention. The file distribution apparatus 10 is applied to a first node, and the first node is located in a first local area network.
[0119] Such as figure 2 As shown, the file distribution apparatus 10 may include: an acquiring unit 201 , a receiving unit 202 , a judging unit 203 , a first sending unit 204 , and a second sending unit 205 .
[0120] The obtaining unit 201 is configured to obtain the file to be distributed from the source site.
[0121] In a specific embodiment, said obtaining the file to be distributed from the source site includes:
[0122] Receiving a file storage request sent by the source station through HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol);
[0123] Establishing an HTTP connection with the source station in response to the file storage request;
[0124] The file to be distributed is rece...
Embodiment 3
[0164] This embodiment provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps in the above-mentioned file distribution method embodiment are implemented. The computer-readable storage medium applies For the first node, the first node is located in the first local area network, such as figure 1 101-105 shown:
[0165] 101. Obtain the file to be distributed from the source site;
[0166] 102. Receive a file request from a second node;
[0167] 103. Determine whether the second node is located in the first local area network according to the file request;
[0168] 104. If the second node is located in the first local area network, send the file to the second node using a local area network TCP transmission technology;
[0169] 105. If the second node is not located in the first local area network, send the file to the second node using a P2P transmi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com