CN104794165B - A kind of webpage representation method, apparatus and system - Google Patents

A kind of webpage representation method, apparatus and system Download PDF

Info

Publication number
CN104794165B
CN104794165B CN201510137057.0A CN201510137057A CN104794165B CN 104794165 B CN104794165 B CN 104794165B CN 201510137057 A CN201510137057 A CN 201510137057A CN 104794165 B CN104794165 B CN 104794165B
Authority
CN
China
Prior art keywords
query word
page resource
url
page
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510137057.0A
Other languages
Chinese (zh)
Other versions
CN104794165A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510137057.0A priority Critical patent/CN104794165B/en
Priority to PCT/CN2015/081758 priority patent/WO2016150017A1/en
Publication of CN104794165A publication Critical patent/CN104794165A/en
Application granted granted Critical
Publication of CN104794165B publication Critical patent/CN104794165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present invention provides a kind of webpage representation method, apparatus and systems.On the one hand, the uniform resource position mark URL address that the embodiment of the present invention is triggered by obtaining user in search result;To, according to the addresses URL, the matched query word of described search result institute is sent to server, so that the server is according to the query word, the corresponding page resource file in the addresses URL is obtained, includes and the relevant page resource of the query word only in the page resource file;In turn, the page resource file that the server is sent is received, and webpage representation is carried out using the page resource file.Therefore, technical solution provided in an embodiment of the present invention can improve page resource loading efficiency, improve webpage representation efficiency.

Description

A kind of webpage representation method, apparatus and system
【Technical field】
The present invention relates to technical field of internet application more particularly to a kind of webpage representation method, apparatus and system.
【Background technology】
Currently, in nowadays allegro work and life, the terminals such as mobile phone have become must in our daily lifes Indispensable electronics.A large amount of with terminal popularize, also further abundant with the relevant application of terminal.User is often Interested application is downloaded in online, is installed to the enterprising enforcement of terminal and is used, to greatly facilitate and enrich our daily work Make and lives.
Currently, under mobile network, user is needing to load from service using search in application, searching for the client applied The page resource that device obtains shows the required page browsed to realize to user.However, what client was obtained from server Include some page resources unrelated with the query word of user's search toward contact so that the page of client provides in page resource Source loading efficiency is relatively low, causes webpage representation efficiency relatively low.
【Invention content】
In view of this, an embodiment of the present invention provides a kind of webpage representation method, apparatus and system, may be implemented to improve page Face resource loading efficiency, to improve webpage representation efficiency.
The one side of the embodiment of the present invention provides a kind of webpage representation method, including:
Obtain the uniform resource position mark URL address that user triggers in search result;
According to the addresses URL, the matched query word of described search result institute is sent to server, so that the service Device obtains the corresponding page resource file in the addresses URL according to the query word, in the page resource file only comprising with The relevant page resource of query word;
Receive the page resource file that the server is sent;
Webpage representation is carried out using the page resource file.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described according to institute The addresses URL are stated, the matched query word of described search result institute is sent to server, including:
The resource access request for the addresses URL is sent to the server, the resource access request carries institute State query word;Alternatively,
The resource access request for the addresses URL is sent to the server, and sends asset processing request, institute It states asset processing request and carries the query word.
The one side of the embodiment of the present invention provides a kind of webpage representation method, including:
The matched query word of search result institute that client is sent according to the addresses URL is received, the addresses URL are that user exists The URL triggered in described search result;
According to the query word, the corresponding page resource file in the addresses URL is obtained, in the page resource file only Including with the relevant page resource of the query word;
The page resource file is sent to the client, so that the client utilizes the page resource file Carry out webpage representation.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described according to institute Query word is stated, the corresponding page resource file in the addresses URL is obtained, including:
Obtain page resource corresponding with the addresses URL;
According to the query word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word;
Using with the relevant page resource of the query word, obtain the corresponding page resource file in the addresses URL.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, it is described according to institute State query word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word, including:
Obtain the degree of correlation of query word page resource corresponding with the URL;
Using preset relevance threshold, obtains and be more than or equal to the degree of correlation threshold with the degree of correlation of the query word The page resource of value, using as with the relevant page resource of the query word.
The one side of the embodiment of the present invention provides a kind of webpage representation device, including:
Link acquiring unit, the uniform resource position mark URL address triggered in search result for obtaining user;
Information output unit, for according to the addresses URL, the matched inquiry of described search result institute to be sent to server Word, so that the server obtains the corresponding page resource file in the addresses URL, the page according to the query word Include and the relevant page resource of the query word only in resource file;
Information input unit, the page resource file sent for receiving the server;
Webpage representation unit, for carrying out webpage representation using the page resource file.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, described information are defeated Go out unit, is specifically used for:
The resource access request for the addresses URL is sent to the server, the resource access request carries institute State query word;Alternatively,
The resource access request for the addresses URL is sent to the server, and sends asset processing request, institute It states asset processing request and carries the query word.
The one side of the embodiment of the present invention provides a kind of webpage representation device, including:
Information input unit, the matched query word of search result institute sent according to the addresses URL for receiving client, institute It is the URL that user triggers in described search result to state the addresses URL;
Resource processing unit, for according to the query word, obtaining the corresponding page resource file in the addresses URL, institute It states in page resource file and includes and the relevant page resource of the query word only;
Information output unit, for sending the page resource file to the client, so that the client is sharp Webpage representation is carried out with the page resource file.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the Energy Resources Service Unit is managed, is specifically used for:
Obtain page resource corresponding with the addresses URL;
According to the query word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word;
Using with the relevant page resource of the query word, obtain the corresponding page resource file in the addresses URL.
The aspect and any possible implementation manners as described above, it is further provided a kind of realization method, the Energy Resources Service Unit is managed to be used to, according to the query word, obtain in the corresponding page resources of the URL and provide with the relevant page of the query word When source, it is specifically used for:
Obtain the degree of correlation of query word page resource corresponding with the URL;
Using preset relevance threshold, obtains and be more than or equal to the degree of correlation threshold with the degree of correlation of the query word The page resource of value, using as with the relevant page resource of the query word.
The one side of the embodiment of the present invention provides a kind of webpage representation system, including:Client and server;Wherein,
The client, the uniform resource position mark URL address triggered in search result for obtaining user, Yi Jigen According to the addresses URL, the matched query word of described search result institute is sent to server;
The server, it is described for according to the query word, obtaining the corresponding page resource file in the addresses URL In page resource file only comprising with the relevant page resource of the query word, and to the client send page money Source file;
The client is additionally operable to carry out webpage representation using the page resource file.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, behind the addresses URL that user triggers in search result, obtain from server described in In the corresponding page resource file in the addresses URL, include and the relevant page resource of the query word only.With in the prior art, obtain Also include the present invention compared with the technical solution of the unrelated page resource of the query word that user searches in the page resource file obtained In the technical solution that embodiment provides, it is only loaded with the page resource useful to user, is reduced unrelated with user's search need The load of page resource improves webpage representation efficiency so as to improve page resource loading efficiency.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow diagram of the embodiment one for the webpage representation method that the embodiment of the present invention is provided;
Fig. 2 is the flow diagram of the embodiment two for the webpage representation method that the embodiment of the present invention is provided;
Fig. 3 is the first exemplary plot of the system that the webpage representation method that the embodiment of the present invention is provided is applied;
Fig. 4 is the second exemplary plot of the system that the webpage representation method that the embodiment of the present invention is provided is applied;
Fig. 5 is the functional block diagram of the embodiment one for the webpage representation device that the embodiment of the present invention is provided;
Fig. 6 is the functional block diagram of the embodiment two for the webpage representation device that the embodiment of the present invention is provided;
Fig. 7 is the structural schematic diagram for the webpage representation system that the embodiment of the present invention is provided.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the" It is also intended to including most forms, unless context clearly shows that other meanings.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
Embodiment one
The embodiment of the present invention provides a kind of webpage representation method, referring to FIG. 1, its page for being provided by the embodiment of the present invention Face shows the flow diagram of the embodiment one of method, as shown, this approach includes the following steps:
S101 obtains the addresses URL that user triggers in search result.
Specifically, client can receive query word input by user by shown input frame;Then, client According to the query word, the search result to match with the query word is obtained from server, and show and the inquiry to user The search result that word matches.
Wherein, client searches for every when showing the search result to match with the query word inputted to user As a result, can all show the contents such as title, the abstract of the search result simultaneously, if in this way, user according to contents such as title, abstracts, Determine that certain search result disclosure satisfy that the search need of itself, then user can in the search result to match with query word, The search result is triggered, the source page of the search result is further browsed with request, to obtain more detailed information, in this way, Client is obtained with the addresses URL that user triggers in search result.
S102 sends the matched query word of described search result institute, so that institute according to the addresses URL to server Server is stated according to the query word, obtains the corresponding page resource file in the addresses URL, in the page resource file only Including with the relevant page resource of the query word.
Specifically, client is after obtaining the addresses URL triggered in search result of user, can according to the addresses URL, The matched query word input by user of search result institute is sent to server, so that the server is according to the inquiry Word can obtain the corresponding page resource file in the addresses URL.In the embodiment of the present invention, in the page resource file only Including with the relevant page resource of the query word, the page resource unrelated with the query word is not included.
Preferably, in the embodiment of the present invention, client sends described search result institute according to the addresses URL, to server The method of matched query word can include but is not limited to following two:
The first:Client needs to send for the URL to the server behind the addresses URL for obtaining triggering The resource access request of location.The resource access request indicates to need to obtain the page money utilized required for showing the page from server Source file.
In this method, the query word is carried by the resource access request, which can be used as resource access to ask A parameter in asking is sent to server.
Second:Client is sent to the server for the addresses URL behind the addresses URL for obtaining triggering Resource access request.The resource access request indicates to need to obtain the page resource text utilized required for showing the page from server Part.
Then, client sends an asset processing request to server again.The query word can pass through the Energy Resources Service Reason request carries.
Preferably, a request mark can be generated, client all adds in resource access request and asset processing request Add the request to identify, indicates the incidence relation of asset processing request and resource access request, illustrate to be taken in asset processing request The query word of band, which is the targeted addresses URL of resource access request, to be obtained from the search result to match with the query word 's.
S103 receives the page resource file that the server is sent.
Specifically, server after obtaining page resource file, needs to return to the page resource file to client, this Sample, client can receive the page resource file of server transmission.
S104 carries out webpage representation using the page resource file.
Specifically, client utilizes Page Template, the page resource file received from server is rendered, with reality Existing webpage representation.
It is understood that user has selected the addresses URL in search result, therefore user is only concerned in the addresses URL With the relevant resource of query word, and those resource users unrelated with query word are substantially not relevant for.Therefore, the present invention is implemented Example in, in the page resource file only comprising with the relevant page resource of query word, and do not include the page unrelated with query word Face resource so that client is only loaded with the page resource useful to user, reduces the page money unrelated with user's search need The load in source, this partial page resource is often unrelated with the search need of user, therefore is not loaded with this partial page resource The experience of user can't be influenced, the search need of user still can be met, therefore, the technical solution of the embodiment of the present invention, Under the premise of meeting the search need of user, the efficiency of webpage representation can be improved, network flow can also be greatlyd save, is dropped Low network pressure.
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld Equipment, tablet computer (Tablet Computer), mobile phone, MP3 player, MP4 players etc..
It should be noted that the executive agent of S101~S104 can be webpage representation device, which can be located at this The application of ground terminal, or can also be the plug-in unit being located locally in the application of terminal or Software Development Kit (Software Development Kit, SDK) etc. functional units, the embodiment of the present invention is to this without being particularly limited to.
It is understood that the application can be mounted in the application program (nativeApp) in terminal, or may be used also To be a web page program (webApp) of browser in terminal, the embodiment of the present invention is to this without limiting.
Embodiment two
The embodiment of the present invention gives a kind of webpage representation method, referring to FIG. 2, what it was provided by the embodiment of the present invention The flow diagram of the embodiment two of webpage representation method, as shown, this approach includes the following steps:
S201 receives the matched query word of search result institute that client is sent according to the addresses URL, and the addresses URL are The URL that user triggers in described search result.
Specifically, server can receive the matched query word of search result institute that client is sent according to the addresses URL, The addresses URL are the URL that user triggers in search result.
Wherein, server can receive the resource access request for the addresses URL of client transmission, be visited from the resource It asks in request and obtains the query word.Alternatively, the resource for the addresses URL that server can also receive client transmission is visited It asks request and the asset processing request that client is sent, the query word is obtained from the asset processing request.
S202 obtains the corresponding page resource file in the addresses URL, the page resource text according to the query word Include and the relevant page resource of the query word only in part.
Specifically, the matched query word of search result institute that server is sent according to client, obtains the addresses URL correspondence Page resource file, wherein in the page resource file only comprising with the relevant page resource of the query word, do not include and this The unrelated page resource of query word.
For example, in the embodiment of the present invention, server obtains the corresponding page in the addresses URL according to the query word The method of face resource file may include:First, page resource corresponding with the addresses URL is obtained.Then, it is looked into according to described Ask word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word.Finally, it is looked into using with described The relevant page resource of word is ask, the corresponding page resource file in the addresses URL is obtained.
For example, referring to FIG. 3, the first of the system that its webpage representation method provided by the embodiment of the present invention is applied Exemplary plot, as shown, first, the server obtains page resource corresponding with the addresses URL.Then, the server root According to the query word, the page resource unrelated with the query word is deleted in the corresponding page resources of the URL.Finally, institute Server is stated according to the page resource obtained after delete operation, generates the corresponding page resource file in the addresses URL.
Preferably, the server can be the third-party server for providing the corresponding page resource in the addresses URL.
It is understood that the server it is corresponding can to obtain the addresses URL according to the addresses URL from database Page resource, the page resource of acquisition include the indicated page resource in the addresses URL itself, the addresses URL as with The search result that the query word at family matches, so the page resource indicated by the addresses URL itself is relevant with query word Page resource.In addition, further including some other resources in the page resource obtained, such as the picture and mark of the news of advertisement, recommendation Topic, the website etc. recommended, these other resources are often the page resource unrelated with the query word of user.
Preferably, the server can be found according to query word in the corresponding page resource in the addresses URL of acquisition The page resource unrelated with query word, and then in the corresponding page resource in the addresses URL of acquisition, delete unrelated with query word Page resource only retains and the relevant page resource of query word so as to realize.
Preferably, in the embodiment of the present invention, according to the query word, obtain in the corresponding page resources of the URL with institute The method for stating the relevant page resource of query word can include but is not limited to:
The degree of correlation of query word page resource corresponding with the URL is obtained, preset degree of correlation threshold is then utilized Value obtains the page resource for being more than or equal to the relevance threshold with the degree of correlation of the query word, using as with it is described The relevant page resource of query word, is equivalent to, and the page resource of the relevance threshold is less than with the degree of correlation of the query word, As the page resource unrelated with the query word.
For example, the title of the news of recommendation and the degree of correlation of query word can be calculated, if the degree of correlation is more than or equal to Preset dependent thresholds, then it is assumed that the news of the recommendation is and the relevant page resource of query word., whereas if the degree of correlation is less than Preset dependent thresholds, then it is assumed that the news of the recommendation is the page resource unrelated with query word, corresponding in the URL grabbed In page resource, the information such as title, the picture of the news of the recommendation are deleted.
For example, server can utilize the language for making the page, and provided according to the page obtained after delete operation Source generates the corresponding page resource file in the addresses URL.
For example, the language for making the page can include but is not limited to:Page description language (Program Design Language, PDL) or hypertext markup language (Hyper Text Mark-up Language, HTML) etc..
Alternatively, for another example referring to FIG. 4, its webpage representation method provided by the embodiment of the present invention applied be Second exemplary plot of system, as shown, the server is after the resource access request for URL obtained from client, Xiang Qi His server forwarding is directed to the resource access request of the addresses URL, so that other described servers obtain the addresses pair URL The page resource answered, and page resource file is generated according to the page resource, and send page resource text to the server Part, in this way, the server can receive the page resource file of other servers transmission.Then, the server root According to the query word, the page resource unrelated with the query word is deleted in the page resource file, only retains and inquires The relevant page resource of word, to obtain the corresponding page resource file in the addresses URL.
Preferably, in this method, the server is server corresponding with client, other servers are to provide this The third-party server of the corresponding page resource in the addresses URL.Since server corresponding with client does not have the addresses URL corresponding Page resource, therefore, it is necessary to obtain the corresponding page resource in the addresses URL from third-party server.
It is understood that client directly initiates resource access request to the third-party server for providing page resource, The delete operation of the page resource unrelated with query word is executed by third-party server.Alternatively, client is to itself corresponding clothes Business device initiates resource access request, so that the server obtains the corresponding page resource in the addresses URL from third-party server, and The delete operation of the page resource unrelated with query word is executed by the corresponding server of client.
For example, other described servers can obtain corresponding page resource, Jin Ergen according to the addresses URL from database According to the page resource of acquisition, and using the language for making the page, page resource file is generated, which is returned to The server.Wherein, include and the relevant page resource of query word and the page unrelated with query word in the page resource file Face resource.
Preferably, the server from other servers after obtaining page resource file, according to what is received from client Query word finds the page resource unrelated with query word in the page resource file, and being deleted in page resource file should The page resource unrelated with query word, the page resource file obtained after delete operation is exactly the corresponding page resource in the addresses URL File, the page resource file obtained after delete operation are only the page resource file for needing to return to client, so that should Client carries out webpage representation using the page resource file obtained after delete operation.
S203 sends the page resource file to the client, so that the client is provided using the page Source file carries out webpage representation.
Specifically, the server after obtaining the corresponding page resource file in the addresses URL, needs to send out to client The page resource file is given, so that client can utilize Page Template, which is rendered, to realize Show the page to user.
It is understood that user has selected the addresses URL in search result, therefore user is only concerned in the addresses URL With the relevant resource of query word, and those resource users unrelated with query word are substantially not relevant for.Therefore, the present invention is implemented In example, the page resource unrelated with query word is deleted in the page resource file, includes and the relevant page of query word only Resource so that client is only loaded with the page resource useful to user, subtracts when showing the page using the page resource file The load of few page resource unrelated with user's search need, this partial page resource are often unrelated with the search need of user , therefore be not loaded with this partial page resource and can't influence the experience of user, it is still the search need that can meet user , therefore, the technical solution of the embodiment of the present invention can improve webpage representation under the premise of meeting the search need of user Efficiency, can also greatly save network flow, reduce network pressure.
The embodiment of the present invention, which further provides, realizes the device embodiment of each step and method in above method embodiment.
Embodiment three
Referring to FIG. 5, the functional block diagram of the embodiment one of its webpage representation device provided by the embodiment of the present invention. As shown, the executive agent for the webpage representation method that the device, which is embodiment one, to be provided, the device include:
Link acquiring unit 501, the uniform resource position mark URL address triggered in search result for obtaining user;
Information output unit 502, for according to the addresses URL, it is matched to send described search result institute to server Query word, so that the server obtains the corresponding page resource file in the addresses URL according to the query word, it is described Include and the relevant page resource of the query word only in page resource file;
Information input unit 503, the page resource file sent for receiving the server;
Webpage representation unit 504, for carrying out webpage representation using the page resource file.
Preferably, described information output unit 502, is specifically used for:
The resource access request for the addresses URL is sent to the server, the resource access request carries institute State query word;Alternatively,
The resource access request for the addresses URL is sent to the server, and sends asset processing request, institute It states asset processing request and carries the query word.
Method shown in FIG. 1 is able to carry out by each unit in this present embodiment, the part that the present embodiment is not described in detail, It can refer to the related description to Fig. 1.
Example IV
Referring to FIG. 6, the functional block diagram of the embodiment two of its webpage representation device provided by the embodiment of the present invention. As shown, the executive agent for the webpage representation method that the device, which is embodiment two, to be provided, the device include:
Information input unit 601, the matched inquiry of search result institute sent according to the addresses URL for receiving client Word, the addresses URL are the URL that user triggers in described search result;
Resource processing unit 602, for according to the query word, obtaining the corresponding page resource file in the addresses URL, Include and the relevant page resource of the query word only in the page resource file;
Information output unit 603, for sending the page resource file to the client, so that the client Webpage representation is carried out using the page resource file.
Preferably, the resource processing unit 602, is specifically used for:
Obtain page resource corresponding with the addresses URL;
According to the query word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word;
Using with the relevant page resource of the query word, obtain the corresponding page resource file in the addresses URL.
Preferably, the resource processing unit 602 is used to, according to the query word, obtain the corresponding page moneys of the URL In source when page resource relevant with the query word, it is specifically used for:
Obtain the degree of correlation of query word page resource corresponding with the URL;
Using preset relevance threshold, obtains and be more than or equal to the degree of correlation threshold with the degree of correlation of the query word The page resource of value, using as with the relevant page resource of the query word.
Method shown in Fig. 2 is able to carry out by each unit in this present embodiment, the part that the present embodiment is not described in detail, It can refer to the related description to Fig. 2.
Example IV
Referring to FIG. 7, the structural schematic diagram of its webpage representation system provided by the embodiment of the present invention.As shown, The system includes:Client 701 and server 702;Wherein,
The client 701, the uniform resource position mark URL address triggered in search result for obtaining user, with And according to the addresses URL, the matched query word of described search result institute is sent to server;
The server 702, for according to the query word, obtaining the corresponding page resource file in the addresses URL, institute State in page resource file only comprising with the relevant page resource of the query word, and to the client send the page Resource file;
The client 701 is additionally operable to carry out webpage representation using the page resource file.
The technical solution of the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, behind the addresses URL that user triggers in search result, obtain from server described in In the corresponding page resource file in the addresses URL, include and the relevant page resource of the query word only.With in the prior art, obtain Also include the present invention compared with the technical solution of the unrelated page resource of the query word that user searches in the page resource file obtained In the technical solution that embodiment provides, it is only loaded with the page resource useful to user, is reduced unrelated with user's search need The load of page resource improves webpage representation efficiency so as to improve page resource loading efficiency.
To no longer include the page resource unrelated with query word in addition, in the page resource file obtained from server, because This can reduce the transmitted data amount between server, to saving network flow, reduce network pressure.
In addition, in the prior art, in order to realize the optimization to page resource, needing to carry out at data compression page resource Reason or transcoding processing, and transcoding handles and makes webpage representation efficiency relatively low, data compression process leads to compressed picture Quality is relatively low.The technical solution that the embodiment of the present invention is provided neither influences webpage representation efficiency, will not influence webpage representation Quality disclosure satisfy that the browsing demand of user.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit it is indirect Coupling or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various The medium of program code can be stored.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (11)

1. a kind of webpage representation method, which is characterized in that the method includes:
Obtain the uniform resource position mark URL address that user triggers in search result;
According to the addresses URL, the matched query word of described search result institute is sent to server, so that the server root According to the query word, obtain the corresponding page resource file in the addresses URL, in the page resource file only comprising with it is described The relevant page resource of query word;
Receive the page resource file that the server is sent;
Webpage representation is carried out using the page resource file.
2. according to the method described in claim 1, it is characterized in that, described according to the addresses URL, send to server described in The matched query word of search result institute, including:
The resource access request for the addresses URL is sent to the server, is looked into described in the resource access request carrying Ask word;Alternatively,
The resource access request for the addresses URL is sent to the server, and sends asset processing request, the money Source processing request carries the query word.
3. a kind of webpage representation method, which is characterized in that the method includes:
The matched query word of search result institute that client is sent according to the addresses URL is received, the addresses URL are user described The URL triggered in search result;
According to the query word, the corresponding page resource file in the addresses URL is obtained, includes only in the page resource file With the relevant page resource of the query word;
The page resource file is sent to the client, so that the client is carried out using the page resource file Webpage representation.
4. according to the method described in claim 3, it is characterized in that, described according to the query word, the addresses pair URL are obtained The page resource file answered, including:
Obtain page resource corresponding with the addresses URL;
According to the query word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word;
Using with the relevant page resource of the query word, obtain the corresponding page resource file in the addresses URL.
5. according to the method described in claim 4, it is characterized in that, described according to the query word, it is corresponding to obtain the URL In page resource with the relevant page resource of the query word, including:
Obtain the degree of correlation of query word page resource corresponding with the URL;
Using preset relevance threshold, obtains and be more than or equal to the relevance threshold with the degree of correlation of the query word Page resource, using as with the relevant page resource of the query word.
6. a kind of webpage representation device, which is characterized in that described device includes:
Link acquiring unit, the uniform resource position mark URL address triggered in search result for obtaining user;
Information output unit, for according to the addresses URL, the matched query word of described search result institute to be sent to server, So that the server obtains the corresponding page resource file in the addresses URL, the page resource according to the query word Include and the relevant page resource of the query word only in file;
Information input unit, the page resource file sent for receiving the server;
Webpage representation unit, for carrying out webpage representation using the page resource file.
7. device according to claim 6, which is characterized in that described information output unit is specifically used for:
The resource access request for the addresses URL is sent to the server, is looked into described in the resource access request carrying Ask word;Alternatively,
The resource access request for the addresses URL is sent to the server, and sends asset processing request, the money Source processing request carries the query word.
8. a kind of webpage representation device, which is characterized in that described device includes:
Information input unit, the matched query word of search result institute sent according to the addresses URL for receiving client are described The addresses URL are the URL that user triggers in described search result;
Resource processing unit, for according to the query word, obtaining the corresponding page resource file in the addresses URL, the page Include and the relevant page resource of the query word only in the resource file of face;
Information output unit, for sending the page resource file to the client, so that the client utilizes institute It states page resource file and carries out webpage representation.
9. device according to claim 8, which is characterized in that the resource processing unit is specifically used for:
Obtain page resource corresponding with the addresses URL;
According to the query word, obtain in the corresponding page resources of the URL with the relevant page resource of the query word;
Using with the relevant page resource of the query word, obtain the corresponding page resource file in the addresses URL.
10. device according to claim 9, which is characterized in that the resource processing unit is used for according to the query word, When obtaining page resource relevant with the query word in the corresponding page resources of the URL, it is specifically used for:
Obtain the degree of correlation of query word page resource corresponding with the URL;
Using preset relevance threshold, obtains and be more than or equal to the relevance threshold with the degree of correlation of the query word Page resource, using as with the relevant page resource of the query word.
11. a kind of webpage representation system, which is characterized in that the system comprises:Client and server;Wherein,
The client, the uniform resource position mark URL address triggered in search result for obtaining user, and according to institute The addresses URL are stated, the matched query word of described search result institute is sent to server;
The server, for according to the query word, obtaining the corresponding page resource file in the addresses URL, the page In resource file only comprising with the relevant page resource of the query word, and to the client send page resource text Part;
The client is additionally operable to carry out webpage representation using the page resource file.
CN201510137057.0A 2015-03-26 2015-03-26 A kind of webpage representation method, apparatus and system Active CN104794165B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510137057.0A CN104794165B (en) 2015-03-26 2015-03-26 A kind of webpage representation method, apparatus and system
PCT/CN2015/081758 WO2016150017A1 (en) 2015-03-26 2015-06-18 Page display method, device, system and non-volatile computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510137057.0A CN104794165B (en) 2015-03-26 2015-03-26 A kind of webpage representation method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104794165A CN104794165A (en) 2015-07-22
CN104794165B true CN104794165B (en) 2018-08-10

Family

ID=53558957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510137057.0A Active CN104794165B (en) 2015-03-26 2015-03-26 A kind of webpage representation method, apparatus and system

Country Status (2)

Country Link
CN (1) CN104794165B (en)
WO (1) WO2016150017A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948087B (en) * 2017-12-05 2021-11-16 Oppo广东移动通信有限公司 Webpage resource obtaining method and device and terminal
CN112883225B (en) * 2021-02-02 2022-10-11 聚好看科技股份有限公司 Media resource searching and displaying method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010000681A (en) * 2000-10-12 2001-01-05 이한승 Two step search method that uses internet address form of route
CN1902627A (en) * 2003-12-31 2007-01-24 Google公司 Systems and methods for direct navigation to specific portion of target document
CN101097578A (en) * 2007-06-07 2008-01-02 北京金山软件有限公司 Network resource searching method and system
CN103092945A (en) * 2013-01-11 2013-05-08 北京百度网讯科技有限公司 Searching method and device based on interface returning

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6834297B1 (en) * 2000-10-06 2004-12-21 Redline Networks, Inc. Web resource transfer acceleration system and method
US8126930B2 (en) * 2008-05-06 2012-02-28 Yahoo! Inc. Micro-bucket testing for page optimization
CN104063471B (en) * 2011-12-29 2017-10-24 北京奇虎科技有限公司 The method and system of web page browsing are carried out in mobile terminal
US9507867B2 (en) * 2012-04-06 2016-11-29 Enlyton Inc. Discovery engine
CN104111944B (en) * 2013-04-19 2018-09-18 阿里巴巴集团控股有限公司 Page processing method and device and page generation method and device
CN103577595B (en) * 2013-11-15 2017-09-22 北京奇虎科技有限公司 Keyword method for pushing and device based on current browse webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010000681A (en) * 2000-10-12 2001-01-05 이한승 Two step search method that uses internet address form of route
CN1902627A (en) * 2003-12-31 2007-01-24 Google公司 Systems and methods for direct navigation to specific portion of target document
CN101097578A (en) * 2007-06-07 2008-01-02 北京金山软件有限公司 Network resource searching method and system
CN103092945A (en) * 2013-01-11 2013-05-08 北京百度网讯科技有限公司 Searching method and device based on interface returning

Also Published As

Publication number Publication date
WO2016150017A1 (en) 2016-09-29
CN104794165A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
US11218505B2 (en) Facilitating cross-platform content access
US10015226B2 (en) Methods for making AJAX web applications bookmarkable and crawlable and devices thereof
CN110245069B (en) Page version testing method and device and page display method and device
CN104346471A (en) Method, device and system for determining to-be-pushed application based on geological position information
CN105122237A (en) Sharing application states
CN106534268B (en) Data sharing method and device
CN103246703A (en) Method and equipment for determining application word banks
CN104572777A (en) Webpage loading method and device based on UIWebView component
CN104572843A (en) Page loading method and device
CN112256772A (en) Data service method, device and readable storage medium
US20120054598A1 (en) Method and system for viewing web page and computer Program product thereof
CN104811485A (en) Resource sharing method
CN104794165B (en) A kind of webpage representation method, apparatus and system
US20080033918A1 (en) Systems, methods and computer program products for supplemental data communication and utilization
CN104636378A (en) Pushing method and device for application programs
CN111680247A (en) Local calling method, device, equipment and storage medium of webpage character string
CN117040799A (en) Page interception rule generation and page access control method and device and electronic equipment
CN105338091A (en) High-transmission-efficiency personalized information interface display method and apparatus
US20180321803A1 (en) Customizable autocomplete option
CN102957749B (en) A kind of for providing the method for information, device and equipment
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card
KR20150132647A (en) Method and system for notifying of online posting
WO2016115817A1 (en) Search method, apparatus and device, and nonvolatile computer storage medium
JP5898132B2 (en) Advertisement selection device, advertisement processing system, advertisement selection method, and program
CN112698879A (en) Method and device for loading source file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant