CN103248684A - Resource acquiring method and device on Internet - Google Patents

Resource acquiring method and device on Internet Download PDF

Info

Publication number
CN103248684A
CN103248684A CN2013101544319A CN201310154431A CN103248684A CN 103248684 A CN103248684 A CN 103248684A CN 2013101544319 A CN2013101544319 A CN 2013101544319A CN 201310154431 A CN201310154431 A CN 201310154431A CN 103248684 A CN103248684 A CN 103248684A
Authority
CN
China
Prior art keywords
target resource
resource
request
buffer memory
target
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.)
Granted
Application number
CN2013101544319A
Other languages
Chinese (zh)
Other versions
CN103248684B (en
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310154431.9A priority Critical patent/CN103248684B/en
Publication of CN103248684A publication Critical patent/CN103248684A/en
Application granted granted Critical
Publication of CN103248684B publication Critical patent/CN103248684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a resource acquiring method and device on the Internet. The resource acquiring method on the Internet, provided by the embodiment of the invention, comprises the following steps: inquiring whether requested target resources exist in the cache of a proxy server according to a resource acquiring request when the resource acquiring request of a request end is received; returning the inquired target resources to the request end when the requested target resources exist in the cache, acquiring the target resources from a resource provider when the requested target resources do not exist in the cache, storing the target resources in the cache of the proxy server, and returning the acquired target resources to the request end; and processing the target resources acquired from the resource provider accordingly and replacing the corresponding target resources in the cache with the processing results.

Description

Resource acquiring method and device in a kind of the Internet
Technical field
The present invention relates to Internet technical field, particularly resource acquiring method and device in a kind of the Internet.
Background technology
As user during by acting server visit third party resource, obtain resource by acting server from the third party, and with resource transmission to the user.In order to obtain higher speed; acting server can carry out some processing earlier to the resource that gets access to usually, as compression etc., because the capacity of the resource after handling has reduced; can reduce the time of resource transmission when the resource after handling is sent to the user, improve response speed.
Yet there is following defective at least in the existing resources obtain manner:
Processing operation to some resources is more loaded down with trivial details, consuming time longer, for example, picture for some type will effectively compress processing such as need falling look earlier, expend very much the cpu resource of acting server, acting server is sent to the user after these resources are handled in real time again, not only can cause the consumption of a large amount of cpu resources, also can have a strong impact on the response speed of system.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to resource acquiring method and device in a kind of the Internet that overcomes the problems referred to above or address the above problem at least in part is provided.
According to one aspect of the present invention, the embodiment of the invention provides resource acquiring method in a kind of the Internet, comprising:
When receiving the acquisition request conforms of request end, according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server;
When having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end;
The target resource that gets access to is carried out respective handling, and replace target resource corresponding in the buffer memory with result.
Wherein, before the target resource that gets access to from resource provider was carried out respective handling, said method also comprised: the index information of target resource is stored in the database;
Above-mentionedly the target resource that gets access to from resource provider is carried out respective handling comprise: the index information according to the database storage obtains target resource, and this target resource is carried out respective handling.
Whether wherein, exist before the target resource of request in according to the buffer memory of acquisition request conforms inquiry proxy server, said method also comprises:
Judge the type of the target resource of request according to acquisition request conforms;
When the type of target resource is predefined type, according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end, the target resource that gets access to is carried out respective handling, and replace target resource corresponding in the buffer memory with result;
When the type of target resource is not predefined type, according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, the target resource after handling is back to the request end.
Wherein, when above-mentioned target resource was picture, above-mentioned predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG; Above-mentioned to the target resource that gets access to carry out respective handling comprise following one of at least: look is fallen in the target GIF picture that gets access to and/or target P NG picture handles, and target GIF picture and/or the target P NG picture that falls after look is handled compressed.
Wherein, the uniform resource position mark URL that comprises the target resource of request in the above-mentioned acquisition request conforms, the URL of storage resources and resource in the buffer memory of acting server, above-mentioned according to whether existing the target resource of request to comprise in the buffer memory of acquisition request conforms inquiry proxy server:
The URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary, when the match is successful, confirms to exist in the buffer memory target resource of request, when it fails to match, confirm not exist in the buffer memory target resource of request.
Wherein, above-mentioned index information is the URL of target resource, and above-mentioned index information according to the database storage obtains target resource and comprises: extract the URL that needs are handled from database; The URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilizes the URL that extracts to obtain target resource from resource provider the resource that matches.
According to a further aspect in the invention, the embodiment of the invention provides resource acquisition device in a kind of the Internet, comprising: control module under control module and the line on communication module, the line.This communication module is suitable for receiving the acquisition request conforms of request end, and, target resource is back to the request end; Control module on this line is suitable for according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server; When having the target resource of request in the buffer memory, the control communication module is back to the request end with the target resource that inquires, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the control communication module is back to the request end with the target resource that gets access to; Control module under this line is suitable for the target resource that gets access to is carried out respective handling, replaces target resource corresponding in the buffer memory with result.
Wherein, said apparatus also comprises database, and this database is suitable for the index information of storage resources; Then control module on the line also is suitable for the index information of target resource is stored in the database; Control module under the line is suitable for obtaining target resource according to the index information of database storage, and this target resource is carried out respective handling.
Wherein, control module on the line also is suitable for the type according to the target resource of acquisition request conforms judgement request; When the type of target resource is predefined type, control module is according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server on this line, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the control communication module is back to the request end with the target resource that gets access to, control module is carried out respective handling to the target resource that gets access on this line, and replaces target resource corresponding in the buffer memory with result; When the type of target resource is not predefined type, control module is according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server on this line, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, and the target resource of controlling after communication module will be handled is back to the request end.
Wherein, when above-mentioned target resource was picture, above-mentioned predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG; Control module under the line is suitable for the look processing is fallen in the target GIF picture and/or the target P NG picture that get access to, and target GIF picture and/or the target P NG picture that falls after look is handled is compressed.
Wherein, the uniform resource position mark URL that comprises the target resource of request in the acquisition request conforms, the URL of storage resources and resource in the buffer memory of acting server, control module on the line, also be suitable for the URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary, when the match is successful, confirm to exist in the buffer memory target resource of request, when it fails to match, confirm not exist in the buffer memory target resource of request.
Wherein, above-mentioned index information is the URL of target resource, control module also is suitable for extracting the URL that needs processing under the line from database, the URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilize the URL that extracts to obtain target resource from resource provider the resource that matches.
From the above mentioned, the embodiment of the invention adopts the treatment mechanism of operating under a kind of line operation joint line when obtaining resource in the Internet, by resource being stored in the technological means in the proxy server caches, when in inquiring buffer memory, having target resource in operating on line on the one hand, directly the target resource that finds out is back to the user, when not having target resource in the buffer memory, the source material that gets access to directly is back to the user, thereby can in time requested resource be sent to the user, improve the real time response speed of system; On the other hand, in the operation resource is carried out respective handling under online, and the resource after will handling is stored in the buffer memory, thereby alleviated the consumption of acting server cpu resource, and because the capacity of the resource after handling, has reduced requirements for transmission when then the resource that will inquire from buffer memory is back to the user less than the capacity of source material, shorten the time of resource transmission, accelerated system response time.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows resource acquiring method flow chart in a kind of according to an embodiment of the invention the Internet;
Fig. 2 shows resource acquiring method flow chart in the Internet of another embodiment according to the present invention;
Fig. 3 shows in the Internet of another embodiment according to the present invention the flow chart of operation part on the line in the resource acquiring method;
Fig. 4 shows in the Internet of another embodiment according to the present invention the flow chart of operation part under the line in the resource acquiring method;
Fig. 5 shows the structural representation of resource acquisition device in a kind of the Internet of another embodiment according to the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Though shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
CPU exorbitant expenditure, the slow excessively problem of system responses when the embodiment of the invention mainly solves some resources of acting server (as forward proxy server) Real Time Compression, the strategy that adopts mainly is divided on the line under operation and the line operates two parts, the operation that need carry out in real time according to this acquisition request conforms when line drilling is made main finger and received acquisition request conforms, line is finished drilling and is done mainly to refer to need not according to the acquisition request conforms operation of execution in real time, as the operation of carrying out after acquisition request conforms disposes.On the line operation during partial sterility to processing such as the source material that gets access to compress, directly return source material and record, the operation partial asynchronous is handled source material and with the result buffer memory under the line, then when asking again to visit this resource, can use the resource that has disposed in the buffer memory, thereby make the performance that can not influence acting server to the processing of resource, improve the response speed of system.
One embodiment of the invention provides resource acquiring method in a kind of the Internet, and referring to Fig. 1, this method is suitable for step S100, specifically comprises:
Step S100: the acquisition request conforms that receives the request end.
Above-mentioned acquisition request conforms can comprise the URL (Uniform Resoure Locator, URL(uniform resource locator)) of request end (as the user) request accessed resources (being target resource).
Step S102: according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, if, execution in step S104, if not, execution in step S106.
Step S104: when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, end operation.
To receiving the resource that exists in the buffer memory before this acquisition request conforms, the overwhelming majority is the resource of having carried out respective handling (as compression) by operation under the line, then the capacity of the target resource that inquires in this step is usually all less than the capacity of source material, when then the target resource that inquires being back to the request end, the network bandwidth resources that need take is less, can obtain higher resource transmission speed, improve system response time.
Step S106: when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end.
Acting server can and extract target resource according to the URL locating resource provider in the acquisition request conforms in this step from the resource provider that navigates to, acting server does not carry out respective handling (as compression) to the target resource that gets access to from resource provider in step S106, directly this target resource (source material) is stored in the buffer memory, and this target resource (source material) is back to the request end, this processing mode, owing to having avoided by the acting server time-delay that processing brings to target resource and the consumption of acting server cpu resource, can alleviate the data processing pressure of acting server CPU, and in time request resource is back to the request end.
Step S108: the target resource that gets access to from resource provider is carried out respective handling, and replace target resource corresponding in the buffer memory with result.
Carry out in this step under the line and operate, to the source material that gets access to from resource provider, compress and wait processing, and with the source material of storing in the resource replacement acting server after compressing.
On basis embodiment illustrated in fig. 1, before execution in step S108, present embodiment also comprises: the index information of target resource is stored in the database, and then above-mentioned steps S108 comprises: the index information according to the database storage obtains target resource, and this target resource is carried out respective handling.When namely operating on line, the source material that gets access to is stored in earlier in the database, in the online operation down the resource of index information record in the database is handled then.
Wherein, store the solid data content of resource and the URL of resource in the buffer memory of acting server, exemplary, the situation that with the resource is picture resource is that example is described as follows: can store the solid data content of picture resource (Target Photo) and the URL of picture resource in this buffer memory, as http://img.thirdparty.com/demo.png.
Also comprise among the above-mentioned steps S102: the URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary, mate as the URL that will store in http://img.thirdparty.com/demo.png and the buffer memory, when the match is successful, when having the URL identical with http://img.thirdparty.com/demo.png in the buffer memory, confirm to exist in the buffer memory target resource of request, when it fails to match, when not having the URL identical with http://img.thirdparty.com/demo.png in the buffer memory, confirm not exist in the buffer memory target resource of request.
Wherein, above-mentioned index information is the URL of target resource, and as to Target Photo, the index information of this Target Photo is the URL of this Target Photo, as http://img.thirdparty.com/demo.png.
Above-mentioned index information according to the database storage obtains target resource and comprises: extract the URL (as http://img.thirdparty.com/demo.png) that needs are handled from database; The URL of resource in the URL (as http://img.thirdparty.com/demo.png) that extracts and the proxy server caches is complementary, when the match is successful, when having the URL identical with http://img.thirdparty.com/demo.png in the database, with the resource that matches as the target resource that gets access to, when it fails to match, when not having the URL identical with http://img.thirdparty.com/demo.png in the database, utilize the URL that extracts to obtain target resource from resource provider.
From the above mentioned, the embodiment of the invention adopts the treatment mechanism of operating under a kind of line operation joint line when obtaining resource in the Internet, by resource being stored in the technological means in the proxy server caches, when in inquiring buffer memory, having target resource in operating on line on the one hand, directly the target resource that finds out is back to the user, when not having target resource in the buffer memory, the source material that gets access to directly is back to the user, thereby can in time requested resource be sent to the user, improve the real time response speed of system; On the other hand, in the operation resource is carried out respective handling under online, and the resource after will handling is stored in the buffer memory, thereby alleviated the consumption of acting server cpu resource, and because the capacity of the resource after handling, has reduced requirements for transmission when then the resource that will inquire from buffer memory is back to the user less than the capacity of source material, shorten the time of resource transmission, accelerated system response time.
Referring to Fig. 2, show resource acquiring method flow chart in the Internet of another embodiment of the present invention, this flow process also comprises following operation:
Judge the type of the target resource of request according to acquisition request conforms; When the type of target resource is predefined type, according to subsequent step S104, S106, the operation of S108 is handled, namely according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end, the target resource that gets access to from resource provider is carried out respective handling, and replace target resource corresponding in the buffer memory with result;
When the type of target resource is not predefined type, according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, the target resource after handling is back to the request end.
This flow process is specific as follows:
S202: the type of the target resource that judgement is asked according to acquisition request conforms, when the type of target resource is predefined type, enter step S204, when the type of target resource is not predefined type, enter step S206.
The relevant information that comprises in the acquisition request conforms (as the URL of target resource) can the indicating target resource type, from this relevant information, can know the type of target resource, when being http://img.thirdparty.com/demo.png as the URL of target resource (Target Photo), can know that according to this URL target resource is the picture resource of PNG type.
Present embodiment is two kinds of predefined type and non-predefined types with the type classification of target resource, dissimilar resources is handled according to different modes, the main criteria for classifying is: the cpu resource of the acting server that the processing of predefined type resource is expended is bigger, if processing in real time not only can cause the consumption of a large amount of CPU, and cause system response time slow excessively, therefore handle under the resource employing line for this predefined type; Processing operation to non-predefined type resource is fairly simple and consuming time shorter usually, therefore takes directly to handle in real time more efficient to this type of non-predefined type resource.
Target resource can comprise the Internet resources of various ways such as text, picture, video, according to the complexity of processing target resource the target resource of every kind of form is divided into predefined type and non-predefined type, handle the higher resource that takies CPU usually of complexity and more then be divided to predefined type, handle that the lower resource that takies CPU usually of complexity is less then to be divided to non-predefined type.Present embodiment mainly is that the scene of Target Photo is that example describes with the target resource, and this predefined type comprises GIF picture, PNG picture etc., and non-predefined type comprises the JPEG picture.This is because of the squeeze operation than general JPEG picture, processing such as look need fall earlier in the compression of format picture such as PNG, GIF, cause the server cpu resource that expends bigger, if processing in real time not only can cause the consumption of a large amount of CPU, also can have a strong impact on the response speed of system.Should be clear, the present invention is not limited to the resource of above-mentioned picture category.
S204: when the type of target resource is predefined type, trigger the execution of following follow-up corresponding operating:
According to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, end operation.When not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end, the target resource that gets access to from resource provider is carried out respective handling, and replace target resource corresponding in the buffer memory, end operation with result.
Namely can trigger the operation of above-mentioned steps S102, S104, S106, S108 in this step.Wherein, when above-mentioned target resource is picture, the predefined type of judgement comprise GIF(Graphic Interchange format) (Graphics Interchange Format, GIF) and/or portable network graphic (Portable Network Graphics, PNG); Then among the step S108 to the target resource that gets access to carry out respective handling comprise following one of at least: look is fallen in the target GIF picture that gets access to and/or target P NG picture handles, and target GIF picture and/or the target P NG picture that falls after look is handled compressed.
S206: when the type of target resource is not predefined type, according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server, if, enter step S208, if not, enter step S210.
S208: when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, end operation.
S210: when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, the target resource after handling is stored in the buffer memory of acting server, target resource after handling is back to the request end, end operation.
Resource acquiring method describes in the Internet that the scene that another embodiment of the present invention handles picture resource in conjunction with forward proxy server provides this programme, present embodiment mainly describes operation part on the line, and the particular content of operation part can be referring to the associated description of other embodiments of the invention under the line.Referring to Fig. 3, this method is suitable for step S300, specifically comprises following processing:
Step S300: receive acquisition request conforms;
Forward proxy server receives acquisition request conforms, the target resource of acquisition request can comprise the Internet resources of various ways such as text, picture, video, exemplary, GIF or PNG picture resource are obtained in this acquisition request conforms indication, for example, the URL " http://img.thirdparty.com/demo.png " that comprises the picture resource (Target Photo) of acquisition request in this acquisition request conforms.
Present embodiment is two kinds of predefined type and non-predefined types with the type classification of target resource, forward proxy server can be known the type of target resource according to the acquisition request conforms that receives, and is the PNG picture as the type of knowing Target Photo according to http://img.thirdparty.com/demo.png.
Step S302: query caching.
The picture that the meeting storage has got access in the buffer memory of forward proxy server and the URL of picture, the URL of acquisition request conforms and the URL in the buffer memory are mated, carry out query manipulation, as the URL in http://img.thirdparty.com/demo.png and the buffer memory is compared, carry out query manipulation.
In conjunction with Fig. 3, main processing method when being the picture of predefined type with the Target Photo is illustrated in the present embodiment, when Target Photo is predefined type, and the operation of execution in step S304 to S314.
This predefined type comprises GIF picture, PNG picture etc.This is because of the squeeze operation than general JPEG picture, processing such as look need fall earlier in the compression of format picture such as PNG, GIF, cause the server cpu resource that expends bigger, if processing in real time not only can cause the consumption of a large amount of CPU, also can have a strong impact on the response speed of system.Forward proxy server can be known the type of this target resource by the URL of target resource.
When Target Photo is not the picture of predefined type, be the JPEG picture as Target Photo, whether store this picture in the present embodiment elder generation query caching, if have, the picture that inquires directly is back to the user, if do not have, because the processing operation to such picture is fairly simple and consuming time shorter usually, obtain this Target Photo from the third party, directly carry out respective handling in real time after, be sent to the user again.
Step S304: whether the picture resource of judging acquisition request hits buffer memory.
According to the Query Result among the step S302, when inquiry (coupling) in the buffer memory went out the identical picture of the URL of URL and Target Photo, the match is successful in judgement, and namely Target Photo hits buffer memory, enters step S314; When not having inquiry (coupling) to go out the identical picture of the URL of URL and Target Photo in the buffer memory, it fails to match in judgement, and namely Target Photo does not hit buffer memory, enters step S306.
Step S306: obtain the original image resource.
Forward proxy server obtains target resource according to the URL of target resource from resource provider (as third-party server) in this step, and the Target Photo resource of at this moment obtaining is also not have treated original image resource.
Step S308: original image and URL thereof are deposited in the buffer memory.
In the buffer memory that deposits the original image resource that gets access among the step S306 and URL thereof in forward proxy server.
Step S310: the URL of recordable picture resource is to database.
The index information (as URL) of original image resource is recorded to database.
Step S312: the original image resource directly is back to the user, finishes this resource acquisition flow process.
Operation part is not handled from the target resource that the third party gets access in real time to the forward acting server on the line, and initial data directly is back to the user, alleviating the data processing pressure of forward proxy server, and guarantees the promptness of system responses.
Step S314: the resource that extracts in the buffer memory is returned to the user, finish this operation.
Scene for Target Photo hits buffer memory directly returns to the user with the Target Photo that inquires.
Resource acquiring method describes in the Internet that the scene that another embodiment of the present invention still handles picture resource in conjunction with forward proxy server provides this programme, present embodiment mainly describes operation part under the line, and the particular content of operation part can be referring to the associated description of other embodiments of the invention on the line.Referring to Fig. 4, this method is suitable for step S400, specifically comprises following operation:
Step S400: from database, extract an index.
Above-mentioned index can adopt the URL of resource to realize.In the present embodiment index in the database is handled one by one, can be carried out according to forward proxy server and the multi-process of cpu resource situation, each background process can extract (PoP) from database and go out an index data, obtains the URL of certain resource.
Step S402: the buffer memory of inquiry forward proxy server.
According to the index that obtains from database, whether the inquiry respective resources is present in the buffer memory earlier.During inquiry, the URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilizes the URL that extracts to obtain target resource from resource provider the resource that matches.
Step S404: judge whether to hit buffer memory, if, execution in step S406, if not, execution in step S412.
When matching the URL identical with the URL that extracts in the database in the forward proxy server buffer memory, the match is successful, determines to hit buffer memory, enters step S406; When not matching the URL identical with the URL that extracts in the database in the forward proxy server buffer memory, it fails to match, determines not hit buffer memory, enters step S412.
Step S406: extract the resource in the buffer memory.
With the picture resource of the URL correspondence that the match is successful in the buffer memory, extract as the picture resource that when pre-treatment, uses, enter step S408, this resource is handled.
Step S408: picture resource is fallen processing such as look.
The picture resource of PNG, GIF type is fallen after look handles, compress this picture resource.
Step S410: the resource after handling is put into buffer memory.
When storing the original image resource of handling back resource correspondence in the buffer memory, with the original image resource in the resource replacement buffer memory after handling, when not having the original image resource of handling back resource correspondence in the buffer memory, the resource after handling directly is stored in the buffer memory.
Step S412: obtain the original image resource from the third party.
The resource that index correspondence in the database may occur to some scene is not stored in the phenomenon in the proxy server caches, for example, acting server makes a mistake when the storage data, and picture does not successfully deposit in the buffer memory, perhaps surpass buffer memory time limit or tolerance limit, picture is deleted.After then obtaining corresponding picture resource according to the URL that from database, extracts from the third party in the case, enter step S408.
Below by a concrete application scenarios, operating process and the beneficial effect of this programme described.
When user A sends acquisition request conforms to forward proxy server, when request visit URL is the resource (being the picture resource of PNG type) of " http://img.thirdparty.com/demo.png ", do not have this resource in the buffer memory of forward proxy server, forward proxy server can directly obtain source material from the third party and return to user A, simultaneously source material is write forward agency's buffer memory, and the URL of this resource is deposited in the database.This programme can in time be passed to requested resource user A.
When user B also sends acquisition request conforms to forward proxy server after user A, request access resources " http://img.thirdparty.com/demo.png ", owing in the buffer memory of forward proxy server this resource has been arranged, therefore forward proxy server takes out this resource from buffer memory, and returns to user B;
Background program under the line in the acquisition request conforms of process user B or afterwards, in database, extract the URL of resource " http://img.thirdparty.com/demo.png ", from the buffer memory of forward proxy server, get access to source material, and processing such as look and compression fall, and the resource after the processing writes the buffer memory of forward proxy server, the source material of storage before covering in the buffer memory, the operation of program has alleviated the consumption to forward acting server cpu resource under the line, has accelerated system response time.
Then after user B, send acquisition request conforms to forward proxy server as user C, the request access resources ' http://img.thirdparty.com/demo.png ', owing in the buffer memory of forward proxy server this resource has been arranged, and be through falling the resource after look and compression are handled, forward proxy server takes out this resource from buffer memory, and returns to user C; Transfer to the resource of user C owing to carried out falling look and the compression processing, capacity can significantly reduce, and can reduce customer flow, improves response speed.
Another embodiment of the present invention also provides resource acquisition device 500 in a kind of the Internet, referring to Fig. 5, comprising: control module 514 under control module 512 and the line on communication module 510, the line.
This communication module 510 is suitable for receiving the acquisition request conforms of request end, and, target resource is back to the request end; Control module 512 on this line, are suitable for according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server; When having the target resource of request in the buffer memory, control communication module 510 is back to the request end with the target resource that inquires, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, control communication module 510 is back to the request end with the target resource that gets access to; Control module 514 under this line, are suitable for the target resource that gets access to is carried out respective handling, replace target resource corresponding in the buffer memory with result.
Wherein, said apparatus can also comprise database 516, and this database 516 is suitable for the index information of storage resources; Then control module 512 also is suitable for the index information of target resource is stored in the database 516 on the line; Control module 514 is suitable for obtaining target resource according to the index information of database 516 storages under the line, and this target resource is carried out respective handling.
Be appreciated that this database 516 also can be positioned on the line among any one of control module 514, acting server under control module 512, the line.
Wherein, control module 512 also is suitable for judging according to acquisition request conforms the type of the target resource of request on the line; When the type of target resource is predefined type, control module 512 is according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server on the line, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, control communication module 510 is back to the request end with the target resource that gets access to, 512 pairs of target resources that get access to of control module carry out respective handling on the line, and replace target resource corresponding in the buffer memory with result; When the type of target resource is not predefined type, control module 512 is according to the target resource that whether has request in the buffer memory of acquisition request conforms inquiry proxy server on the line, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, and the target resource of controlling after communication module 510 will be handled is back to the request end.
Wherein, when above-mentioned target resource was picture, above-mentioned predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG; Control module 514 under the line, be suitable for the look processing is fallen in the target GIF picture and/or the target P NG picture that get access to, and target GIF picture and/or the target P NG picture that falls after look is handled compressed.
Wherein, the URL that comprises the target resource of request in the acquisition request conforms, the URL of storage resources and resource in the buffer memory of acting server, control module 512 also is suitable for the URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary on the line, when the match is successful, confirm to exist in the buffer memory target resource of request, when it fails to match, confirm not exist in the buffer memory target resource of request.
Wherein, above-mentioned index information is the URL of target resource, control module 514 also is suitable for extracting the URL that needs processing under the line from database 516, the URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilize the URL that extracts to obtain target resource from resource provider the resource that matches.
Said apparatus 500 can be arranged in the acting server and realize, or also can be arranged on acting server as required and independently realize in the server.The concrete working method of each module can not repeat them here referring to method embodiment of the present invention among apparatus of the present invention embodiment.
From the above mentioned, the embodiment of the invention adopts the treatment mechanism of operating under a kind of line operation joint line when obtaining resource in the Internet, by resource being stored in the technological means in the proxy server caches, when in inquiring buffer memory, having target resource in operating on line on the one hand, directly the target resource that finds out is back to the user, when not having target resource in the buffer memory, the source material that gets access to directly is back to the user, thereby can in time requested resource be sent to the user, improve the real time response speed of system; On the other hand, in the operation resource is carried out respective handling under online, and the resource after will handling is stored in the buffer memory, thereby alleviated the consumption of acting server cpu resource, and because the capacity of the resource after handling, has reduced requirements for transmission when then the resource that will inquire from buffer memory is back to the user less than the capacity of source material, shorten the time of resource transmission, accelerated system response time.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also at any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice under the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate this embodiment thus clearly into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different with this embodiment the module in the equipment among the embodiment.Can become a module or unit or assembly to the module among the embodiment or unit or combination of components, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless clearly statement in addition, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of features of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.Each parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the resource acquisition device in the Internet of the embodiment of the invention in practice.The present invention can also be embodied as for part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment under the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.Any order is not represented in the use of word first, second and C grade.Can be title with these word explanations.
The present patent application discloses resource acquiring method in A1, a kind of the Internet, comprising: when receiving the acquisition request conforms of request end, whether have the target resource of request in the buffer memory according to described acquisition request conforms inquiry proxy server; When having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end; The described target resource that gets access to is carried out respective handling, and replace target resource corresponding in the buffer memory with result.A2, according to the described method of A1, wherein, described the described target resource that gets access to from resource provider is carried out respective handling before, described method also comprises: the index information of described target resource is stored in the database; Describedly the described target resource that gets access to from resource provider is carried out respective handling comprise: the index information according to the database storage obtains target resource, and this target resource is carried out respective handling.A3, according to the described method of A1, wherein, in the buffer memory according to described acquisition request conforms inquiry proxy server, whether have the target resource of request before, described method also comprises: the type of judging the target resource of request according to described acquisition request conforms; When the type of target resource is predefined type, the target resource that whether has request in the buffer memory according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end, the described target resource that gets access to is carried out respective handling, and replace target resource corresponding in the buffer memory with result; When the type of target resource is not predefined type, the target resource that whether has request in the buffer memory according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, the target resource after handling is back to the request end.A4, according to the described method of A2, wherein, when described target resource was picture, described predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG; Described to the target resource that gets access to carry out respective handling comprise following one of at least: look is fallen in the target GIF picture that gets access to and/or target P NG picture handles, and target GIF picture and/or the target P NG picture that falls after look is handled compressed.A5, according to the described method of A1, wherein, the uniform resource position mark URL that comprises the target resource of request in the described acquisition request conforms, the URL of storage resources and resource in the buffer memory of described acting server, whether exist the target resource of request to comprise in the described buffer memory according to described acquisition request conforms inquiry proxy server: the URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary, when the match is successful, confirm to exist in the buffer memory target resource of request, when it fails to match, confirm not exist in the buffer memory target resource of request.A6, according to the described method of A2, wherein, described index information is the URL of target resource, described index information according to database storage obtains target resource and comprises: the URL that extracts needs processing from database; The URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilizes the URL that extracts to obtain target resource from resource provider the resource that matches.
The present patent application also discloses resource acquisition device in B7, a kind of the Internet, comprise: control module under control module and the line on communication module, the line, described communication module is suitable for receiving the acquisition request conforms of request end, and, target resource is back to the request end; Control module on the described line is suitable for whether existing in the buffer memory according to described acquisition request conforms inquiry proxy server the target resource of request; When having the target resource of request in the buffer memory, control described communication module the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, controls described communication module the target resource that gets access to is back to the request end; Control module under the described line is suitable for the target resource that gets access to is carried out respective handling, replaces target resource corresponding in the buffer memory with result.B8, according to the described device of B7, wherein, described device also comprises database, described database is suitable for the index information of storage resources; Control module on the described line also is suitable for the index information of described target resource is stored in the database; Control module under the described line is suitable for obtaining target resource according to the index information of database storage, and this target resource is carried out respective handling.B9, according to the described device of B7, wherein, control module on the described line also is suitable for judging according to described acquisition request conforms the type of the target resource of request; When the type of target resource is predefined type, the target resource that whether has request on the described line in the buffer memory of control module according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, control described communication module the target resource that gets access to is back to the request end, control module is carried out respective handling to the described target resource that gets access under the described line, and replaces target resource corresponding in the buffer memory with result; When the type of target resource is not predefined type, the target resource that whether has request on the described line in the buffer memory of control module according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, and the target resource of controlling after described communication module will be handled is back to the request end.B10, according to the described device of B8, wherein, when described target resource was picture, described predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG; Control module under the described line is suitable for the look processing is fallen in the target GIF picture and/or the target P NG picture that get access to, and target GIF picture and/or the target P NG picture that falls after look is handled is compressed.B11, according to the described device of B7, wherein, the uniform resource position mark URL that comprises the target resource of request in the described acquisition request conforms, the URL of storage resources and resource in the buffer memory of described acting server, control module on the described line also is suitable for the URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary, when the match is successful, confirm to exist in the buffer memory target resource of request, when it fails to match, confirm not exist in the buffer memory target resource of request.B12, according to the described device of B8, wherein, described index information is the URL of target resource, control module under the described line also is suitable for extracting from database and needs the URL that handles, and the URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilize the URL that extracts to obtain target resource from resource provider the resource that matches.

Claims (10)

1. resource acquiring method in the Internet comprises:
When receiving the acquisition request conforms of request end, whether there is the target resource of request in the buffer memory according to described acquisition request conforms inquiry proxy server;
When having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end;
The described target resource that gets access to is carried out respective handling, and replace target resource corresponding in the buffer memory with result.
2. method according to claim 1, wherein, described the described target resource that gets access to from resource provider is carried out respective handling before, described method also comprises:
The index information of described target resource is stored in the database;
Describedly the described target resource that gets access to from resource provider carried out respective handling comprise:
Index information according to the database storage obtains target resource, and this target resource is carried out respective handling.
3. method according to claim 1, wherein, in the buffer memory according to described acquisition request conforms inquiry proxy server, whether have the target resource of request before, described method also comprises:
Judge the type of the target resource of request according to described acquisition request conforms;
When the type of target resource is predefined type, the target resource that whether has request in the buffer memory according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, the target resource that gets access to is back to the request end, the described target resource that gets access to is carried out respective handling, and replace target resource corresponding in the buffer memory with result;
When the type of target resource is not predefined type, the target resource that whether has request in the buffer memory according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, the target resource after handling is back to the request end.
4. method according to claim 2, wherein, when described target resource was picture, described predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG;
Described to the target resource that gets access to carry out respective handling comprise following one of at least:
The look processing is fallen in target GIF picture and/or the target P NG picture that gets access to, and target GIF picture and/or the target P NG picture that falls after look is handled compressed.
5. method according to claim 1, wherein, the uniform resource position mark URL that comprises the target resource of request in the described acquisition request conforms, whether the URL of storage resources and resource in the buffer memory of described acting server exists the target resource of request to comprise in the described buffer memory according to described acquisition request conforms inquiry proxy server:
The URL of resource in the URL in the acquisition request conforms and the proxy server caches is complementary, when the match is successful, confirms to exist in the buffer memory target resource of request, when it fails to match, confirm not exist in the buffer memory target resource of request.
6. method according to claim 2, wherein, described index information is the URL of target resource, described index information according to the database storage obtains target resource and comprises:
From database, extract the URL that needs processing;
The URL of resource in the URL that extracts and the proxy server caches is complementary, when the match is successful, as the target resource that gets access to, when it fails to match, utilizes the URL that extracts to obtain target resource from resource provider the resource that matches.
7. resource acquisition device in the Internet comprises: control module under control module and the line on communication module, the line,
Described communication module is suitable for receiving the acquisition request conforms of request end, and, target resource is back to the request end;
Control module on the described line is suitable for whether existing in the buffer memory according to described acquisition request conforms inquiry proxy server the target resource of request; When having the target resource of request in the buffer memory, control described communication module the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, controls described communication module the target resource that gets access to is back to the request end;
Control module under the described line is suitable for the target resource that gets access to is carried out respective handling, replaces target resource corresponding in the buffer memory with result.
8. device according to claim 7, wherein, described device also comprises database, described database is suitable for the index information of storage resources;
Control module on the described line also is suitable for the index information of described target resource is stored in the database;
Control module under the described line is suitable for obtaining target resource according to the index information of database storage, and this target resource is carried out respective handling.
9. device according to claim 7, wherein, control module on the described line also is suitable for judging according to described acquisition request conforms the type of the target resource of request; When the type of target resource is predefined type, the target resource that whether has request on the described line in the buffer memory of control module according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is stored in the buffer memory of acting server, control described communication module the target resource that gets access to is back to the request end, control module is carried out respective handling to the described target resource that gets access under the described line, and replaces target resource corresponding in the buffer memory with result; When the type of target resource is not predefined type, the target resource that whether has request on the described line in the buffer memory of control module according to described acquisition request conforms inquiry proxy server, when having the target resource of request in the buffer memory, the target resource that inquires is back to the request end, when not having the target resource of request in the buffer memory, obtain target resource from resource provider, this target resource is carried out respective handling, target resource after handling is stored in the buffer memory of acting server, and the target resource of controlling after described communication module will be handled is back to the request end.
10. device according to claim 8, wherein, when described target resource was picture, described predefined type comprised GIF(Graphic Interchange format) GIF and/or portable network graphic PNG;
Control module under the described line is suitable for the look processing is fallen in the target GIF picture and/or the target P NG picture that get access to, and target GIF picture and/or the target P NG picture that falls after look is handled is compressed.
CN201310154431.9A 2013-04-28 2013-04-28 Resource acquiring method and device in a kind of the Internet Active CN103248684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310154431.9A CN103248684B (en) 2013-04-28 2013-04-28 Resource acquiring method and device in a kind of the Internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310154431.9A CN103248684B (en) 2013-04-28 2013-04-28 Resource acquiring method and device in a kind of the Internet

Publications (2)

Publication Number Publication Date
CN103248684A true CN103248684A (en) 2013-08-14
CN103248684B CN103248684B (en) 2016-09-28

Family

ID=48927905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310154431.9A Active CN103248684B (en) 2013-04-28 2013-04-28 Resource acquiring method and device in a kind of the Internet

Country Status (1)

Country Link
CN (1) CN103248684B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618799A (en) * 2013-12-04 2014-03-05 北京奇虎科技有限公司 Browser caching processing method and system and proxy server
WO2015042913A1 (en) * 2013-09-29 2015-04-02 华为技术有限公司 Service content acquisition method, and provision method, device and system
CN105389768A (en) * 2015-10-21 2016-03-09 努比亚技术有限公司 Picture processing method and device
CN105610979A (en) * 2016-02-23 2016-05-25 山东乾云启创信息科技股份有限公司 Network resource transmission system based on virtualization technology and method thereof
CN105630556A (en) * 2015-12-25 2016-06-01 北京像素软件科技股份有限公司 Resource loading method and system
CN105631728A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Prompting method and system based on online ticket buying
CN106131175A (en) * 2016-07-01 2016-11-16 微梦创科网络科技(中国)有限公司 A kind of acquisition of information, information-pushing method and equipment
CN106209936A (en) * 2015-05-04 2016-12-07 北大方正集团有限公司 Third party system data capture method and device
WO2017020743A1 (en) * 2015-08-06 2017-02-09 阿里巴巴集团控股有限公司 Method and device for sharing cache data
CN106657227A (en) * 2016-09-26 2017-05-10 海尔优家智能科技(北京)有限公司 Method and device for changing subscription resources
CN107835256A (en) * 2017-12-08 2018-03-23 福建润哲网络科技有限公司 A kind of double stack cache resources sharing methods of IPv4 IPv6 based on http protocol and device
CN107844488A (en) * 2016-09-18 2018-03-27 北京京东尚科信息技术有限公司 Data query method and apparatus
CN108111325A (en) * 2016-11-24 2018-06-01 北京金山云网络技术有限公司 A kind of resource allocation methods and device
CN108337327A (en) * 2018-04-26 2018-07-27 拉扎斯网络科技(上海)有限公司 A kind of resource acquiring method and proxy server
CN108494875A (en) * 2018-04-10 2018-09-04 网宿科技股份有限公司 A kind of method and apparatus of feedback resources file
CN108810117A (en) * 2018-05-30 2018-11-13 京东方科技集团股份有限公司 Access method, device, electronic equipment and the storage medium of image
CN109063140A (en) * 2018-08-03 2018-12-21 福州麦辽自动化设备有限公司 A kind of data query method, transfer server and computer readable storage medium
CN109711587A (en) * 2018-12-29 2019-05-03 北京天诚同创电气有限公司 Material information processing method, system and the server of sewage treatment plant
CN110198333A (en) * 2018-04-18 2019-09-03 腾讯科技(深圳)有限公司 Data capture method and device, storage medium and electronic device
CN110413846A (en) * 2019-07-29 2019-11-05 数译(成都)信息技术有限公司 For the data processing method of webpage mirror image, device and computer readable storage medium
CN110505495A (en) * 2019-08-23 2019-11-26 北京达佳互联信息技术有限公司 Multimedia resource takes out frame method, device, server and storage medium
CN110535961A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 Resource acquiring method, device, electronic equipment and storage medium
CN113973135A (en) * 2021-10-19 2022-01-25 北京沃东天骏信息技术有限公司 Data caching processing method and device, caching grid platform and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552652A (en) * 2009-05-13 2009-10-07 北京交大思源科技有限公司 A document transmission method and transmission device
CN101626395A (en) * 2008-07-10 2010-01-13 银河联动信息技术(北京)有限公司 Method and system for guiding mobile terminal to access world wide web by two-dimensional code
CN102891858A (en) * 2012-10-22 2013-01-23 北京瓦力网络科技有限公司 Method and system for network data transmission and proxy server
CN103036967A (en) * 2012-12-10 2013-04-10 北京奇虎科技有限公司 Data download system and device and method for download management
US20130093776A1 (en) * 2011-10-14 2013-04-18 Microsoft Corporation Delivering a Single End User Experience to a Client from Multiple Servers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626395A (en) * 2008-07-10 2010-01-13 银河联动信息技术(北京)有限公司 Method and system for guiding mobile terminal to access world wide web by two-dimensional code
CN101552652A (en) * 2009-05-13 2009-10-07 北京交大思源科技有限公司 A document transmission method and transmission device
US20130093776A1 (en) * 2011-10-14 2013-04-18 Microsoft Corporation Delivering a Single End User Experience to a Client from Multiple Servers
CN102891858A (en) * 2012-10-22 2013-01-23 北京瓦力网络科技有限公司 Method and system for network data transmission and proxy server
CN103036967A (en) * 2012-12-10 2013-04-10 北京奇虎科技有限公司 Data download system and device and method for download management

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015042913A1 (en) * 2013-09-29 2015-04-02 华为技术有限公司 Service content acquisition method, and provision method, device and system
CN103618799B (en) * 2013-12-04 2018-11-30 北京奇安信科技有限公司 Browser rs cache processing method, system and proxy server
CN103618799A (en) * 2013-12-04 2014-03-05 北京奇虎科技有限公司 Browser caching processing method and system and proxy server
CN106209936B (en) * 2015-05-04 2019-06-14 北大方正集团有限公司 Third party system data capture method and device
CN106209936A (en) * 2015-05-04 2016-12-07 北大方正集团有限公司 Third party system data capture method and device
WO2017020743A1 (en) * 2015-08-06 2017-02-09 阿里巴巴集团控股有限公司 Method and device for sharing cache data
CN105389768A (en) * 2015-10-21 2016-03-09 努比亚技术有限公司 Picture processing method and device
CN105389768B (en) * 2015-10-21 2019-06-28 努比亚技术有限公司 Image processing method and device
CN105630556A (en) * 2015-12-25 2016-06-01 北京像素软件科技股份有限公司 Resource loading method and system
CN105631728A (en) * 2015-12-25 2016-06-01 北京奇虎科技有限公司 Prompting method and system based on online ticket buying
CN105630556B (en) * 2015-12-25 2019-02-19 北京像素软件科技股份有限公司 A kind of method and system loading resource
CN105610979A (en) * 2016-02-23 2016-05-25 山东乾云启创信息科技股份有限公司 Network resource transmission system based on virtualization technology and method thereof
CN106131175B (en) * 2016-07-01 2019-05-21 微梦创科网络科技(中国)有限公司 A kind of acquisition of information, information-pushing method and equipment
CN106131175A (en) * 2016-07-01 2016-11-16 微梦创科网络科技(中国)有限公司 A kind of acquisition of information, information-pushing method and equipment
CN107844488A (en) * 2016-09-18 2018-03-27 北京京东尚科信息技术有限公司 Data query method and apparatus
CN106657227A (en) * 2016-09-26 2017-05-10 海尔优家智能科技(北京)有限公司 Method and device for changing subscription resources
CN106657227B (en) * 2016-09-26 2019-10-25 海尔优家智能科技(北京)有限公司 The method and device of resource is subscribed in a kind of change
CN108111325A (en) * 2016-11-24 2018-06-01 北京金山云网络技术有限公司 A kind of resource allocation methods and device
CN107835256A (en) * 2017-12-08 2018-03-23 福建润哲网络科技有限公司 A kind of double stack cache resources sharing methods of IPv4 IPv6 based on http protocol and device
US11206302B2 (en) 2018-04-10 2021-12-21 Wangsu Science & Technology Co., Ltd. Method and device for feeding back a resource file
CN108494875A (en) * 2018-04-10 2018-09-04 网宿科技股份有限公司 A kind of method and apparatus of feedback resources file
WO2019196225A1 (en) * 2018-04-10 2019-10-17 网宿科技股份有限公司 Resource file feedback method and apparatus
CN110198333B (en) * 2018-04-18 2022-05-20 腾讯科技(深圳)有限公司 Data acquisition method and device, storage medium and electronic device
CN110198333A (en) * 2018-04-18 2019-09-03 腾讯科技(深圳)有限公司 Data capture method and device, storage medium and electronic device
CN108337327A (en) * 2018-04-26 2018-07-27 拉扎斯网络科技(上海)有限公司 A kind of resource acquiring method and proxy server
US11094000B2 (en) 2018-05-30 2021-08-17 Boe Technology Group Co., Ltd Method and system for image transaction, electronic device and storage medium
CN108810117A (en) * 2018-05-30 2018-11-13 京东方科技集团股份有限公司 Access method, device, electronic equipment and the storage medium of image
CN109063140A (en) * 2018-08-03 2018-12-21 福州麦辽自动化设备有限公司 A kind of data query method, transfer server and computer readable storage medium
CN109711587A (en) * 2018-12-29 2019-05-03 北京天诚同创电气有限公司 Material information processing method, system and the server of sewage treatment plant
CN109711587B (en) * 2018-12-29 2023-10-24 北京天诚同创电气有限公司 Material information processing method and system of sewage treatment plant and server
CN110413846A (en) * 2019-07-29 2019-11-05 数译(成都)信息技术有限公司 For the data processing method of webpage mirror image, device and computer readable storage medium
CN110413846B (en) * 2019-07-29 2022-05-20 数译(成都)信息技术有限公司 Data processing method and device for webpage mirror image and computer readable storage medium
CN110505495A (en) * 2019-08-23 2019-11-26 北京达佳互联信息技术有限公司 Multimedia resource takes out frame method, device, server and storage medium
CN110505495B (en) * 2019-08-23 2021-12-07 北京达佳互联信息技术有限公司 Multimedia resource frame extraction method, device, server and storage medium
CN110535961A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 Resource acquiring method, device, electronic equipment and storage medium
CN110535961B (en) * 2019-09-03 2022-01-28 中国联合网络通信集团有限公司 Resource acquisition method and device, electronic equipment and storage medium
CN113973135A (en) * 2021-10-19 2022-01-25 北京沃东天骏信息技术有限公司 Data caching processing method and device, caching grid platform and storage medium

Also Published As

Publication number Publication date
CN103248684B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN103248684A (en) Resource acquiring method and device on Internet
CN110674432B (en) Second-level caching method, device and computer readable storage medium
US9244969B1 (en) Virtual disk recovery
CN103150513B (en) The method of the implantation information in interception application program and device
CN104573128A (en) Business data processing method, a business data processing device and server
KR102222087B1 (en) Image recognition method and apparatus based on augmented reality
CN105027121A (en) Indexing application pages of native applications
CN111901294A (en) Method for constructing online machine learning project and machine learning system
CN102387169A (en) Delete method, system and delete server for distributed cache objects
CN104077391A (en) Method, server, client and system for providing special news search
CN104298790A (en) Browser accelerating method and browser device with accelerator
CN105653198A (en) Data processing method and device
WO2012010583A1 (en) On-demand translation of application text
CN104618444A (en) Reverse agent server processing request based method and device
CN102929604A (en) Screen capturing apparatus and method
CN104348919A (en) Method and device for downloading file and browser
CN105608159A (en) Data caching method and device
CN103617009A (en) Method and device for writing data to disk through cache during starting up
WO2016038090A1 (en) System, method and computer program product for injecting directly into a web browser commands and/or contents created on local desktop applications of a computer device, and vice-versa
US6772199B1 (en) Method and system for enhanced cache efficiency utilizing selective replacement exemption
CN107544298A (en) A kind of camera call method and device
CN109885535A (en) A kind of method and relevant apparatus of file storage
CN110515987A (en) A kind of querying method and device of data analysis result
US10691750B1 (en) Browser configured to efficiently store browsing session state
CN104504113A (en) Method and device for processing information by mobile browser and mobile terminal

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.