System and method for correcting errors in downloading web pages
Granted 6 Sep 2011 · 1 office action
Current assignee: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD. (Foxconn) · originally Foxconn Technology Group
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Hai-Yun Chen, Hai-Hong Lin, Chung-I Lee, De-Yi Xie +1 · Examiner: Christopher McCarthy · AU 2113 · TC 2100
Life of the application
8 dated eventsAbstract
A system and method for correcting errors in downloading web pages provides a historic error resolving procedure and a common error resolving procedure. The historic error resolving procedure is for storing a download error and debugging solutions corresponding to the download error. The download error includes error positions and error types. The common error resolving procedure stores predefined error types and corresponding debugging solutions. If the download error of an error does not exist in the historic error resolving procedure, the common error resolving procedure is searched for the error types and corresponding debugging solutions. If the error type does not exist in the common error resolving procedure, an administrator is prompted to provide a new debugging solution to solve the error, and the new debugging solution is stored into the historic error resolving procedure.
Description
4 parts›BACKGROUND
1. Technical Field
Embodiments of the present disclosure relate to web pages downloading systems and methods, and more particularly to a system and method for correcting errors in downloading web pages.
2. Description of Related Art
The Internet has become a medium for users to acquire information, where data may be displayed on a web page. A user may share information on the web page by downloading the web page as a file and sending the file to someone over a communication network. However, downloaded web pages may not open properly on other computers causing errors. For example, a web server that the web page hosted on may be so busy that cannot response to the web page.
Therefore, an effective system and method is needed to overcome the above-described shortcomings.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of one embodiment of an error correction system for correcting errors in downloading web pages.
FIG. 2 is a block diagram of one embodiment of function modules of the error correction system in FIG. 1 .
FIG. 3 is a flowchart of one embodiment of a method for correcting errors in downloading web pages.
FIG. 4 is a schematic diagram illustrating one embodiment of a common error resolving procedures.
›DETAILED DESCRIPTION · 1 of 2
All of the processes described below may be embodied in, and fully automated via, functional modules executed by one or more general purpose processors. The functional modules may be stored in any type of computer-readable medium or other computer storage device. Some or all of the methods may alternatively be embodied in specialized computer hardware or communication apparatus.
FIG. 1 is a block diagram of one embodiment of a computer 1 comprising an error correction system 100 . The error correction system 100 may be used to correct errors when the computer 1 downloads a web page 3 over a communication network 4 . In one embodiment, a web server 2 may host the web page 3 .
FIG. 2 is a block diagram of one embodiment of function modules of the error correction system 100 in FIG. 1 . In one embodiment, the error correction system 100 may include an executing module 10 , a detecting module 12 , an obtaining module 14 , and a prompting module 16 . It may be understood that one or more specialized or general purpose processors, such as a processor 18 , may be used to execute one or more computerized codes of the function modules 10 - 16 . The one or more computerized codes of the functional modules 10 - 16 may be stored in a storage system 20 .
The storage system 20 stores a historic error resolving procedure 200 and a common error resolving procedure 202 . In one embodiment, the web page 3 corresponds to a historic error resolving procedure 200 . The historic error resolving procedure 200 is a database that stores history information of download errors of the web page 3 (hereinafter, “error information”) and corresponding debugging solutions. In one embodiment, the download errors may include error positions showing a position of the web page 3 of where the error occurs. Depending on the embodiment, the web page 3 may be downloaded as hypertext markup language (HTML) files. For example, when a sentence of the HTML files is being executed, an error may occur and the sentence is defined as the error position. The download errors may further include error types showing format errors or content errors, for example. The common error resolving procedure 202 is a database that stores predefined error types and corresponding predefined debugging solutions. For example, as shown in FIG. 4 , the predefined error type may be a server error. The download errors recorded in the historic error resolving procedure 200 is about the errors which occur when the web page 3 was downloaded previously. The error types listed in the common error resolving procedures 202 are errors that commonly occur when downloading any web pages.
The executing module 10 communicates with the web server 2 to download the web page 3 over the communication network 4 .
The detecting module 12 detects if the executing module 10 has downloaded the web page 3 successfully. If the web page 3 download fails, the executing module 10 sends error information of the failed download to the detecting module 12 . The detecting module 12 searches if the download error of the error information is listed in the historic error resolving procedures 200 . In one embodiment, the detecting module 12 needs to detect if an error type and an error position of the download error are listed in the historic error resolving procedures 200 . For example, if an error of the web server 2 occurs when a sentence of the HTML files is executed, the web server 2 sends the error information of the failed download to the executing module 10 . The executing module 10 sends the error information to the detecting module 12 . The error information includes an error type and an error position. The error type is the error of the web server 2 . The error position is the sentence.
The obtaining module 14 reads a debugging solution from the historic error resolving procedure 200 corresponding to the download error if the download error exists in the historic error resolving procedure 200 .
The executing module 10 also resolves the errors by performing the debugging solution listed in the historic error resolving procedure 200 according to the error type, and downloads the web page 3 starting from the error position recorded in the download error.
If the download error does not exist in the historic error resolving procedure 200 , the detecting module 12 further detects if the error type of the download error exists in the common error resolving procedure 202 .
If the error type exists in the common error resolving procedure 202 , the obtaining module 14 also obtains a debugging solution corresponding to the error type from the common error resolving procedure 202 . The executing module 10 executes the debugging solution of the common error resolving procedure 202 , downloads the web page 3 from the error position, and stores the download error and the debugging solution of the common error resolving procedure 202 into the historic error resolving procedure 200 .
If the error type does not exist in the common error resolving procedure 202 , the prompting module 16 prompts an administrator of the web server 2 to provide a new debugging solution to solve the error, and stores the download error and the new debugging solution into the historic error resolving procedure 200 .
FIG. 3 is a flowchart of one embodiment of a method for correcting errors in downloading web pages. Depending on the embodiment, additional blocks may be added, others removed, and the ordering of the blocks may be changed.
In block S 30 , the executing module 10 downloads the web page 3 over the communication server 4 .
In block S 31 , the detecting module 12 detects if the web page 3 has been downloaded successfully. If the web page 3 has been downloaded successfully, the procedure ends. If the web page 3 fails to be downloaded, in block S 32 , the detecting module 12 receives error information of the failed download sent by the executing module 10 .
In block S 33 , the detecting module 12 searches if the download error of the error information exits in the historic error resolving procedure 200 . If the download error exists in the historic error resolving procedure 200 , the procedure goes to block S 34 . If the download error does not exist in the historic error resolving procedure 200 , the procedure goes to block S 36 .
›DETAILED DESCRIPTION · 2 of 2
In block S 34 , the obtaining module 14 reads a debugging solution corresponding to the download error from the historic resolving procedure 200 .
In block S 35 , the executing module 10 resolves the error by performing the debugging solution listed in the historic error resolving procedure 200 , and downloads the web page 3 starting from the error position recorded in the download error.
In block S 36 , the detecting module 12 detects if the error type of the download error exists in the common error resolving procedure 202 . If the error type exits in the common error resolving procedure 202 , the procedure goes to block S 37 . If the error type does not exist in the common error resolving procedure 202 , the procedure goes to block S 39 .
In block S 37 , the obtaining module 14 obtains a debugging solution according to the error type from the common error resolving procedure 202 , and the procedure goes to block S 38 .
In block S 38 , the executing module 10 executes the debugging solution of the common error resolving procedure 202 , downloads the web page 3 starting from the error position, and stores the download error and the debugging solution of the common error resolving procedure 202 into the historic error resolving procedure 200 .
In block S 39 , the prompting module 16 prompts an administrator to provide a new debugging solution to solve the error, and stores the download error and the new debugging solution into the historic error procedure 200 .
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Claims as granted
9 claimsLog in to read the claims of this application.
Log in to unlockClassifications
3 codes- G06F11/00
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock