CN105447089B - Search results pages display methods and device - Google Patents
Search results pages display methods and device Download PDFInfo
- Publication number
- CN105447089B CN105447089B CN201510751930.5A CN201510751930A CN105447089B CN 105447089 B CN105447089 B CN 105447089B CN 201510751930 A CN201510751930 A CN 201510751930A CN 105447089 B CN105447089 B CN 105447089B
- Authority
- CN
- China
- Prior art keywords
- search
- results pages
- search results
- asynchronous
- display content
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of search results pages display methods and devices, the method comprise the steps that show the first search results pages by the way of asynchronous display according to search key, and the content of asynchronous display in described search keyword and first search results pages is stored in it is locally stored;When detecting the return for returning to first search results pages operation, middle acquisition asynchronous display content corresponding with described search keyword is locally stored from described;First search results pages are shown according to asynchronous display content reduction.The embodiment of the present invention can make search engine under asynchronous display mode, effectively show historical search content to user.
Description
Technical field
The present embodiments relate to Internet technical field more particularly to a kind of search results pages display methods and devices.
Background technique
With the development of search technique, there is a kind of technology of search engine page asynchronous display.First tied in search
A part of content is shown in fruit page, then constantly requests more search contents to server, and this asynchronous display mode is broken
Disposable " one response of the request " mode of the conventional search page, allows user the case where may browse through a part search content
Under, server continues to transmit more search contents.
Based on the technology of above-mentioned search engine page asynchronous display, when user is clicking the searched page for having asynchronous display
In search terms and when returning to searched page from the corresponding search page of the search terms, or return to previous search from the current search page
When the rope page, since the content of subsequent display is to return to searched page when the user clicks by server script asynchronous transmission
When, due to page furbishing, content for script is caused to be emptied, therefore, in the search of the asynchronous communication stored before will lead in this way
Hold and disappear, so that effectively historical search content can not be showed to user.
Summary of the invention
The embodiment of the present invention provides a kind of search results pages display methods and device, search engine can be made in asynchronous display
Under mode, effectively show historical search content to user.
In a first aspect, the embodiment of the invention provides a kind of search results pages display methods, comprising:
Show the first search results pages by the way of asynchronous display according to search key, and by described search keyword
It is stored in the content of asynchronous display in first search results pages in being locally stored;
When detect return to first search results pages return operation when, from it is described be locally stored it is middle acquisition with it is described
The corresponding asynchronous display content of search key;
First search results pages are shown according to asynchronous display content reduction.
Second aspect, the embodiment of the present invention also provide a kind of search results pages display device, comprising:
Asynchronous search module, for showing the first search results pages by the way of asynchronous display according to search key;
Module is locally stored, for by the content of asynchronous display in described search keyword and first search results pages
It is stored in being locally stored;
Asynchronous display content obtain module, for when detect returns to first search results pages return operate when,
Middle acquisition asynchronous display content corresponding with described search keyword is locally stored from described;
Display module is restored, for showing first search results pages according to asynchronous display content reduction.
The embodiment of the present invention is by storing the content of asynchronous display in search key and corresponding first search results pages
In being locally stored, when detecting the return for returning to first search results pages operation, directly from described be locally stored
Asynchronous display content corresponding with described search keyword is obtained, further according to asynchronous display content reduction display described first
Search results pages.The embodiment of the present invention can make search engine under asynchronous display mode, effectively show history to user and search
Rope content.
Detailed description of the invention
Fig. 1 is the flow diagram for the search results pages display methods that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of search results pages display device provided by Embodiment 2 of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
The executing subject of search results pages display methods provided in an embodiment of the present invention can be provided in an embodiment of the present invention
Search results pages display device, or be integrated with described search result page display device terminal device (for example, smart phone,
Tablet computer etc.), which can use hardware or software realization.
Embodiment one
Fig. 1 is the flow diagram for the search results pages display methods that the embodiment of the present invention one provides, as shown in Figure 1, tool
Body includes:
S11, the first search results pages are shown by the way of asynchronous display according to search key, and described search is closed
In keyword and first search results pages content of asynchronous display, which is stored in, is locally stored;
Wherein, asynchronous display, which refers to, first obtains a part search content to server according to search key, then by this
Part searches content is shown in search results pages, constantly requests more search contents, this part to server again later
Search content is the content of asynchronous display.
Usable HTML localStorage is locally stored, technology is locally stored.I.e. if the executing subject of the present embodiment
For search results pages display device, or it is integrated with the terminal device of described search result page display device, then using HTML
Technology is locally stored in localStorage can will be in described search keyword and first search results pages in asynchronous display
Appearance is stored in search results pages display device or terminal device.
Wherein, asynchronous display in the corresponding search results pages of one or more keywords can be stored in being locally stored simultaneously
Content.
S12, when detect return to first search results pages return operation when, from it is described be locally stored it is middle acquisition with
The corresponding asynchronous display content of described search keyword;
Specifically, the content of asynchronous display in the corresponding search results pages of a keyword is only stored in ought being locally stored
When, then middle corresponding with described search keyword asynchronous display content directly is obtained from being locally stored.In being locally stored
When storing the content of asynchronous display in the corresponding search results pages of multiple keywords simultaneously, then it needs to be determined that described search is crucial
Whether the corresponding asynchronous display content of word, which be stored in, is locally stored, if be locally stored it is middle exist it is corresponding with described search keyword
Asynchronous display content, then middle obtain corresponding with described search keyword asynchronous display content from being locally stored.If local deposit
Asynchronous display content corresponding with described search keyword is not present in storage, then sends Asynchronous Request message to server, obtains
The corresponding asynchronous display content of described search keyword.
S13, first search results pages are shown according to asynchronous display content reduction.
After getting the asynchronous display content, the asynchronous display content is shown in first search result
On the corresponding position of page.In addition to this, simultaneous display content is also shown in first search results pages, i.e., is closed according to search
The part that keyword is first obtained to server searches for content, and wherein simultaneous display content is stored in search engine local cache
In, it goes to browse in other search results pages when user leaves first search results pages, it is locally slow to have no effect on search engine
Therefore the storage state deposited when returning to first search results pages, directly gets corresponding synchronization from local cache
It shows content, it is shown in first search results pages together with asynchronous display content.
The present embodiment is due to being stored in this for the content of asynchronous display in search key and corresponding first search results pages
It is not in when user goes to browse other search results pages, first search results pages are corresponding asynchronous aobvious in ground storage
Show the case where content is emptied.So that when detect return to first search results pages return operation when, directly from
It is described that middle acquisition asynchronous display content corresponding with described search keyword is locally stored, further according in the asynchronous display
Hold reduction and show first search results pages, can make search engine under asynchronous display mode, effectively show to user
Historical search content.
Illustratively, on the basis of the above embodiments, for convenient for quickly restore the asynchronous display content search tie
Fruit page original display position, further where by the asynchronous display content page iden-tity of search results pages and/or
It is corresponding described according to the asynchronous display content during display position mark in described search result page is stored in and is locally stored
Reduction shows that first search results pages further comprise:
The middle page iden-tity for obtaining asynchronous display content place search results pages is locally stored and/or in institute from described
State the display position mark in search results pages;
According to the page iden-tity and/or display position mark and asynchronous display content reduction display described the
One search results pages.
Specifically, only being needed described in storage at this time when the corresponding search results pages of current search keyword only have one page
Display position mark of the asynchronous display content in described search result page.Since in this case, user can only point
The corresponding connection of a certain search terms in described search result page is hit, is returned from the corresponding connection searched page of described search item
When, it also just can only uniquely return to described search result page.
And when the corresponding search results pages of current search keyword are more, each search results pages have corresponding different
Display content is walked, just each search results pages page iden-tity of corresponding storage and the asynchronous display content is needed to search described at this time
Display position mark in rope result page.The return operation clicked due to the user, it may be possible to from the second search results pages
It is back to the first search results pages, it is also possible to be to return to the second search results pages from third search results pages, or from first
Search results pages return to third search results pages, etc..
Illustratively, in order to guarantee to have enough memory spaces in being locally stored in real time, it is also necessary to be locally stored to described
It is managed, specifically comprises the following steps:
For the effective storage time of curriculum offering for being stored in the asynchronous display in being locally stored;
First search results pages are shown according to asynchronous display content reduction, comprising:
If the storage time of the asynchronous display content is in effective storage time, display described first is restored
Search results pages.
Wherein, effective storage time can be customized by users setting, can be several seconds or a few minutes, not do specific limit here
It is fixed.
Illustratively, for guarantee be locally stored in storage content all in effective status, can carry out as follows update operation:
If the storage time of the asynchronous display content is more than effective storage time, obtained to server request
Take the asynchronous display content;
Using the asynchronous display content update obtained to the server be locally stored in be more than effective storage time
Asynchronous display content.
Illustratively, on the basis of the above embodiments, the return of first search results pages, which operates, includes:
Described first is back to from the connection searched page that any search terms obtain in first search results pages is clicked
The operation of search results pages;Or
The operation of first search results pages is back to from the second search results pages currently shown;Or
Search again for obtaining the operation of search results pages according to described search keyword.
Wherein, due to the dynamic change of data in internet, so searched again for according to described search keyword
Search results pages may be identical as previously obtained search results pages, it is also possible to different from search results pages.
Illustratively, on the basis of the above embodiments, it is being shown by the way of asynchronous display according to search key
Before first search results pages, further comprise:
It is locally stored whether to be stored with described search keyword corresponding asynchronous according to described search keyword query
Show content;
If it is described be locally stored in it is not stored have the corresponding asynchronous display content of the search key, trigger execution root
The operation of the first search results pages is shown by the way of asynchronous display according to search key.
The various embodiments described above are also due to by the content of asynchronous display in search key and corresponding first search results pages
It is stored in being locally stored, is not in when user goes to browse other search results pages, first search results pages are corresponding
Asynchronous display content the case where being emptied.So that when detecting the return operation for returning to first search results pages
When, middle acquisition asynchronous display content corresponding with described search keyword directly is locally stored from described, further according to
The reduction of asynchronous display content shows first search results pages, can make search engine under asynchronous display mode, effectively
Show historical search content to user.
Embodiment two
Fig. 2 is the structural schematic diagram of search results pages display device provided by Embodiment 2 of the present invention, as shown in Fig. 2, tool
Body includes: asynchronous search module 21, module 22 is locally stored, asynchronous display content obtains module 23 and restores display module 24;
The asynchronous search module 21 by the way of asynchronous display for showing the first search knot according to search key
Fruit page;
The module 22 that is locally stored is used for asynchronous display in described search keyword and first search results pages
Content be stored in and be locally stored;
The asynchronous display content obtains module 23 and detects the return for returning to first search results pages behaviour for working as
When making, middle acquisition asynchronous display content corresponding with described search keyword is locally stored from described;
The reduction display module 24 is used to show first search results pages according to asynchronous display content reduction.
Search results pages display device described in the embodiment of the present invention is for executing search knot described in the various embodiments described above
Fruit page display methods, technical principle is similar with the technical effect of generation, is described again here.
Illustratively, on the basis of the above embodiments, the reduction display module 24 is specifically used for:
The middle page iden-tity for obtaining asynchronous display content place search results pages is locally stored and/or in institute from described
State the display position mark in search results pages;
According to the page iden-tity and/or display position mark and asynchronous display content reduction display described the
One search results pages.
Illustratively, on the basis of the above embodiments, described device further include: effective time setup module 25;
The effective time setup module 25 is used for effective to be stored in the curriculum offering of the asynchronous display in being locally stored
Storage time;
The reduction display module 24 is specifically used for:
If the storage time of the asynchronous display content is in effective storage time, display described first is restored
Search results pages.
Illustratively, the asynchronous display content obtains module 23 and is also used to:
If the storage time of the asynchronous display content is more than effective storage time, obtained to server request
Take the asynchronous display content;
Described device further include: asynchronous display content update module 26;
The asynchronous display content update module 26 is used for using the asynchronous display content update obtained to the server
It is more than the asynchronous display content of effective storage time in being locally stored.
Illustratively, on the basis of the above embodiments, described device further include: return to operation module 27;
The operation module 27 that returns is used for the connection that any search terms obtain from click first search results pages
Searched page is back to the operation of first search results pages;Or institute is back to from the second search results pages currently shown
State the operation of the first search results pages;Or search again for obtaining the operation of search results pages according to described search keyword.
Illustratively, on the basis of the above embodiments, described device further include: enquiry module 28 and trigger module 29;
The enquiry module 28 for be locally stored according to described search keyword query whether be stored with described in search
The corresponding asynchronous display content of rope keyword;
If the trigger module 29 has the search key corresponding asynchronous aobvious for not stored in described be locally stored
Show content, then triggers the execution of asynchronous search module 21 and show that first searches by the way of asynchronous display according to search key
The operation of rope result page.
Search results pages display device described in the various embodiments described above is equally used for executing and search described in the various embodiments described above
Rope result page display methods, technical principle is similar with the technical effect of generation, is described again here.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (12)
1. a kind of search results pages display methods characterized by comprising
Show the first search results pages by the way of asynchronous display according to search key, and by described search keyword and institute
The content for stating asynchronous display in the first search results pages, which is stored in, to be locally stored;
When detecting the return for returning to first search results pages operation, middle acquisition and described search is locally stored from described
The corresponding asynchronous display content of keyword obtains corresponding synchronous aobvious with described search keyword from search engine local cache
Show content;
First search results pages are shown according to the asynchronous display content and simultaneous display content reduction.
2. the method according to claim 1, wherein according to asynchronous display content reduction display described first
Search results pages include:
It is searched from the page iden-tity that the middle acquisition asynchronous display content place search results pages are locally stored and/or described
Display position mark in rope result page;
It is searched according to the page iden-tity and/or display position mark and asynchronous display content reduction display described first
Rope result page.
3. the method according to claim 1, wherein further include:
For the effective storage time of curriculum offering for being stored in the asynchronous display in being locally stored;
First search results pages are shown according to asynchronous display content reduction, comprising:
If the storage time of the asynchronous display content is in effective storage time, display first search is restored
Result page.
4. according to the method described in claim 3, it is characterized by further comprising:
If the storage time of the asynchronous display content is more than effective storage time, to different described in server request
Step display content;
Using the asynchronous display content update obtained to the server be locally stored in be more than effective storage time it is different
Step display content.
5. method according to any one of claims 1 to 4, which is characterized in that the return of first search results pages is grasped
Work includes:
First search is back to from the connection searched page that any search terms obtain in first search results pages is clicked
The operation of result page;Or
The operation of first search results pages is back to from the second search results pages currently shown;Or
Search again for obtaining the operation of search results pages according to described search keyword.
6. method according to any one of claims 1 to 4, which is characterized in that further include:
It is locally stored according to described search keyword query and whether is stored with the corresponding asynchronous display of described search keyword
Content;
If it is described be locally stored in it is not stored have the corresponding asynchronous display content of the search key, trigger execution according to searching
Rope keyword shows the operation of the first search results pages by the way of asynchronous display.
7. a kind of search results pages display device characterized by comprising
Asynchronous search module, for showing the first search results pages by the way of asynchronous display according to search key;
Module is locally stored, for storing the content of asynchronous display in described search keyword and first search results pages
In being locally stored;
Asynchronous display content obtain module, for when detect returns to first search results pages return operate when, from institute
State be locally stored it is middle obtain corresponding with described search keyword asynchronous display content, obtained from search engine local cache and
The corresponding simultaneous display content of described search keyword;
Display module is restored, for searching according to the asynchronous display content and simultaneous display content reduction display described first
Rope result page.
8. device according to claim 7, which is characterized in that the reduction display module is specifically used for:
It is searched from the page iden-tity that the middle acquisition asynchronous display content place search results pages are locally stored and/or described
Display position mark in rope result page;
It is searched according to the page iden-tity and/or display position mark and asynchronous display content reduction display described first
Rope result page.
9. device according to claim 7, which is characterized in that further include:
Effective time setup module, for the effective storage time of curriculum offering to be stored in the asynchronous display in being locally stored;
The reduction display module is specifically used for:
If the storage time of the asynchronous display content is in effective storage time, display first search is restored
Result page.
10. device according to claim 9, which is characterized in that the asynchronous display content obtains module and is also used to:
If the storage time of the asynchronous display content is more than effective storage time, to different described in server request
Step display content;
Described device further include:
Asynchronous display content update module, for using the asynchronous display content update obtained to the server to be locally stored
More than the asynchronous display content of effective storage time.
11. according to the described in any item devices of claim 7~10, which is characterized in that further include:
Operation module is returned, is returned for the connection searched page that any search terms obtain from click first search results pages
It is back to the operation of first search results pages;Or first search is back to from the second search results pages currently shown
The operation of result page;Or search again for obtaining the operation of search results pages according to described search keyword.
12. according to the described in any item devices of claim 7~10, which is characterized in that further include:
Enquiry module, for being locally stored whether be stored with described search keyword pair according to described search keyword query
The asynchronous display content answered;
Trigger module, if having the corresponding asynchronous display content of the search key for not stored in described be locally stored,
It triggers the asynchronous search module execution and shows the first search results pages by the way of asynchronous display according to search key
Operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751930.5A CN105447089B (en) | 2015-11-06 | 2015-11-06 | Search results pages display methods and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751930.5A CN105447089B (en) | 2015-11-06 | 2015-11-06 | Search results pages display methods and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105447089A CN105447089A (en) | 2016-03-30 |
CN105447089B true CN105447089B (en) | 2019-05-07 |
Family
ID=55557267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510751930.5A Active CN105447089B (en) | 2015-11-06 | 2015-11-06 | Search results pages display methods and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105447089B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649470A (en) * | 2016-09-28 | 2017-05-10 | 郑州云海信息技术有限公司 | Table search state storage method |
CN110020268B (en) * | 2017-07-28 | 2022-04-12 | 北京国双科技有限公司 | Page returning method and device |
CN111831942A (en) * | 2019-04-15 | 2020-10-27 | 阿里巴巴集团控股有限公司 | Method and device for displaying search results on page and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699674A (en) * | 2013-12-31 | 2014-04-02 | 优视科技有限公司 | Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system |
CN104346397A (en) * | 2013-08-06 | 2015-02-11 | 中国银联股份有限公司 | Switchover method and system based on asynchronous request page |
CN104519081A (en) * | 2013-09-27 | 2015-04-15 | 阿里巴巴集团控股有限公司 | Page access method and device |
CN104881431A (en) * | 2015-04-23 | 2015-09-02 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring search result pages in computer device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8661337B2 (en) * | 2011-06-05 | 2014-02-25 | Apple Inc. | Techniques for use of snapshots with browsing transitions |
-
2015
- 2015-11-06 CN CN201510751930.5A patent/CN105447089B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346397A (en) * | 2013-08-06 | 2015-02-11 | 中国银联股份有限公司 | Switchover method and system based on asynchronous request page |
CN104519081A (en) * | 2013-09-27 | 2015-04-15 | 阿里巴巴集团控股有限公司 | Page access method and device |
CN103699674A (en) * | 2013-12-31 | 2014-04-02 | 优视科技有限公司 | Webpage storing method, webpage opening method, webpage storing device, webpage opening device and webpage browsing system |
CN104881431A (en) * | 2015-04-23 | 2015-09-02 | 百度在线网络技术(北京)有限公司 | Method and device for acquiring search result pages in computer device |
Also Published As
Publication number | Publication date |
---|---|
CN105447089A (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10454996B2 (en) | Systems and methods for downloading files | |
CN107145496B (en) | Method for matching image with content item based on keyword | |
US8180778B1 (en) | Generating action trails from web history | |
JP5555327B2 (en) | Search result generation method and information search system | |
CN100424694C (en) | Implementing method of network profile | |
US9547721B2 (en) | Native application search results | |
US20140279787A1 (en) | Systems And Methods for an Adaptive Application Recommender | |
US20080313168A1 (en) | Ranking documents based on a series of document graphs | |
CN104202360A (en) | Webpage access method, device and router | |
CN105447089B (en) | Search results pages display methods and device | |
CN107145497B (en) | Method for selecting image matched with content based on metadata of image and content | |
CN103970800B (en) | The extraction processing method and system of webpage associative key | |
CN103581224A (en) | Method and device for pushing information | |
US20080059428A1 (en) | Automatic completion with LDAP | |
CN107273393A (en) | Image search method, device and data handling system for mobile device | |
WO2012151752A1 (en) | Annotating search results with images | |
CN106033433B (en) | Information searching method and device | |
US20130198338A1 (en) | Enhancing perceived performances of computer applications | |
CN105653717B (en) | A kind of method and device that information is shared | |
US20140157290A1 (en) | Method, system, and device for switching between network applications, and computer storage medium | |
CN111273964B (en) | Data loading method and device | |
CN107967632A (en) | A kind of advertisement demonstration method and device | |
CN106970848A (en) | Input control method, device and electronic equipment | |
JP2009294836A (en) | Search processing device, method and program in which pseudo feedback processing is selectively applied in web search | |
CN103425696B (en) | Web search behavior recognition methods and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |