CN101645905B - Data downloading method and data uploading method and browser - Google Patents
Data downloading method and data uploading method and browser Download PDFInfo
- Publication number
- CN101645905B CN101645905B CN200910171809A CN200910171809A CN101645905B CN 101645905 B CN101645905 B CN 101645905B CN 200910171809 A CN200910171809 A CN 200910171809A CN 200910171809 A CN200910171809 A CN 200910171809A CN 101645905 B CN101645905 B CN 101645905B
- Authority
- CN
- China
- Prior art keywords
- data
- url
- upload
- download
- type
- 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.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a data downloading method and a data uploading method and a browser. The data downloading method comprises the following steps: receiving a downloading request issued by a webpage application created based on Ajax technique, wherein, the downloading request carries the data uniform resource locator which is downloaded at the request of the webpage application; determining the protocol type corresponding to the above downloading request; and downloading data from a corresponding server on the basis of the above uniform resource locator and according to the process mode corresponding to the determined protocol type. In the technical scheme of the invention, the browser firstly determines the protocol type corresponding to the interactive request issued by the webpage application which is created based on the Ajax technique, then interacts data with the corresponding server according to the determined process mode corresponding to the protocol type, thus being capable of realizing data interaction between the webpage application created based on the Ajax technique and the server adopting a plurality of protocols, being suitable for a plurality of application contexts and being beneficial for expanding the application range of the Ajax technique.
Description
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of data download method and data uploading method and browser.
Background technology
Development along with the webpage development technology; The developer hopes that web application can carry out the mutual of height with server; Asynchronous JavaScript and XML (Ajax; Asynchronous JavaScript and XML) technology is day by day used as a kind of webpage development technology of creating the interaction network page application widely.
In the prior art, can only can not carry out alternately with the server that adopts other agreement through browser and the server interaction data that adopt HTTP (HTTP, Hypertext Transfer Protocol) based on the web application that the Ajax technology is created.
For instance, in existing data downloading process, the web application of creating based on Ajax technology is after browser issues download request; The browser acquiescence is according to the pairing download process mode of HTTP, to corresponding server requests data download; If download successfully, browser feeds back successful data downloaded to this web application; If that this server adopts is not HTTP, data are downloaded and will be failed certainly.
But in a lot of systems; Be not through http communication between the equipment; Browser has limited web application of creating based on the Ajax technology and the equipment that adopts other non-HTTP and has carried out alternately, and then retrained Ajax The Application of Technology scope greatly according to existing interactive processing mode.
Summary of the invention
The embodiment of the invention provides a kind of data download method and data uploading method and browser, can realize web application of creating based on the Ajax technology and the equipment interaction data that adopts various protocols helping expanding Ajax The Application of Technology scope.
For solving the problems of the technologies described above, the embodiment of the invention provides following technical scheme:
A kind of data download method is characterized in that, comprising:
The download request that the web application that reception is created based on the Ajax technology issues, said download request is carried the URL of said web application request data downloaded; Confirm said download request corresponding protocols type; According to the pairing processing mode of the protocol type of determining, according to said URL data download from the corresponding server.
Preferably, said definite said download request corresponding protocols type comprises: detect the protocol type sign that said URL comprises; According to the result of said detection, confirm said download request corresponding protocols type.
Preferably; Said according to the pairing processing mode of the protocol type of determining; According to said URL data download from the corresponding server; Comprise: when the protocol type of determining is a local file system corresponding protocols type, according to the pairing processing mode of the protocol type of local file system, according to said URL from local file system file in download resource.
A kind of method of data upload comprises:
The upload request that the web application that reception is created based on Ajax technology issues, said upload request are carried the data that said web application request uploads and the URL of this data upload; Confirm said upload request corresponding protocols type; According to the pairing processing mode of the protocol type of determining, upload said data to corresponding server according to said URL.
Preferably, said definite said download request corresponding protocols type comprises: detect the protocol type sign that said URL comprises; According to the result of said detection, confirm said upload request corresponding protocols type.
Preferably; Upload said data according to said URL to corresponding server; Comprise: when the protocol type of determining is a local file system corresponding protocols type; According to the pairing processing mode of the protocol type of local file system, upload said data to local file system according to said URL.
A kind of browser comprises:
Receiver module is used to receive the download request that issues based on the technological web application of creating of Ajax, and said download request is carried the URL of said web application request data downloaded; Determination module is used for confirming said download request corresponding protocols type; Download module is used for the pairing processing mode of protocol type confirmed according to said determination module, according to said URL data download from the corresponding server.
Preferably, said determination module comprises: detection sub-module is used to detect the protocol type sign that said URL comprises; Confirm submodule, be used for result, confirm said download request corresponding protocols type according to said detection sub-module detection.
A kind of browser comprises:
Receiver module is used to receive the upload request that the web application created based on the Ajax technology issues, and said upload request is carried the data that the web application request uploads and the URL of this data upload; Determination module is used for confirming said upload request corresponding protocols type; Last transmission module is used for uploading said data according to said URL to corresponding server according to the definite pairing processing mode of protocol type of said determination module.
Preferably, said determination module comprises: detection sub-module is used to detect the protocol type sign that said URL comprises; Confirm submodule, be used for result, confirm said upload request corresponding protocols type according to said detection sub-module detection.
Therefore; The technical scheme that the embodiment of the invention adopts has following advantage: browser is determined the interactive request corresponding protocols type that issues based on the technological web application of creating of Ajax earlier; And according to pairing processing mode of the protocol type of determining and corresponding server interaction data; Can realize web application of creating based on the Ajax technology and the server interaction data that adopt various protocols being applicable to plurality of application scenes, help expanding Ajax The Application of Technology scope.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of data download method of providing of the embodiment of the invention one;
Fig. 2 is the schematic flow sheet of a kind of data uploading method of providing of the embodiment of the invention two;
Fig. 3 is a kind of browser sketch map that the embodiment of the invention three provides;
Fig. 4 is a kind of browser sketch map that the embodiment of the invention four provides.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of data download method and data uploading method and browser, can realize web application of creating based on the Ajax technology and the equipment interaction data that adopts various protocols helping expanding Ajax The Application of Technology scope.
Below be elaborated respectively through specific embodiment.
Embodiment one,
A kind of data download method that sees also Fig. 1, the embodiment of the invention one can comprise:
101, browser receives the download request that issues based on the technological web application of creating of Ajax, and this download request is carried the URL of web application request data downloaded.
102, confirm above-mentioned download request corresponding protocols type.
Under a kind of application scenarios, the download request that the web application of creating based on Ajax technology issues can be carried URL (URL, Uniform Resource Locator) and other relevant parameter of request data downloaded etc.
Wherein, the URL that carries of above-mentioned download request comprises the address information and the routing information of this data on this server of the server of storing above-mentioned request data downloaded.The URL that download request is carried can also comprise the protocol type sign of indicating this download request corresponding protocols type, and download request corresponding protocols type is just stored the protocol type that server adopted of above-mentioned request data downloaded.
For example, the URL that carries as if download request is: http://www.gdzl.gov.cn/zljs/index.jsp, then its protocol type that comprises is designated HTTP, shows that this download request corresponding protocols type is HTTP.
Under a kind of application scenarios, browser can detect the protocol type sign that URL that above-mentioned download request carries comprises, and according to the result who detects, confirms download request corresponding protocols type.
For instance, when browser detected protocol type that URL comprises and is designated FTP, then determining download request corresponding protocols type was FTP (FTP, File Transfer Protocol); When detecting protocol type that URL comprises and be designated FILE, then determining download request corresponding protocols type is file protocol; When detecting protocol type that URL comprises and be designated RES, then determine download request corresponding protocols type and be resource (RES, Resouse) agreement, by that analogy.
Further; The browser and the page are used the protocol type of agreement acquiescence in advance; When browser detects the protocol type sign that URL that download request carries do not comprise, directly determine this download request corresponding protocols type and be the protocol type of agreement acquiescence in advance.
In addition; The download request that the above-mentioned web application of creating based on the Ajax technology issues also can be carried the indication information that other is used to indicate this download request corresponding protocols type; At this moment; Then browser can detect above-mentioned indication information, and according to testing result, confirms above-mentioned download request corresponding protocols type.
103, according to the pairing processing mode of the protocol type of determining, according to above-mentioned URL data download from the corresponding server.
Browser is determined download request corresponding protocols type; Also just determined the protocol type that server adopted of storing above-mentioned request data downloaded; And then can be according to the pairing downloading mode of the protocol type of determining, the URL that carries according to download request data download from the corresponding server.
For instance, when determining download request corresponding protocols type and be FTP, browser is according to the pairing processing mode of FTP, according to the URL of request data downloaded data download from the corresponding server; When determining download request corresponding protocols type and be FILE; Browser is according to the pairing processing mode data download of FILE agreement; When determining download request corresponding protocols type and be HTTP; Browser is local file system corresponding protocols type according to the pairing processing mode data download of HTTP when determining download request corresponding protocols type, and browser then can be according to the pairing processing mode of the protocol type of local file system; According to URL from local file system file in download resource, by that analogy.
Wherein, browser connects and the process of data download according to pairing processing mode of variety of protocol and respective server, for conventionally known to one of skill in the art, repeats no more here.
104,, then send from server success data downloaded to above-mentioned web application if download successfully.
Under a kind of application scenarios, after successfully downloading to corresponding data from respective server, the above-mentioned web application of browser is sent from server success data downloaded; If failed download, browser can feed back the indication information of a failed download to web application.
Certainly, web application can be handled and displaying etc. after receiving the data download of browser feedback accordingly.
Can find out by technique scheme; Browser is determined the download request corresponding protocols type that the technological web application of creating of Ajax issues earlier in this enforcement; According to the pairing processing mode of the protocol type of determining data download from the corresponding server; Can realize web application of creating based on the Ajax technology and the server interaction data that adopt various protocols being applicable to plurality of application scenes, help expanding Ajax The Application of Technology scope.
The foregoing description is to be example based on the technological web application request data download of creating of Ajax, describes, and uploads data instance with the web application request of creating based on the Ajax technology below and describes.
Embodiment two,
A kind of data uploading method that sees also Fig. 2, the embodiment of the invention two can comprise:
201, browser receives the upload request that the web application created based on the Ajax technology issues, and this upload request is carried the data that this web application request uploads and the URL of this data upload.
202, confirm upload request corresponding protocols type.
Under a kind of application scenarios, the data that the upload request request of can carrying that the web application of creating based on the Ajax technology issues is uploaded and the URL of this data upload can also carry other relevant parameter etc.
Wherein, the URL that carries of upload request comprise data address information and this data upload relative path information to this server of the server that will upload to.The URL that upload request is carried can also comprise the protocol type sign of indicating this upload request corresponding protocols type, and upload request corresponding protocols type just data the protocol type that server adopted that will upload to.
Under a kind of application scenarios, browser can detect the protocol type sign that URL that upload request carries comprises, and according to the result who detects, confirms upload request corresponding protocols type.
For instance, when browser detected protocol type that URL comprises and is designated FTP, then determining upload request corresponding protocols type was FTP; When detecting protocol type that URL comprises and be designated FILE, then determining upload request corresponding protocols type is file protocol; When detecting protocol type that URL comprises and be designated RES; Then determining upload request corresponding protocols type is resource protocol; When detecting protocol type that URL comprises and be designated HTTP, then determining upload request corresponding protocols type is HTTP, by that analogy.
Further; The browser and the page are used the protocol type of agreement acquiescence in advance; When browser detects the protocol type sign that URL that upload request carries do not comprise, directly determine this upload request corresponding protocols type and be the protocol type of agreement acquiescence in advance.
In addition; The upload request that the above-mentioned web application of creating based on the Ajax technology issues also can be carried the indication information that other is used to indicate this upload request corresponding protocols type; At this moment; Then browser can detect above-mentioned indication information, and according to testing result, confirms this upload request corresponding protocols type.
203, according to the pairing processing mode of the protocol type of determining, upload data to corresponding server according to above-mentioned URL.
Browser is determined upload request corresponding protocols type; Also just determined data the protocol type that server adopted that will upload to; And then can be according to the pairing upload process mode of the protocol type of determining, the URL that carries according to upload request uploads data to corresponding server.
For instance, when determining upload request corresponding protocols type and be FTP, browser is according to the pairing processing mode of FTP, uploads data according to the URL of data upload to corresponding server; When determining upload request corresponding protocols type and be FILE; Browser is uploaded data according to the pairing processing mode of FILE agreement; When determining download request corresponding protocols type and be HTTP; Browser is uploaded data according to the pairing processing mode of HTTP, when definite upload request corresponding protocols type is a local file system corresponding protocols type, according to the pairing processing mode of the protocol type of local file system; Upload data according to URL to local file system, by that analogy.
Wherein, browser connects according to pairing processing mode of variety of protocol and respective server and uploads the process of data, for conventionally known to one of skill in the art, repeats no more here.
Under a kind of application scenarios, after browser is being uploaded the data success, can feed back an indication information of uploading success to web application; If upload failure, browser can be uploaded the indication information of failure to the web application feedback.
Can find out by technique scheme; Browser is determined the upload request corresponding protocols type that the technological web application of creating of Ajax issues earlier in this enforcement; Upload data according to the pairing processing mode of the protocol type of determining to corresponding server; Can realize web application of creating based on the Ajax technology and the server interaction data that adopt each multi-protocols being applicable to plurality of application scenes, help expanding Ajax The Application of Technology scope.
Be the better implement technique scheme, a kind of browser also is provided in the embodiment of the invention.
Embodiment three,
A kind of browser 300 that sees also Fig. 3, the embodiment of the invention three can comprise: receiver module 310, determination module 320, download module 330 and sending module 340.
Wherein, receiver module 310 is used to receive the download request that issues based on the technological web application of creating of Ajax, and this download request is carried the URL of web application request data downloaded.
Under a kind of application scenarios, the download request that the web application of creating based on the Ajax technology issues can be carried the URL of request data downloaded, and other relevant parameter etc.
Wherein, the URL that carries of the download request that receives of receiver module 310 comprises the address information and the routing information of this data on this server of the server of storing above-mentioned request data downloaded.
The URL that download request is carried can also comprise the protocol type sign of indicating this download request corresponding protocols type, and download request corresponding protocols type is just stored the protocol type that server adopted of above-mentioned request data downloaded.
In practical application; Determination module 320 is determined download request corresponding protocols type; Also just determined the protocol type that server adopted of storing above-mentioned request data downloaded; Download module 330 and then can be, the URL that carries according to download request data download from the corresponding server according to the pairing downloading mode of the protocol type that determination module 320 is determined.
Sending module 340 is used for after download module 330 data are downloaded successfully, sends download module 330 from respective server success data downloaded to above-mentioned web application.
Under a kind of application scenarios, determination module 320 can comprise:
For instance, when detection sub-module 321 detects protocol type that URL comprises and is designated FTP, confirm that it is FTP that submodule 322 is determined download request corresponding protocols type; When detection sub-module 321 detects protocol type that URL comprises and is designated FILE, confirm that it is file protocol that submodule 322 is determined download request corresponding protocols type; When detection sub-module 321 detects protocol type that URL comprises and is designated RES, confirm that it is the RES agreement that submodule 322 is determined download request corresponding protocols type, by that analogy.
Under a kind of application scenarios; Determining download request corresponding protocols type when determination module 320 is local file system corresponding protocols type; 330 of download modules can be according to the pairing processing mode of the protocol type of local file system, according to URL from local file system file in download resource.
Further; Browser 300 is used the protocol type of agreement acquiescence in advance with the page; When detection sub-module 321 detects the protocol type sign that URL that download request carries do not comprise, confirm that submodule 322 directly determines this download request corresponding protocols type and be the protocol type of agreement acquiescence in advance.
In addition; The download request that the above-mentioned web application of creating based on the Ajax technology issues also can be carried the indication information that other is used to indicate this download request corresponding protocols type; At this moment; Determination module 320 can detect above-mentioned indication information, and according to testing result, confirms above-mentioned download request corresponding protocols type.
It is understandable that; This enforcement browser 300 can be like the browser among the embodiment one; The function of its each functional module can specifically realize that its concrete implementation procedure can repeat no more with reference to the associated description among the embodiment according to the method among the embodiment one here.
Can find out by technique scheme; Browser 300 is determined the download request corresponding protocols type that the technological web application of creating of Ajax issues earlier in this enforcement; According to the pairing processing mode of the protocol type of determining data download from the corresponding server; Can realize web application of creating based on the Ajax technology and the server interaction data that adopt various protocols being applicable to plurality of application scenes, help expanding Ajax The Application of Technology scope.
Embodiment four,
A kind of browser 400 that sees also Fig. 4, the embodiment of the invention four can comprise: receiver module 410, determination module 420 and last transmission module 430.
Wherein, receiver module 410 is used to receive the upload request that the web application created based on the Ajax technology issues, and this upload request is carried the data that above-mentioned web application request uploads and the URL of this data upload.
Under a kind of application scenarios, the data that the upload request request of can carrying that the web application of creating based on the Ajax technology issues is uploaded and the URL of this data upload can also carry other relevant parameter etc.
Wherein, the URL that carries of the upload request that receives of receiver module 410 comprise data address information and this data upload relative path information to this server of the server that will upload to.
The URL that upload request is carried can also comprise the protocol type sign of indicating this upload request corresponding protocols type, and upload request corresponding protocols type just data the protocol type that server adopted that will upload to.
Under a kind of application scenarios, determination module 420 can comprise:
For instance, when detection sub-module 421 detects protocol type that URL comprises and is designated FTP, confirm that it is FTP that submodule 422 is determined upload request corresponding protocols type; When detection sub-module 421 detects protocol type that URL comprises and is designated FILE, confirm that it is file protocol that submodule 422 is determined upload request corresponding protocols type; When detection sub-module 421 detects protocol type that URL comprises and is designated RES; Confirm that it is resource protocol that submodule 422 is determined upload request corresponding protocols type; When detection sub-module 421 detects protocol type that URL comprises and is designated HTTP; Confirm that it is HTTP that submodule 422 is determined upload request corresponding protocols type, by that analogy.
Under a kind of application scenarios; Determining upload request corresponding protocols type when determination module 420 is local file system corresponding protocols type; 430 of last transmission modules can be uploaded data according to URL to local file system according to the pairing processing mode of the protocol type of local file system.
Further; Browser 400 is used the protocol type of agreement acquiescence in advance with the page; When detection sub-module 421 detects the protocol type sign that URL that upload request carries do not comprise, confirm that submodule 422 directly determines this upload request corresponding protocols type and be the protocol type of agreement acquiescence in advance.
In addition; The upload request that the above-mentioned web application of creating based on the Ajax technology issues also can be carried the indication information that other is used to indicate this upload request corresponding protocols type; At this moment; Determination module 420 can detect above-mentioned indication information, and according to testing result, confirms this upload request corresponding protocols type.
It is understandable that; This enforcement browser 400 can be like the browser among the embodiment two; The function of its each functional module can specifically realize that its concrete implementation procedure can repeat no more with reference to the associated description among the embodiment according to the method among the embodiment two here.
Can find out by technique scheme; This enforcement browser 400 is determined the upload request corresponding protocols type that the technological web application of creating of Ajax issues earlier; Upload data according to the pairing processing mode of the protocol type of determining to corresponding server; Can realize web application of creating based on the Ajax technology and the server interaction data that adopt various protocols being applicable to plurality of application scenes, help expanding Ajax The Application of Technology scope.
Need to prove; For aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions; But those skilled in the art should know; The present invention does not receive the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that details among certain embodiment, can be referring to the associated description of other embodiment.
In sum; In the embodiment of the invention; Browser is determined the interactive request corresponding protocols type that issues based on the technological web application of creating of Ajax earlier, and according to pairing processing mode of the protocol type of determining and corresponding server interaction data, can realize web application and the server interaction data that adopt various protocols based on the establishment of Ajax technology; Be applicable to plurality of application scenes, help expanding Ajax The Application of Technology scope.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory, at random store its, disk or CD etc.
More than a kind of data download method that the embodiment of the invention provided and data uploading method and browser have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.
Claims (4)
1. a data download method is characterized in that, comprising:
Browser receives the download request that issues based on the technological web application of creating of Ajax, and said download request is carried the URL of said web application request data downloaded;
Browser is confirmed said download request corresponding protocols type;
Browser is according to the pairing processing mode of the protocol type of determining, according to said URL data download from the corresponding server;
Wherein, said definite said download request corresponding protocols type comprises:
Detect the protocol type sign that said URL comprises;
According to the result of said detection, confirm said download request corresponding protocols type;
Wherein, Said according to the pairing processing mode of the protocol type of determining; According to said URL data download from the corresponding server; Comprise: when determining download request corresponding protocols type and be FTP FTP, according to the pairing processing mode of FTP, according to the URL of request data downloaded data download from the corresponding server; When determining download request corresponding protocols type and be file FILE agreement, according to the pairing processing mode data download of FILE agreement; When the protocol type of determining is a local file system corresponding protocols type, according to the pairing processing mode of the protocol type of local file system, according to said URL from local file system file in download resource.
2. the method for a data upload is characterized in that, comprising:
Browser receives the upload request that the web application created based on the Ajax technology issues, and said upload request is carried the data that said web application request uploads and the URL of this data upload;
Browser is confirmed said upload request corresponding protocols type;
Browser is uploaded said data according to said URL to corresponding server according to the pairing processing mode of the protocol type of determining;
Wherein, said definite said upload request corresponding protocols type comprises:
Detect the protocol type sign that said URL comprises;
According to the result of said detection, confirm said upload request corresponding protocols type;
Wherein, According to the pairing processing mode of the protocol type of determining; Upload said data according to said URL to corresponding server; Comprise:,, upload said data to local file system according to said URL according to the pairing processing mode of the protocol type of local file system when the protocol type of determining is a local file system corresponding protocols type; When determining upload request corresponding protocols type and be FTP FTP,, upload data to corresponding server according to the URL of data upload according to the pairing processing mode of FTP; When determining upload request corresponding protocols type and be file FILE agreement, upload data according to the pairing processing mode of FILE agreement.
3. a browser is characterized in that, comprising:
Receiver module is used to receive the download request that issues based on the technological web application of creating of Ajax, and said download request is carried the URL of said web application request data downloaded;
Determination module is used for confirming said download request corresponding protocols type;
Download module is used for the pairing processing mode of protocol type confirmed according to said determination module, according to said URL data download from the corresponding server;
Wherein, said determination module comprises:
Detection sub-module is used to detect the protocol type sign that said URL comprises;
Confirm submodule, be used for result, confirm said download request corresponding protocols type according to said detection sub-module detection;
Wherein, said download module specifically is used for, when determining download request corresponding protocols type and be FTP FTP, according to the pairing processing mode of FTP, according to the URL of request data downloaded data download from the corresponding server; When determining download request corresponding protocols type and be file FILE agreement, according to the pairing processing mode data download of FILE agreement; When the protocol type of determining is a local file system corresponding protocols type, according to the pairing processing mode of the protocol type of local file system, according to said URL from local file system file in download resource.
4. a browser is characterized in that, comprising:
Receiver module is used to receive the upload request that the web application created based on the Ajax technology issues, and said upload request is carried the data that the web application request uploads and the URL of this data upload;
Determination module is used for confirming said upload request corresponding protocols type;
Last transmission module is used for uploading said data according to said URL to corresponding server according to the definite pairing processing mode of protocol type of said determination module;
Wherein, said determination module comprises:
Detection sub-module is used to detect the protocol type sign that said URL comprises;
Confirm submodule, be used for result, confirm said upload request corresponding protocols type according to said detection sub-module detection;
Wherein, The said transmission module of going up specifically is used for; When the protocol type of determining is a local file system corresponding protocols type,, upload said data to local file system according to said URL according to the pairing processing mode of the protocol type of local file system; When determining upload request corresponding protocols type and be FTP FTP,, upload data to corresponding server according to the URL of data upload according to the pairing processing mode of FTP; When determining upload request corresponding protocols type and be file FILE agreement, upload data according to the pairing processing mode of FILE agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910171809A CN101645905B (en) | 2009-08-31 | 2009-08-31 | Data downloading method and data uploading method and browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910171809A CN101645905B (en) | 2009-08-31 | 2009-08-31 | Data downloading method and data uploading method and browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101645905A CN101645905A (en) | 2010-02-10 |
CN101645905B true CN101645905B (en) | 2012-10-24 |
Family
ID=41657625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910171809A Active CN101645905B (en) | 2009-08-31 | 2009-08-31 | Data downloading method and data uploading method and browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101645905B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102983985B (en) * | 2011-09-05 | 2018-02-09 | 深圳前海大数金融服务有限公司 | client installation method and system |
CN103838839B (en) * | 2011-09-26 | 2019-02-26 | 北京奇虎科技有限公司 | A kind of the page-downloading control method and system of IE kernel browser |
CN103838838B (en) * | 2011-09-26 | 2019-06-04 | 北京奇虎科技有限公司 | The method of the IE kernel processes page and page-downloading method based on browser |
CN102368213B (en) * | 2011-09-26 | 2014-08-13 | 奇智软件(北京)有限公司 | Page downloading control method and system for IE (Internet Explorer) core browser |
WO2013044774A1 (en) * | 2011-09-26 | 2013-04-04 | 北京奇虎科技有限公司 | Page download control method, system and program for ie core browser |
CN102694862B (en) * | 2012-05-30 | 2015-03-25 | 华为技术有限公司 | Web page downloading method and equipment |
CN104052630B (en) * | 2013-03-14 | 2019-10-11 | 北京百度网讯科技有限公司 | The method and system of verifying is executed to website |
CN103618756A (en) * | 2013-09-12 | 2014-03-05 | 天脉聚源(北京)传媒科技有限公司 | Method and apparatus for transmitting resource |
JPWO2017010312A1 (en) | 2015-07-16 | 2018-05-24 | ソニー株式会社 | Reception device, transmission device, and data processing method |
CN105868321A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | File management method and device |
CN112445545B (en) * | 2020-12-11 | 2024-05-28 | Vidaa美国公司 | Webpage application starting method and display device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192936A (en) * | 2006-11-29 | 2008-06-04 | 阿里巴巴公司 | A method, system and user terminal for establishing access connection |
CN101371245A (en) * | 2005-07-12 | 2009-02-18 | 维兹博麦哲思公司 | Distributed capture and aggregation of dynamic application usage information |
-
2009
- 2009-08-31 CN CN200910171809A patent/CN101645905B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101371245A (en) * | 2005-07-12 | 2009-02-18 | 维兹博麦哲思公司 | Distributed capture and aggregation of dynamic application usage information |
CN101192936A (en) * | 2006-11-29 | 2008-06-04 | 阿里巴巴公司 | A method, system and user terminal for establishing access connection |
Also Published As
Publication number | Publication date |
---|---|
CN101645905A (en) | 2010-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101645905B (en) | Data downloading method and data uploading method and browser | |
CN105577818A (en) | Data transmission methods and apparatuses, and vehicle-mounted terminal | |
CN102932352A (en) | Method and server for communicating with client | |
CN106131175A (en) | A kind of acquisition of information, information-pushing method and equipment | |
CN103269280A (en) | Method, device and system for developing service in network | |
CN111818486B (en) | Vehicle communication method, device and equipment | |
CN105991689A (en) | HTTP message processing method, system, HTTP client and server | |
CN105871509A (en) | Data transmission method and device | |
CN106528108A (en) | WEB development method and device based on code file route | |
CN103491184A (en) | Data transmission method, device and system | |
CN103501331A (en) | Data transmission method, data transmission equipment and data transmission system | |
CN101282339B (en) | Capability negotiation method for flow medium system, data transmission method as well as related equipment | |
CN108847952A (en) | Method, device and system for processing request link context | |
EP2856736B1 (en) | Apparatus and method for transmitting and receiving files in general purpose device | |
CN102170456A (en) | Method, device and system for acquiring content in PPN (peer-to-peer network) | |
CN104243111A (en) | Method and device for transmitting data packet | |
US20170111480A1 (en) | Page insertion method and device | |
CN106294627A (en) | Data managing method and data server | |
CN104283955A (en) | Browser, server, downloading system and downloading method | |
CN109618004A (en) | A kind of message forwarding method and device | |
CN101610290A (en) | The method of download management and download management unit and download system | |
CN109936609A (en) | Terminal chain type upgrade method, device and updating and management server | |
CN105282231B (en) | Data drainage method, apparatus and system based on application type | |
CN105516319B (en) | The method and apparatus for managing HTTP message | |
CN103605486A (en) | Browser, method and system for realizing synchronous printing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |