A kind of method and apparatus applying browser downloads resource
Technical field
The present invention relates to internet, applications field, particularly relate to a kind of method and apparatus applying browser downloads resource.
Background technology
Current cellphone subscriber and the user surfed the Net by mobile network are got more and more, the surf time of netizen also more and more lays particular emphasis on and uses mobile device or surfing Internet with cell phone, because use surfing Internet with cell phone can be whenever and wherever possible, in addition because surfing Internet with cell phone is very convenient, open any browser just can be surfed the Net, but current mobile Internet access rate normally press flow or duration based accounting, in addition, the local memory space of mobile phone or other mobile devices is all very limited.So when browser client finds very important file or picture or other resources by the network account (such as E-mail address) that the browser on mobile phone or mobile device logs in oneself, the restriction due to network rate and local memory space is downloaded preserves or editor hardly may.So download it in cyberspace for subsequent use, just become a kind of scheme not only having saved time but also economized flow.But because network account has safe restriction, so only provide file URL address, cannot be downloaded.
Summary of the invention
The object of the present invention is to provide and a kind ofly can whenever and wherever possible the important Internet resources file download in network account be preserved and do not need to expend the method and apparatus of mobile phone flow and the local memory space of mobile phone, thus solve the foregoing problems existed in prior art.
To achieve these goals, the technical solution used in the present invention is as follows:
Apply a method for browser downloads resource, comprise the following steps:
S1, browser client is by browser logging in network account;
S2, after described browser receives the download instruction that described user triggers for the resource under described network account, the login banner of described network account and download instruction upload onto the server by described browser;
S3, described server uses the described login banner received to connect described resource in described network account, described resource downloading is saved in the memory space corresponding with described user on described server.
Preferably, described network account can log in after needing identifying user identity errorless and could download the network account of the resource under described network account after logging in.
Preferably, described network account is email account or network hard disc account or Web Community's account.
Preferably, described resource is picture file and/or video file and/or audio file and/or text and/or data file.
Preferably, described login banner is cookie or sessionid.
Preferably, described download instruction comprises, the URL address of resources to be downloaded, the user ID of described browser client.
Preferably, described browser is web browser.
Apply a device for browser downloads resource, comprising:
Browser, for receiving the login instruction of browser client, logging in network account;
Server, for receiving the login banner and download instruction that described browser uploads; Also for the resource downloading of specifying in described download instruction is kept in the memory space corresponding with described user.
The invention has the beneficial effects as follows:
The Internet resources in oneself network account are downloaded whenever and wherever possible by the browser on mobile phone or other mobile devices, and do not need the network traffics expending mobile phone or other mobile devices, also local memory space precious on mobile phone or other mobile devices need not be expended, thus to save time and cost of surfing the net and memory space for user, important Internet resources file can not be missed again.
Accompanying drawing explanation
Fig. 1 is method step flow chart of the present invention;
Fig. 2 is method course of work schematic diagram of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing, the present invention is further elaborated.Should be appreciated that embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, the invention discloses and a kind ofly can whenever and wherever possible the Internet resources file download in oneself network account be preserved and do not need to expend the method and apparatus of mobile phone flow and the local memory space of mobile phone.
The method of application browser downloads resource of the present invention, comprises the following steps:
S1, browser client is by browser logging in network account;
S2, after described browser receives the download instruction that described user triggers for the resource under described network account, the login banner of described network account and download instruction upload onto the server by described browser;
S3, described server uses the described login banner received to connect described resource in described network account, described resource downloading is saved in the memory space corresponding with described user on described server.
Can log in after described network account needs identifying user identity errorless and the network account of the resource under described network account could be downloaded after logging in.Described network account is email account or network hard disc account or Web Community's account.Described resource is picture file and/or video file and/or audio file and/or text and/or data file.Described login banner is cookie or sessionid.Described download instruction comprises, the URL address of resources to be downloaded, the user ID of described browser client.Described browser is web browser.
The device of application browser downloads resource of the present invention, comprising:
Browser, for receiving the login instruction of browser client, logging in network account;
Server, for receiving the login banner and download instruction that described browser uploads; Also for the resource downloading of specifying in described download instruction is kept in the memory space corresponding with described user.
Generally, after applying technical scheme of the present invention, when browser client uses the browser access network on mobile phone or mobile device, browser client can by the resource in browser whenever and wherever possible download network account, and do not need the network traffics expending mobile phone or other mobile devices, also local memory space precious on mobile phone or other mobile devices need not be expended, because be directly downloaded files in the memory space on server, and when browser client uses desktop computer and broadband access network, when namely using the access way online of not limit flow in unlimited time, browser client only needs logon server just can be managed the file downloaded to before in server storage by browser, such as carry out downloading to this locality for file, delete, the operation such as to share.Certainly, even if user also can use method downloaded resources of the present invention in server storage when using the online of the browser on desktop computer.
By adopting technique scheme disclosed by the invention, obtain effect useful as follows:
The Internet resources in oneself network account are downloaded whenever and wherever possible by the browser on mobile phone or other mobile devices, and do not need the network traffics expending mobile phone or other mobile devices, also local memory space precious on mobile phone or other mobile devices need not be expended, thus to save time and cost of surfing the net and memory space for user, important Internet resources file can not be missed again.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should look protection scope of the present invention.