Method for uploading and downloading data, network node and communication system
An implementation method and data downloading technology, which is applied in the network field, can solve problems affecting user experience, long waiting time for response, and long time consumption, so as to shorten the waiting time for response, reduce complexity, and improve user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] see figure 1 , figure 1 It is a flowchart of a method for implementing data download provided in Embodiment 1 of the present invention. The method for implementing data download may specifically include:
[0037] Step 110, receiving a download request message sent by the request node, the download request message carrying the identifier of the target directory requested by the request node for download;
[0038] Specifically, based on different communication protocols, the data format of the download request message may be different. The communication protocol based on data upload or download in the embodiment of the present invention may be, Hypertext Transfer Protocol (HTTP, Hypertext Transfer Protocol), file Transmission protocol (FTP, File Transfer Protocol), point-to-point protocol (PPP, Peer-Peer Protocol), etc., but not limited thereto.
[0039] For example, the identification of the above-mentioned target directory (or called: request directory) can be: the na...
Embodiment 2
[0048] The scheme of this embodiment corresponds to data downloading. see figure 2 , figure 2 It is a flowchart of a method for implementing data download provided in Embodiment 2 of the present invention. The method for implementing data download may specifically include:
[0049] Step 201, the first node sends a download request message to the second node;
[0050] Wherein, the data format of the download request message corresponds to the communication protocol for data transmission between the first node and the second node. The information carried in the above download request message includes, but is not limited to: the identification of the target directory that the first node requests to download. The data format of the identification can be agreed upon by the first node and the second node and correspondingly recorded. The identifier corresponds to the target directory that the first node requests to download.
[0051] Step 202, the second node generates descrip...
Embodiment 3
[0110] The solution in this embodiment corresponds to data upload. see image 3 , image 3 It is a flowchart of a method for implementing data upload provided by Embodiment 3 of the present invention. The method for implementing data upload may specifically include:
[0111] Step 301, the first node generates description information corresponding to each file and / or directory under the source directory;
[0112] The above-mentioned source directory can be regarded as the directory to be uploaded by the first node, and the source directory can include multiple files and / or directories.
[0113] Specifically, the first node may traverse the source directory to generate description information corresponding to each file and / or directory in the source directory.
[0114] Wherein, similarly, the description information of the file may include, but not limited to: the relative path information of the file relative to the source directory, the length information of the relative pa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 