A kind of method that patent documentation is downloaded
Technical field
The present invention relates to the correlative technology field of patent documentation processing, relate in particular to a kind of method for down loading of patent documentation.
Background technology
Most of patent website be all that user gives information and inquires about and download function, on network, user can transmit data mutually by network, also can from some network information service business's server, directly download data by network, but patent documentation is conventionally larger and quantity is more, downloads in time complete data to user and bring certain difficulty.
The download tool that at present large multi-user adopts often be single-threaded, without the software of breakpoint transmission function, do not possess at a high speed and stable advantage, download complete file need to the more time, cannot meet user's demand.
Document speed of download is slower, consuming time more, cannot meet the customer demand that speed of download is high.
It is very unstable that document is downloaded outfit, do not possess breakpoint transmission function, causes required patent documentation to be downloaded imperfect.
Summary of the invention
For the one or more problems that exist in correlation technique, object of the present invention is certainly in sending out of a kind of patent documentation download is provided, to address the above problem.
For achieving the above object, according to an aspect of the present invention, a kind of method that provides patent documentation to download, comprise patent documentation download module, be used for adopting multithreading downloading mode to obtain patent documentation from one or more external servers, patent documentation download module has breakpoint transmission function and many mirror points download function; Acquisition of information module, for obtaining the configuration information of downloaded patent documentation; Integrity detection module, detects for the configuration information of obtaining according to acquisition of information module the integrality of downloading patent documentation; Administration module, for managing patent documentation download module, acquisition of information module and integrity detection module; Memory module, for storing downloaded patent documentation.
Patent documentation download module comprises download module, for adopting multithreading downloading mode from one or more external servers
Carry described patent documentation, and downloaded patent documentation is stored in described memory module; Breakpoint transmission function activation module, for starting breakpoint transmission function according to the instruction of described administration module; Many mirror points download function starts module, for starting many mirror points download function according to the instruction of administration module.
The configuration information of patent documentation comprises: the number of downloads of patent documentation.
Administration module comprises: the first administration module, starts to download or stop downloading for controlling patent documentation download module; The second administration module, in the situation that integrity detection module detects that data were once downloaded, controls patent documentation download module and starts breakpoint transmission function; The in the situation that of not being downloaded before integrity detection module detects data, controlling patent documentation download module and start many mirror points download function; And indicating module, for according to the processing of the first administration module and/or the second administration module, generate corresponding instruction notice to patent documentation download module.
In the situation that integrity detection module detects patent documentation, the first administration module control patent documentation download module stops downloading.
For achieving the above object, according to a further aspect in the invention, a kind of method that provides patent documentation to download, the method comprises: adopt multithreading downloading mode to obtain patent documentation from one or more external servers by patent documentation download module; Obtain downloaded patent documentation information by acquisition of information module; The configuration information of obtaining according to acquisition of information module detects the integrality of the patent documentation of downloading by integrity detection module, and notifies control module by testing result; And carry out respective handling according to testing result by administration module control patent documentation download module.
Respective handling comprises: breakpoint transmission and/or many mirror points are downloaded.
The integrality that detects the patent documentation of downloading comprises: the integrality that detects downloaded patent documentation according to the configuration information of patent documentation by first detection module; Detect in the incomplete situation of patent documentation at first detection module, detect the integrality of the data in patent documentation; And detect in the incomplete situation of data in patent documentation at the second detection module, detect data and whether be once downloaded, and notify administration module by testing result.
The configuration information of patent documentation comprises: the number that patent documentation is downloaded.
Control patent documentation download module carries out respective handling and comprises: in the situation that integrity detection module detects that data were once downloaded, indicate patent documentation download module to start the continuous processing of breakpoint by administration module; And be not downloaded before integrity detection module detects data in the situation that, indicate patent documentation download module to start many mirror points download process by administration module.
In the situation that integrity detection module detects that patent documentation is complete, indicate patent documentation download module to stop downloading by administration module.
Method for down loading of the present invention can provide different configuration informations, meets the download demand that user is different, and many mirrors can be provided
Picture point, multithreading, support breakpoint transmission are downloaded.Implementation method is to adopt the multithreading download tool of optimizing, can utilize multiple links of this file to download simultaneously, there is high-speed downloads speed, document integrity detection can be provided, possess breakpoint transmission function, minimizing causes download to be interrupted because network quality is unstable so that document is downloaded imperfect.
Brief description of the drawings
Fig. 1 is the block diagram of patent documentation downloading method according to an embodiment of the invention;
Fig. 2 is the flow chart of patent documentation downloading method according to an embodiment of the invention.
Embodiment
Fig. 1 is the block diagram of patent documentation downloading method according to an embodiment of the invention.As shown in Figure 1, this patent documentation
Method for down loading comprises: patent documentation download module, and for adopting multithreading downloading mode to obtain patent documentation from one or more external servers, patent documentation download module has breakpoint transmission function and many mirror points download function; Acquisition of information module, for obtaining the configuration information of downloaded patent documentation; Integrity detection module, detects the integrality of the patent documentation of downloading for the configuration information of obtaining according to acquisition of information module; Administration module, for managing patent documentation download module, acquisition of information module and integrity detection module; Memory module, for storing the patent documentation of download.
Fig. 2 is the flow chart of patent documentation downloading method according to an embodiment of the invention.As shown in Figure 2, patent documentation downloading method comprises:
1, adopt multithreading downloading mode to obtain patent documentation from one or more external servers in module again by patent documentation;
2, obtain the configuration information of downloaded patent documentation by acquisition of information module;
3, the configuration information of obtaining according to acquisition of information module detects the integrality of the patent documentation of downloading by integrity detection module, and notifies control module by testing result;
4, carry out respective handling according to testing result by administration module control patent documentation download module.
This respective handling comprises: breakpoint transmission and (or) many mirror points are downloaded.
By the present invention, can reach technique effect:
1, method for down loading of the present invention can meet the download demand that user is different.
2, method for down loading of the present invention can provide many mirror points, multithreading, support breakpoint transmission to download.
Implementation method is to adopt the multithreading download tool of optimizing, and can utilize multiple links of this file to download simultaneously, has the feature of high-speed downloads.
3, method for down loading of the present invention provides file integrity detection, possesses breakpoint transmission function, and minimizing causes download to be interrupted because network quality is unstable so that file is downloaded imperfect.