CN104794165B - A kind of webpage representation method, apparatus and system - Google Patents
A kind of webpage representation method, apparatus and system Download PDFInfo
- 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
- page
- query word
- resource
- url address
- resource file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000001960 triggered effect Effects 0.000 claims abstract description 23
- 238000012545 processing Methods 0.000 claims description 32
- 238000009877 rendering Methods 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 10
- 238000012217 deletion Methods 0.000 description 6
- 230000037430 deletion Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013144 data compression Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information 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
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of internet application, in particular to a page display method, device and system.
[ background of the invention ]
At present, in the fast-paced work and life, terminals such as mobile phones and the like become electronic communication equipment which is essential in daily life. With the great popularization of terminals, applications related to the terminals are also enriched. Users can often download interesting applications on the internet and install the applications on the terminal for use, so that the daily work and life of the users are greatly facilitated and enriched.
At present, in a mobile network, when a user uses a search application, a client of the search application needs to load a page resource obtained from a server, so that a page to be browsed is displayed to the user. However, the page resources obtained by the client from the server often include some page resources irrelevant to the query terms searched by the user, so that the page resource loading efficiency of the client is low, and the page display efficiency is low.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a page display method, device and system, which can improve page resource loading efficiency, thereby improving page display efficiency.
In one aspect of the embodiments of the present invention, a page display method is provided, including:
acquiring a Uniform Resource Locator (URL) address triggered by a user in a search result;
according to the URL address, sending a query word matched with the search result to a server, so that the server obtains a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word;
receiving the page resource file sent by the server;
and displaying the page by utilizing the page resource file.
The above aspect and any possible implementation manner further provide an implementation manner, where sending, to a server, a query term matched with the search result according to the URL address includes:
sending a resource access request aiming at the URL address to the server, wherein the resource access request carries the query word; or,
and sending a resource access request aiming at the URL address and a resource processing request to the server, wherein the resource processing request carries the query word.
In one aspect of the embodiments of the present invention, a page display method is provided, including:
receiving a query word matched with a search result sent by a client according to a URL address, wherein the URL address is a URL triggered by a user in the search result;
acquiring a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word;
and sending the page resource file to the client so that the client performs page display by using the page resource file.
The above aspect and any possible implementation manner further provide an implementation manner, where obtaining, according to the query term, the page resource file corresponding to the URL address includes:
acquiring page resources corresponding to the URL address;
acquiring page resources related to the query word in the page resources corresponding to the URL according to the query word;
and acquiring a page resource file corresponding to the URL address by using the page resource related to the query word.
The above aspect and any possible implementation manner further provide an implementation manner, where obtaining, according to the query term, a page resource related to the query term in the page resources corresponding to the URL includes:
acquiring the relevance of the query word and the page resource corresponding to the URL;
and acquiring the page resources with the correlation degree greater than or equal to the correlation degree threshold value with the query term by using a preset correlation degree threshold value, and taking the page resources as the page resources related to the query term.
In one aspect of the embodiments of the present invention, a page display apparatus is provided, including:
the link acquisition unit is used for acquiring a Uniform Resource Locator (URL) address triggered by a user in a search result;
the information output unit is used for sending the query word matched with the search result to a server according to the URL address so that the server can obtain a page resource file corresponding to the URL address according to the query word, and the page resource file only contains page resources related to the query word;
the information input unit is used for receiving the page resource file sent by the server;
and the page display unit is used for displaying the page by utilizing the page resource file.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the information output unit is specifically configured to:
sending a resource access request aiming at the URL address to the server, wherein the resource access request carries the query word; or,
and sending a resource access request aiming at the URL address and a resource processing request to the server, wherein the resource processing request carries the query word.
In one aspect of the embodiments of the present invention, a page display apparatus is provided, including:
the information input unit is used for receiving a query word matched with a search result sent by a client according to a URL address, wherein the URL address is a URL triggered by a user in the search result;
the resource processing unit is used for acquiring a page resource file corresponding to the URL address according to the query word, and the page resource file only contains page resources related to the query word;
and the information output unit is used for sending the page resource file to the client so that the client can display the page by using the page resource file.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the resource processing unit is specifically configured to:
acquiring page resources corresponding to the URL address;
acquiring page resources related to the query word in the page resources corresponding to the URL according to the query word;
and acquiring a page resource file corresponding to the URL address by using the page resource related to the query word.
As to the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where the resource processing unit is configured to, when obtaining, according to the query term, a page resource related to the query term in a page resource corresponding to the URL, specifically:
acquiring the relevance of the query word and the page resource corresponding to the URL;
and acquiring the page resources with the correlation degree greater than or equal to the correlation degree threshold value with the query term by using a preset correlation degree threshold value, and taking the page resources as the page resources related to the query term.
In one aspect of the embodiments of the present invention, a page display system is provided, including: a client and a server; wherein,
the client is used for acquiring a Uniform Resource Locator (URL) address triggered by a user in a search result and sending a query word matched with the search result to a server according to the URL address;
the server is used for obtaining a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word, and sending the page resource file to the client;
and the client is also used for displaying the page by utilizing the page resource file.
According to the technical scheme, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after the URL address triggered by the user in the search result, only the page resource related to the query word is contained in the page resource file corresponding to the URL address obtained from the server. Compared with the technical scheme that the obtained page resource file also contains the page resources irrelevant to the search terms of the user in the prior art, the technical scheme provided by the embodiment of the invention only loads the page resources useful for the user and reduces the loading of the page resources irrelevant to the search requirements of the user, so that the page resource loading efficiency can be improved and the page display efficiency can be improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic flowchart of a first embodiment of a page display method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a page displaying method according to the present invention;
FIG. 3 is a diagram illustrating a first example of a system to which a page display method according to an embodiment of the present invention is applied;
FIG. 4 is a diagram illustrating a second example of a system to which the page display method according to the embodiment of the present invention is applied;
FIG. 5 is a functional block diagram of a first embodiment of a page displaying apparatus according to the present invention;
FIG. 6 is a functional block diagram of a second embodiment of a page displaying apparatus according to the present invention;
fig. 7 is a schematic structural diagram of a page showing system according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Example one
An embodiment of the present invention provides a page display method, please refer to fig. 1, which is a schematic flow chart of a first embodiment of the page display method provided in the embodiment of the present invention, and as shown in the figure, the method includes the following steps:
s101, obtaining the URL address triggered by the user in the search result.
Specifically, the client can receive the query word input by the user through the displayed input box; then, the client obtains the search result matched with the query word from the server according to the query word, and displays the search result matched with the query word to the user.
When the client displays the search results matched with the input query words to the user, the client simultaneously displays the title, the abstract and other contents of each search result, so that if the user determines that a certain search result can meet the search requirement of the user according to the title, the abstract and other contents, the user can trigger the search result in the search results matched with the query words to request to further browse the source pages of the search result, and further detailed information is obtained, and the client can obtain the URL addresses triggered by the user in the search results.
S102, sending the query word matched with the search result to a server according to the URL address, so that the server obtains a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word.
Specifically, after obtaining a URL address triggered by a user in a search result, the client may send, to the server, a query term input by the user and matched with the search result according to the URL address, so that the server may obtain, according to the query term, a page resource file corresponding to the URL address. In the embodiment of the invention, the page resource file only contains page resources related to the query word, and does not contain page resources unrelated to the query word.
Preferably, in this embodiment of the present invention, the method for the client to send the query term matched with the search result to the server according to the URL address may include, but is not limited to, the following two methods:
the first method comprises the following steps: after obtaining the triggered URL address, the client needs to send a resource access request for the URL address to the server. The resource access request indicates that a page resource file required to be utilized for showing the page needs to be obtained from the server.
In the method, the query word is carried by the resource access request, and the query word can be sent to the server as a parameter in the resource access request.
And the second method comprises the following steps: and after the client acquires the triggered URL address, sending a resource access request aiming at the URL address to the server. The resource access request indicates that a page resource file required to be utilized for showing the page needs to be obtained from the server.
Then, the client sends a resource processing request to the server. The query term may be carried by the resource processing request.
Preferably, a request identifier may be generated, and the client adds the request identifier to both the resource access request and the resource processing request, indicates an association relationship between the resource processing request and the resource access request, and indicates a query word carried in the resource processing request, where the URL address targeted by the resource access request is obtained from a search result matched with the query word.
S103, receiving the page resource file sent by the server.
Specifically, after obtaining the page resource file, the server needs to return the page resource file to the client, so that the client can receive the page resource file sent by the server.
And S104, utilizing the page resource file to display the page.
Specifically, the client renders the page resource file received from the server by using the page template, so as to realize page display.
It will be appreciated that the user has selected a URL address in the search results, and therefore the user is only concerned with resources in the URL address that are relevant to the query term, whereas those resources that are not relevant to the query term are substantially not of interest to the user. Therefore, in the embodiment of the present invention, the page resource file only contains page resources related to the query term and does not contain page resources unrelated to the query term, so that the client only loads page resources useful for the user, and reduces the loading of page resources unrelated to the search requirement of the user, and the part of page resources are often unrelated to the search requirement of the user, so that the user experience is not affected by not loading the part of page resources, and the search requirement of the user can still be met.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
It should be noted that the execution subjects of S101 to S104 may be page display devices, and the page display devices may be applications located in the local terminal, or may also be functional units such as a plug-in or a Software Development Kit (SDK) located in the applications located in the local terminal, which is not particularly limited in this embodiment of the present invention.
It should be understood that the application may be an application program (native app) installed on the terminal, or may also be a web page program (webApp) of a browser on the terminal, which is not limited in this embodiment of the present invention.
Example two
An embodiment of the present invention further provides a page displaying method, please refer to fig. 2, which is a schematic flow chart of a second embodiment of the page displaying method according to the embodiment of the present invention, and as shown in the figure, the method includes the following steps:
s201, receiving a query word matched with a search result sent by a client according to a URL address, wherein the URL address is a URL triggered by a user in the search result.
Specifically, the server may receive a query word matched with a search result sent by the client according to a URL address, where the URL address is a URL triggered by the user in the search result.
The server may receive a resource access request for the URL address sent by the client, and obtain the query term from the resource access request. Alternatively, the server may also receive a resource access request for the URL address sent by the client and a resource processing request sent by the client, and obtain the query term from the resource processing request.
S202, according to the query word, obtaining a page resource file corresponding to the URL address, wherein the page resource file only contains page resources related to the query word.
Specifically, the server obtains the page resource file corresponding to the URL address according to the query word matched with the search result sent by the client, where the page resource file only includes the page resource related to the query word and does not include the page resource unrelated to the query word.
For example, in the embodiment of the present invention, the method for the server to obtain the page resource file corresponding to the URL address according to the query term may include: first, a page resource corresponding to the URL address is obtained. And then, according to the query word, obtaining page resources related to the query word in the page resources corresponding to the URL. And finally, acquiring a page resource file corresponding to the URL address by using the page resource related to the query word.
For example, referring to fig. 3, which is a first exemplary diagram of a system to which the page display method according to the embodiment of the present invention is applied, as shown in the figure, first, the server obtains a page resource corresponding to a URL address. And then, the server deletes the page resources irrelevant to the query word from the page resources corresponding to the URL according to the query word. And finally, the server generates a page resource file corresponding to the URL address according to the page resource obtained after the deleting operation.
Preferably, the server may be a third-party server providing the page resource corresponding to the URL address.
It is understood that the server may obtain, from the database, a page resource corresponding to the URL address according to the URL address, where the obtained page resource includes a page resource indicated by the URL address itself, and the URL address is used as a search result matched with the query term of the user, so that the page resource indicated by the URL address itself is a page resource related to the query term. In addition, the obtained page resources also include other resources, such as advertisements, recommended news pictures and titles, recommended websites and the like, and the other resources are often page resources which are not related to the query words of the user.
Preferably, the server may find a page resource irrelevant to the query word from the page resources corresponding to the obtained URL address according to the query word, and then delete the page resource irrelevant to the query word from the page resources corresponding to the obtained URL address, so that only the page resource relevant to the query word may be reserved.
Preferably, in the embodiment of the present invention, the method for obtaining the page resource related to the query term in the page resource corresponding to the URL according to the query term may include, but is not limited to:
and then, by utilizing a preset relevance threshold, obtaining a page resource of which the relevance to the query word is greater than or equal to the relevance threshold as a page resource related to the query word, namely, a page resource of which the relevance to the query word is less than the relevance threshold as a page resource unrelated to the query word.
For example, the relevance of the title of the recommended news to the query term may be calculated, and if the relevance is greater than or equal to a preset relevance threshold, the recommended news is considered as a page resource related to the query term. Otherwise, if the relevance is smaller than the preset relevance threshold, the recommended news is considered to be a page resource irrelevant to the query word, and information such as the title and the picture of the recommended news is deleted from the page resource corresponding to the captured URL.
For example, the server may generate a page resource file corresponding to the URL address according to the page resource obtained after the deletion operation by using the language for making the page.
For example, the language in which the page is made may include, but is not limited to: a Page Description Language (PDL) or a hypertext markup Language (HTML), and the like.
Or, for another example, referring to fig. 4, which is a second exemplary diagram of a system to which the page showing method provided in the embodiment of the present invention is applied, as shown in the figure, after obtaining a resource access request for a URL from a client, the server forwards the resource access request for the URL address to another server, so that the other server obtains a page resource corresponding to the URL address, generates a page resource file according to the page resource, and sends the page resource file to the server, so that the server can receive the page resource file sent by the other server. And then, the server deletes the page resources irrelevant to the query word from the page resource file according to the query word, and only reserves the page resources relevant to the query word so as to obtain the page resource file corresponding to the URL address.
Preferably, in the method, the server is a server corresponding to the client, and the other servers are third-party servers providing the page resources corresponding to the URL address. Since the server corresponding to the client does not have the page resource corresponding to the URL address, the page resource corresponding to the URL address needs to be obtained from the third-party server.
It can be understood that the client directly initiates a resource access request to the third-party server providing the page resource, and the third-party server performs the deletion operation of the page resource which is not related to the query word. Or the client initiates a resource access request to the server corresponding to the client, so that the server obtains the page resource corresponding to the URL address from the third-party server, and the server corresponding to the client executes the deletion operation of the page resource irrelevant to the query word.
For example, the other servers may obtain the corresponding page resource from the database according to the URL address, generate a page resource file according to the obtained page resource and by using the language for making the page, and return the page resource file to the server. The page resource file comprises page resources related to the query terms and page resources unrelated to the query terms.
Preferably, after obtaining the page resource file from another server, the server finds the page resource irrelevant to the query word in the page resource file according to the query word received from the client, and deletes the page resource irrelevant to the query word in the page resource file, where the page resource file obtained after the deletion operation is the page resource file corresponding to the URL address, and the page resource file obtained after the deletion operation is the page resource file that needs to be returned to the client, so that the client performs page display by using the page resource file obtained after the deletion operation.
S203, sending the page resource file to the client, so that the client performs page display by using the page resource file.
Specifically, after obtaining the page resource file corresponding to the URL address, the server needs to send the page resource file to the client, so that the client can render the page resource file by using the page template, so as to display a page to the user.
It will be appreciated that the user has selected a URL address in the search results, and therefore the user is only concerned with resources in the URL address that are relevant to the query term, whereas those resources that are not relevant to the query term are substantially not of interest to the user. Therefore, in the embodiment of the present invention, the page resource file is deleted of the page resource that is not related to the query term and only includes the page resource that is related to the query term, so that when the client displays a page by using the page resource file, only the page resource that is useful for the user is loaded, and the loading of the page resource that is not related to the user search requirement is reduced, and the part of the page resource is often not related to the user search requirement, so that the user experience is not affected by not loading the part of the page resource, and the search requirement of the user can still be met.
The embodiment of the invention further provides an embodiment of a device for realizing the steps and the method in the embodiment of the method.
EXAMPLE III
Please refer to fig. 5, which is a functional block diagram of a first embodiment of a page displaying apparatus according to an embodiment of the present invention. As shown in the figure, the apparatus is an executive body of the page display method provided in the first embodiment, and the apparatus includes:
a link obtaining unit 501, configured to obtain a uniform resource locator URL address triggered by a user in a search result;
an information output unit 502, configured to send, according to the URL address, a query term matched with the search result to a server, so that the server obtains, according to the query term, a page resource file corresponding to the URL address, where the page resource file only includes a page resource related to the query term;
an information input unit 503, configured to receive the page resource file sent by the server;
a page display unit 504, configured to perform page display by using the page resource file.
Preferably, the information output unit 502 is specifically configured to:
sending a resource access request aiming at the URL address to the server, wherein the resource access request carries the query word; or,
and sending a resource access request aiming at the URL address and a resource processing request to the server, wherein the resource processing request carries the query word.
Since each unit in the present embodiment can execute the method shown in fig. 1, reference may be made to the related description of fig. 1 for a part of the present embodiment that is not described in detail.
Example four
Please refer to fig. 6, which is a functional block diagram of a second embodiment of a page displaying apparatus according to the present invention. As shown in the figure, the apparatus is an executive body of the page display method provided in the second embodiment, and the apparatus includes:
the information input unit 601 is configured to receive a query word matched with a search result sent by a client according to a URL address, where the URL address is a URL triggered by a user in the search result;
a resource processing unit 602, configured to obtain, according to the query term, a page resource file corresponding to the URL address, where the page resource file only includes a page resource related to the query term;
an information output unit 603, configured to send the page resource file to the client, so that the client performs page display by using the page resource file.
Preferably, the resource processing unit 602 is specifically configured to:
acquiring page resources corresponding to the URL address;
acquiring page resources related to the query word in the page resources corresponding to the URL according to the query word;
and acquiring a page resource file corresponding to the URL address by using the page resource related to the query word.
Preferably, when the resource processing unit 602 is configured to obtain, according to the query term, a page resource related to the query term in the page resources corresponding to the URL, the resource processing unit is specifically configured to:
acquiring the relevance of the query word and the page resource corresponding to the URL;
and acquiring the page resources with the correlation degree greater than or equal to the correlation degree threshold value with the query term by using a preset correlation degree threshold value, and taking the page resources as the page resources related to the query term.
Since each unit in the present embodiment can execute the method shown in fig. 2, reference may be made to the related description of fig. 2 for a part of the present embodiment that is not described in detail.
Example four
Please refer to fig. 7, which is a schematic structural diagram of a page display system according to an embodiment of the present invention. As shown, the system includes: a client 701 and a server 702; wherein,
the client 701 is configured to obtain a uniform resource locator URL address triggered in a search result by a user, and send a query term matched with the search result to a server according to the URL address;
the server 702 is configured to obtain, according to the query term, a page resource file corresponding to the URL address, where the page resource file only includes a page resource related to the query term, and send the page resource file to the client;
the client 701 is further configured to perform page display by using the page resource file.
The technical scheme of the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after the URL address triggered by the user in the search result, only the page resource related to the query word is contained in the page resource file corresponding to the URL address obtained from the server. Compared with the technical scheme that the obtained page resource file also contains the page resources irrelevant to the search terms of the user in the prior art, the technical scheme provided by the embodiment of the invention only loads the page resources useful for the user and reduces the loading of the page resources irrelevant to the search requirements of the user, so that the page resource loading efficiency can be improved and the page display efficiency can be improved.
In addition, the page resource file obtained from the server does not contain page resources irrelevant to the query words, so that the data transmission quantity between the server and the page resource file can be reduced, the network flow is saved, and the network pressure is reduced.
In addition, in the prior art, in order to optimize the page resources, data compression processing or transcoding processing needs to be performed on the page resources, and transcoding processing causes low page display efficiency and low quality of compressed pictures due to data compression processing. The technical scheme provided by the embodiment of the invention does not influence the page display efficiency and the page display quality, and can meet the browsing requirements of users.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (11)
1. A page display method is characterized by comprising the following steps:
acquiring a Uniform Resource Locator (URL) address triggered by a user in a search result;
according to the URL address, sending a query word matched with the search result to a server, so that the server obtains a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word;
receiving the page resource file sent by the server;
and displaying the page by utilizing the page resource file.
2. The method of claim 1, wherein sending the query term matched with the search result to a server according to the URL address comprises:
sending a resource access request aiming at the URL address to the server, wherein the resource access request carries the query word; or,
and sending a resource access request aiming at the URL address and a resource processing request to the server, wherein the resource processing request carries the query word.
3. A page display method is characterized by comprising the following steps:
receiving a query word matched with a search result sent by a client according to a URL address, wherein the URL address is a URL triggered by a user in the search result;
acquiring a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word;
and sending the page resource file to the client so that the client performs page display by using the page resource file.
4. The method according to claim 3, wherein the obtaining the page resource file corresponding to the URL address according to the query term includes:
acquiring page resources corresponding to the URL address;
acquiring page resources related to the query word in the page resources corresponding to the URL according to the query word;
and acquiring a page resource file corresponding to the URL address by using the page resource related to the query word.
5. The method according to claim 4, wherein the obtaining, according to the query term, page resources related to the query term in the page resources corresponding to the URL includes:
acquiring the relevance of the query word and the page resource corresponding to the URL;
and acquiring the page resources with the correlation degree greater than or equal to the correlation degree threshold value with the query term by using a preset correlation degree threshold value, and taking the page resources as the page resources related to the query term.
6. A page rendering apparatus, the apparatus comprising:
the link acquisition unit is used for acquiring a Uniform Resource Locator (URL) address triggered by a user in a search result;
the information output unit is used for sending the query word matched with the search result to a server according to the URL address so that the server can obtain a page resource file corresponding to the URL address according to the query word, and the page resource file only contains page resources related to the query word;
the information input unit is used for receiving the page resource file sent by the server;
and the page display unit is used for displaying the page by utilizing the page resource file.
7. The apparatus of claim 6, wherein the information output unit is specifically configured to:
sending a resource access request aiming at the URL address to the server, wherein the resource access request carries the query word; or,
and sending a resource access request aiming at the URL address and a resource processing request to the server, wherein the resource processing request carries the query word.
8. A page rendering apparatus, the apparatus comprising:
the information input unit is used for receiving a query word matched with a search result sent by a client according to a URL address, wherein the URL address is a URL triggered by a user in the search result;
the resource processing unit is used for acquiring a page resource file corresponding to the URL address according to the query word, and the page resource file only contains page resources related to the query word;
and the information output unit is used for sending the page resource file to the client so that the client can display the page by using the page resource file.
9. The apparatus according to claim 8, wherein the resource processing unit is specifically configured to:
acquiring page resources corresponding to the URL address;
acquiring page resources related to the query word in the page resources corresponding to the URL according to the query word;
and acquiring a page resource file corresponding to the URL address by using the page resource related to the query word.
10. The apparatus according to claim 9, wherein the resource processing unit, when obtaining, according to the query term, a page resource related to the query term in the page resources corresponding to the URL, is specifically configured to:
acquiring the relevance of the query word and the page resource corresponding to the URL;
and acquiring the page resources with the correlation degree greater than or equal to the correlation degree threshold value with the query term by using a preset correlation degree threshold value, and taking the page resources as the page resources related to the query term.
11. A page rendering system, the system comprising: a client and a server; wherein,
the client is used for acquiring a Uniform Resource Locator (URL) address triggered by a user in a search result and sending a query word matched with the search result to a server according to the URL address;
the server is used for obtaining a page resource file corresponding to the URL address according to the query word, wherein the page resource file only contains page resources related to the query word, and sending the page resource file to the client;
and the client is also used for displaying the page by utilizing the page resource file.
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)
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)
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)
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 |
-
2015
- 2015-03-26 CN CN201510137057.0A patent/CN104794165B/en active Active
- 2015-06-18 WO PCT/CN2015/081758 patent/WO2016150017A1/en active Application Filing
Patent Citations (4)
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 |
---|---|---|
CN109863527B (en) | Method and system for server-side rendering of rendered local content | |
CN107622135B (en) | Method and apparatus for displaying information | |
CN104572843B (en) | The loading method and device of a kind of page | |
CN104281827B (en) | Identify the method and device of Quick Response Code | |
WO2015161658A1 (en) | Webpage resource loading method and device | |
CN104112002B (en) | A kind of methods, devices and systems of list adaptation | |
US10817653B2 (en) | Optimizing loading of web page based on aggregated user preferences for web page elements of web page | |
CN104243273A (en) | Method and device for displaying information on instant messaging client and information display system | |
CN104571813B (en) | A kind of display methods and device of information | |
US20150193832A1 (en) | Method, apparatus, and system for communicating and presenting product information | |
WO2014176906A1 (en) | Online video playing method and apparatus and computer readable medium | |
KR101637016B1 (en) | Method for providing user reaction web page | |
CN104598571A (en) | Method and device for playing multimedia resource | |
CN108255898B (en) | Page display method and device | |
CN113656737B (en) | Webpage content display method and device, electronic equipment and storage medium | |
CN104794165B (en) | A kind of webpage representation method, apparatus and system | |
CN111444448B (en) | Data processing method, server and system | |
CN111078219B (en) | Page display method, device and system, electronic equipment and storage medium | |
CN104881308B (en) | A kind of processing method and processing device of application program | |
CN110309454B (en) | Interface display method, device, equipment and storage medium | |
CN100592300C (en) | Data display method and device | |
US10089369B2 (en) | Searching method, searching apparatus and device | |
CN108563712B (en) | Webpage picture viewing method and device and storage equipment | |
CN106156298A (en) | The method and device of the page is moved in a kind of website that generates | |
CN104820695A (en) | Method and device for resource acquisition |
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 |