Supercharge Your Innovation With Domain-Expert AI Agents!

FTP server breakpoint downloading method and device based on block transmission

An FTP server and breakpoint download technology, applied in transmission systems, electrical components, etc., can solve the problems of ineffective execution of commands, complex data structure of stored files, and difficulty in obtaining file positioning pointers.

Active Publication Date: 2020-08-28
INFORMATION2 SOFTWARE SHANGHAI
View PDF14 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, with the rapid development of storage technology and distributed technology, the way servers store files has also changed, and the data structure of files stored inside many servers has become relatively complex
In this case, it is not easy to obtain the size of the file, and it is difficult to locate the pointer according to the file size, which makes it impossible to effectively execute the command of sending "REST+local file length" to the server

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
  • FTP server breakpoint downloading method and device based on block transmission
  • FTP server breakpoint downloading method and device based on block transmission
  • FTP server breakpoint downloading method and device based on block transmission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0083]In this embodiment, the block transfer-based FTP server breakpoint download method mainly includes two parts: using the breakpoint information in the download record to perform breakpoint resume download and data analysis. The breakpoint information mainly includes the mark mark on the server side, the local file offset, and the file download mark. The mark mark is used to determine where the server-side file download starts, the local file offset and the mark mark correspond to where the local file starts to be written, and the file download mark is used to record whether the file is downloaded and whether a breakpoint download is required .

[0084] Specifically, such as image 3 As shown, the file download process is as follows:

[0085] The first step is to determine whether there is a file with the same name as the file to be downloaded in the download target path. If not, it means that the file is downloaded for the first time. You don’t need to download the brea...

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

The invention discloses an FTP server breakpoint downloading method and device based on block transmission, and the method comprises the steps: S1, receiving a downloading request, and judging whetherthere is a corresponding file under a downloading target path or not; S2, when a corresponding file exists in the downloading target path, obtaining a downloading record corresponding to the to-be-downloaded file, obtaining a breakpoint mark and a local file offset according to the downloading record, and generating a breakpoint resume request to perform breakpoint resume downloading; S3, settingdownloading parameters, transmitting the downloading parameters to the server side, generating a downloading request, and transmitting the downloading request to the server; S4, circularly reading the data from the server side, circularly analyzing the read data based on the block description information, and recording mark information and local file offset obtained by analysis in the analysis process; and S5, when downloading is finished, the user stops downloading manually or downloading is stopped due to other reasons, generating a downloading record according to the information recorded in the downloading analysis process.

Description

technical field [0001] The invention relates to the technical field of computer network downloading, in particular to an FTP server breakpoint downloading method and device based on block transmission, which can pause and continue downloading according to user requirements during the file downloading process of the server. Background technique [0002] With the development of network technology, it has entered the era of data sharing. FTP server download is the most common way of data sharing. It has a wide range of applications in network data sharing. and reliable transmission requirements. FTP is the abbreviation of FileTransfer Protocol (File Transfer Protocol), which is used to transfer files between two computers or heterogeneous networks. Compared with other protocols, the FTP protocol uses two TCP connections, one is a command link for transmitting commands between the server and the client, and the other is a data link for uploading and downloading data in various ...

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/08H04L29/06
CPCH04L67/06H04L67/146H04L69/22Y02D30/50
Inventor 张翔姚国军陈勇铨杨杰胡军擎
Owner INFORMATION2 SOFTWARE SHANGHAI
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More