Process and apparatus for downloading data from a server...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S748000

Reexamination Certificate

active

06381709

ABSTRACT:

FIELD OF THE INVENTION
The present invention is related to processes and apparatus for transferring information between computers, particularly between a client computer and a server computer where the information is stored.
BACKGROUND OF THE INVENTION
In most computer networks it is desirable to have the capability to download, i.e., transfer, data from one computer to another. Typically, data is downloaded from one computer on the network, such as an information provider's site on the Internet, to another site, i.e., computer, where the data is to be used. A file containing data, such as an executable program, graphics or other information, typically is made available for download at one or more sites. The availability of the file is advertised to potential users. Individuals who are interested in using the file access the site to download the file. This kind of information distribution reduces costs and enables efficient tracking of the use of the information.
There are several applications that provide a protocol for downloading files from a server computer to a client computer on a network. Example applications which use the Internet or other TCP/IP-based network include servers and clients that implement the hypertext transfer protocol (HTTP) and the file transfer protocol (FTP). A particular problem with downloading information using applications that support these protocols is that the server application relies solely on the underlying transport protocol for reliability in the delivery of the data. If an error occurs during transmission of the data, the download simply terminates. For the download to complete successfully, the operation must be manually tried again, and the entire file must be downloaded. Such a process can be time consuming and frustrating, especially if the download is almost complete when a failure occurs.
However, the FTP specification, defined in Internet Request For Comments (RFC) 959, includes a restart procedure by which an interrupted FTP service command can be restarted from the point where it was interrupted. This restart procedure is defined for only two of the three modes in which data transfer can occur: block mode and compressed mode. In block mode, data is transmitted as a series of data blocks preceded by one or more header bytes. One of these header bytes includes descriptor codes, which may indicate a restart marker. In compressed mode, transmitted data includes regular data, compressed data and an escape sequence of two bytes. The escape sequence also includes descriptor codes that have the same meaning as in block mode.
To support restart in FTP, the sender of data must send data in block mode or compressed mode and insert a restart marker, or marker code, in the data stream with some marker information. The marker information has,meaning only to the sender, and could represent a bit-count, a record-count, or any other information by which a system may identify a data checkpoint. The receiver of data, if it implements the restart procedure, then marks the corresponding position of this marker in the receiving system. In the event of a failure, the user sends a command called RESTART, with a marker code as its argument. The sender then skips over the file specified by the marker code to the data checkpoint specified by the marker code. The RESTART command must be immediately followed by whatever service command was interrupted, such as a read (RETR), write (STOR), directory (LIST) or append (APP). This restart procedure requires both the server to maintain a mapping between data checkpoints and marker codes for each operation and the client to monitor the marker codes received. Moreover, these commands are initiated manually by a user using the FTP client application.
Most currently available server and client programs that support FTP do not support block or compressed mode transfers, and generally support only a third mode of transfer, called stream mode. Most browsers for the Internet also use only this mode of transfer for communication using HTTP. In stream mode data is transmitted as a stream of bytes, without restriction on the representation type used. If the structure of the data is a file structure, an end-of-file (EOF) indication is indicated by the sending host closing the data connection and all bytes are data bytes. The FTP specification does not define any restart procedure for stream model transfers. Accordingly, most currently available server and client programs that support FTP also do not support the RESTART command. If a failure occurs during a download, the operation must be manually tried again, and the entire file must be downloaded, obliging an individual to be present during the download.
Similarly, browsers using the HTTP protocol do not support any restart procedure. A proposed specification for a new version (1.1) of HTTP includes a range header in a GET message to enable partial transfers and is intended to reduce unnecessary network usage. See Internet Request for Comments (RFC) 2068. However, the use of a partial GET command by the client is not specified. The HTTP 1.1 specification as proposed also states that a client should retry a request if a connection closes before any status, or a continue response, is received from the server. However, there is no specification regarding error handling if data is received from the server before a connection closes. Apparently, if a failure occurs during a download, the operation must be manually tried again, and the entire file must be downloaded, obliging an individual to be present during the download.
Accordingly, a general aim of this invention is to provide a download process and mechanism that simplifies the download process, and improves the likelihood of successful completion of the download. This functionality also allows the individual not to be present during the download.
SUMMARY OF THE INVENTION
In the present invention, a download is monitored by a client application and is restarted automatically if a failure occurs. Data read during the restarted download is appended to the existing file. Termination of a download might occur due to a failure of the server system or failure of the network or for many other reasons. These failures can be detected, for example, by monitoring whether valid data has been reliably received at the client within a specified period of time. Automatically restarting the download after such failures increases the likelihood of successful completion.
In a particular embodiment, the server application can transfer the data to the client as a stream of data with little or no formatting or processing, for example by using the stream mode in FTP. In this embodiment, the client monitors the amount of data reliably received. In case of a failure, the client automatically sends another request to the server, instructing the server to start reading the file from a specified offset, determined by the amount of data already received. In this embodiment, there is no need for marker codes or other processing to be performed and tracked by the server.
In another embodiment, the client program is specially adapted for performing only read or retrieve requests which reduces the size of its program code. In response to a request to download a file, the client program is downloaded first from the server computer. The location of the requested file may be stored, or hard-coded, within the program. The client program is then executed on the client computer to transfer the requested file.
In another embodiment, the client program is used to download files that are made available through other services, such as by a listing in a document published in the hypertext markup language (HTML) via an HTTP server connected to a network. An HTML browser that accesses and displays the HTML file can display the files available for download as hypertext links. Selection of a hypertext link viewed in the browser causes the client program to be executed to download the requested file. In this embodiment, the client program may be resident at the cli

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Process and apparatus for downloading data from a server... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Process and apparatus for downloading data from a server..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Process and apparatus for downloading data from a server... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2864151

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.