CN102955798B - A kind of searching method and search server based on search engine - Google Patents

A kind of searching method and search server based on search engine Download PDF

Info

Publication number
CN102955798B
CN102955798B CN201110246182.7A CN201110246182A CN102955798B CN 102955798 B CN102955798 B CN 102955798B CN 201110246182 A CN201110246182 A CN 201110246182A CN 102955798 B CN102955798 B CN 102955798B
Authority
CN
China
Prior art keywords
search
special
result
keyword
category
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110246182.7A
Other languages
Chinese (zh)
Other versions
CN102955798A (en
Inventor
刘致远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shiji Guangsu Information Technology Co Ltd filed Critical Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority to CN201110246182.7A priority Critical patent/CN102955798B/en
Publication of CN102955798A publication Critical patent/CN102955798A/en
Application granted granted Critical
Publication of CN102955798B publication Critical patent/CN102955798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of searching method based on search engine, including:When receiving the search key input by user of client transmission, search server determines the corresponding search category of described search keyword according to default keyword and the correspondence of search category;Described search server scans for described search keyword based on definite search category, and returns to search result to the client.The embodiment of the invention also discloses a kind of search server.Judgement can be identified to the search intention of user in the present invention, and provides corresponding search result, improve search efficiency, improve using experience degree of the user for search engine.

Description

A kind of searching method and search server based on search engine
Technical field
The present invention relates to search engine technique field, more particularly to a kind of searching method and search clothes based on search engine Business device.
Background technology
Search engine (search engine) refers to collect according to certain strategy, with specific computer program mutual Information in networking, after tissue and processing are carried out to information, and is to provide to the user by the presentation of information after processing to user The system of retrieval service.Fig. 1 is referred to, is the logical construction schematic diagram of search engine;The controller control webpage of search engine Reptile crawls webpage from internet, then stores into raw data base;Index is by the webpage information in raw data base Analyzed, therefrom extract index entry, generation index data is stored in index data base;Searcher exists according to the inquiry of user Fast searching file in index data base, carries out covariance mapping, and the web page interlinkage in the search result that will export is carried out Sequence, by the reasonable feedback search result of the query demand of user;User interface, that is, human-computer interaction interface, it can be client Browser;Keyword in the user behaviors log of User action log data-base recording user, including the searching request of record user, Subsequent access that user is carried out based on the keyword etc.;Log analyzer is to carrying out daily record point in User action log database The information such as analysis, extraction keyword is supplied to raw data base.
Special project search, is called vertical search, is different from Webpage search, primarily directed to the search in some field, such as:Music Search, picture searching, video search etc..At present, main search engine has:Baidu(***), Google(***)With search (soso), various search engines are given tacit consent to based on Webpage search, while provide other kinds of special search.Drawn with soso search Exemplified by holding up, Fig. 2 is referred to, is the schematic diagram of soso search engines;User passes through user interface(Such as:The browser of client)It is defeated Enter URL(Uniform/Universal Resource Locator, universal resource locator)Address " www.soso.com " During into soso search engines, acquiescence shows the Webpage search page.Most of user likes directly inputting in Webpage search column Search key simultaneously submits searching request, and searcher is searched and search key phase according to searching request access index database Matched web page interlinkage;Index data base returns to search result to searcher, and searcher carries out webpage priority ordering processing and formed Result of page searching simultaneously returns to user interface, and user interface shows result of page searching.
Inventor has found that in above-mentioned search plan, search engine does not judge the search intention of user, such as:User is defeated When entering " mouse likes rice " and submitting searching request, existing search plan directly returns to Webpage searching result, but user is actual Search intention be likely to be the special search such as music or video, since the information content of Webpage searching result is very big, Yong Huxu To be screened one by one in Webpage searching result to obtain oneself real search need;Or enter special searched page again into Row search, reduces search efficiency, also reduces using experience degree of the user for search engine.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of searching method based on search engine and searches Rope server, can be identified judgement to the search intention of user, and provide corresponding search result, improve search efficiency, carry Using experience degree of the high user for search engine.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of searching method based on search engine, bag Include:
When receiving the search key input by user of client transmission, search server is according to default keyword With the correspondence of search category, the corresponding search category of described search keyword is determined;
Described search server scans for described search keyword based on definite search category, and to the client End returns to search result.
Wherein, before search server receives the searching request that client is sent, further include:
Search server pre-sets the correspondence of various search keys and search category, and the correspondence is: Any search key corresponds to a kind of search category;
Described search classification includes:Webpage search and special search;
The special search includes:Video, music, picture, forum, search, any of news and microblogging or a variety of.
Wherein, described search server pre-sets the correspondence of various search keys and search category, including:
Access historical record of the search server to various search keys counts, and determines same search key The highest search category of visit capacity;
Described search server sets each search key to correspond to, and described search keyword visit capacity is highest to search Rope classification.
Wherein, described search server determines described search according to default keyword and the correspondence of search category The corresponding search category of keyword, including:
Described search server judges whether described search keyword matches with default keyword, if judging result is It is, then according to default keyword and the correspondence of search category, to determine the corresponding search category of described search keyword;
If judging result is no, described search server determines that described search keyword corresponds to Webpage search.
Wherein, if the corresponding search category of described search keyword is searched for be special, described search server is based on true Fixed search category scans for described search keyword, and returns to search result to the client, including:
Described search server inquires about the webpage chain to match with described search keyword in the database of Webpage search Connect, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page;
Described search server generates Search Hints message according to the special search determined;
Described search server returns to the Webpage searching result page and described search prompting message described in the lump Client.
Wherein, if the corresponding search category of described search keyword is searched for be special, described search server is based on true Fixed search category scans for described search keyword, and returns to search result to the client, including:
Described search server inquires about the webpage chain to match with described search keyword in the database of Webpage search Connect, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page;
The inquiry in the database of the special search of described search server matches special with described search keyword Item web page interlinkage, and the special web page interlinkage to inquiring is ranked up, and forms special result of page searching;
The special result of page searching is inserted into the Webpage searching result page by described search server, is formed Result of page searching returns to the client.
Wherein, if the corresponding search category of described search keyword is searched for be special, described search server is based on true Fixed search category scans for described search keyword, and returns to search result to the client, including:
The inquiry in the database of the special search of described search server matches special with described search keyword Item web page interlinkage, and the special web page interlinkage is ranked up, form special result of page searching and return to the client.
Correspondingly, the embodiment of the present invention additionally provides a kind of search server, including:
Category determination module, for when receiving the search key input by user of client transmission, according to default Keyword and search category correspondence, determine the corresponding search category of described search keyword;
Search module, for being searched based on the search category that the category determination module determines to described search keyword Rope, and return to search result to the client.
Wherein, described search server further includes:
Presetting module, for pre-setting the correspondence of various search keys and search category, the correspondence For:Any search key corresponds to a kind of search category;
Described search classification includes:Webpage search and special search;
The special search includes:Video, music, picture, forum, search, any of news and microblogging or a variety of.
Wherein, the presetting module includes:
Statistic unit, counts for the access historical record to various search keys, determines that same search is closed The highest search category of keyword visit capacity;
Setting unit, for setting each search key to correspond to the described search that the statistic unit counts The highest search category of keyword visit capacity.
Wherein, the category determination module includes:
Judging unit, for when receiving the search key input by user of client transmission, judging described search Whether keyword matches with default keyword;
Determination unit, for when the judging unit judging result for be when, according to default keyword and search category Correspondence, determine the corresponding search category of described search keyword;Alternatively, when the judging unit judging result is no When, determine that described search keyword corresponds to Webpage search.
Wherein, if the corresponding search category of described search keyword is searched for be special, described search module includes:
Webpage search unit, for the webpage that inquiry matches with described search keyword in the database of Webpage search Link, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page;
Message generation unit, for according to the special search determined, generating Search Hints message;
As a result returning unit, gives birth to for the Webpage searching result page for obtaining the Webpage search unit and the message Search Hints message into unit generation returns to the client in the lump.
Wherein, if the corresponding search category of described search keyword is searched for be special, described search module includes:
Webpage search unit, for the webpage that inquiry matches with described search keyword in the database of Webpage search Link, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page;
Special search unit, for inquiring about what is matched with described search keyword in the database of the special search Special web page interlinkage, and the special web page interlinkage to inquiring is ranked up, and forms special result of page searching;
As a result returning unit, the special result of page searching for the special search unit to be obtained are inserted into the net In the Webpage searching result page that page search unit obtains, form result of page searching and return to the client.
Wherein, if the corresponding search category of described search keyword is searched for be special, described search module includes:
Special search unit, for inquiring about what is matched with described search keyword in the database of the special search Special web page interlinkage, and the special web page interlinkage is ranked up, form special result of page searching;
As a result returning unit, the special result of page searching for the special search unit to be formed return to the visitor Family end.
Implement the embodiment of the present invention, have the advantages that:
The embodiment of the present invention closes search input by user the correspondence based on default keyword and search category Keyword scans for the identification of classification, to determine the search intention of user;Scan for and return according to definite search category Search result, search intention of the search result based on definite user are searched for obtain, and can more meet the actual demand of user, together When improve search efficiency, improve using experience degree of the user for search engine.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other attached drawings according to these attached drawings.
Fig. 1 is the logical construction schematic diagram of search engine;
Fig. 2 is the schematic diagram of soso search engines;
Fig. 3 is the structure diagram of the first embodiment of the search server of the present invention;
Fig. 4 is the structure diagram of the second embodiment of the search server of the present invention;
Fig. 5 is the structure diagram of the embodiment of the presetting module of the search server of the present invention;
Fig. 6 is the structure diagram of the embodiment of the category determination module of the search server of the present invention;
Fig. 7 is the structure diagram of the first embodiment of the search module of the search server of the present invention;
Fig. 8 is the first display renderings of the search result based on search engine of the present invention;
Fig. 9 is the structure diagram of the second embodiment of the search module of the search server of the present invention;
Figure 10 is the second display renderings of the search result based on search engine of the present invention;
Figure 11 is the structure diagram of the 3rd embodiment of the search module of the search server of the present invention;
Figure 12 is the 3rd display renderings of the search result based on search engine of the present invention;
Figure 13 is the flow chart of the first embodiment of the searching method based on search engine of the present invention;
Figure 14 is the flow chart of the second embodiment of the searching method based on search engine of the present invention;
Figure 15 is the particular flow sheet of the embodiment of the step S201 shown in Figure 14;
Figure 16 is the particular flow sheet of the embodiment of the step S202 shown in Figure 14;
Figure 17 is the particular flow sheet of the first embodiment of the step S203 shown in Figure 14;
Figure 18 is the particular flow sheet of the second embodiment of the step S203 shown in Figure 14;
Figure 19 is the particular flow sheet of the 3rd embodiment of the step S203 shown in Figure 14.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment, belongs to the scope of protection of the invention.
Fig. 3 is referred to, for the structure diagram of the first embodiment of the search server of the present invention;Described search server Including:
Category determination module 101, for when receive client transmission search key input by user when, according to pre- If keyword and search category correspondence, determine the corresponding search category of described search keyword.
Wherein, the correspondence of the default keyword and search category is:Any keyword is searched corresponding to one kind Rope classification.Described search classification includes:Webpage search and special search.The special search includes but not limited to:Video, sound Pleasure, picture, forum, search, any of news and microblogging or a variety of.
Search module 102, for based on the category determination module 101 determine search category to described search keyword Scan for, and search result is returned to the client.
The embodiment of the present invention closes search input by user the correspondence based on default keyword and search category Keyword scans for the identification of classification, to determine the search intention of user;Scan for and return according to definite search category Search result, search intention of the search result based on definite user are searched for obtain, and can more meet the actual demand of user, together When improve search efficiency, improve using experience degree of the user for search engine.
Fig. 4 is referred to, for the structure diagram of the second embodiment of the search server of the present invention;With upper embodiment phase Together, described search server includes:Category determination module 101 and search module 102.In the present embodiment, described search server Further include:
Presetting module 103, for pre-setting the correspondence of various search keys and search category.
In the specific implementation, the presetting module 103 is recorded according to the historical search of user to carry out default process.Please one And referring to Fig. 5, for the structure diagram of the embodiment of the presetting module of the search server of the present invention;The presetting module 103 Including:
Statistic unit 31, counts for the access historical record to various search keys, determines same search The highest search category of keyword visit capacity.
It has been observed that the various actions of user are have recorded in the User action log database of search engine, such as going through for user History search record, the statistic unit 31 analyze the daily record in User action log database, calculate same search Keyword(I.e. same searching request)The highest search category of visit capacity.Specifically, the statistic unit 31 can be based on algorithm pair The User action log database carries out statistics calculating, and the algorithm is as follows:
For(Each search key)
{
Define the classification counter array TypeCounter [] of this search key
For(The first time search serch [j] of this search key)
{
Classify to serch [j], obtain search category id=a
//a for search category set webpage, video, music, picture, forum, search, news, microblogging
TypeCounter [a]=TypeCounter [a]+1 // to this search category adds one
}
Return the result:The search category of this search key=classification counter array TypeCounter [] is most Search category
}
The statistic unit 31, which is based on above-mentioned algorithm, can count every kind of highest search category of search key visit capacity, Such as a total of 100 historical searches record of the search key of " mouse likes rice ", the statistic unit 31 counts wherein 90 Bar(90%)What is accessed is music, wherein 5(5%)What is accessed is video, wherein 5(5%)What is accessed is forum, then the system Count unit 31 and determine that the highest search category of search key visit capacity of " mouse likes rice " is music class.
Setting unit 32, for set each search key correspond to the statistic unit 31 statistics obtain described in The highest search category of search key visit capacity.
According to above-mentioned example, the search key of " mouse likes rice " is arranged to mutual by the setting unit 32 with music class It is corresponding, in the specific implementation, the setting unit 32 can by will " mouse likes rice " search key mark music identification come The correspondence of the two is set, and the setting unit 32 can also set correspondence by other means, can class in the case of other Like analysis, this will not be repeated here.
Visited since historical search of the statistic unit 31 in User action log database records come counting user The highest search category of the amount of asking, therefore, the setting unit 32 are searched according to the search key that the statistical result is set is corresponding Rope classification can reflect the search intention of most of user, provide service so as to the searching request well for user, carry Usage experience of the high user to search engine.
The embodiment of the present invention can be recorded based on historical search and judgement is identified to the search intention of user, and provide phase The search result answered, improves search efficiency, improves using experience degree of the user for search engine.
In order to illustrate more clearly of the present invention, will be situated between in detail to each module in the search server of the present invention below Continue.
Fig. 6 is referred to, for the structure diagram of the embodiment of the category determination module of the search server of the present invention;It is described Category determination module 101 includes:
Judging unit 11, for when receiving the search key input by user of client transmission, being searched described in judgement Whether rope keyword matches with default keyword.
In the specific implementation, the judging unit 11 receive client transmission search key input by user when, Judge whether the search key is the keyword recorded in User action log database.
Determination unit 12, for when 11 judging result of judging unit is to be, according to default keyword and searching for The correspondence of classification, determines the corresponding search category of described search keyword;Alternatively, work as 11 judging result of judging unit For it is no when, determine that described search keyword corresponds to Webpage search.
If 11 judging result of judging unit is yes, show search key input by user in User action log There is record in database, the determination unit 12 needs, according to default correspondence, to determine corresponding to the search key Search category;If 11 judging result of judging unit is no, show search key input by user not in user behavior day Recorded in will database, the definite foundation of no search category, the determination unit 12 determines described search keyword to search Index holds up the Webpage search of acquiescence, in order to follow-up Webpage search process.
Fig. 7 is referred to, for the structure diagram of the first embodiment of the search module of the search server of the present invention;Setting The category determination module 101 determines that the corresponding search category of described search keyword is searched for be special, then described search module 102 include:
Webpage search unit 21, for the net that inquiry matches with described search keyword in the database of Webpage search Page link, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page.It is in the specific implementation, described 21 specific search procedure of Webpage search unit is identical with existing Webpage search process, and this will not be repeated here.
Message generation unit 22, for according to the special search determined, generating Search Hints message.
According to above-mentioned example, search key input by user is " mouse likes rice ", and the category determination module 101 determines The corresponding search category of described search keyword is music class;The message generation unit 22 then can by definite search category into Row encapsulation, generates Search Hints message, such as:" search of the music searching page please be arrive!", user is prompted into music class searched page Scan for.
As a result returning unit 23, for the Webpage searching result page that obtains the Webpage search unit 21 and described disappear The Search Hints message that breath generation unit 22 generates returns to the client in the lump.
Specifically please also refer to Fig. 8, for the first display renderings of the search result based on search engine of the present invention;Institute State the Webpage searching result page and the message generation unit that result returning unit 23 obtains the Webpage search unit 21 After the Search Hints message of 22 generations returns to the client in the lump, the client shows the Webpage search knot to user The fruit page and described search prompting message.
Fig. 9 is referred to, for the structure diagram of the second embodiment of the search module of the search server of the present invention;Setting The category determination module 101 determines that the corresponding search category of described search keyword is searched for be special, then described search module 102 include:
Webpage search unit 24, for the net that inquiry matches with described search keyword in the database of Webpage search Page link, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page.It is described in the present embodiment The Webpage search unit 21 of Webpage search unit 24 and embodiment illustrated in fig. 7 is same unit, its specific search procedure with it is existing Webpage search process is identical, and this will not be repeated here.
Special search unit 25, matches for being inquired about in the database of the special search with described search keyword Special web page interlinkage, and the special web page interlinkage to inquiring is ranked up, and forms special result of page searching.
According to above-mentioned example, search key input by user is " mouse likes rice ", and the category determination module 101 determines The corresponding search category of described search keyword is music class;The special project search unit 25 then can be directly to the music searching page Request is submitted, and carries out music searching and obtains music searching results page.The specific search procedure of the special project search unit 25 Identical with existing music searching process, this will not be repeated here.
As a result returning unit 26, the special result of page searching for the special search unit 25 to be obtained are inserted into institute State in the Webpage searching result page that Webpage search unit 24 obtains, form result of page searching and return to the client.
Special result of page searching is inserted into the Webpage searching result page by the result returning unit 26, by two pages Face, which merges, becomes a page(Result of page searching)The client is returned to, client shows to merge to the user and formed Described search results page, which is presented special search result and Webpage searching result., please according to above-mentioned example In the lump referring to Figure 10, for the second display renderings of the search result based on search engine of the present invention;In Figure 10, music searching Results page is inserted into the front position of the Webpage searching result page, it is to be understood that such a inserted mode is only preferred Mode, music searching results page can be inserted into any position of the Webpage searching result page, can be similar point in the case of other Analysis, this will not be repeated here.
Figure 11 is referred to, for the structure diagram of the 3rd embodiment of the search module of the search server of the present invention;If The fixed category determination module 101 determines that the corresponding search category of described search keyword is searched for be special, then described search mould Block 102 includes:
Special search unit 27, matches for being inquired about in the database of the special search with described search keyword Special web page interlinkage, and the special web page interlinkage is ranked up, forms special result of page searching.In the present embodiment, The special project search unit 27 and the special search unit 25 of embodiment illustrated in fig. 9 are same unit, its specific search procedure exists This is not repeated.
As a result returning unit 28, the special result of page searching for the special search unit 27 to be formed return to institute State client.
According to above-mentioned example, please also refer to Figure 12, for the 3rd display of the search result based on search engine of the present invention Design sketch;After the result returning unit 28 returns to the special result of page searching to the client, the client to User shows the page as shown in figure 12.
It should be noted that Fig. 7-Figure 12 shows that the category determination module 101 determines that described search keyword corresponds to Search category for special search when, the different example structures of described search module 102;When the category determination module 101 When to determine the corresponding search category of described search keyword be Webpage search, described search module 102 directly carries out Webpage search, The process is identical with existing Webpage search process, and this will not be repeated here.
The embodiment of the present invention closes search input by user the correspondence based on default keyword and search category Keyword scans for the identification of classification, to determine the search intention of user;Scan for and return according to definite search category Search result, search intention of the search result based on definite user are searched for obtain, and can more meet the actual demand of user, together When improve search efficiency, improve using experience degree of the user for search engine.
In order to illustrate more clearly of the present invention, below by performed by the search server of the present invention based on search engine Searching method describe in detail.
Figure 13 is referred to, for the flow chart of the first embodiment of the searching method based on search engine of the present invention;It is described Method includes:
S101, when receiving the search key input by user of client transmission, search server is according to default The correspondence of keyword and search category, determines the corresponding search category of described search keyword.
Wherein, the correspondence of the default keyword and search category is:Any keyword is searched corresponding to one kind Rope classification.Described search classification includes:Webpage search and special search.The special search includes but not limited to:Video, sound Pleasure, picture, forum, search, any of news and microblogging or a variety of.
S102, described search server scan for described search keyword based on definite search category, and to institute State client and return to search result.
The embodiment of the present invention closes search input by user the correspondence based on default keyword and search category Keyword scans for the identification of classification, to determine the search intention of user;Scan for and return according to definite search category Search result, search intention of the search result based on definite user are searched for obtain, and can more meet the actual demand of user, together When improve search efficiency, improve using experience degree of the user for search engine.
Figure 14 is referred to, for the flow chart of the second embodiment of the searching method based on search engine of the present invention;It is described Method includes:
S201, search server pre-set the correspondence of various search keys and search category.
In the specific implementation, step S201 is recorded according to the historical search of user to carry out default process.Please also refer to Figure 15, for the particular flow sheet of the embodiment of the step S201 shown in Figure 14;Step S201 includes:
S11, access historical record of the search server to various search keys count, and determine that same search is closed The highest search category of keyword visit capacity.
It has been observed that the various actions of user are have recorded in the User action log database of search engine, such as going through for user History search records, and in step S11, described search server analyzes the daily record in User action log database, calculates Same search key(I.e. same searching request)The highest search category of visit capacity.Specifically, described search server is held Statistics calculating can be carried out to the User action log database based on algorithm during row step S11, the algorithm is as follows:
For(Each search key)
{
Define the classification counter array TypeCounter [] of this search key
For(The first time search serch [j] of this search key)
{
Classify to serch [j], obtain search category id=a
//a for search category set webpage, video, music, picture, forum, search, news, microblogging
TypeCounter [a]=TypeCounter [a]+1 // to this search category adds one
}
Return the result:The search category of this search key=classification counter array TypeCounter [] is most Search category
}
Described search server, which is based on above-mentioned algorithm, can count every kind of highest search category of search key visit capacity, A total of 100 historical searches of search key such as " mouse likes rice " record, and wherein 90 are counted in step S11 (90%)What is accessed is music, wherein 5(5%)What is accessed is video, wherein 5(5%)What is accessed is forum, then in step S11 Described search server determines that the highest search category of search key visit capacity of " mouse likes rice " is music class.
S12, described search server set each search key to correspond to described search keyword visit capacity highest Search category.
According to above-mentioned example, in step S12, described search server will " mouse likes rice " search key and music class It is arranged to correspond, in the specific implementation, search server described in step S12 can be by the way that the search of " mouse likes rice " be closed Keyword marks music identification to set the correspondence of the two, and described search server can also set corresponding pass by other means System, other situations can similar analysis, this will not be repeated here.
Since historical searches of the step S11 in User action log database is recorded come statistic of user accessing amount highest Search category, therefore, step S12 can reflect greatly according to the corresponding search category of search key that the statistical result is set The search intention of certain customers, provides service so as to the searching request well for user, improves user to search engine Usage experience.
S202, when receiving the search key input by user of client transmission, search server is according to default The correspondence of keyword and search category, determines the corresponding search category of described search keyword.
In the present embodiment, step S202 is identical with the step S101 of a upper embodiment.Specifically please also refer to Figure 16, for figure The particular flow sheet of the embodiment of step S202 shown in 14;Step S202 includes:
S21, described search server judge whether described search keyword matches with default keyword, if judging knot Fruit is yes, is transferred to S22;Otherwise, it is transferred to S23.
In the specific implementation, search server described in step S21 mainly judges whether the search key is user behavior The keyword recorded in log database.
S22, described search server determine that described search is closed according to default keyword and the correspondence of search category The corresponding search category of keyword;Afterwards, it is transferred to step S203.
If step S21 judging results are yes, show search key input by user in User action log database In have a record, step S22 is needed according to default correspondence, determines the search category corresponding to the search key.
S23, described search server determine that described search keyword corresponds to Webpage search;Afterwards, it is transferred to step S203.
If the S21 judging results are no, show search key input by user not in User action log database In recorded, the definite foundation of no search category, step S23 then determines the net that described search keyword is search engine acquiescence Page search, in order to follow-up Webpage search process.
S203, described search server scan for described search keyword based on definite search category, and to institute State client and return to search result.
In the present embodiment, step S203 is identical with the step S102 of a upper embodiment, specifically, please also refer to Figure 17, For the particular flow sheet of the first embodiment of the step S203 shown in Figure 14;Step S203 includes:
S31, described search server inquire about the net to match with described search keyword in the database of Webpage search Page link, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page.In the specific implementation, step The specific search procedure of search server described in S31 is identical with existing Webpage search process, and this will not be repeated here.
S32, described search server generate Search Hints message according to the special search determined.
According to above-mentioned example, search key input by user is " mouse likes rice ", and step S202 determines that described search is closed The corresponding search category of keyword is music class;Definite search category can be packaged by step S32, and generation Search Hints disappear Breath, such as:" search of the music searching page please be arrive!", prompt user to be scanned for into music class searched page.
S33, described search server return to the Webpage searching result page and described search prompting message in the lump The client.Specifically perform step S33 please also refer to Fig. 8, described search server and search the webpage obtained in step S31 After rope results page and the Search Hints message of step S32 generations return to the client in the lump, the client is to user Show the Webpage searching result page and described search prompting message.
Another embodiment of step S203 refers to Figure 18, be Figure 14 shown in step S203 second embodiment it is specific Flow chart;Step S203 includes:
S34, described search server inquire about the net to match with described search keyword in the database of Webpage search Page link, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page.Shown in this step and Figure 17 The step S31 of embodiment is identical, and this will not be repeated here.
S35, the inquiry in the database of the special search of described search server match with described search keyword Special web page interlinkage, and the special web page interlinkage to inquiring is ranked up, and forms special result of page searching.
According to above-mentioned example, search key input by user is " mouse like rice ", definite described search keyword pair The search category answered is music class;Step S35 then can directly be submitted to the music searching page and asked, and carried out music searching and obtained Music searching results page.The specific search procedure of step S35 is identical with existing music searching process, and this will not be repeated here.
The special result of page searching is inserted into the Webpage searching result page by S36, described search server, Form result of page searching and return to the client.
Special result of page searching is inserted into the Webpage searching result page by step S36, and two pages, which are merged, to be become One page(Result of page searching)The client is returned to, client shows the described search for merging and being formed to the user Special search result and Webpage searching result is presented in results page, the page separated regions.According to above-mentioned example, please also refer to figure 10, music searching results page is inserted into the front position of the Webpage searching result page, it is to be understood that such a insertion side Formula is only preferred embodiment, and music searching results page can be inserted into any position of the Webpage searching result page, other situations Under can similar analysis, this will not be repeated here.
Another embodiment of step S203 refers to Figure 19, be Figure 14 shown in step S203 3rd embodiment it is specific Flow chart;Step S203 includes:
S37, the inquiry in the database of the special search of described search server match with described search keyword Special web page interlinkage, and the special web page interlinkage is ranked up, forms special result of page searching.This step and Figure 18 The step S35 of illustrated embodiment is identical, and this will not be repeated here.
The special result of page searching is returned to the client by S38, described search server.
According to above-mentioned example, please also refer to Figure 12, step S38 returns to the special result of page searching to the client Afterwards, the client shows the page as shown in figure 12 to user.
The embodiment of the present invention closes search input by user the correspondence based on default keyword and search category Keyword scans for the identification of classification, to determine the search intention of user;Scan for and return according to definite search category Search result, search intention of the search result based on definite user are searched for obtain, and can more meet the actual demand of user, together When improve search efficiency, improve using experience degree of the user for search engine.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly Enclose, one of ordinary skill in the art will appreciate that realize all or part of flow of above-described embodiment, and will according to right of the present invention Made equivalent variations are sought, still falls within and invents covered scope.

Claims (14)

  1. A kind of 1. searching method based on search engine, it is characterised in that including:
    When receiving the search key input by user of client transmission, search server is according to default keyword with searching The other correspondence of rope class, determines the corresponding search category of described search keyword;
    Described search server scans for described search keyword based on definite search category, and is returned to the client Return search result;
    Wherein, if the corresponding search category of described search keyword is searched for be special, described search server is based on definite Search category scans for described search keyword, and returns to search result to the client, including:
    Described search server inquires about the web page interlinkage to match with described search keyword, shape in the database of Webpage search Into webpage result of page searching;
    The described search server special net that inquiry matches with described search keyword in the database of the special search Page link, forms special result of page searching, definite search category is packaged, generate Search Hints message;
    The special result of page searching is inserted into the Webpage searching result page by described search server so that described Special result of page searching and the Webpage searching result page are merged into a page of a search result, described search knot Webpage searching result and special search result is presented in the paging partition domain of fruit respectively;
    Described search results page is returned into the client.
  2. 2. the method as described in claim 1, it is characterised in that search server receive client send searching request it Before, further include:
    Search server pre-sets the correspondence of various search keys and search category, and the correspondence is:It is any Kind search key corresponds to a kind of search category;
    Described search classification includes:Webpage search and special search;
    The special search includes:Video, music, picture, forum, search, any of news and microblogging or a variety of.
  3. 3. method as claimed in claim 2, it is characterised in that described search server pre-set various search keys with The correspondence of search category, including:
    Access historical record of the search server to various search keys counts, and determines that same search key accesses Measure highest search category;
    Described search server sets each search key to correspond to the highest searching class of described search keyword visit capacity Not.
  4. 4. method as claimed in claim 2, it is characterised in that described search server is according to default keyword and searching class Other correspondence, determines the corresponding search category of described search keyword, including:
    Described search server judges whether described search keyword matches with default keyword, if the determination result is YES, Then according to default keyword and the correspondence of search category, the corresponding search category of described search keyword is determined;
    If judging result is no, described search server determines that described search keyword corresponds to Webpage search.
  5. 5. such as claim 2-4 any one of them methods, it is characterised in that if the corresponding search category of described search keyword To be searched for for special project, then described search server scans for described search keyword based on definite search category, and to institute State client and return to search result, including:
    Described search server inquires about the web page interlinkage to match with described search keyword in the database of Webpage search, and The web page interlinkage inquired is ranked up, forms the Webpage searching result page;
    Described search server generates Search Hints message according to the special search determined;
    The Webpage searching result page and described search prompting message are returned to the client by described search server in the lump End.
  6. 6. such as claim 2-4 any one of them methods, it is characterised in that data of the described search server in Webpage search After the web page interlinkage that inquiry matches with described search keyword in storehouse, formed before the Webpage searching result page, further included:
    The web page interlinkage inquired is ranked up;
    The described search server special net that inquiry matches with described search keyword in the database of the special search After page link, formed before special result of page searching, further included:
    The special web page interlinkage inquired is ranked up.
  7. 7. such as claim 2-4 any one of them methods, it is characterised in that if the corresponding search category of described search keyword To be searched for for special project, then described search server scans for described search keyword based on definite search category, and to institute State client and return to search result, including:
    The described search server special net that inquiry matches with described search keyword in the database of the special search Page link, and the special web page interlinkage is ranked up, form special result of page searching and return to the client.
  8. A kind of 8. search server, it is characterised in that including:
    Category determination module, for when receive client transmission search key input by user when, according to default pass The correspondence of keyword and search category, determines the corresponding search category of described search keyword;
    Search module, for being scanned for based on the search category that the category determination module determines to described search keyword, And return to search result to the client;
    Wherein, if the corresponding search category of described search keyword is searched for be special, described search module includes:
    Webpage search unit, for the webpage chain that inquiry matches with described search keyword in the database of Webpage search Connect, form the Webpage searching result page;
    Special search unit, for the special project that inquiry matches with described search keyword in the database of the special search Web page interlinkage, forms special result of page searching, definite search category is packaged, generate Search Hints message;
    As a result returning unit, the special result of page searching for the special search unit to be obtained are inserted into the webpage and search In the Webpage searching result page that cable elements obtain so that the special project result of page searching and the Webpage searching result page A page of a search result is merged into, Webpage searching result is presented in the paging partition domain of described search result respectively With special search result, described search results page is returned into the client.
  9. 9. search server as claimed in claim 8, it is characterised in that further include:
    Presetting module, for pre-setting the correspondence of various search keys and search category, the correspondence is:Appoint A kind of search key corresponds to a kind of search category;
    Described search classification includes:Webpage search and special search;
    The special search includes:Video, music, picture, forum, search, any of news and microblogging or a variety of.
  10. 10. search server as claimed in claim 9, it is characterised in that the presetting module includes:
    Statistic unit, counts for the access historical record to various search keys, determines same search key The highest search category of visit capacity;
    Setting unit, for setting each search key to correspond to the described search key that the statistic unit counts The highest search category of word visit capacity.
  11. 11. search server as claimed in claim 9, it is characterised in that the category determination module includes:
    Judging unit, for when receiving the search key input by user of client transmission, judging described search key Whether word matches with default keyword;
    Determination unit, for when the judging unit judging result for be when, according to default keyword and pair of search category It should be related to, determine the corresponding search category of described search keyword;Alternatively, when the judging unit judging result is no, really Determine described search keyword and correspond to Webpage search.
  12. 12. such as claim 9-11 any one of them search servers, it is characterised in that if described search keyword is corresponding Search category is searched for be special, then described search module includes:
    Webpage search unit, for the webpage chain that inquiry matches with described search keyword in the database of Webpage search Connect, and the web page interlinkage to inquiring is ranked up, and forms the Webpage searching result page;
    Message generation unit, for according to the special search determined, generating Search Hints message;
    As a result returning unit, it is single for the Webpage searching result page for obtaining the Webpage search unit and message generation The Search Hints message of member generation returns to the client in the lump.
  13. 13. such as claim 9-11 any one of them search servers, it is characterised in that if described search keyword is corresponding Search category is searched for be special, then described search module includes:
    The Webpage search unit, is additionally operable to the net that inquiry matches with described search keyword in the database of Webpage search After page link, the web page interlinkage inquired is ranked up, forms the Webpage searching result page;
    The special project search unit, is additionally operable to the inquiry in the database of the special search and matches with described search keyword Special web page interlinkage after, the special web page interlinkage inquired is ranked up, re-forms special result of page searching.
  14. 14. such as claim 9-11 any one of them search servers, it is characterised in that if described search keyword is corresponding Search category is searched for be special, then described search module includes:
    Special search unit, for the special project that inquiry matches with described search keyword in the database of the special search Web page interlinkage, and the special web page interlinkage is ranked up, form special result of page searching;
    As a result returning unit, the special result of page searching for the special search unit to be formed return to the client End.
CN201110246182.7A 2011-08-25 2011-08-25 A kind of searching method and search server based on search engine Active CN102955798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110246182.7A CN102955798B (en) 2011-08-25 2011-08-25 A kind of searching method and search server based on search engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110246182.7A CN102955798B (en) 2011-08-25 2011-08-25 A kind of searching method and search server based on search engine

Publications (2)

Publication Number Publication Date
CN102955798A CN102955798A (en) 2013-03-06
CN102955798B true CN102955798B (en) 2018-04-17

Family

ID=47764612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110246182.7A Active CN102955798B (en) 2011-08-25 2011-08-25 A kind of searching method and search server based on search engine

Country Status (1)

Country Link
CN (1) CN102955798B (en)

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077324B (en) * 2013-03-29 2020-04-28 百度在线网络技术(北京)有限公司 Map searching method and system
CN103514299B (en) * 2013-10-18 2018-04-17 北京奇虎科技有限公司 Information search method and device
CN103593423A (en) * 2013-11-04 2014-02-19 北京奇虎科技有限公司 Method and device for loading video file information in browser
CN104636366B (en) * 2013-11-11 2020-06-02 腾讯科技(深圳)有限公司 Method and device for acquiring search result queue
CN103678624A (en) * 2013-12-18 2014-03-26 百度在线网络技术(北京)有限公司 Searching method, searching server, and searching request executing method and terminal
CN104615620B (en) * 2014-06-24 2018-07-24 腾讯科技(深圳)有限公司 Map search kind identification method and device, map search method and system
CN105447048A (en) * 2014-09-02 2016-03-30 步步高教育电子有限公司 Application search method and system
CN104281705B (en) * 2014-10-23 2017-12-22 百度在线网络技术(北京)有限公司 Searching method and searcher
CN104615246A (en) * 2015-01-30 2015-05-13 北京完美和声信息技术有限公司 Information prompt device, method and system
CN105095187A (en) * 2015-08-07 2015-11-25 广州神马移动信息科技有限公司 Search intention identification method and device
CN105242965A (en) * 2015-09-25 2016-01-13 深圳中创未来科技有限公司 Cloud computing method, cloud server and terminal
WO2017117783A1 (en) * 2016-01-07 2017-07-13 马岩 Network information searching method and system
WO2017166134A1 (en) * 2016-03-30 2017-10-05 马岩 Method and system for analyzing network information
CN105740481B (en) * 2016-04-08 2019-11-08 北京百度网讯科技有限公司 Search for recommended method and device
CN105938493A (en) * 2016-04-14 2016-09-14 乐视控股(北京)有限公司 Resource search method and apparatus
CN105956067B (en) * 2016-04-27 2019-07-05 北京小米移动软件有限公司 Resource search method and device
CN107562750A (en) * 2016-06-30 2018-01-09 百度在线网络技术(北京)有限公司 A kind of method and apparatus for providing search result
CN106250369B (en) * 2016-07-28 2019-08-06 海信集团有限公司 Voice interactive method, device and terminal
CN106250530A (en) * 2016-08-06 2016-12-21 马岩 Key class searching method and system in big data
WO2018027341A1 (en) * 2016-08-06 2018-02-15 马岩 Category-based keyword searching method and system in big data
WO2018032271A1 (en) * 2016-08-15 2018-02-22 北京小米移动软件有限公司 Information searching method, device, electronic apparatus and server
CN106383875B (en) * 2016-09-09 2019-10-15 北京百度网讯科技有限公司 Man-machine interaction method and device based on artificial intelligence
CN108121731B (en) * 2016-11-29 2022-01-11 百度在线网络技术(北京)有限公司 Intention recognition method and device
CN108536716B (en) * 2017-03-06 2021-06-11 阿里巴巴(中国)有限公司 Search result processing method and device and server
CN107193964A (en) * 2017-05-24 2017-09-22 成都明途科技有限公司 News available for government websites recommends method
CN110019080B (en) * 2017-07-14 2021-11-12 北京京东尚科信息技术有限公司 Data access method and device
CN110659353A (en) * 2018-06-13 2020-01-07 钉钉控股(开曼)有限公司 Searching method and device
CN110968686A (en) * 2018-09-28 2020-04-07 百度在线网络技术(北京)有限公司 Intention recognition method, device, equipment and computer readable medium
CN109947899A (en) * 2019-02-18 2019-06-28 北京明略软件***有限公司 A kind of keyword retrieval method, system, terminal and storage medium
CN110990598B (en) * 2019-11-18 2020-11-27 北京声智科技有限公司 Resource retrieval method and device, electronic equipment and computer-readable storage medium
CN111353021B (en) * 2020-02-28 2023-08-18 百度在线网络技术(北京)有限公司 Intention recognition method and device, electronic device and medium
CN111563200A (en) * 2020-04-28 2020-08-21 广东电网有限责任公司东莞供电局 Information display method, device, equipment and medium
CN115516447A (en) * 2020-05-12 2022-12-23 深圳市欢太科技有限公司 Hot news intention identification method, device and equipment and readable storage medium
CN112069301A (en) * 2020-09-11 2020-12-11 深圳市欢太科技有限公司 Intention recognition method, device, server and storage medium
CN114254179A (en) * 2020-09-23 2022-03-29 北京达佳互联信息技术有限公司 Search request processing method and device and search platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179472A (en) * 2007-05-31 2008-05-14 腾讯科技(深圳)有限公司 Network resource searching method and searching system
CN101393567A (en) * 2008-10-13 2009-03-25 魏新成 Method for displaying intelligent search result web page in intelligent search windows
CN101627381A (en) * 2006-12-07 2010-01-13 谷歌公司 Interleaving search results

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627548B2 (en) * 2005-11-22 2009-12-01 Google Inc. Inferring search category synonyms from user logs
CN101075239A (en) * 2006-08-23 2007-11-21 腾讯科技(深圳)有限公司 Composite searching method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627381A (en) * 2006-12-07 2010-01-13 谷歌公司 Interleaving search results
CN101179472A (en) * 2007-05-31 2008-05-14 腾讯科技(深圳)有限公司 Network resource searching method and searching system
CN101393567A (en) * 2008-10-13 2009-03-25 魏新成 Method for displaying intelligent search result web page in intelligent search windows

Also Published As

Publication number Publication date
CN102955798A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
CN102955798B (en) A kind of searching method and search server based on search engine
CN103886090B (en) Content recommendation method and device based on user preferences
KR101532715B1 (en) Search engine that applies feedback from users to improve search results
CA2490594C (en) Building and using subwebs for focused search
US8874588B2 (en) Method and apparatus of generating update parameters and displaying correlated keywords
CN101641694B (en) Federated search implemented across multiple search engines
CN103339623B (en) It is related to the method and apparatus of Internet search
WO2022142519A1 (en) Information recommendation method and apparatus, and electronic device and storage medium
US7617208B2 (en) User query data mining and related techniques
CN101320373B (en) Safety search engine system of website database
US20090006388A1 (en) Search result ranking
US20070214133A1 (en) Methods for filtering data and filling in missing data using nonlinear inference
US20060155751A1 (en) System and method for document analysis, processing and information extraction
CN104216881A (en) Method and device for recommending individual labels
WO2012030729A1 (en) Systems and methods for providing a hierarchy of cache layers of different types for intext advertising
WO2007056031A1 (en) Using popularity data for ranking
CN109408696A (en) It is a kind of for search for boarding program method and apparatus
CN101542482A (en) Bookmarks and ranking
CN103338260A (en) Distributed analytical system and analytical method for URL logs in network auditing
KR102298675B1 (en) System for automatically creating report about blog marketing
CN106776983A (en) Search engine optimization apparatus and method
CN102541946B (en) Method and equipment for determining recommendation degree of hyperlink based on recommendation attribute of hyperlink
CN103678312B (en) A kind of method and client for recommending network address
JP2008234231A (en) Retrieval keyword management system for navigation through site
CN102957721B (en) Device and method for classifying users based on identification information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHIJI LIGHT SPEED INFORMATION TECHNOLOGY

Free format text: FORMER OWNER: TENGXUN SCI-TECH (SHENZHEN) CO., LTD.

Effective date: 20131030

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20131030

Address after: A Tencent Building in Shenzhen Nanshan District City, Guangdong streets in Guangdong province science and technology 518057 16

Applicant after: Shenzhen Shiji Guangsu Information Technology Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518057 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant