CN106161570A - Document down loading method based on page script, device, server group and system - Google Patents
Document down loading method based on page script, device, server group and system Download PDFInfo
- Publication number
- CN106161570A CN106161570A CN201510203167.2A CN201510203167A CN106161570A CN 106161570 A CN106161570 A CN 106161570A CN 201510203167 A CN201510203167 A CN 201510203167A CN 106161570 A CN106161570 A CN 106161570A
- Authority
- CN
- China
- Prior art keywords
- file
- request
- download
- downloaded
- downloading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of document down loading method based on page script, including: sending parameter acquiring request, the request of described parameter acquiring is for the parameter information of acquisition request file to be downloaded;Receive the response message for parameter acquiring request;Create the download request object of multiple download files to be downloaded according to preset rules according to response message;Initiating the request of multiple parallel downloading according to multiple download request object, each downloads request for downloading the different piece of file to be downloaded;Receive for multiple multiple download data downloading request;Multiple download data are assembled into file according to rule corresponding with preset rules.The embodiment of the present application is asked by multiple Parallel downloads, to realize file download multi-request parallel processing, thus accelerates the speed of file download.The application is also disclosed a kind of file downloading device based on page script, another kind of document down loading method based on page script and server group, another kind of document down loading method based on page script and system.
Description
Technical field
The application relates to web data transmission technique field, particularly relates under a kind of file based on page script
Support method, device, server group and system.
Background technology
Along with the development of science and technology, the Internet has become as indispensable in people's work and study one
Point.In order to realize web page browsing, first browser sends a HTML (Hypertext Markup Language) to server
(HyperText Transfer Protocol, HTTP) asks, under normal conditions, and HyperText Markup Language
Other literary compositions of all of (HyperText Markup Language, HTML) text, picture and this webpage of composition
Part quickly can be requested and send back user, browser next the content described by the file received,
Add epigraph, link and other necessary resources, be shown to user.Which achieves web page browsing.
Along with the development of web technologies, webpage can comprise increasing content, as dynamic picture,
Video file, resource file etc..
Web page access technology also uses single access request to access a server in server group at present, with
Carry out web page files download.This mode causes file downloading speed slower, it is impossible to meet user's requirement.
Summary of the invention
The embodiment of the present application provides a kind of document down loading method based on page script, to improve under web page files
The speed carried.
The embodiment of the present application provides a kind of file downloading device based on page script, to improve under web page files
The speed carried.
The embodiment of the present application provides a kind of document down loading method based on page script, to improve under web page files
The speed carried.
The embodiment of the present application provides a kind of file download service device group based on page script, to improve webpage literary composition
The speed that part is downloaded.
The embodiment of the present application provides another kind of document down loading method based on page script, to improve web page files
The speed downloaded.
The embodiment of the present application provides a kind of file download system based on page script, to improve under web page files
The speed carried.
A kind of document down loading method based on page script, including:
Transmission parameter acquiring is asked, and the request of described parameter acquiring is for the parameter letter of acquisition request file to be downloaded
Breath;
Receive the response message asked for described parameter acquiring;
Ask according to the download that described response message creates the described file to be downloaded of multiple downloads according to preset rules
Seek object;
Initiating the request of multiple parallel downloading according to multiple described download request object, each described request of downloading is used
In the different piece downloading described file to be downloaded;
Receive for multiple described multiple download data downloading request;
Multiple described download data are assembled into file according to rule corresponding with described preset rules.
A kind of file downloading device based on page script, including:
First sending module, is used for sending parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded;
First receiver module, for receiving the response message asked for described parameter acquiring;
Creation module, described to be downloaded for creating multiple downloads according to described response message according to preset rules
The download request object of file;
Second sending module, for initiating the request of multiple parallel downloading according to multiple described download request object,
Each described request of downloading is used for downloading the different piece of described file to be downloaded;
Second receiver module, for receiving for multiple described multiple download data downloading request;
Assembling module, for assembled according to rule corresponding with described preset rules by multiple described download data
Become file.
A kind of document down loading method based on page script, including:
Reception parameter acquiring is asked, and the request of described parameter acquiring is for the parameter letter of acquisition request file to be downloaded
Breath;
Ask according to described parameter acquiring, send the parameter information of described file to be downloaded;
Receiving multiple download to ask, the described parameter information asked according to file to be downloaded of downloading is initiated, and uses
In the different piece downloading described file to be downloaded;
Ask according to multiple described downloads, send the different piece of described file to be downloaded, for literary composition to be downloaded
The different piece of part is assembled into file.
A kind of file download service device group based on page script, including:
First processing means, is used for receiving parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded;Ask according to described parameter acquiring, send the parameter of described file to be downloaded
Information;
Second processing means, is used for receiving multiple download and asks, and described download is asked according to file to be downloaded
Parameter information is initiated, and for downloading the different piece of described file to be downloaded;Please according to multiple described downloads
Asking, send the different piece of described file to be downloaded, the different piece for file to be downloaded is assembled into file.
A kind of document down loading method based on page script, including:
File downloading device sends parameter acquiring request, and the request of described parameter acquiring is to be downloaded for acquisition request
The parameter information of file;
Server group receives the request of described parameter acquiring, and sends response message;
File downloading device receives described response message;
It is described to be downloaded that file downloading device creates multiple downloads according to described response message according to preset rules
The download request object of file;
File downloading device initiates the request of multiple parallel downloading, each institute according to multiple described download request object
State download request for the different piece downloading described file to be downloaded;
Server group receives multiple described download and asks, and sends multiple download data;
File downloading device receives for multiple described download data;
File downloading device is assembled according to rule corresponding with described preset rules by multiple described download data
Become file.
A kind of file download system based on page script, including:
File downloading device, including:
First sending module, is used for sending parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded;
First receiver module, for receiving the response message asked for described parameter acquiring;
Creation module, described to be downloaded for creating multiple downloads according to described response message according to preset rules
The download request object of file;
Second sending module, for initiating the request of multiple parallel downloading according to multiple described download request object,
Each described request of downloading is used for downloading the different piece of described file to be downloaded;
Second receiver module, for receiving for multiple described multiple download data downloading request;
Assembling module, for assembled according to rule corresponding with described preset rules by multiple described download data
Become file.
Server group, including:
First processing means, is used for receiving the request of described parameter acquiring, and sends response message;
Second processing means, is used for receiving multiple described download and asks, and send multiple download data.
Compared with prior art, to have the advantages that the embodiment of the present application is passed through many for the embodiment of the present application
Individual Parallel download is asked, and to realize file download multi-request parallel processing, thus accelerates the speed of file download.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application
Point, the schematic description and description of the application is used for explaining the application, is not intended that to the application not
Work as restriction.In the accompanying drawings:
Fig. 1 shows for the flow process of a kind of based on page script the document down loading method that the embodiment of the present application provides
It is intended to;
Fig. 2 shows for the framework of a kind of based on page script the file downloading device that the embodiment of the present application provides
It is intended to;
The flow process of the another kind document down loading method based on page script that Fig. 3 provides for the embodiment of the present application
Schematic diagram;
The frame of a kind of based on page script the file download service device group that Fig. 4 provides for the embodiment of the present application
Structure schematic diagram;
The another kind document down loading method based on page script that Fig. 5 provides for the embodiment of the present application mutual
Schematic diagram;
Fig. 6 shows for the framework of a kind of based on page script the file download system that the embodiment of the present application provides
It is intended to;
The concrete reality of a kind of based on page script the document down loading method that Fig. 7 provides for the embodiment of the present application
Execute the mutual schematic diagram of example;
The another kind document down loading method based on page script that Fig. 8 provides for the embodiment of the present application concrete
The mutual schematic diagram of embodiment.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application
Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described
Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application
Example, the every other enforcement that those of ordinary skill in the art are acquired under not making creative work premise
Example, broadly falls into the scope of the application protection.
Below in conjunction with accompanying drawing, describe the technical scheme that each embodiment of the application provides in detail.
Fig. 1 shows for the flow process of a kind of based on page script the document down loading method that the embodiment of the present application provides
It is intended to.
Described document down loading method based on page script specifically includes following steps:
S101: sending parameter acquiring request, the request of described parameter acquiring is for acquisition request file to be downloaded
Parameter information.
In the present embodiment, executive agent can be file downloading device based on page script.Under described file
Carrying to put and can include the first sending module, described first sending module sends parameter acquiring to server group please
Ask.The request of described parameter acquiring is for the parameter information of acquisition request file to be downloaded.Described file to be downloaded
Parameter information include but not limited to: the data volume of file, the quantity of storage server, storage server
Address etc..
In a kind of embodiment, parameter acquiring request can be header information request.The request of described header information can
Think HTTP request.HTTP request mode can make requests in a variety of forms, such as: POST, GET,
HEAD etc..In the present embodiment, the request of described header information refers to the HTTP request of HEAD mode.Pin
HTTP request to HEAD mode, server group only sends header information, and does not send other guide.
Described header information can include but not limited to: the request method of the data volume of file, server support, literary composition
The coded system of shelves, Doctype, current time, last modification time, file storage location etc..Due to
The interaction data amount that the HTTP request of HEAD mode produces is less, therefore, and the HTTP of HEAD mode
Request treatment effeciency is high.In the present embodiment, before the HTTP request of HEAD mode sends, described browser
Transmission control protocol (Transmission Control can be realized by three-way handshake agreement and server group
Protocol, TCP) connect.
In another kind of embodiment, parameter acquiring request can be that custom parameter obtains request, such as acquisition request
The data volume of file, the quantity of storage server, the address etc. of storage server.Server group is for setting
Request is obtained, it is possible to send the data volume of file, store server for this custom parameter can be received
Quantity, storage server address to file downloading device.Portion is pertained only to owing to custom parameter obtains request
Dividing parameter information, be not related to document text, therefore custom parameter obtains the interaction data amount of request generation relatively
Little, treatment effeciency is high.
S102: receive the response message asked for described parameter acquiring.
Described file downloading device can also include the first receiver module, when server group receives the first transmission
The parameter acquiring request that module sends, parameter acquiring request is processed by server group, and returns response letter
Breath, described first receiver module receives response message.In the present embodiment, described response message can include
But it is not limited to the parameter information of file to be downloaded.
S103: create under the described file to be downloaded of multiple downloads according to preset rules according to described response message
Carry request object.
Described file downloading device can also include creation module.Described creation module can be according to response message
The download request object of the described file to be downloaded of multiple downloads is created according to pre-defined rule.Described download request is right
As the request of downloading can be initiated.
S104: initiate the request of multiple parallel downloading, each described download according to multiple described download request object
Request is for downloading the different piece of described file to be downloaded.
Described file downloading device can also include the second sending module, and described second sending module is according to multiple
Described download request object, initiates the request of multiple parallel downloading to server group.In the present embodiment, Duo Gesuo
State the different server that the request of download can correspond in server group, to ensure at least to download request for two
The speed of file download with parallel processing, can be further speeded up.Each described download request is used for downloading described
The different piece of file to be downloaded.
S105: receive for multiple described multiple download data downloading request.
Described download file device can also include the second receiver module.Described second receiver module can receive
For multiple multiple download data downloading request.
S106: multiple described download data are assembled into file according to rule corresponding with described preset rules.
Described download file device can also include assembling module, and described assembling module is by multiple described download numbers
It is assembled into file according to according to rule corresponding with described preset rules.
In the present embodiment, described second sending module has some transmitting elements, described second receiver module tool
There are some reception unit.Described transmitting element and reception unit one_to_one corresponding, the most described transmitting element sends down
After carrying request, the corresponding unit that receives only receives the download data asked for this download.To sum up, described spelling
Die-filling piece can be by judging to receive the order of unit, the order of i.e. corresponding transmitting element, with carry out multiple under
Carry the assembly of data, and obtain file.
The embodiment of the present application is asked by multiple Parallel downloads, to realize file download multi-request parallel processing,
Thus accelerate the speed of file download.
Further, described response message includes the data volume of file.To according to described response message according in advance
If the download request object of the described file to be downloaded of the multiple download of rule creation illustrates.According to described file
Data volume, according to described preset rules determine the quantity of described download request object and each to download request right
Different piece as corresponding described file to be downloaded.
Further, described method also comprises determining that the request download that a described download request object is corresponding
Data volume.To the data volume according to described file, determine described download request object according to preset rules
The different piece of quantity and file to be downloaded corresponding to each download request object illustrates.According to described literary composition
The data volume that the data volume of part and request are downloaded, determines that the quantity of described download request object and each download please
Seek the different piece of the file to be downloaded that object is corresponding.
Further, described response message also includes the quantity storing server.To the number according to described file
According to amount, determine that the quantity of described download request object and each download request object are corresponding according to preset rules
The different piece of file to be downloaded illustrates.Set the quantity of described download request object as equaling to or less than
One numerical value of the quantity of storage server;Data volume according to described file and the number of download request object
Amount, determines the different piece of file to be downloaded corresponding to each download request object.
Further, described response message also includes the address storing server.To according to described response message
The download request object creating the described file to be downloaded of multiple downloads according to preset rules illustrates.Institute is set
The address stating storage server corresponds to described download request object by preset rules.
In a kind of embodiment, described response message can include data volume M of file.Described download file fills
Put and be additionally provided with predetermined establishment condition.Described method also determines that what request corresponding to download request object was downloaded
Data volume N.Data volume N that described request is downloaded can be defined by file downloading device oneself, can also be by
Server group defines, file downloading device acquisition request.Determine the quantity I of described download request object.Under
Carry what data volume M that quantity I is file asking object was downloaded divided by the request that download request object is corresponding
Data volume rounds up, and even divides exactly, and the data volume of the request download that each download request object is corresponding is N;
If not dividing exactly, the data volume of the request download that front I-1 download request object is corresponding is N, under last
Carry request object corresponding request download data volume M-N* (I-1), thus the quantity of download request object and
The different piece of the file to be downloaded that each download request object is corresponding also determines.By obtaining the data of file
Amount, the data volume downloaded in conjunction with the request that each download request object is corresponding is right to realize described download request
The determination of the different piece of the quantity of elephant and file to be downloaded corresponding to each download request object.Further,
Described response message can include store server address, arrange storage server address be corresponding in turn in
Download request object.Now, it will three kinds of situations occur: one, the quantity of storage server is asked more than downloading
Seek the quantity (corresponding to table one) of object;Two, the quantity of storage server is equal to the number of download request object
Amount (corresponding to table two);Three, the quantity of storage server (corresponds to less than the quantity of download request object
Table three).In the present embodiment, asked by the download of the address distribution equilibrium as far as possible for each storage server,
To ensure that the processing pressure of each server equalizes and the parallel processing time is shorter, it is achieved carrying of the speed of download
High.
Table one
Download request object | The address of storage server |
Object 1 | Address 1 |
Object 2 | Address 2 |
Object 3 | Address 3 |
Object 4 | Address 1 |
Object 5 | Address 2 |
Object 6 | Address 3 |
Object 7 | Address 1 |
Object 8 | Address 2 |
Table two
Download request object | The address of storage server |
Object 1 | Address 1 |
Object 2 | Address 2 |
Object 3 | Address 3 |
Object 4 | Address 4 |
Object 5 | Address 5 |
Object 6 | Address 6 |
Object 7 | Address 7 |
Object 8 | Address 8 |
Table three
Download request object | The address of storage server |
Object 1 | Address 1 |
Object 2 | Address 2 |
Object 3 | Address 3 |
Object 4 | Address 4 |
Address 5 | |
Address 6 | |
Address 7 | |
Address 8 |
In another kind of embodiment, described response message can include data volume M of file, store server
Quantity J.Described download file device is additionally provided with predetermined establishment condition.Data volume I that described request is downloaded can
According to comprehensive descision, to be set equal to or to be less than a numerical value of quantity J of storage server.Described side
Method also determines that data volume N asking to download that a download request object is corresponding.Data volume N that request is downloaded
Data volume M for file rounds up divided by the quantity I of download request object, even divides exactly, each under
The data volume carrying request download corresponding to request object is N;If not dividing exactly, front I-1 download request object
The data volume that corresponding request is downloaded is N, the data of the request download that last download request object is corresponding
Amount M-N* (I-1), thus the quantity of download request object and literary composition to be downloaded corresponding to each download request object
The different piece of part also determines.Further, described response message can include the address storing server, if
The address putting storage server is corresponding in turn in download request object.Now, it will appearance amount kind situation:,
The quantity of storage server is equal to the quantity (corresponding to table four) of download request object;Two, storage server
Quantity less than the quantity (corresponding to table five) of download request object.In the present embodiment, downloaded by control
The quantity of request object is equal to or less than the quantity of storage server, it is ensured that each storage server is the most right
Answer a download request object, be further ensured that the performance of server group, improve the speed downloaded.
Table four
Download request object | The address of storage server |
Object 1 | Address 1 |
Object 2 | Address 2 |
Object 3 | Address 3 |
Object 4 | Address 4 |
Object 5 | Address 5 |
Object 6 | Address 6 |
Object 7 | Address 7 |
Object 8 | Address 8 |
Table five
Download request object | The address of storage server |
Object 1 | Address 1 |
Object 2 | Address 2 |
Object 3 | Address 3 |
Object 4 | Address 4 |
Address 5 | |
Address 6 | |
Address 7 |
Address 8 |
Further, the described request of downloading is HTTP request.To according to described response message according to default rule
The download request object then creating the described file to be downloaded of multiple download illustrates.According to described literary composition to be downloaded
The different piece of part, arranges each Range field downloading request.
The described request of downloading is HTTP request.The Range field of described HTTP request is used for specifying is asked
The position of the first character joint asked and the position of last byte.By arranging the Range of HTTP request
Field, precisely realizes the download of download data corresponding to the request of downloading.
Further, described page script is JavaScript page script.Described download request object is
XMLHttpRequest object.Create described in multiple downloads according to preset rules according to described response message
The download request object of file to be downloaded illustrates.XMLHttpRequest object is set
ResponseType attribute is Blob.
Described page script can be JavaScript page script.Described JavaScript page script is applied
Extensively, it is simple to promote the use of, and cross-platform use can be realized.
Described XMLHttpRequest object can not submitted in the case of full page to server, real
Existing local updating webpage.When after the whole loaded of the page, browser by this object to server request number
According to, after received server-side data process, to browser feedback data.
The type that responseType attribute is returning an object value of described XMLHttpRequest object.
Described Blob is binary large object (binary large object), is one and can store binary system literary composition
The container of part.
The embodiment of the present application, by being Blob by the responseType attribute of XMLHttpRequest object,
To realize the transmission of data and follow-up assembly.
A kind of based on page script the document down loading method provided for the embodiment of the present application above, in this area
Skilled artisan will appreciate that, the embodiment of the present application is also corresponding provides a kind of file download based on page script dress
Put, refer to Fig. 2.
Fig. 2 shows for the framework of a kind of based on page script the file downloading device that the embodiment of the present application provides
It is intended to.
Described file downloading device based on page script 100 specifically includes:
First sending module 101, is used for sending parameter acquiring request, and the request of described parameter acquiring is used for asking
Obtain the parameter information of file to be downloaded;
First receiver module 102, for receiving the response message asked for described parameter acquiring;
Creation module 103, for treating described in the preset rules multiple downloads of establishment according to described response message
Download the download request object of file;
Second sending module 104, please for initiating multiple parallel downloading according to multiple described download request object
Asking, each described request of downloading is used for downloading the different piece of described file to be downloaded;
Second receiver module 105, for receiving for multiple described multiple download data downloading request;
Assembling module 106, is used for multiple described download data according to corresponding with described preset rules regular
It is assembled into file.
Further, described response message includes the data volume of file.Described creation module 103 is specifically also used
In, according to the data volume of described file, determine the quantity of described download request object according to described preset rules
And the different piece of described file to be downloaded corresponding to each download request object.
Further, described device 100 determines the number asking to download that a described download request object is corresponding
According to amount.Described creation module 103 is specifically additionally operable to, the number downloaded according to data volume and the request of described file
According to amount, determine the quantity of described download request object and file to be downloaded corresponding to each download request object
Different piece.
Further, described response message also includes the quantity storing server.Described creation module 103 has
Body is additionally operable to, and sets the quantity of described download request object as one of the quantity equal to or less than storage server
Individual numerical value;Data volume according to described file and the quantity of download request object, determine that each downloads request right
Different piece as corresponding file to be downloaded.
Further, described response message also includes the address storing server.Described creation module 103 has
Body is additionally operable to, and the address arranging described storage server corresponds to described download request object by preset rules.
Further, the described request of downloading is HTTP request.Described creation module 103 is specifically additionally operable to,
According to the different piece of described file to be downloaded, each Range field downloading request is set.
Further, described page script is JavaScript page script.Described download request object is
XMLHttpRequest object.Described creation module 103 is specifically additionally operable to, and arranges XMLHttpRequest
The responseType attribute of object is Blob.
A kind of based on page script the document down loading method provided for the embodiment of the present application above and device, this
Skilled person provides another kind of literary composition based on page script it should be appreciated that the embodiment of the present application is also corresponding
Part method for down loading and server group, refer to Fig. 3 and Fig. 4.
The flow process of the another kind document down loading method based on page script that Fig. 3 provides for the embodiment of the present application
Schematic diagram.
Described document down loading method based on page script specifically includes following steps:
S201: receiving parameter acquiring request, the request of described parameter acquiring is for acquisition request file to be downloaded
Parameter information.
In the present embodiment, executive agent can be file download service device group based on page script.Described clothes
Business device group can include that the first processing means, described first processing means receive parameter acquiring request.Described ginseng
Number obtains the request parameter information for acquisition request file to be downloaded.
S202: ask according to described parameter acquiring, sends the parameter information of described file to be downloaded.
Described first processing means is asked according to described parameter acquiring, sends the parameter letter of described file to be downloaded
Breath.
S203: receive multiple download and ask, described download request is initiated according to the parameter information of file to be downloaded,
And for downloading the different piece of described file to be downloaded.
Described server group can also include that the second processing means, described second processing means receive multiple downloads
Request, described download request and initiates according to the parameter information of file to be downloaded, and is used for downloading described to be downloaded
The different piece of file.
S204: ask according to multiple described downloads, send the different piece of described file to be downloaded, for treating
The different piece downloading file is assembled into file.
Described second processing means is asked according to multiple described downloads, sends the different portions of described file to be downloaded
Point, the different piece for file to be downloaded is assembled into file.
Further, the parameter information of described file to be downloaded includes the data volume of file.Described download is asked
Quantity and each download the different piece number according to described file of described file to be downloaded corresponding to request
Determine according to described preset rules according to amount.
Further, described method also comprises determining that a described number downloading request download corresponding to request
According to amount.The different piece of the described file to be downloaded of the described quantity downloading request and each download request correspondence
Data volume and the data volume of request download according to described file determine.
Further, the parameter information of described file to be downloaded also includes the quantity storing server.Under described
Carry the different piece of the quantity of request and the described file to be downloaded of each download request correspondence according to described literary composition
The data volume of part and determining equal to or less than the quantity of the described download request of the quantity of storage server.
Further, the parameter information of described file to be downloaded also includes the address storing server.Multiple institutes
State download request corresponding by preset rules with the address of described storage server.
Further, the described request of downloading is HTTP request.The different piece of described file to be downloaded by under
The Range field carrying request is arranged.
A kind of based on page script the document down loading method provided for the embodiment of the present application above, in this area
Skilled artisan will appreciate that, the embodiment of the present application is also corresponding provides a kind of file download based on page script clothes
Business device group, refers to Fig. 4.
The frame of a kind of based on page script the file download service device group that Fig. 4 provides for the embodiment of the present application
Structure schematic diagram.
Described file download service device group 200 based on page script specifically includes:
First processing means 201, is used for receiving parameter acquiring request, and the request of described parameter acquiring is used for asking
Obtain the parameter information of file to be downloaded;Ask according to described parameter acquiring, send described file to be downloaded
Parameter information;
Second processing means 202, is used for receiving multiple download and asks, and described download is asked according to literary composition to be downloaded
The parameter information of part is initiated, and for downloading the different piece of described file to be downloaded;According to multiple described under
Carrying request, send the different piece of described file to be downloaded, the different piece for file to be downloaded is assembled into
File.
Further, the parameter information of described file to be downloaded includes the data volume of file.Described download is asked
Quantity and each download the different piece number according to described file of described file to be downloaded corresponding to request
Determine according to described preset rules according to amount.
Further, a described data volume downloading request download corresponding to request is determined.Described download please
The different piece of the described file to be downloaded of the quantity asked and each download request correspondence is according to described file
The data volume that data volume and request are downloaded determines.
Further, the parameter information of described file to be downloaded also includes the quantity storing server.Under described
Carry the different piece of the quantity of request and the described file to be downloaded of each download request correspondence according to described literary composition
The data volume of part and determining equal to or less than the quantity of the described download request of the quantity of storage server.
Further, the parameter information of described file to be downloaded also includes the address storing server.Multiple institutes
State download request corresponding by preset rules with the address of described storage server.
Further, the described request of downloading is HTTP request.The different piece of described file to be downloaded by under
The Range field carrying request is arranged.
A kind of based on page script the document down loading method provided for the embodiment of the present application above and device, another
A kind of document down loading method based on page script and server group, those skilled in the art it should be appreciated that
The embodiment of the present application is also corresponding provides another kind of document down loading method based on page script and system, refers to figure
5 and Fig. 6.
The another kind document down loading method based on page script that Fig. 5 provides for the embodiment of the present application mutual
Schematic diagram.
Described document down loading method based on page script specifically includes following steps:
S301: file downloading device sends parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded.
Described file downloading device can include the first sending module, and described first sending module is to server group
Transmission parameter acquiring is asked.The request of described parameter acquiring is for the parameter information of acquisition request file to be downloaded.
S302: server group receives the request of described parameter acquiring, and sends response message.
Described server group can have the first processing means, and described first processing means receives described parameter and obtains
Take request, and parameter acquiring request is processed, return response message to file downloading device.
S303: file downloading device receives described response message.
Described file downloading device can also include that the first receiver module, described first receiver module receive and answer
Answer information.
S304: file downloading device is treated described in the preset rules multiple downloads of establishment according to described response message
Download the download request object of file.
Described file downloading device can also include creation module, and described creation module can be according to described response
Information creates the download request object of the described file to be downloaded of multiple downloads according to preset rules.
S305: file downloading device initiates the request of multiple parallel downloading according to multiple described download request object,
Each described request of downloading is used for downloading the different piece of described file to be downloaded.
Described file downloading device can also include the second sending module, and described second sending module is according to multiple
Described download request object initiates the request of multiple parallel downloading, each described download request be used for downloading described in treat
Download the different piece of file.
S306: server group receives multiple described download and asks, and sends multiple download data.
Described server group can also have the second processing means, and described second processing means receives multiple described
Download request, and send multiple download data.
S307: file downloading device receives for multiple described download data.
Described file downloading device can also include the second receiver module, described second receiver module receive for
Multiple described download data.
S308: file downloading device by multiple described download data according to corresponding with described preset rules regular
It is assembled into file.
Described download file device can also include assembling module, and described assembling module is by multiple described download numbers
It is assembled into file according to according to rule corresponding with described preset rules.
Further, described page script is JavaScript page script.Described response message includes file
Data volume and storage server address.Described method also comprises determining that a described download request object
The data volume that corresponding request is downloaded.To file downloading device according to the data volume of described file, according to presetting
Rule determines the quantity of described download request object and file to be downloaded corresponding to each download request object
Different piece illustrates.The data that file downloading device is downloaded according to data volume and the request of described file
Amount, determines the quantity of described download request object and file to be downloaded corresponding to each download request object not
Same part.File downloading device arranges the address of described storage server by preset rules corresponding to described download
Request object.
Further, described page script is JavaScript page script.Described response message includes file
Data volume, storage server quantity and storage server address.To file downloading device according to described
According to preset rules, the data volume of file, determines that the quantity of described download request object and each download request are right
As the different piece of corresponding file to be downloaded illustrates.It is right that file downloading device sets described download request
The quantity of elephant is a numerical value of the quantity equal to or less than storage server.File downloading device is according to described
The data volume of file and the quantity of download request object, determine the literary composition to be downloaded that each download request object is corresponding
The different piece of part.File downloading device arranges the address of described storage server by preset rules corresponding to institute
State download request object.
A kind of based on page script the document down loading method provided for the embodiment of the present application above, in this area
Skilled artisan will appreciate that, the embodiment of the present application is also corresponding provides a kind of file download system based on page script
System, refers to Fig. 6.
Fig. 6 shows for the framework of a kind of based on page script the file download system that the embodiment of the present application provides
It is intended to.
Described file download system based on page script 300 specifically includes:
File downloading device 10, including:
First sending module 11, is used for sending parameter acquiring request, and the request of described parameter acquiring obtains for request
Take the parameter information of file to be downloaded;
First receiver module 12, for receiving the response message asked for described parameter acquiring;
Creation module 13, for treating described in the preset rules multiple downloads of establishment according to described response message
Download the download request object of file;
Second sending module 14, please for initiating multiple parallel downloading according to multiple described download request object
Asking, each described request of downloading is used for downloading the different piece of described file to be downloaded;
Second receiver module 15, for receiving for multiple described multiple download data downloading request;
Assembling module 16, is used for multiple described download data according to corresponding with described preset rules regular
It is assembled into file.
Server group 20, including:
First processing means 21, is used for receiving the request of described parameter acquiring, and sends response message;
Second processing means 22, is used for receiving multiple described download and asks, and send multiple download data.
Further, described page script is JavaScript page script.Described response message includes file
Data volume and storage server address.Determine what request corresponding to described download request object was downloaded
Data volume.Described creation module 13 is specifically additionally operable to, and file downloading device is according to the data volume of described file
And the data volume that request is downloaded, determine that the quantity of described download request object and each download request object are corresponding
The different piece of file to be downloaded;The address arranging described storage server corresponds to described by preset rules
Download request object.
Further, described page script is JavaScript page script.Described response message includes file
Data volume, storage server quantity and storage server address.Described creation module 13 is specifically also
For, set a quantity number as the quantity equal to or less than storage server of described download request object
Value;Data volume according to described file and the quantity of download request object, determine each download request object pair
The different piece of the file to be downloaded answered;The address arranging described storage server corresponds to institute by preset rules
State download request object.
Further the embodiment of the present application is illustrated below with reference to using scene.
Embodiment one
The concrete reality of a kind of based on page script the document down loading method that Fig. 7 provides for the embodiment of the present application
Execute the mutual schematic diagram of example.
Server group includes master server and storage server.
(described Web Site Interactive includes but not limited to video playback, file download, control to described Web Site Interactive method
Part loads, schemes loading, music etc. greatly) specifically include following steps:
S401: browser sends web access requests.
S402: master server returns request and accesses info web.
S403: browser receives triggering command.
Triggering command transmission to file downloading device, file downloading device are sent parameter and obtain by S404: browser
Taking request, the request of described parameter acquiring is for the parameter information of acquisition request file to be downloaded.
S405: master server receives the request of described parameter acquiring, and sends response message.
S406: file downloading device receives described response message.
S407: file downloading device, according to described response message, creates multiple download request object.
S408: file downloading device, according to multiple described download request object, is initiated multiple download and is asked.
S409: storage server receives multiple described download and asks, and sends multiple download data, described master
Server can be storage server, and described master server can not be storage server.
S410: file downloading device receives multiple described download data.
S411: file downloading device is assembled by multiple described download data, it is thus achieved that complete file.
Embodiment two
The another kind document down loading method based on page script that Fig. 8 provides for the embodiment of the present application concrete
The mutual schematic diagram of embodiment.
Server group includes master server and storage server.
Described webpage loading method (described Web Site Interactive includes but not limited to webpage loaded and displayed) specifically includes
Following steps:
S501: browser sends parameter acquiring request, and the request of described parameter acquiring is used for acquisition request about net
The parameter of page source file, in the present embodiment, browser is equivalent to file downloading device.
S502: master server receives the request of described parameter acquiring, and sends response message.
S503: browser receives described response message.
S504: browser, according to described response message, creates multiple download request object.
S505: browser, according to multiple described download request object, is initiated multiple download and is asked.
S506: storage server receives multiple described download and asks, and sends multiple download data, described master
Server can be storage server, and described master server can not be storage server.
S507: browser receives multiple described download data.
S508: multiple described download data are assembled, it is thus achieved that complete webpage.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory,
CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processing module of formula datatron or other programmable data processing device is to produce a machine so that by meter
The instruction that the processing module of calculation machine or other programmable data processing device performs produces for realizing in flow process
The dress of the function specified in one flow process of figure or multiple flow process and/or one square frame of block diagram or multiple square frame
Put.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment include one or more processing module (CPU), input/
Output interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash
RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing
Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only
Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated
The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker
Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non-
Comprising of exclusiveness, so that include that the process of a series of key element, method, product or equipment not only wrap
Include those key elements, but also include other key elements being not expressly set out, or also include for this process,
The key element that method, product or equipment are intrinsic.In the case of there is no more restriction, statement " include
One ... " key element that limits, it is not excluded that including the process of described key element, method, product or setting
Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and
The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more
The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM,
Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill
For art personnel, the application can have each kind of change and change.All within spirit herein and principle
Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.
Claims (32)
1. a document down loading method based on page script, it is characterised in that including:
Transmission parameter acquiring is asked, and the request of described parameter acquiring is for the parameter letter of acquisition request file to be downloaded
Breath;
Receive the response message asked for described parameter acquiring;
Ask according to the download that described response message creates the described file to be downloaded of multiple downloads according to preset rules
Seek object;
Initiating the request of multiple parallel downloading according to multiple described download request object, each described request of downloading is used
In the different piece downloading described file to be downloaded;
Receive for multiple described multiple download data downloading request;
Multiple described download data are assembled into file according to rule corresponding with described preset rules.
2. the method for claim 1, it is characterised in that described response message includes the number of file
According to amount;
Ask according to the download that described response message creates the described file to be downloaded of multiple downloads according to preset rules
Seek object, specifically include:
According to the data volume of described file, determine the quantity of described download request object according to described preset rules
And the different piece of described file to be downloaded corresponding to each download request object.
3. method as claimed in claim 2, it is characterised in that described method also includes:
Determine the data volume asking to download that a described download request object is corresponding;
According to the data volume of described file, determine the quantity of described download request object and each according to preset rules
The different piece of the file to be downloaded that individual download request object is corresponding, specifically includes:
Data volume according to described file and the data volume of request download, determine the number of described download request object
Amount and the different piece of file to be downloaded corresponding to each download request object.
4. method as claimed in claim 2, it is characterised in that described response message also includes that storage is treated
Download the quantity of the storage server of file;
According to the data volume of described file, determine the quantity of described download request object and each according to preset rules
The different piece of the file to be downloaded that individual download request object is corresponding, specifically includes:
Set the quantity of described download request object as one of the quantity equal to or less than described storage server
Individual numerical value;
Data volume according to described file and the quantity of download request object, determine each download request object pair
The different piece of the file to be downloaded answered.
5. the method as described in claim 3 or 4, it is characterised in that described response message includes storage
The address of server;
Ask according to the download that described response message creates the described file to be downloaded of multiple downloads according to preset rules
Seek object, the most also include:
The address arranging described storage server corresponds to described download request object by preset rules.
6. method as claimed in claim 2, it is characterised in that described download request is HTTP request;
Ask according to the download that described response message creates the described file to be downloaded of multiple downloads according to preset rules
Seek object, the most also include:
According to the different piece of described file to be downloaded, each Range field downloading request is set.
7. the method as described in any one in claim 1-4, it is characterised in that described page script
For JavaScript page script;Described download request object is XMLHttpRequest object;
Ask according to the download that described response message creates the described file to be downloaded of multiple downloads according to preset rules
Seek object, the most also include:
The responseType attribute arranging XMLHttpRequest object is Blob.
8. a file downloading device based on page script, it is characterised in that including:
First sending module, is used for sending parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded;
First receiver module, for receiving the response message asked for described parameter acquiring;
Creation module, described to be downloaded for creating multiple downloads according to described response message according to preset rules
The download request object of file;
Second sending module, for initiating the request of multiple parallel downloading according to multiple described download request object,
Each described request of downloading is used for downloading the different piece of described file to be downloaded;
Second receiver module, for receiving for multiple described multiple download data downloading request;
Assembling module, for assembled according to rule corresponding with described preset rules by multiple described download data
Become file.
9. device as claimed in claim 8, it is characterised in that described response message includes the number of file
According to amount;
Described creation module is specifically additionally operable to, according to the data volume of described file, true according to described preset rules
The quantity of fixed described download request object and described file to be downloaded corresponding to each download request object are not
Same part.
10. device as claimed in claim 9, it is characterised in that determine a described download request object
The data volume that corresponding request is downloaded;
Described creation module is specifically additionally operable to, the data volume downloaded according to data volume and the request of described file,
Determine the quantity of described download request object and the difference of file to be downloaded corresponding to each download request object
Part.
11. devices as claimed in claim 9, it is characterised in that described response message also includes that storage is treated
Download the quantity of the storage server of file;
Described creation module is specifically additionally operable to, and sets the quantity of described download request object as equal to or less than depositing
One numerical value of the quantity of storage server;Data volume according to described file and the quantity of download request object,
Determine the different piece of file to be downloaded corresponding to each download request object.
12. devices as described in claim 10 or 11, it is characterised in that described response message also includes
The address of storage server;
Described creation module is specifically additionally operable to, and the address arranging described storage server is corresponded to by preset rules
Described download request object.
13. devices as claimed in claim 9, it is characterised in that described download request is HTTP request;
Described creation module is specifically additionally operable to, and according to the different piece of described file to be downloaded, arranges under each
Carry the Range field of request.
14. devices as described in any one in claim 8-11, it is characterised in that described webpage foot
This is JavaScript page script;Described download request object is XMLHttpRequest object;
Described creation module is specifically additionally operable to, and the responseType arranging XMLHttpRequest object belongs to
Property is Blob.
15. 1 kinds of document down loading methods based on page script, it is characterised in that including:
Reception parameter acquiring is asked, and the request of described parameter acquiring is for the parameter letter of acquisition request file to be downloaded
Breath;
Ask according to described parameter acquiring, send the parameter information of described file to be downloaded;
Receiving multiple download to ask, the described parameter information asked according to file to be downloaded of downloading is initiated, and uses
In the different piece downloading described file to be downloaded;
Ask according to multiple described downloads, send the different piece of described file to be downloaded, for literary composition to be downloaded
The different piece of part is assembled into file.
16. methods as claimed in claim 15, it is characterised in that the parameter letter of described file to be downloaded
Breath includes the data volume of file;The described to be downloaded of correspondence is asked in the described quantity downloading request and each download
The different piece of file determines according to described preset rules according to the data volume of described file.
17. methods as claimed in claim 16, it is characterised in that described method also includes:
Determine a described data volume downloading request download corresponding to request;
The different piece of the described file to be downloaded of the described quantity downloading request and each download request correspondence
Data volume and the data volume of request download according to described file determine.
18. methods as claimed in claim 16, it is characterised in that the parameter letter of described file to be downloaded
Breath also includes the quantity storing the storage server of file to be downloaded;Described download request quantity and each under
Carry the different piece asking corresponding described file to be downloaded according to the data volume of described file and to be equal to or little
Quantity in the described download request of the quantity of storage server determines.
19. methods as described in claim 17 or 18, it is characterised in that the ginseng of described file to be downloaded
Number information also includes the address storing server;Multiple described addresses downloading request and described storage server
Corresponding by preset rules.
20. methods as claimed in claim 16, it is characterised in that described download request is HTTP request;
The different piece of described file to be downloaded is arranged by the Range field of the request of downloading.
21. 1 kinds of file download service device groups based on page script, it is characterised in that including:
First processing means, is used for receiving parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded;Ask according to described parameter acquiring, send the parameter of described file to be downloaded
Information;
Second processing means, is used for receiving multiple download and asks, and described download is asked according to file to be downloaded
Parameter information is initiated, and for downloading the different piece of described file to be downloaded;Please according to multiple described downloads
Asking, send the different piece of described file to be downloaded, the different piece for file to be downloaded is assembled into file.
22. server group as claimed in claim 21, it is characterised in that the ginseng of described file to be downloaded
Number information includes the data volume of file;Treat described in the described quantity downloading request and each download request correspondence
The different piece downloading file determines according to described preset rules according to the data volume of described file.
23. server groups as claimed in claim 22, it is characterised in that determine that a described download please
Seek the data volume that corresponding request is downloaded;
The different piece of the described file to be downloaded of the described quantity downloading request and each download request correspondence
Data volume and the data volume of request download according to described file determine.
24. server groups as claimed in claim 22, it is characterised in that the ginseng of described file to be downloaded
Number information also includes the quantity storing the storage server of file to be downloaded;The described quantity downloading request and each
The individual different piece asking corresponding described file to be downloaded of downloading according to the data volume of described file and is equal to
Or determine less than the quantity of the described download request of the quantity of storage server.
The 25. server groups as described in claim 23 or 24, it is characterised in that described file to be downloaded
Parameter information also include store server address;Multiple described downloads are asked and described storage server
Address is corresponding by preset rules.
26. server groups as claimed in claim 22, it is characterised in that described download request is HTTP
Request;The different piece of described file to be downloaded is arranged by the Range field of the request of downloading.
27. 1 kinds of document down loading methods based on page script, it is characterised in that including:
File downloading device sends parameter acquiring request, and the request of described parameter acquiring is to be downloaded for acquisition request
The parameter information of file;
Server group receives the request of described parameter acquiring, and sends response message;
File downloading device receives described response message;
It is described to be downloaded that file downloading device creates multiple downloads according to described response message according to preset rules
The download request object of file;
File downloading device initiates the request of multiple parallel downloading, each institute according to multiple described download request object
State download request for the different piece downloading described file to be downloaded;
Server group receives multiple described download and asks, and sends multiple download data;
File downloading device receives for multiple described download data;
File downloading device is assembled according to rule corresponding with described preset rules by multiple described download data
Become file.
28. methods as claimed in claim 27, it is characterised in that described page script is JavaScript
Page script;Described response message includes data volume and the address of storage server of file;Described method is also
Including:
Determine the data volume asking to download that a described download request object is corresponding;
According to preset rules, file downloading device, according to the data volume of described file, determines that described download request is right
The quantity of elephant and the different piece of file to be downloaded corresponding to each download request object, specifically include:
The data volume that file downloading device is downloaded according to data volume and the request of described file, determines described download
The request quantity of object and the different piece of file to be downloaded corresponding to each download request object;
File downloading device arranges the address of described storage server please corresponding to described download by preset rules
Seek object.
29. methods as claimed in claim 27, it is characterised in that described page script is JavaScript
Page script;Described response message includes the data volume of file, the quantity of storage server and storage server
Address;
According to preset rules, file downloading device, according to the data volume of described file, determines that described download request is right
The quantity of elephant and the different piece of file to be downloaded corresponding to each download request object, specifically include:
File downloading device sets the quantity of described download request object as equal to or less than storage server
One numerical value of quantity;
The file downloading device data volume according to described file and the quantity of download request object, determine under each
Carry the different piece of file to be downloaded corresponding to request object;
File downloading device arranges the address of described storage server please corresponding to described download by preset rules
Seek object.
30. 1 kinds of file download systems based on page script, it is characterised in that including:
File downloading device, including:
First sending module, is used for sending parameter acquiring request, and the request of described parameter acquiring is for acquisition request
The parameter information of file to be downloaded;
First receiver module, for receiving the response message asked for described parameter acquiring;
Creation module, described to be downloaded for creating multiple downloads according to described response message according to preset rules
The download request object of file;
Second sending module, for initiating the request of multiple parallel downloading according to multiple described download request object,
Each described request of downloading is used for downloading the different piece of described file to be downloaded;
Second receiver module, for receiving for multiple described multiple download data downloading request;
Assembling module, for assembled according to rule corresponding with described preset rules by multiple described download data
Become file;
Server group, including:
First processing means, is used for receiving the request of described parameter acquiring, and sends response message;
Second processing means, is used for receiving multiple described download and asks, and send multiple download data.
31. methods as claimed in claim 30, it is characterised in that described page script is JavaScript
Page script;Described response message includes data volume and the address of storage server of file;Determine an institute
State the data volume that request corresponding to download request object is downloaded;
Described creation module is specifically additionally operable to, and file downloading device is according under the data volume of described file and request
The data volume carried, determines the quantity of described download request object and corresponding to be downloaded of each download request object
The different piece of file;The address arranging described storage server downloads request by preset rules corresponding to described
Object.
32. methods as claimed in claim 30, it is characterised in that described page script is JavaScript
Page script;Described response message includes the data volume of file, the quantity of storage server and storage server
Address;
Described creation module is specifically additionally operable to, and sets the quantity of described download request object as equal to or less than depositing
One numerical value of the quantity of storage server;Data volume according to described file and the quantity of download request object,
Determine the different piece of file to be downloaded corresponding to each download request object;Described storage server is set
Address corresponds to described download request object by preset rules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510203167.2A CN106161570A (en) | 2015-04-24 | 2015-04-24 | Document down loading method based on page script, device, server group and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510203167.2A CN106161570A (en) | 2015-04-24 | 2015-04-24 | Document down loading method based on page script, device, server group and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161570A true CN106161570A (en) | 2016-11-23 |
Family
ID=57347846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510203167.2A Pending CN106161570A (en) | 2015-04-24 | 2015-04-24 | Document down loading method based on page script, device, server group and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161570A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426313A (en) * | 2017-07-21 | 2017-12-01 | 北京金山安全管理系统技术有限公司 | Data publication method and device |
CN110247985A (en) * | 2019-06-28 | 2019-09-17 | 北京奇艺世纪科技有限公司 | A kind of resource downloading method, device, electronic equipment and medium |
CN111294374A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视数字技术股份有限公司 | Heterogeneous equipment starting system, method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1425990A (en) * | 2001-12-13 | 2003-06-25 | 杨磊 | File cocurrent downloading technology for Internet multiple servers |
CN1852101A (en) * | 2005-08-10 | 2006-10-25 | 华为技术有限公司 | Parallel downloading method and terminal |
CN101741730A (en) * | 2009-12-02 | 2010-06-16 | 成都市华为赛门铁克科技有限公司 | Method and equipment for downloading file and method and system for providing file downloading service |
CN103634361A (en) * | 2012-08-28 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Method and apparatus for downloading file |
CN104184789A (en) * | 2014-02-24 | 2014-12-03 | 无锡天脉聚源传媒科技有限公司 | File downloading method and device |
-
2015
- 2015-04-24 CN CN201510203167.2A patent/CN106161570A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1425990A (en) * | 2001-12-13 | 2003-06-25 | 杨磊 | File cocurrent downloading technology for Internet multiple servers |
CN1852101A (en) * | 2005-08-10 | 2006-10-25 | 华为技术有限公司 | Parallel downloading method and terminal |
CN101741730A (en) * | 2009-12-02 | 2010-06-16 | 成都市华为赛门铁克科技有限公司 | Method and equipment for downloading file and method and system for providing file downloading service |
CN103634361A (en) * | 2012-08-28 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Method and apparatus for downloading file |
CN104184789A (en) * | 2014-02-24 | 2014-12-03 | 无锡天脉聚源传媒科技有限公司 | File downloading method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426313A (en) * | 2017-07-21 | 2017-12-01 | 北京金山安全管理系统技术有限公司 | Data publication method and device |
CN111294374A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视数字技术股份有限公司 | Heterogeneous equipment starting system, method and device and electronic equipment |
CN111294374B (en) * | 2018-12-07 | 2023-04-18 | 杭州海康威视数字技术股份有限公司 | Heterogeneous equipment starting system, method and device and electronic equipment |
CN110247985A (en) * | 2019-06-28 | 2019-09-17 | 北京奇艺世纪科技有限公司 | A kind of resource downloading method, device, electronic equipment and medium |
CN110247985B (en) * | 2019-06-28 | 2022-06-03 | 北京奇艺世纪科技有限公司 | Resource downloading method and device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108279932B (en) | Method and device for dynamically configuring user interface of mobile terminal | |
CN110651252A (en) | Content management system extensions | |
CN107733972A (en) | A kind of short linking analytic method, device and equipment | |
CN107229633A (en) | Static page generation method, Web access method and device | |
CN109376316B (en) | Method, system and server for dynamically loading route | |
CN107679214B (en) | Link positioning method, device, terminal and computer readable storage medium | |
CN106681921B (en) | Method and device for realizing data parameterization | |
CN104081393B (en) | Network application content map | |
CN111177672A (en) | Page access control method and device and electronic equipment | |
EP3005134A1 (en) | Systems and methods of token piggybacking | |
US20120331038A1 (en) | Systems and methods for processing web service piped network requests | |
CN108021564B (en) | Method and equipment for redirecting page | |
CN103237003A (en) | Method and device for responding to high visiting flow in network | |
CN107395784A (en) | The method and apparatus that a kind of batch imports Internet protocol IP pond | |
CN111460394A (en) | Copyright file verification method and device and computer readable storage medium | |
CN107391182A (en) | Generation method, device, server and storage medium of theme installation package | |
CN110347946A (en) | A kind of page display method, device, computer equipment and storage medium | |
CN107305528B (en) | Application testing method and device | |
CN105022619A (en) | Code processing method and device | |
CN106933817B (en) | Content query method, device and system based on B/S structure | |
CN106161570A (en) | Document down loading method based on page script, device, server group and system | |
CN105608078B (en) | A kind of method and apparatus of Webpage live preview | |
CN107395663B (en) | Data acquisition method and device | |
CN113452733A (en) | File downloading method and device | |
CN109218339B (en) | Request processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161123 |
|
RJ01 | Rejection of invention patent application after publication |