Summary of the invention
The invention provides a kind of page searching method and page searcher, can avoid the user to use everyday words when collection search network address, all need the inputted search keyword at every turn when searching for, user-friendly.
On the one hand, provide a kind of page searching method, comprising:
Obtain the page key words of the corresponding page in page address that the user stores in advance;
According to the described page key words that obtains, determine the frequency that described page key words occurs in the described page, the frequency of each described page key words is the number that occurs the page of this described page key words in the described page;
According to described frequency order from high to low, select at least one described page key words as recommending searching key word;
Show described recommendation searching key word, so that the user can search for by the recommendation searching key word of described displaying, thereby in the page address that the user stores in advance, search page address with described recommendation searching key word corresponding page.
The page key words of the corresponding page in page address that the described user of obtaining stores in advance comprises:
The page source code of the corresponding page of storing in advance according to described user in page address obtains described page key words;
The Page Name of the corresponding page of storing in advance according to described user in page address obtains described page key words;
The domain name of the corresponding page of storing in advance according to described user in page address is obtained described page key words;
The perhaps page key words of the corresponding page in page address stored in advance of the described user that sends of reception server.
The described recommendation searching key word of described displaying specifically comprises:
First interface is provided, comprises file hurdle, hurdle, page address and preview hurdle in described first interface,
Be provided with the field of search in described file hurdle, hurdle, page address or the preview hurdle, show search input frame and described recommendation searching key word in the described field of search.
Described file hurdle shows Folder List, comprises at least one file in the described Folder List, and the page address that described user stores in advance is stored in the described file;
Described first interface is provided after, described method also comprises:
Receive the user to first selection instruction of described file;
According to described first selection instruction, in hurdle, described page address, show the page address of storing in the file of described user's selection;
Receive the user to second selection instruction of described page displayed address;
According to described second selection instruction, the pre-review information that shows the corresponding page in described page address that described user selects in described preview hurdle, described pre-review information comprise one or more in the two-dimension code, video information, download address information, page address of title, label, summary, the page correspondence of the described page.
Described first interface is provided after, described method also comprises:
Receive the user by the searching key word of described search input frame input or by selecting the searching key word of described recommendation searching key word input;
According to the searching key word of described input, in the page address that described user stores in advance, search the page address with described searching key word corresponding page;
The page address that in hurdle, described page address, shows described searching key word corresponding page that search and described.
After the page key words of the corresponding page in page address that the described user of obtaining stores in advance, described method also comprises:
Set up the corresponding relation between the page address that described page key words and described user store in advance;
Described searching key word according to described input, the page address that searches in the page address that described user stores in advance with described searching key word corresponding page comprises:
According to the searching key word of described input and the corresponding relation of described foundation, the page address of inquiry and described searching key word corresponding page.
The described page address of described searching key word corresponding page that search and described that shows in hurdle, described page address comprises:
Domain name according to the described page address correspondence that searches, sorted in the described page address that searches, result according to described ordering, the page address that shows described searching key word corresponding page that search and described in hurdle, described page address is so that the identical adjacent demonstration in page address of domain name.
Described first interface is provided before, described method also comprises:
Login interface is provided;
Described first interface that provides comprises:
After the user logins by described login interface, rectangular interfaces is provided and described rectangular interfaces is stretched in the mode that different speed is outwards moved respectively with its four drift angles;
After four drift angles of described rectangular interfaces arrive predeterminated position, described rectangular interfaces is switched to described first interface.
On the other hand, provide a kind of page searcher, comprising:
Acquiring unit is used for obtaining the page key words of the corresponding page in page address that the user stores in advance;
Determining unit is used for according to the described page key words that obtains, and determines the frequency that described page key words occurs in the described page, and the frequency of each described page key words is the number that occurs the page of this described page key words in the described page;
Selected cell is used for according to described frequency order from high to low, selects at least one described page key words as recommending searching key word;
Display unit, be used for showing described recommendation searching key word, so that the user can search for by the recommendation searching key word of described displaying, thereby in the page address that the user stores in advance, search page address with described recommendation searching key word corresponding page.
Described acquiring unit comprises at least one in the following subelement:
First obtains subelement, and the page source code for the corresponding page of storing in advance according to described user in page address obtains described page key words;
Second obtains subelement, and the Page Name for the corresponding page of storing in advance according to described user in page address obtains described page key words;
The 3rd obtains subelement, for the domain name of the corresponding page of storing in advance according to described user in page address, obtains described page key words;
Receive subelement, the page key words of the corresponding page in page address that the described user who sends for reception server stores in advance.
Described display unit is specially: first interface is provided, comprise file hurdle, hurdle, page address and preview hurdle in described first interface, be provided with the field of search in described file hurdle, hurdle, page address or the preview hurdle, show search input frame and described recommendation searching key word in the described field of search.
Described file hurdle shows Folder List, comprises at least one file in the described Folder List, and the page address that described user stores in advance is stored in the described file;
Described device also comprises:
First receiving element receives the user to first selection instruction of described file;
First display unit, according to described first selection instruction, display unit in the file that the described user of demonstration selects in hurdle, described page address, the page address of storage;
Second receiving element receives the user to second selection instruction of described page displayed address;
Second display unit, according to described second selection instruction, the pre-review information that shows the corresponding page in described page address that described user selects in described preview hurdle, described pre-review information comprise one or more in the two-dimension code, video information, download address information, page address of title, label, summary, the page correspondence of the described page.
Described device also comprises:
The 3rd receiving element is used for receiving the user by the searching key word of described search input frame input or by selecting the searching key word of described recommendation searching key word input;
Search unit is used for the searching key word according to described input, searches the page address with described searching key word corresponding page in the page address that described user stores in advance;
The 3rd display unit, the page address of the described searching key word corresponding page that search and described of demonstration in hurdle, described page address.
Described device also comprises:
Set up the unit, set up the corresponding relation between the page address that described page key words and described user store in advance;
Described the 3rd display unit is specially: according to the searching key word of described input and the corresponding relation of described foundation, and the page address of inquiry and described searching key word corresponding page.
Described the 3rd display unit is specially:
Domain name according to the described page address correspondence that searches, sorted in the described page address that searches, result according to described ordering, the page address that shows described searching key word corresponding page that search and described in hurdle, described page address is so that the identical adjacent demonstration in page address of domain name.
Described device also comprises: the unit is provided, is used for providing login interface;
Described display unit is specially: after the user logins by described login interface, rectangular interfaces is provided and described rectangular interfaces is stretched in the mode that different speed is outwards moved respectively with its four drift angles; After four drift angles of described rectangular interfaces arrive predeterminated position, described rectangular interfaces is switched to described first interface.
The beneficial effect of technique scheme of the present invention is as follows: according to the height of frequency of utilization of the page key words of the page address of storage in advance, determine to recommend searching key word, and show the user, all need inputted search keyword in the time of can avoiding the user to search for network address at every turn, made things convenient for user's operation.And therefore the recommendation searching key word that provides, more meets user's use habit and demand corresponding to the page address of maximum one or several of the keyword frequency of occurrences in the page address of user storage, effectively promotes the user and experiences.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, be a kind of page searching method of the present invention, be used for portable terminal or personal computer PC side, carried out by portable terminal or PC, particularly go up the client device of installing by portable terminal or PC and carry out, comprising:
Step 11 is obtained the page key words of the corresponding page in page address that the user stores in advance;
Optionally, the page source code of the corresponding page in page address that can store in advance according to described user obtains described page key words, for example, and the keyword in the page source code; The Page Name of the corresponding page in page address that can also store in advance according to described user obtains described page key words; The webpage name is called that " JD.COM Jingdone district store official website certified products crudely-made articles the whole network reserve price supports the POS machine to swipe the card for example! " can extract page key words " certified products crudely-made articles "; The domain name of the corresponding page in page address that can also store in advance according to described user is obtained described page key words; The domain name of network address www.JD.com is " Jingdone district ", can extract page key words " Jingdone district "; The page key words of the corresponding page in page address that the described user who perhaps, can also reception server sends stores in advance.As a kind of optimal way: when client device receives the instruction of user's memory page address, send the request of obtaining page key words to server, server is according to the URL of the page address of user's storage, obtain the corresponding page source code in page address of user's storage, server obtains page key words from page source code, and page key words is sent to client.
Step 12 according to the described page key words that obtains, is determined the frequency that described page key words occurs in the described page, the frequency of each described page key words is the number that occurs the page of this described page key words in the described page.
Wherein, can be one-to-many, many to 1 or the relation of multi-to-multi between page address and the page key words, for example, the network address of page address www.JD.com, domain name are " Jingdone district ", can extract page key words " Jingdone district "; The webpage name is called that " JD.COM Jingdone district store official website certified products crudely-made articles the whole network reserve price supports the POS machine to swipe the card! " can extract page key words " certified products crudely-made articles "; Dmoz comprises " electricity merchant ", can extract page key words " electricity merchant ".Therefore network address www.JD.com can corresponding page key words " Jingdone district ", " certified products crudely-made articles ", " electricity merchant ".Certainly, the corresponding relation between network address and the keyword can be many-one, and for example, for example " network address www.JD.com " network address www.taobao.com all can corresponding page key words " electricity merchant ".
In this step, determine the frequency that described page key words occurs in the described page, the frequency of each described page key words is the number that occurs the page of this described page key words in the described page, namely add up the quantity of each page key words corresponding page address, can be used as the frequency of page key words.By way of example, in the page address corresponding page that the user stores in advance, page key words " electricity merchant " occur in 3 pages altogether, and namely the frequency of page key words " electricity merchant " is 3.
Step 13 according to described frequency order from high to low, selects at least one described page key words as recommending searching key word;
Step 14 is showed described recommendation searching key word, so that the user can search for by the recommendation searching key word of described displaying, thereby searches page address with described recommendation searching key word corresponding page in the page address that the user stores in advance.
This step specifically comprises: first interface is provided, comprise file hurdle, hurdle, page address and preview hurdle in described first interface, be provided with the field of search in described file hurdle, hurdle, page address or the preview hurdle, show search input frame and described recommendation searching key word in the described field of search.
In one embodiment, described file hurdle shows Folder List, comprises at least one file in the described Folder List, and the page address that described user stores in advance is stored in the described file;
Described first interface is provided after, described method also comprises:
Step 15 receives the user to first selection instruction of described file;
Step 16 according to described first selection instruction, shows the page address of storing in the file of described user's selection in hurdle, described page address;
Step 17 receives the user to second selection instruction of described page displayed address;
Step 18, according to described second selection instruction, the pre-review information that shows the corresponding page in described page address that described user selects in described preview hurdle, described pre-review information comprise one or more in the two-dimension code, video information, download address information, page address of title, label, summary, the page correspondence of the described page.Wherein, video information can be the file name of the thumbnail of video, video playback address, video, video duration, video content etc.When the user clicks or double-clicks the thumbnail of video, can play-over video, do not need to open in addition the webpage of video.Download address information can be the URL of download address, the speed of download site or the preferred download address of downloading page etc., when in the preview hurdle, showing the preferred download address of downloading page, the user can come the downloaded object of the downloading page that download user stores in advance by clicking this preferred download address, and does not need to enter corresponding downloading page.
First interface of present embodiment can be participated in shown in Figure 5, and Fig. 5 is the synoptic diagram at a kind of interface of a kind of " web collection ", and this interface from left to right comprises three content bar successively, and Far Left is the file hurdle, and the centre is address field, and rightmost is the preview hurdle.Wherein in the file hurdle, file is that the user carries out forming behind the taxonomic revision to the network address of collection; The address list that comprises in the file that explicit user is chosen in the file hurdle in the address field, address in the address list shows with the form of Page Name usually, namely when the user chose a file in the file hurdle, the address that comprises in this document folder was presented in the address field with the form of name list; The pre-review information of the corresponding webpage in address that explicit user is chosen in address field in the preview hurdle.When the user clicks in the address field certain nominally the time, namely open the webpage of this title correspondence.When the user clicks around certain title laterally white space in address field, the pre-review information of the corresponding webpage of this title will be illustrated in the preview hurdle, wherein the pre-review information of Zhan Shiing comprises the picture by technical scheme extraction of the present invention.Certainly, except comprising picture, can also comprise the information that other embody web page contents in the preview hurdle, as summary, URL(Uniform Resource Locator, URL(uniform resource locator)), two-dimension code etc.When the user uses " collection " function, only need webpage clicking address white space on every side like this, just can preview arrive the webpage degree of correlation higher picture corresponding with this web page address, can roughly understand the main contents of webpage.In Fig. 5, the field of search is arranged on the bottom on file hurdle, comprises search input frame and 5 recommendation searching key words, recommends searching key word to be positioned at the below of search input frame.
In one embodiment, described first interface is provided before, described method also comprises:
Login interface is provided;
Described first interface that provides comprises: after the user logins by described login interface, rectangular interfaces is provided and described rectangular interfaces is stretched in the mode that different speed is outwards moved respectively with its four drift angles; After four drift angles of described rectangular interfaces arrive predeterminated position, described rectangular interfaces is switched to described first interface.
As shown in Figure 2, be a kind of page searching method of the present invention, comprise:
Step 21 is obtained the page key words of the corresponding page in page address that the user stores in advance; And set up corresponding relation between the page address that described page key words and described user store in advance; For example, can set up the corresponding relation of the one-to-many between page address www.JD.com and page key words " Jingdone district ", " certified products crudely-made articles ", " the electricity merchant " in advance.Certainly, the corresponding relation between page address and the page key words can be many-one, and for example, for example " network address www.JD.com " network address www.taobao.com all can corresponding page key words " electricity merchant "
Step 22 according to the described page key words that obtains, is determined the frequency that described page key words occurs in the described page, the frequency of each described page key words is the number that occurs the page of this described page key words in the described page;
Step 23 according to described frequency order from high to low, selects at least one described page key words as recommending searching key word;
Step 24 is showed described recommendation searching key word, so that the user can search for by the recommendation searching key word of described displaying, thereby searches page address with described recommendation searching key word corresponding page in the page address that the user stores in advance.
This step specifically comprises: first interface is provided, comprise file hurdle, hurdle, page address and preview hurdle in described first interface, be provided with the field of search in described file hurdle, hurdle, page address or the preview hurdle, show search input frame and described recommendation searching key word in the described field of search.
Described first interface is provided after, described method also comprises:
Step 25 receives the user by the searching key word of described search input frame input or by selecting the searching key word of described recommendation searching key word input;
Step 26 according to the searching key word of described input, searches the page address with described searching key word corresponding page in the page address that described user stores in advance;
This step is specially: according to the searching key word of described input and the corresponding relation of described foundation, and the page address of inquiry and described searching key word corresponding page.
By setting up the corresponding relation between the page address that described page key words and described user store in advance, be equivalent to set up the data database of page address, can improve search speed.
Step 27, the page address of the described searching key word corresponding page that search and described of demonstration in hurdle, described page address.
This step is specially: according to the domain name of the described page address correspondence that searches, sorted in the described page address that searches, result according to described ordering, the page address that shows described searching key word corresponding page that search and described in hurdle, described page address is so that the identical adjacent demonstration in page address of domain name.For example, a plurality of network address then can adjacently show during all from www.JD.com, are convenient to searching of user.
Wherein, step 21 comprises:
The page source code of the corresponding page of storing in advance according to described user in page address obtains described page key words;
The Page Name of the corresponding page of storing in advance according to described user in page address obtains described page key words;
The webpage name is called that " JD.COM Jingdone district store official website certified products crudely-made articles the whole network reserve price supports the POS machine to swipe the card! " can extract page key words " certified products crudely-made articles ";
The domain name of the corresponding page of storing in advance according to described user in page address is obtained described page key words; The domain name of network address www.JD.com is " Jingdone district ", can extract page key words " Jingdone district ";
Perhaps, the page key words of the corresponding page in page address stored in advance of the described user that sends of reception server.
Be specially:
When client receives the instruction of user's memory page address, send the request of obtaining page key words to server, server is according to the URL of the page address of user's storage, obtain the corresponding page source code in page address of user's storage, server obtains page key words from page source code, and page key words is sent to client.
As shown in Figure 3, be a kind of page searcher of the present invention, comprise:
Acquiring unit 31 is used for obtaining the page key words of the corresponding page in page address that the user stores in advance;
Determining unit 32 is used for according to the described page key words that obtains, and determines the frequency that described page key words occurs in the described page, and the frequency of each described page key words is the number that occurs the page of this described page key words in the described page;
Selected cell 33 is used for according to described frequency order from high to low, selects at least one described page key words as recommending searching key word;
Display unit 34, be used for showing described recommendation searching key word, so that the user can search for by the recommendation searching key word of described displaying, thereby in the page address that the user stores in advance, search page address with described recommendation searching key word corresponding page.
Described acquiring unit 31 comprises at least one of following subelement:
First obtains subelement, and the page source code for the corresponding page of storing in advance according to described user in page address obtains described page key words;
Second obtains subelement, and the Page Name for the corresponding page of storing in advance according to described user in page address obtains described page key words;
The 3rd obtains subelement, for the domain name of the corresponding page of storing in advance according to described user in page address, obtains described page key words;
Receive subelement, the page key words of the corresponding page in page address that the described user who sends for reception server stores in advance.
Described display unit 34 is specially: first interface is provided, comprise file hurdle, hurdle, page address and preview hurdle in described first interface, be provided with the field of search in described file hurdle, hurdle, page address or the preview hurdle, show search input frame and described recommendation searching key word in the described field of search.
Described file hurdle shows Folder List, comprises at least one file in the described Folder List, and the page address that described user stores in advance is stored in the described file;
Described device also can comprise:
First receiving element 35 receives the user to first selection instruction of described file;
First display unit 36, according to described first selection instruction, display unit in the file that the described user of demonstration selects in hurdle, described page address, the page address of storage;
Second receiving element 37 receives the user to second selection instruction of described page displayed address;
Second display unit 38, according to described second selection instruction, the pre-review information that shows the corresponding page in described page address that described user selects in described preview hurdle, described pre-review information comprise one or more in the two-dimension code, video information, download address information, page address of title, label, summary, the page correspondence of the described page.
Described device also can comprise:
The 3rd receiving element 39 is used for receiving the user by the searching key word of described search input frame input or by selecting the searching key word of described recommendation searching key word input;
Search unit 310 is used for the searching key word according to described input, searches the page address with described searching key word corresponding page in the page address that described user stores in advance;
The 3rd display unit 311, the page address of the described searching key word corresponding page that search and described of demonstration in hurdle, described page address.
Described device also comprises:
Set up unit 312, set up the corresponding relation between the page address that described page key words and described user store in advance;
Described the 3rd display unit 311 is specially: according to the searching key word of described input and the corresponding relation of described foundation, and the page address of inquiry and described searching key word corresponding page.
Optionally, described the 3rd display unit 311 is specially:
Domain name according to the described page address correspondence that searches, sorted in the described page address that searches, result according to described ordering, the page address that shows described searching key word corresponding page that search and described in hurdle, described page address is so that the identical adjacent demonstration in page address of domain name.
Described device also comprises: unit 313 is provided, is used for providing login interface;
Shown in display unit be specially: after the user logins by described login interface, rectangular interfaces is provided and make described rectangular interfaces with its four drift angles respectively with different speed outwards the mode of motion stretch; After four drift angles of described rectangular interfaces arrive predeterminated position, described rectangular interfaces is switched to described first interface.
Application scenarios of the present invention is below described.
Embodiment 1
The invention provides the methods of exhibiting at a kind of web collection interface, can make things convenient for user management and pre-review information that can display web page.Web collection interface can from left to right comprise three content bar as shown in Figure 5 successively, and Far Left is the file hurdle, and the centre is address field, and rightmost is the preview hurdle.Show the website information that the user collects by the mode that file hurdle, hurdle, page address, three hurdles, preview hurdle are showed step by step.This website information of showing that step by step the user collects of the present invention, on the one hand, the interface of multistage displaying is more clear, comes into plain view; On the other hand, the user can see the pre-review information of the network address of collecting easily, can carry out preview earlier before opening webpage in the preview hurdle, the user can understand the general contents of the webpage of its collection by pre-review information, makes things convenient for the user to search the target network address.
As shown in Figure 5, collection master interface comprises three hurdles: file hurdle, hurdle, page address and preview hurdle.Wherein, the file hurdle is presented in first row, and file is that the user carries out forming behind the taxonomic revision to the network address of collection, and the user can increase or the deleted file folder as required at any time, also can carry out rename to file, can also put in order the network address in the file.The list of websites that comprises in the file that explicit user is chosen in the file hurdle in the hurdle, page address, network address in the list of websites shows with the form of network address title usually, namely when the user chose a file in the file hurdle, the network address that comprises in this document folder was presented in the hurdle, page address with the form of tabulation.The pre-review information of the corresponding webpage of network address that explicit user is chosen in the hurdle, page address in the preview hurdle, namely when the user chooses a network address in the hurdle, page address, the pre-review information of the corresponding webpage of this network address will be illustrated in the preview hurdle, and wherein the pre-review information of Zhan Shiing comprises information such as URL, webpage summary, main picture, download address (perhaps preferred download address), video thumbnails, video advance notice figure, two-dimension code, URL.When the user chooses network address in the hurdle, page address, directly open link in order to prevent from clicking the network address title, the user chooses network address by near the horizontal white space of clicking the network address title, namely clicks the zone of network address title back.
A kind of showing interface mode of web collection is below described, when the user chooses " my collection " file in the file hurdle, the network address that comprises in this document folder will be illustrated in the hurdle, page address, when the user chooses " picture searching principle understanding " this network address in the hurdle, page address, picture, network address title, URL and 2 D code information in the preview hurdle in the webpage of this network address correspondence of demonstration.
When the user collects a video network address, if the user chooses the network address title of this collection in collection, then in the preview hurdle, can also play thumbnail by display video, the user can judge the subject content of video from the video playback thumbnail.When the user clicks broadcast button on this video playback thumbnail or this thumbnail, directly on the main interface of web collection, play, do not need to reload the corresponding page of this video.
When the user collects a downloading page, if the user chooses the network address title of this downloading page correspondence in network address name list hurdle, then in the preview hurdle except information such as Display Summary, network address title, URL, also show preferred download link, the user clicks the preferred download link in the preview hurdle, can directly download.The synoptic diagram that shows preferred download link in the preview hurdle.
The present invention can enter web collection master interface with dynamic effect.Be specially: the user imports username and password and clicks when confirming login button in login frame, next can adopt the effect of stretching conversion as shown in Figure 4.Can be by the matrixing of css3 on the specific implementation, four jiaos of conversion element are carried out stretching conversion according to different time sequencings, finally realize the stretcher strain effect, when 4 angles of rectangle arrive appointed positions, for example, during four drift angles of screen, show collection master interface.The field of search is arranged on the bottom on file hurdle, comprises search input frame and 5 recommendation searching key words, recommends searching key word to be positioned at the below of search input frame.Recommend searching key word to obtain by aforesaid mode.When clicking, the user recommends searching key word or when inputted search keyword and indication are searched in the search input frame, web collection client device is searched for, and in hurdle, described page address, show the page address of described searching key word corresponding page that search and described, during demonstration, can carry out sequencing display to Search Results according to domain name, so that the adjacent demonstration in the page address that domain name is identical in the Search Results.
Embodiment 2
In conjunction with the embodiments 1, when the network address of the i.e. collection of user's storage was many, the network address title that the user searches in the network address denominational one by one was more time-consuming, searches the time in order to save the user, on the main interface of collection the field of search can also be set.The field of search can be arranged on the below on file hurdle, search input circle is set in the field of search, the user can be by the network address of inputted search keyword search collection in the search input frame, be illustrated in the network address name list hurdle with the network address that will satisfy the user search condition, reduce the number that the user searches the network address title.
Search can also arrange several recommendation searching key words in the field of search for convenience, and these recommend searching key word can be arranged on the below of search input frame.Extract the method for recommending searching key word and can adopt following method (to show that recommending searching key word for 5 is example): according to all webpages of user's collection, from the html source code of webpage, extract keyword, generally from the html source code, extract page key words in " keywords " label, as html5, javascript, browser, safety, internet etc., add up the frequency that each page key words occurs in all webpages of user's collection, this frequency refers to occur in all webpages of child user collection the number of the page of this described page key words, and the frequency that occurs according to page key words sorts, extract preceding 5 conducts and recommend searching key word, and will recommend searching key word to be presented on the collection interface.When the user clicks a recommendation searching key word, search for according to this recommendation searching key word, and Search Results is presented at the interface, namely in the network address denominational, list the network address title of this recommendation searching key word of coupling.
Convenience for data storage and processing, can be with keyword as key, set up corresponding json data (the json data are a kind of easy data interchange formats), the frequency that the statistics keyword occurs, the key-value pair that forms according to the frequency of keyword and keyword is (as for keyword html5 then, the frequency of its appearance is 10 times, and then key-value pair is html5:10) form set up the local index database.The frequency that the local index database occurs with keyword is as index, and according to the frequency ordering that keyword occurs, and therefrom extracts the first five as recommending searching key word, and will recommend searching key word to be presented at the below of the field of search.
Can set up the local index database according to said method, it is the index column that index forms that first of local index database is classified as with each keyword frequency of occurrences, and second classifies lists of keywords as, and the 3rd row are data object of each keyword.When launching object, can obtain title and the frequency of keyword, as tag: " question and answer "; Num:4, expression: the name of keyword is called " question and answer ", and the frequency that this keyword occurs is 4.This index data base can dynamically update according to user's collection behavior, namely, during message that collection network address in receiving user's collection changes (as increasing, reduce, replacing), data in this index data base are upgraded automatically and are sorted, and in real time new recommendation searching key word are showed the user.
Embodiment 3:
In conjunction with the embodiments 1 or embodiment 2, generally speaking, when searching in local collection, the network address in the Search Results sorted according to the collection time, caused the result in identical source to intersect demonstration, can not well allow the information that the user searches out to be needed.
The user finds the network address that needs for convenience, according to user's collection content, the related data in user's the collection (information that URL, title, keyword etc. are relevant with the website of collection) is kept in the client indexes database.Can generate index data base as index with network address, wherein the list of websites in the left side of index data base is index, and the right side is the related content of the data in user's collection.When the user searches for, mate by the keyword of user's input and the keyword in the client indexes database, obtain the list of websites that meets searching key word, the network address that meets searching key word is classified according to domain name, and the network address that domain name is identical puts together and is illustrated on the collection interface, and namely the network address that domain name is identical in the Search Results displayed page is arranged in together.Because identical domain name, website icon (website icon) is identical, and therefore the network address with identical icon in the Search Results is arranged in together, and the user can find the result of needs more easily according to the icon in the Search Results.
Need to prove, " local index database " among the embodiment 2 is the database that " the client indexes database " in the present embodiment derives out, and " local index database " can be a part or the subdata base in " client indexes database ".
The present invention can be in advance be kept at user's favorites data in the client indexes database, and with network address as index.At user's inputted search keyword or when from recommend searching key word, choosing a keyword in the search input frame, by the keyword of user's input and the keyword in the database are mated, search out the network address that is complementary with searching key word, the network address of coming out at search sorts according to domain name, the network address that domain name is the identical displaying of putting together makes things convenient for the user to search.
Technical scheme of the present invention is brought following beneficial effect:
1) by showing the mode of the website information that the user collects step by step, the interface is more clear on the one hand, come into plain view, the user can see the pre-review information of the network address of collecting easily on the other hand, before opening webpage, can in the preview hurdle, carry out preview earlier, make things convenient for the user to search the target network address.
2) by the field of search is set, the user can search the target network address by the mode of search, makes things convenient for the user to search.In the field of search, show several key words commonly used in addition, when the user clicks commonly used key word, can in the network address denominational, list the network address name list of this key word commonly used of coupling, all need to import corresponding key word at every turn when avoiding searching for.
3) when user search, sort as sort by according to domain name by the list of websites that matching process is searched for out, network address identical in the Search Results is arranged in displaying together, and the user easily distinguishes according to the icon of collection website, makes things convenient for the result that the user finds to be needed.
In the embodiment of the invention, module (perhaps unit) can realize with software, in order to carried out by various types of processors.For instance, the executable code module of a sign can comprise one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However, the executable code of institute's identification module need not to be physically located in together, but can comprise and be stored in different different instructions physically, when combining on these command logics, and its composition module and realize the regulation purpose of this module.
In fact, executable code module can be individual instructions or many instructions, and even can be distributed on a plurality of different code segments, be distributed in the middle of the distinct program, and cross over a plurality of memory devices and distribute.Similarly, service data can be identified in module, and can realize and be organized in the data structure of any suitable type according to any suitable form.Described service data can be used as the individual data collection and is collected, and perhaps can be distributed on the diverse location (to be included on the different storage device), and can only be present on system or the network as electronic signal at least in part.
When module can utilize software to realize, consider the level of existing hardware technology, so can be with the module of software realization, do not considering under the condition of cost, those skilled in the art can build the corresponding hardware circuit and realize corresponding function, and described hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, such as realizations such as field programmable gate array, programmable logic array, programmable logic devices.
The above is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.