CN101764829A - Network resource acquisition method for browser and browser - Google Patents

Network resource acquisition method for browser and browser Download PDF

Info

Publication number
CN101764829A
CN101764829A CN200810226524A CN200810226524A CN101764829A CN 101764829 A CN101764829 A CN 101764829A CN 200810226524 A CN200810226524 A CN 200810226524A CN 200810226524 A CN200810226524 A CN 200810226524A CN 101764829 A CN101764829 A CN 101764829A
Authority
CN
China
Prior art keywords
internet resources
browser
resource
side server
network side
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
Application number
CN200810226524A
Other languages
Chinese (zh)
Inventor
蒋又新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN200810226524A priority Critical patent/CN101764829A/en
Publication of CN101764829A publication Critical patent/CN101764829A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a network resource acquisition method for a browser, which comprises the following steps: the browser transmits resource request information; the browser acquires the information of the client end which has downloaded and/or is downloading the network resource, wherein the information of the client end is returned after the first network side server acquires the resource request information; and the browser downloads the network resource from at least one client end in the returned information of the first network side server. The invention also provides a browser. The invention can improve the downloading speed of the network resources, so that the browser can acquire the network resources in time; and thus, the invention provides better experience for the user at the client end.

Description

Browser obtains the method and the browser of Internet resources
Technical field
The present invention relates to browser technology, relate in particular to the technology that browser obtains Internet resources.
Background technology
Browser is the employed important tool of client and network interaction.Client uses browser can obtain Internet resources, for example webpage, picture, audio frequency and video etc. from network.
The method of existing a kind of browser acquisition Internet resources comprises as shown in Figure 1:
S101: the browser in the client obtains the URL(uniform resource locator) (URL, Uniform Resource Locator) of user's input;
S102: the network side server that browser points to this URL sends the URL request, usually with the network side server of URL sensing, is called the source network side server of the Internet resources of this URL correspondence;
S103: the Internet resources that this source network side server points to the browser Return URL;
S104: browser shows the Internet resources of URL correspondence to the user.
By method shown in Figure 1 as can be known, if the source network side server requests Internet resources that have the browser in a plurality of clients to point to URL simultaneously, this source network side server may cause in time Internet resources being offered some browser greatly owing to workload so, like this, cause can not be in time to user's display network resource because of timely down loading network resource for some browser, and then can influence the user's who uses client experience.
Summary of the invention
The invention provides method and browser that browser obtains Internet resources,,, thereby provide better experience for the user who uses client so that browser can in time obtain Internet resources in order to reduce the workload of network side server as far as possible.
A kind of browser obtains the method for Internet resources, comprising: browser sends resource request information; Described browser obtains the information of downloading and/or downloading the client of described Internet resources that first network side server returns after obtaining described resource request information; At least one client downloads described Internet resources of described browser from the described first network side server return information.
A kind of browser comprises: request unit is used to send resource request information; The information acquisition unit is used for obtaining the information of downloading or downloading the client of described Internet resources that first network side server returns after obtaining described resource request information after the described request unit sends resource request information; Download unit is used for from the described Internet resources of at least one client downloads of the information of described information acquisition unit acquisition.
In the present invention, if the browser in client need obtain Internet resources, this browser can be from downloading or downloading the described Internet resources of client downloads of described Internet resources so, rather than only download described Internet resources from the source network side server that described Internet resources can be provided, so just can accelerate the speed of download of Internet resources, thereby make browser can in time obtain Internet resources, for the user of client provides better experience.
Description of drawings
Fig. 1 is the method flow diagram that existing a kind of browser obtains Internet resources;
Fig. 2 is the method flow diagram that a kind of browser of the present invention obtains Internet resources;
Fig. 3 is the structural representation of a kind of browser of the present invention;
Fig. 4 is the flow chart of a preferred embodiment of the present invention.
Embodiment
At first the method that a kind of browser of the present invention is obtained Internet resources describes.As shown in Figure 2, comprising:
S201: browser sends resource request information;
S202: browser obtains the information of downloading and/or downloading the client of described Internet resources that first network side server returns after obtaining described resource request information;
S203: at least one client downloads described Internet resources of browser from the described first network side server return information.
Concrete, browser can at first obtain the URL of user's input before the described first network side server request provides Internet resources.Browser can ask to provide Internet resources by send the URL request to described first network side server.Need to prove that described first network side server is not the source network side server that this URL points to, and can think that this first network side server is a network side server that possesses agency, controlled function.As for, how first network side server obtains this URL request, then can intercept and capture the URL request of the source network side server that will issue the URL sensing originally by certain assembly of the browser that is positioned at client (can claim that this assembly is an agent engine), send to first network side server again by this assembly then; Also can be that the browser acquiescence directly sends to first network side server with this URL request, rather than send to the source network side server that URL points to.Generally speaking, as long as first network side server can obtain the URL request that browser sends.
Further, when browser provides Internet resources to the described first network side server request, can also provide the information of downloading or downloading the client of described Internet resources to the described first network side server request.When specific implementation, browser can send the URL request to described first network side server, the URL request is except that carrying URL, can also carry a parameter, this parameter is used to represent that described first network side server of needs provides the information of downloading or downloading the client of described Internet resources.Certainly, browser can not provide above-mentioned client-side information (for example not carrying above-mentioned parameter) to the first network side server request yet, but initiatively informs the information of downloading or downloading the client of described Internet resources by first network side server after receiving the URL request.
Browser is after the described first network side server request provides Internet resources, and described first network side server can initiatively return the information of downloading or downloading the client of described Internet resources to browser according to the request of browser.When if browser provides Internet resources to the described first network side server request, also provide the information of downloading or downloading the client of described Internet resources to the described first network side server request, so described first network side server can provide the information of client according to the request of " information of client is provided " to browser.That is to say, the request that Internet resources are provided that described first network side server both can only send according to browser, decide the information that to download or to download the client of described Internet resources in its sole discretion and offer browser, also the request of " information of downloading or downloading the client of described Internet resources is provided " that can send according to browser offers browser with the information of downloading or downloading the client of described Internet resources.If being arranged, a plurality of clients downloaded or downloaded described Internet resources, the information that so described first network side server can have been downloaded all or download the client of described Internet resources returns to browser, and the information that also all can have been downloaded or have downloaded the one or more clients in the client of described Internet resources returns to browser.The information of client can be the information that address, sign of for example client etc. can identify client.
Browser is during from the described Internet resources of client downloads, can also download described Internet resources from second network side server that described Internet resources can be provided, in other words, browser only is not limited to can also download described Internet resources from second network side server simultaneously from the described Internet resources of client downloads.Described second network side server can be the source network side server that URL points to, though also can provide other servers that are requested down loading network resource for not being the source network side server that URL points to.Can decide according to actual conditions for whether also needing to download described Internet resources from second network side server.For example, when first network side server when returning the information of client to browser, the load condition of second network side server self can be provided simultaneously.When specific implementation, first network side server is issued the information that not only can carry client in the message of browser, can also carry a parameter, this parameter is used to represent the load condition of second network side server self, for example, parameter value is that the load condition of 1 expression second network side server self is good, and parameter value is that the load condition of 0 expression second network side server self is poor.Browser can determine whether also downloading described Internet resources from second network side server in the described Internet resources from client downloads according to load condition.General, if the load condition of second network side server self is poor, then browser is only from the described Internet resources of client downloads, and do not download described Internet resources from second network side server simultaneously; If the load condition of second network side server self is relatively good, then browser can also be downloaded described Internet resources from second network side server in the described Internet resources from client downloads.Here need to prove, also be not precluded within certain situation that first network side server and second network side server are same equipment physically.
In addition, if what first network side server returned is the information of a plurality of clients, described Internet resources of one or more client downloads that browser can be from these clients then, the described Internet resources of all client downloads that also can be from these clients.
At browser from the process of the described Internet resources of described client downloads, the described Internet resources that browser can downloaded are set to shared network resource, and the described Internet resources of notifying first network side server downloading are set to shared network resource.Like this, when the browser of other clients need be downloaded described Internet resources, first network side server can offer other clients with the information of client of downloading the described browser place of described Internet resources, and then described other clients thus can be from downloading the described Internet resources of this client downloads of described Internet resources.
When browser from described client downloads after the intact described Internet resources, the described Internet resources that browser can have been downloaded are set to shared network resource, and the described Internet resources of notifying first network side server to download are set to shared network resource.Like this, when the browser of other clients need be downloaded described Internet resources, first network side server can offer described other clients with the information of client of downloading the described browser place of described Internet resources, and then described other clients thus can be from downloading the described Internet resources of this client downloads of described Internet resources.
Here need to prove that the described Internet resources that browser is being downloaded are set to shared network resource and the described Internet resources downloaded are set to these two kinds of technological means of shared network resource and can be used in combination, and also can select a use.For example, browser is when downloading described Internet resources, and the described Internet resources of downloading are set to shared network resource, and after download was finished, the described Internet resources that download is finished were set to shared network resource.Again for example, only when downloading described Internet resources, the described Internet resources of downloading are set to shared network resource to browser, and after download was finished, the described Internet resources finished of download were not set to shared network resource.Again for example, browser is when downloading described Internet resources, and the described Internet resources of not downloading are set to shared network resource, and only after download is finished, the described Internet resources that download is finished are set to shared network resource.
In actual applications, Internet resources can be polytype Internet resources.The type of Internet resources can be distinguished according to the byte number of Internet resources.The networks of different type resource can be taked different processing means.For example, described Internet resources can be the Internet resources of the first kind, that is, and and the Internet resources that byte number is more, for example audio and video resources.Described Internet resources also can be the Internet resources of second type, that is, and and the Internet resources that byte number is less, for example webpage, picture etc.Need to prove, because how much byte number all is relative, so when reality realizes, can a thresholding be set for byte number, byte number surpasses the Internet resources of this thresholding to be handled according to the Internet resources of the first kind, the Internet resources that byte number is lower than this thresholding are handled according to the Internet resources of second type, and byte number equals the Internet resources of this thresholding can be according to actual conditions or be defined as the Internet resources of the first kind or the Internet resources of second type at random.In addition, Internet resources such as audio and video resources, webpage (mainly being text), picture here just for ease of explanation for example, when reality realizes, the byte number of Internet resources such as some webpage, picture surpasses above-mentioned thresholding possibly, and the byte number of some audio and video resources is lower than above-mentioned thresholding possibly, if like this, byte number surpasses the webpage of above-mentioned thresholding, the Internet resources that picture is exactly the first kind so, and the audio and video resources that byte number is lower than above-mentioned thresholding is exactly the Internet resources of second type.Need to prove that in actual applications, also can not distinguish according to byte number is the Internet resources of the first kind, still the Internet resources of second type.But directly by analyzing the type that the URL request obtains being requested Internet resources, and then distinguish according to resource type, be audio and video resources such as the Internet resources of the first kind, the Internet resources of second type are webpage and picture etc.
Can take different processing modes for the Internet resources of the first kind and the Internet resources of second type.For example, if in S201, browse request be that the Internet resources of the first kind are (such as byte number greater than the Internet resources that preset thresholding, again such as being audio and video resources), because often byte number is more for the Internet resources of the type, therefore, according to S202 and S203 processing can make client downloads to the speed of resource requirement faster than traditional downloading mode (traditional downloading mode is meant that mainly the source network side server that only points to from URL obtains), so, can adopt S202 and S203 to handle to these class Internet resources.
If browse request is that the Internet resources of second type are (such as byte number less than the Internet resources that preset thresholding, again such as being web page resources or picture resource), because often byte number is less for the Internet resources of second type, it is not very big that modes such as employing P2P allow client obtain required Internet resources meaning, so just can take traditional resource acquisition mode, for example, the source server that points to from URL obtains requested resource, and then downloads to the client at browser place.Further, can quicken speed of download by buffer memory is set in first network side server to the second type network resource.Particularly, after source network side server that first network side server points to from certain URL has obtained certain Internet resources, can be stored in the buffer memory, and then, when follow-up when having client need download these Internet resources again, the source network side server that first network side server does not just need to point to from URL is not again downloaded this Internet resources, but these Internet resources of can be directly preserving in the buffer memory before send to the browser of client.
It will be understood by those skilled in the art that in actual applications, the function of a station server can be distributed to multiple servers and realize jointly.Therefore, first network side server described in the embodiment of the invention is not limited to a station server physically, physically, can be finished the function of first network side server by many network side servers jointly.For example, be responsible for to handle aforementioned first kind Internet resources (as collecting that each client is being downloaded or the information of down loading network resource, and the function of these information being notified clients) can realize by a station server, can realize by another station server and be responsible for handling the aforementioned second type network resource.
In addition, the resource request information institute requested resource of mentioning among the S201 can be the video resource of online broadcast.
Method shown in Figure 2 can be realized that a kind of browser wherein comprises as shown in Figure 3 by the browser of various ways: request unit 301 is used to send resource request information; Information acquisition unit 302 is used for obtaining the information of downloading or downloading the client of described Internet resources that first network side server returns after obtaining described resource request information after described request unit 301 sends resource request information; Download unit 303 is used for from described information acquisition unit the described Internet resources of at least one client downloads of 302 information that obtain.
Concrete, request unit 301 is before the first network side server request provides Internet resources, and information acquisition unit 302 can at first obtain the URL of user's input.Request unit 301 can ask to provide Internet resources by send the URL request to first network side server.Need to prove that described first network side server is not the source network side server that this URL points to, and can think that this first network side server is a network side server that possesses agency, controlled function.As for, how first network side server obtains this URL request, then can intercept and capture the URL request of the source network side server that will issue the URL sensing originally by certain assembly of the browser that is positioned at client (can claim that this assembly is an agent engine), send to first network side server again by this assembly then; Also can be that request unit 301 acquiescences directly send to first network side server with this URL request, rather than send to the source network side server that URL points to.Generally speaking, as long as first network side server can obtain the URL request that request unit 301 sends.
Further, when request unit 301 provides Internet resources to the first network side server request, can also provide the information of downloading or downloading the client of described Internet resources to the first network side server request.When specific implementation, request unit 301 can send the URL request to first network side server, the URL request is except that carrying URL, can also carry a parameter, this parameter is used to represent that needs first network side server provides the information of downloading or downloading the client of described Internet resources.Certainly, request unit 301 can not provide above-mentioned client-side information (for example not carrying above-mentioned parameter) to the first network side server request yet, but initiatively informs the information of downloading or downloading the client of described Internet resources by first network side server after receiving the URL request.
Request unit 301 is after the first network side server request provides Internet resources, first network side server can initiatively return the information of downloading or downloading the client of described Internet resources to information acquisition unit 302 according to the request of request unit 301.When if request unit 301 provides Internet resources to the first network side server request, also provide the information of downloading or downloading the client of described Internet resources to the first network side server request, first network side server can provide the information of client according to the request of " information of client is provided " to information acquisition unit 302 so.That is to say, the request that Internet resources are provided that first network side server both can only send according to request unit 301, decide the information that to download or to download the client of described Internet resources in its sole discretion and offer information acquisition unit 302, also the request of " information of downloading or downloading the client of described Internet resources is provided " that can send according to request unit 301 offers information acquisition unit 302 with the information of downloading or downloading the client of described Internet resources.If being arranged, a plurality of clients downloaded or downloaded described Internet resources, first network side server information that all can have been downloaded or have downloaded the client of described Internet resources returns to information acquisition unit 302 so, and the information that also all can have been downloaded or have downloaded the one or more clients in the client of described Internet resources returns to information acquisition unit 302.The information of client can be the information that address, sign of for example client etc. can identify client.
Download unit 303 is during from the described Internet resources of client downloads, can also download described Internet resources from second network side server that described Internet resources can be provided, in other words, download unit 303 only is not limited to can also download described Internet resources from second network side server simultaneously from the described Internet resources of client downloads.Described second network side server can be the source network side server that URL points to, though also can provide other servers that are requested down loading network resource for not being the source network side server that URL points to.Can decide according to actual conditions for whether also needing to download described Internet resources from second network side server.For example, when first network side server when information acquisition unit 302 returns the information of client, the load condition of second network side server self can be provided simultaneously.When specific implementation, first network side server is issued the information that not only can carry client in the message of information acquisition unit 302, can also carry a parameter, this parameter is used to represent the load condition of second network side server self, for example, parameter value is that the load condition of 1 expression second network side server self is good, and parameter value is that the load condition of 0 expression second network side server self is poor.Download unit 303 can determine whether also downloading described Internet resources from second network side server in the described Internet resources from client downloads according to load condition.General, if the load condition of second network side server self is poor, then 303 of download units are from the described Internet resources of client downloads, and do not download described Internet resources from second network side server simultaneously; If the load condition of second network side server self is relatively good, then download unit 303 can also be downloaded described Internet resources from second network side server in the described Internet resources from client downloads.Here need to prove, also be not precluded within certain situation that first network side server and second network side server are same equipment physically.
In addition, if what first network side server returned is the information of a plurality of clients, described Internet resources of one or more client downloads that download unit 303 can be from these clients then, the described Internet resources of all client downloads that also can be from these clients.
Browser shown in Figure 3 can also comprise: resource-sharing unit 304, be used in the process of described download unit 303 from the described Internet resources of described client downloads, and the described Internet resources of downloading are set to shared network resource; Notification unit 305, be used for after the described Internet resources that described resource-sharing unit 304 is being downloaded are set to shared network resource, the described Internet resources of notifying described browser downloading to first network side server are set to shared network resource.Like this, when the browser of other clients need be downloaded described Internet resources, first network side server can offer other clients with the information of the client at browser place shown in Figure 3, and then described other clients thus can be from the described Internet resources of this client downloads.
For browser shown in Figure 3 included resource-sharing unit 304 and notification unit 305, resource-sharing unit 304 can be used for after described download unit 303 finishes described Internet resources from described client downloads, and the described Internet resources of having downloaded are set to shared network resource; Notification unit 305 can be used for after the described Internet resources that described resource-sharing unit 304 has been downloaded are set to shared network resource, and the described Internet resources of notifying described browser to download to first network side server are set to shared network resource.Like this, when the browser of other clients need be downloaded described Internet resources, first network side server can offer other clients with the information of the client at browser place shown in Figure 3, and then described other clients thus can be from the described Internet resources of this client downloads.
Here need to prove that the described Internet resources that resource-sharing unit 304 is being downloaded are set to shared network resource and the described Internet resources that will download can be used in combination as these two kinds of technological means of shared network resource, also can select a use.For example, when download unit 303 is downloaded described Internet resources, the described Internet resources that resource-sharing unit 304 is being downloaded are set to shared network resource, after download unit 303 downloads were finished, the described Internet resources that 304 downloads of resource-sharing unit are finished were set to shared network resource.Again for example, 304 of resource-sharing unit are when download unit 303 is downloaded described Internet resources, the described Internet resources of downloading are set to shared network resource, when download unit 303 download finish after, the resource-sharing unit 304 not described Internet resources finished of download is set to shared network resource.Again for example, when download unit 303 is downloaded described Internet resources, the described Internet resources that resource-sharing unit 304 is not being downloaded are set to shared network resource, and only download unit 303 download finish after, the described Internet resources that 304 downloads of resource-sharing unit are finished are set to shared network resource.
Described Internet resources can be the Internet resources of the first kind, that is, and and the Internet resources that byte number is more, for example audio and video resources.Described Internet resources also can be the Internet resources of second type, that is, and and the Internet resources that byte number is less, for example webpage, picture etc.Need to prove, because how much byte number all is relative, so when reality realizes, can a thresholding be set for byte number, byte number surpasses the Internet resources of this thresholding to be handled according to the Internet resources of the first kind, the Internet resources that byte number is lower than this thresholding are handled according to the Internet resources of second type, and byte number equals the Internet resources of this thresholding can be according to actual conditions or be defined as the Internet resources of the first kind or the Internet resources of second type at random.In addition, Internet resources such as audio and video resources, webpage (mainly being text), picture here just for ease of explanation for example, when reality realizes, the byte number of Internet resources such as some webpage, picture surpasses above-mentioned thresholding possibly, and the byte number of some audio and video resources is lower than above-mentioned thresholding possibly, if like this, byte number surpasses the webpage of above-mentioned thresholding, the Internet resources that picture is exactly the first kind so, and the audio and video resources that byte number is lower than above-mentioned thresholding is exactly the Internet resources of second type.Need to prove that in actual applications, also can not distinguish according to byte number is the Internet resources of the first kind, still the Internet resources of second type.But directly by analyzing the type that the URL request obtains being requested Internet resources, and then distinguish according to resource type, be audio and video resources such as the Internet resources of the first kind, the Internet resources of second type are webpage and picture etc.
Can take different processing modes for the Internet resources of the first kind and the Internet resources of second type.For example, if request unit 301 request is that the Internet resources of the first kind are (such as byte number greater than the Internet resources that preset thresholding, again such as being audio and video resources), because often byte number is more for the Internet resources of the type, therefore, by information acquisition unit 302 and download unit 303 processing can make client downloads to the speed of resource requirement faster than traditional downloading mode (traditional downloading mode is meant that mainly the source network side server that only points to from URL obtains), so, can handle by information acquisition unit 302 and download unit 303 these class Internet resources.
If browse request is that the Internet resources of second type are (such as byte number less than the Internet resources that preset thresholding, again such as being web page resources or picture resource), because often byte number is less for the Internet resources of second type, it is not very big that modes such as employing P2P allow client obtain required Internet resources meaning, so just can take traditional resource acquisition mode, for example, first network side server obtains requested resource from the source server that URL points to, and then downloads to download unit 303.Further, can quicken speed of download by buffer memory is set in first network side server to the second type network resource.Particularly, after source network side server that first network side server points to from certain URL has obtained certain Internet resources, can be stored in the buffer memory, and then, when download unit 303 follow-up needs are downloaded these Internet resources, the source network side server that first network side server does not just need to point to from URL is not again downloaded this Internet resources, but these Internet resources of can be directly preserving in the buffer memory before send to download unit 303.
It will be understood by those skilled in the art that in actual applications, the function of a station server can be distributed to multiple servers and realize jointly.Therefore, first network side server described in the embodiment of the invention is not limited to a station server physically, physically, can be finished the function of first network side server by many network side servers jointly.For example, be responsible for to handle aforementioned first kind Internet resources (as collecting that each client is being downloaded or the information of down loading network resource, and the function of these information being notified clients) can realize by a station server, can realize by another station server and be responsible for handling the aforementioned second type network resource.
In addition, above-mentioned resource request information institute requested resource can be the video resource of online broadcast.
For making those skilled in the art more clearly understand the present invention, the present invention will be described with a preferred embodiment more below.In this preferred embodiment, suppose to need on the webpage to play a video on the website.As shown in Figure 4, the flow process of this preferred embodiment comprises:
S401: browser sends the URL request to first network side server, provides described video with request;
S402: first network side returns the network address list with described video to browser;
S403: browser finds have 10 network address clients corresponding online in the network address list;
S404: browser is from second network side server and these 10 client downloads and play described video;
S405: download finish after, the described video that browser has been downloaded is set to shared network resource, and notifies first network side server " described browser downloaded described video be set to shared network resource ".Like this, if it is online that the client at browser place continues, so the client at browser place just become the 11st can be for other clients provide described video and on-line client, other clients just can be from the described video of the client downloads at browser place.
In the present invention, when browser need obtain Internet resources, can from the client of downloading or downloaded described Internet resources, obtain described Internet resources, with respect to only downloading described Internet resources from a network side server, the present invention can reduce the workload of network side server, thereby make browser can in time obtain Internet resources, for the user who uses client provides better experience.
In the present invention, if browser is from the described Internet resources of a plurality of client downloads, then the speed of the described Internet resources of browser downloads can be accelerated, and particularly in the scene of download and displaying video, the video that plays to the user can break not occur slowly and often because of speed of download.
In the present invention, browser is exactly in fact that browser for example uses the partner to partner (P2P from the described Internet resources of a plurality of client downloads, peer-to-peer) technology is downloaded described Internet resources, each client in described a plurality of client all is a peer, behind the intact described Internet resources of browser downloads, the client at browser place also can be used as a peer.In actual applications because the quantity of client in the network is more, so most of client when downloading most of Internet resources, speed of download is with respect to only wanting fast a lot of from the speed of download of a network side server down loading network resource.
Suppose that client is when down loading network resource, use browser and certain to quicken control simultaneously, so before using this control, just must download this control, and use browser and certain control also to only limit to download the particular network resource simultaneously, and can not be applicable to the scene of downloading any Internet resources.And in the above-mentioned embodiment of the invention, though initiatively provide acceleration functions such as P2P need overcome bigger technical difficulty by browser itself, but because the function that browser itself provides speed technologies such as using P2P to come down loading network resource, need not download and use any control outside the browser, as long as before existing client downloads is crossed the Internet resources that browser needs, and such client also needs online, use the client of the browser of the embodiment of the invention just can accelerate to download the speed of the Internet resources of this needs so, therefore, the experience for the user improves a lot.If a large amount of Internet resources in the network or even all Internet resources all were downloaded, and were so obvious, the embodiment of the invention goes for downloading the scene of any Internet resources.
Because the present invention can be incorporated into the P2P technology in the browser, therefore,, but after adopting the solution of the present invention, also can reach and adopt the P2P mode to carry out the online purpose of broadcasting even some webpage self does not support P2P to download (comprising online broadcast).And, need not user's download plug-in separately again, can realize obtaining the bigger resource of byte number (as audio and video resources) by the P2P approach.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. the method for browser acquisition Internet resources is characterized in that, comprising:
Browser sends resource request information;
Described browser obtains the information of downloading and/or downloading the client of described Internet resources that first network side server returns after obtaining described resource request information;
At least one client downloads described Internet resources of described browser from the described first network side server return information.
2. browser as claimed in claim 1 obtains the method for Internet resources, it is characterized in that, browser is also downloaded described Internet resources from second network side server that described Internet resources can be provided during from the described Internet resources of described client downloads.
3. browser as claimed in claim 1 obtains the method for Internet resources, it is characterized in that, also comprises:
At browser from the process of the described Internet resources of described client downloads, the described Internet resources that browser will downloaded are as shared network resource, and notify described Internet resources that described first network side server will download as shared network resource;
And/or
From described client downloads after the intact described Internet resources, the described Internet resources that browser will have been downloaded are as shared network resource at browser, and notify described Internet resources that described first network side server will download as shared network resource.
4. obtain the method for Internet resources as each described browser in the claim 1 to 3, it is characterized in that the Internet resources that described browser provides to the first network side server request are first kind Internet resources.
5. browser as claimed in claim 4 obtains the method for Internet resources, it is characterized in that:
Described first kind Internet resources are the Internet resources that byte number meets or exceeds default thresholding;
Perhaps,
Described first kind Internet resources are the Internet resources that byte number surpasses default thresholding;
Perhaps,
Described first kind Internet resources are video resource and/or audio resource.
6. browser as claimed in claim 4 obtains the method for Internet resources, it is characterized in that, also comprises:
If described browser provides the second type network resource to the first network side server request, and the described first networking side server has been preserved the described second type network resource and need not to provide to source network side server requests, and then described browser obtains the second type network resource of having preserved before that described first network side server provides.
7. browser as claimed in claim 6 obtains the method for Internet resources, it is characterized in that:
Described first kind Internet resources are Internet resources that byte number is less than or equal to default thresholding; The described second type network resource is the Internet resources that are higher than described default thresholding;
Perhaps,
Described first kind Internet resources are Internet resources that byte number is lower than default thresholding; The described second type network resource is the Internet resources that are greater than or equal to described default thresholding;
Perhaps,
Described first kind Internet resources are video network resource and/or audio network resource, and the described second type network resource is the Internet resources of the other types beyond the described first kind Internet resources.
8. obtain the method for Internet resources according to each described browser in the claim 1 to 3, it is characterized in that, described resource request information institute requested resource is the video resource of online broadcast.
9. a browser is characterized in that, comprising:
Request unit is used to send resource request information;
The information acquisition unit is used for obtaining the information of downloading or downloading the client of described Internet resources that first network side server returns after obtaining described resource request information after the described request unit sends resource request information;
Download unit is used for from the described Internet resources of at least one client downloads of the information of described information acquisition unit acquisition.
10. browser as claimed in claim 9 is characterized in that, described download unit is also downloaded described Internet resources from second network side server that described Internet resources can be provided during from the described Internet resources of described client downloads.
11. browser as claimed in claim 9 is characterized in that, also comprises:
The first resource-sharing unit is used in the process of described download unit from the described Internet resources of described client downloads, and the described Internet resources of downloading are set to shared network resource; First notification unit, be used for after the described Internet resources that described resource-sharing unit is being downloaded are set to shared network resource, the described Internet resources of notifying described browser downloading to described first network side server are set to shared network resource.
And/or
The second resource-sharing unit is used for after described download unit finishes described Internet resources from described client downloads, and the described Internet resources of having downloaded are set to shared network resource; Second notification unit is used for after the described Internet resources that described resource-sharing unit has been downloaded are set to shared network resource, and the described Internet resources of notifying described browser to download to described first network side server are set to shared network resource.
12., it is characterized in that the Internet resources that described browser provides to the first network side server request are first kind Internet resources as each described browser in the claim 9 to 11.
13. browser as claimed in claim 12 is characterized in that:
Described first kind Internet resources are the Internet resources that byte number meets or exceeds default thresholding;
Perhaps,
Described first kind Internet resources are the Internet resources that byte number surpasses default thresholding;
Perhaps,
Described first kind Internet resources are video resource and/or audio resource.
14. browser as claimed in claim 12 is characterized in that, also comprises:
If the described request unit provides the second type network resource to the first network side server request, and the described first networking side server has been preserved the described second type network resource and need not to provide to source network side server requests, and then described download unit obtains the second type network resource of having preserved before that described first network side server provides.
15. browser as claimed in claim 14 is characterized in that:
Described first kind Internet resources are Internet resources that byte number is less than or equal to default thresholding; The described second type network resource is the Internet resources that are higher than described default thresholding;
Perhaps,
Described first kind Internet resources are Internet resources that byte number is lower than default thresholding; The described second type network resource is the Internet resources that are greater than or equal to described default thresholding;
Perhaps,
Described first kind Internet resources are video network resource and/or audio network resource, and the described second type network resource is the Internet resources of the other types beyond the described first kind Internet resources.
16., it is characterized in that described resource request information institute requested resource is the video resource of online broadcast according to each described browser in the claim 9 to 11.
CN200810226524A 2008-11-13 2008-11-13 Network resource acquisition method for browser and browser Pending CN101764829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810226524A CN101764829A (en) 2008-11-13 2008-11-13 Network resource acquisition method for browser and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810226524A CN101764829A (en) 2008-11-13 2008-11-13 Network resource acquisition method for browser and browser

Publications (1)

Publication Number Publication Date
CN101764829A true CN101764829A (en) 2010-06-30

Family

ID=42495811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810226524A Pending CN101764829A (en) 2008-11-13 2008-11-13 Network resource acquisition method for browser and browser

Country Status (1)

Country Link
CN (1) CN101764829A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458029A (en) * 2013-09-02 2013-12-18 百度在线网络技术(北京)有限公司 Method, system and device for accelerating downloading through browser
CN105049452A (en) * 2015-08-25 2015-11-11 广东欧珀移动通信有限公司 Resource download mode switching method and device, and intelligent terminal
CN105898607A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Network video playback method, device and system
CN107153663A (en) * 2016-03-04 2017-09-12 中国移动通信集团北京有限公司 A kind of domain name resources caching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1517900A (en) * 2003-01-24 2004-08-04 ������������ʽ���� Method and device for reciprocal access
CN101039187A (en) * 2006-03-17 2007-09-19 腾讯科技(深圳)有限公司 Method for downloading data and system thereof
CN101051980A (en) * 2007-05-21 2007-10-10 华为技术有限公司 File data distributing method and relative device
CN101075242A (en) * 2006-12-25 2007-11-21 腾讯科技(深圳)有限公司 System and method for acquiring webpage elements

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1517900A (en) * 2003-01-24 2004-08-04 ������������ʽ���� Method and device for reciprocal access
CN101039187A (en) * 2006-03-17 2007-09-19 腾讯科技(深圳)有限公司 Method for downloading data and system thereof
CN101075242A (en) * 2006-12-25 2007-11-21 腾讯科技(深圳)有限公司 System and method for acquiring webpage elements
CN101051980A (en) * 2007-05-21 2007-10-10 华为技术有限公司 File data distributing method and relative device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458029A (en) * 2013-09-02 2013-12-18 百度在线网络技术(北京)有限公司 Method, system and device for accelerating downloading through browser
CN105049452A (en) * 2015-08-25 2015-11-11 广东欧珀移动通信有限公司 Resource download mode switching method and device, and intelligent terminal
CN105049452B (en) * 2015-08-25 2018-04-20 广东欧珀移动通信有限公司 Switching method, device and the intelligent terminal of resource downloading mode
CN105898607A (en) * 2015-11-20 2016-08-24 乐视云计算有限公司 Network video playback method, device and system
WO2017084278A1 (en) * 2015-11-20 2017-05-26 乐视控股(北京)有限公司 Network video playback method, apparatus, and system
CN107153663A (en) * 2016-03-04 2017-09-12 中国移动通信集团北京有限公司 A kind of domain name resources caching method and device

Similar Documents

Publication Publication Date Title
CN108173774B (en) Client upgrading method and system
CN102739717B (en) Method for down loading, download agent server and network system
CN103944994A (en) Distributed resource obtaining method and device
CN103269362B (en) The sharing method of picture local content, system and device in webpage
CN102984275A (en) Method and browser for web downloading
US9088462B2 (en) Common web accessible data store for client side page processing
CN107113337B (en) Method and system for network content delivery
CN104348919A (en) Method and device for downloading file and browser
CN103024044A (en) Method and device for downloading web pages
CN105516261A (en) Web page loading control method and load balancer
CN103581269A (en) Cloud off-line downloading method, system and device thereof
CN109788301B (en) Live broadcast method, terminal equipment, live broadcast system and computer readable storage medium of streaming media
CN113014681A (en) Network card binding method and device of multi-network card server, electronic equipment and storage medium
CN101764829A (en) Network resource acquisition method for browser and browser
AU2016364922B2 (en) Accelerating connections to a host server
US8849977B2 (en) Method and a control node in an overlay network
US20140040490A1 (en) Automatic connection of computing devices
CN102291412A (en) Multimedia service implementation method, system and device based on HTTP (hyper text transfer protocol)
CN103248627A (en) Method, forward proxy server and system for visiting website resources
CN105897844A (en) Successful file downloading aided device and method
CN103731511B (en) Data acquiring method and data acquiring device in P2P (Peer-to-Peer) system
CN103368988B (en) resource sharing method, system and device
CN113285920B (en) Service access method, device, equipment and storage medium
CN102833287A (en) Distributed file system and method for visiting data resource in distributed system
US10108588B2 (en) Method and system for communicating between client pages

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20100630