CN101777989B - Search method and server - Google Patents
Search method and server Download PDFInfo
- Publication number
- CN101777989B CN101777989B CN200910104958.4A CN200910104958A CN101777989B CN 101777989 B CN101777989 B CN 101777989B CN 200910104958 A CN200910104958 A CN 200910104958A CN 101777989 B CN101777989 B CN 101777989B
- Authority
- CN
- China
- Prior art keywords
- user
- search
- content source
- level
- content
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9035—Filtering based on additional data, e.g. user or group profiles
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种搜索方法,包括:接收用户的搜索请求;根据用户级别或所述搜索请求的附加信息,选择内容源;向所述选择的内容源发送所述搜索请求,并接收搜索结果;向所述用户发送搜索结果。本发明还公开了一种搜索服务器,包括:搜索请求接收单元,用于接收用户的搜索请求;内容源选择单元,用于根据用户级别或所述搜索请求的附加信息,选择内容源;搜索结果接收单元,用于向所述选择的内容源发送所述搜索请求,并接收搜索结果;发送单元,用于向所述用户发送搜索结果。利用本发明的方法和搜索服务器,可以提高用户的搜索体验。
The present invention provides a search method, comprising: receiving a user's search request; selecting a content source according to the user level or additional information of the search request; sending the search request to the selected content source, and receiving the search result ; Send search results to the user. The present invention also discloses a search server, including: a search request receiving unit, used to receive a user's search request; a content source selection unit, used to select a content source according to the user level or the additional information of the search request; the search result The receiving unit is configured to send the search request to the selected content source and receive the search result; the sending unit is configured to send the search result to the user. By using the method and the search server of the present invention, the user's search experience can be improved.
Description
技术领域 technical field
本发明涉及通信技术领域,特别涉及一种搜索的方法和服务器。The invention relates to the field of communication technology, in particular to a search method and server.
背景技术 Background technique
随着互联网的发展,各种信息的数量迅速增加,各种搜索引擎技术也得到了快速发展,例如移动搜索技术。移动搜索技术是移动通信技术和搜索引擎技术相融合的产物。作为两大热门领域的结合体,移动搜索业务正处于高速成长期。当前,移动搜索业务已经成为移动增值业务新的亮点与增长点。With the development of the Internet, the amount of various information has increased rapidly, and various search engine technologies have also been rapidly developed, such as mobile search technology. Mobile search technology is the product of the integration of mobile communication technology and search engine technology. As a combination of two hot fields, the mobile search business is in a period of rapid growth. Currently, the mobile search service has become a new highlight and growth point of the mobile value-added service.
在移动搜索领域,运营商开始更多的与搜索引擎和内容提供商进行合作,为用户提供服务。运营商与引擎合作的过程中,有些资源是运营商固有的,如彩铃,WAP站点;有些内容是已经被整理好的数据,比如国知局专利信息,图书馆的图书信息;有些内容是引擎从网络上用爬虫爬过来的。In the field of mobile search, operators began to cooperate more with search engines and content providers to provide services for users. In the process of cooperation between the operator and the engine, some resources are inherent to the operator, such as ring tones and WAP sites; Crawled from the Internet with a crawler.
发明内容 Contents of the invention
本发明实施例提出的一种搜索方法和装置,实现了用户搜索服务的要求,提高了用户搜索的用户体验。The search method and device proposed by the embodiments of the present invention fulfill the requirements of user search services and improve the user experience of user search.
本发明实施例的一种搜索的方法,包括:接收用户的搜索请求;根据用户级别或所述搜索请求的附加信息,选择内容源;向所述选择的内容源发送所述搜索请求,并接收搜索结果;向所述用户发送搜索结果。A search method according to an embodiment of the present invention includes: receiving a user's search request; selecting a content source according to the user level or additional information of the search request; sending the search request to the selected content source, and receiving Search results; send search results to the user.
本发明实施例的另一种搜索的方法,包括:接收用户的搜索请求;向内容源发送所述搜索请求,并接收返回的搜索结果;获取所述内容源的级别,根据所述内容源的级别对所述搜索结果进行排序;向所述用户发送排序后的搜索结果。Another search method according to an embodiment of the present invention includes: receiving a user's search request; sending the search request to a content source, and receiving the returned search result; obtaining the level of the content source, according to the content source's ranking the search results; sending the sorted search results to the user.
本发明实施例的另一种搜索的方法,包括:接收用户的搜索请求;确定所述搜索请求可用的内容源,在可用的内容源中选择内容源;向所述选择的内容源发送所述搜索请求,并接收搜索结果;向所述用户发送搜索结果。Another search method according to an embodiment of the present invention includes: receiving a search request from a user; determining an available content source for the search request, and selecting a content source from the available content sources; sending the selected content source to the selected content source. Searching requests, and receiving search results; sending search results to the user.
本发明实施例的一种搜索服务器,包括:搜索请求接收单元,用于接收用户的搜索请求;内容源选择单元,用于根据用户级别或所述搜索请求的附加信息,选择内容源;搜索结果接收单元,用于向所述选择的内容源发送所述搜索请求,并接收搜索结果;发送单元,用于向所述用户发送搜索结果。A search server according to an embodiment of the present invention includes: a search request receiving unit, configured to receive a user's search request; a content source selection unit, configured to select a content source according to the user level or additional information of the search request; the search result The receiving unit is configured to send the search request to the selected content source and receive the search result; the sending unit is configured to send the search result to the user.
本发明实施例的另一种搜索服务器,包括:搜索请求接收单元,用于接收用户的搜索请求;搜索结果接收单元,用于向内容源发送所述搜索请求,并接收返回的搜索结果;排序单元,用于获取所述内容源的级别,根据所述内容源的级别对所述搜索结果进行排序;发送单元,用于向所述用户发送排序后的搜索结果。Another search server according to an embodiment of the present invention includes: a search request receiving unit, configured to receive a user's search request; a search result receiving unit, configured to send the search request to a content source and receive returned search results; sorting A unit, configured to acquire the level of the content source, and sort the search results according to the level of the content source; a sending unit, configured to send the sorted search results to the user.
本发明实施例的另一种搜索服务器,包括:搜索请求接收单元,用于接收用户的搜索请求;内容源确定单元,用于确定所述搜索请求可用的内容源;内容源选择单元,用于在可用的内容源中选择内容源;搜索结果接收单元,用于向所述选择的内容源发送所述搜索请求,并接收搜索结果;发送单元,用于向所述用户发送搜索结果。Another search server according to an embodiment of the present invention includes: a search request receiving unit, configured to receive a user's search request; a content source determining unit, configured to determine a content source available for the search request; a content source selecting unit, configured to Select a content source from available content sources; a search result receiving unit is configured to send the search request to the selected content source and receive a search result; a sending unit is configured to send the search result to the user.
利用本发明的方法和搜索服务器,实现了用户的搜索需求,提高了用户的搜索体验。By using the method and the search server of the present invention, the user's search requirement is realized, and the user's search experience is improved.
附图说明 Description of drawings
图1为本发明实施例中一种搜索方法实施例示意图;FIG. 1 is a schematic diagram of an embodiment of a search method in an embodiment of the present invention;
图2为本发明实施例中另一种搜索方法实施例示意图;FIG. 2 is a schematic diagram of another search method embodiment in the embodiment of the present invention;
图3为本发明实施例中另一种搜索方法实施例示意图;FIG. 3 is a schematic diagram of another search method embodiment in the embodiment of the present invention;
图4为本发明实施例中一种内容源分级实施例示意图;Fig. 4 is a schematic diagram of an embodiment of content source classification in the embodiment of the present invention;
图5为本发明实施例中一种用户分级实施例示意图;FIG. 5 is a schematic diagram of a user classification embodiment in an embodiment of the present invention;
图6为本发明实施例中另一种搜索方法实施例示意图;FIG. 6 is a schematic diagram of another search method embodiment in the embodiment of the present invention;
图7为本发明实施例中另一种搜索方法实施例示意图;FIG. 7 is a schematic diagram of another search method embodiment in the embodiment of the present invention;
图8为本发明实施例中另一种搜索方法实施例示意图;FIG. 8 is a schematic diagram of another search method embodiment in the embodiment of the present invention;
图9为本发明实施例中一种搜索服务器的结构示意图;FIG. 9 is a schematic structural diagram of a search server in an embodiment of the present invention;
图10为本发明实施例中另一种搜索服务器的结构示意图;FIG. 10 is a schematic structural diagram of another search server in an embodiment of the present invention;
图11为本发明实施例中另一种搜索服务器的结构示意图。FIG. 11 is a schematic structural diagram of another search server in an embodiment of the present invention.
具体实施方式 Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施方式,对本发明进行进一步详细说明。In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
本发明实施例提供一种搜索方法如图1所示,包括:An embodiment of the present invention provides a search method as shown in Figure 1, including:
S101:接收用户的搜索请求。S101: Receive a user's search request.
S102:根据用户级别或所述搜索请求的附加信息,选择该搜索请求可使用的内容源。S102: Select a content source available for the search request according to the user level or additional information of the search request.
具体的,搜索服务器可以根据用户级别或搜索请求的附加信息确定该搜索请求可使用的内容源,然后根据本次搜索请求的搜索条件或用户满意度反馈信息从确定的可使用的内容源中选择本次需要使用的内容源,选择出的内容源可以是一个,也可以是多个。Specifically, the search server may determine the available content sources for the search request according to the user level or additional information of the search request, and then select from the determined available content sources according to the search conditions of this search request or user satisfaction feedback information For the content source to be used this time, one or more content sources can be selected.
其中,在根据用户级别选择内容源时,具体可通过以下方式来确定用户级别:Among them, when selecting a content source according to the user level, the user level can be determined in the following ways:
对于未进行注册和分级的用户,可以根据搜索请求中的附加信息确定用户级别,或者将用户级别确定为默认级别。其中,附加信息可以是用户在发起本次搜索时选择的用户体验,如,附加信息为“二级用户体验”,则用户的级别为二级。For users who have not registered and rated, the user level can be determined according to the additional information in the search request, or the user level can be determined as the default level. Wherein, the additional information may be the user experience selected by the user when initiating this search, for example, if the additional information is "secondary user experience", then the user's level is secondary.
对于预先进行了注册和分级的用户,可以根据搜索请求中的用户标识从预先完成的用户分级中获取所述用户级别,或结合预先完成的用户分级和所述搜索请求中的附加信息确定所述用户级别。其中,用户进行注册和分级的具体过程在图5对应的实施例做了详细说明。For users who have registered and ranked in advance, the user level can be obtained from the user level completed in advance according to the user identification in the search request, or the user level can be determined in combination with the user level completed in advance and the additional information in the search request. user level. Wherein, the specific process of user registration and grading is described in detail in the embodiment corresponding to FIG. 5 .
S103:向选择的内容源发送该搜索请求,并接收搜索结果。S103: Send the search request to the selected content source, and receive the search result.
S104:向用户发送搜索结果。S104: Send the search result to the user.
本发明实施例通过根据用户级别或搜索请求的附加信息来选择内容源,在此内容源中进行搜索,并获得搜索结果,这样实现了不同的用户提出相同的搜索请求,将获得不同的搜索结果,实现了用户的个人化搜索的需求,提高了搜索用户的体验,提高搜索运营商的收益。The embodiment of the present invention selects the content source according to the user level or the additional information of the search request, searches in this content source, and obtains the search results, so that when different users submit the same search request, different search results will be obtained , realizing the user's personalized search requirement, improving the experience of the search user, and increasing the revenue of the search operator.
可选的,在本发明实施例中,还可以对内容源进行分级,在确定可使用的内容源时,可以根据该搜索条件的附加信息或用户级别,确定本次搜索请求可以使用的内容源级别,然后在这些可用的内容源级别对应的内容源中,可以根据本次搜索请求的搜索条件、用户满意度反馈信息、内容源级别中的至少一个来选择内容源。其中内容源分级具体过程在图4对应的实施例做了详细说明。通过对内容源进行分级,使得不同用户可以使用不同级别的内容源,在搜索服务中,为用户提供了差异化服务。Optionally, in this embodiment of the present invention, the content sources can also be classified. When determining the available content sources, the content sources that can be used in this search request can be determined according to the additional information of the search condition or the user level level, and then among the content sources corresponding to these available content source levels, the content source can be selected according to at least one of the search criteria of this search request, user satisfaction feedback information, and content source level. The specific process of content source classification is described in detail in the embodiment corresponding to FIG. 4 . By grading content sources, different users can use content sources of different levels, and in the search service, differentiated services are provided for users.
为了更进一步提高用户体验,在本发明实施例中,还可以对搜索结果进行排序,排序的方法有多种:可以根据搜索结果的相似度,或者内容源的级别,或者根据所述搜索结果的相似度和所述内容源的级别的结合对该搜索结果进行排序。In order to further improve the user experience, in the embodiment of the present invention, the search results can also be sorted. There are many ways to sort: according to the similarity of the search results, or the level of the content source, or according to the The combination of similarity and rating of the content source ranks the search results.
另外,在本发明实施例中,还可以通过向用户发送对内容源的满意度调查的内容,获取用户满意度反馈信息。其中,向用户发送的内容源的满意度调查的内容中携带所述搜索结果所属的内容源的标识。通过发送内容源的满意度调查的内容,使得用户可以反馈对该内容源的满意程度,以使得最受用户满意的内容源被优先选择,提高用户的体验。In addition, in the embodiment of the present invention, user satisfaction feedback information may also be obtained by sending the content of the satisfaction survey on the content source to the user. Wherein, the satisfaction survey content of the content source sent to the user carries the identifier of the content source to which the search result belongs. By sending the content of the satisfaction survey of the content source, the user can give feedback on the satisfaction degree of the content source, so that the content source most satisfied by the user is preferentially selected, and the user experience is improved.
更进一步,在本发明实施例中还可以向用户发送二次搜索的链接。通过发送二次搜索的链接,使得用户只要点击链接,就可以方便地获得高级别用户才能使用的搜索结果,提高了用户的搜索体验。Furthermore, in the embodiment of the present invention, a secondary search link may also be sent to the user. By sending the link of the secondary search, the user can conveniently obtain the search result that can only be used by high-level users as long as the user clicks on the link, which improves the user's search experience.
其中上述该用户对内容源的满意度调查的内容和二次搜索的链接也可以应用在其它实施例中。用户对内容源的满意度调查的内容和二次搜索的链接可以携带在搜索结果中发送给用户,也可以分别向用户发送上述该用户对内容源的满意度调查的内容和二次搜索的链接。The content of the user's satisfaction survey on the content source and the link of the secondary search can also be applied in other embodiments. The content of the user's satisfaction survey on the content source and the link to the secondary search can be included in the search results and sent to the user, or the content of the user's satisfaction survey on the content source and the link to the secondary search can be sent to the user separately .
本发明实施例提供一种搜索方法如图2所示,包括:An embodiment of the present invention provides a search method as shown in Figure 2, including:
S201:接收用户的搜索请求。S201: Receive a user's search request.
S202:向内容源发送搜索请求,并接收返回的搜索结果。S202: Send a search request to a content source, and receive returned search results.
S203:获取该内容源的级别,根据该内容源的级别对搜索结果进行排序。S203: Obtain the level of the content source, and sort the search results according to the level of the content source.
其中,内容源级别可以从预先进行的内容源分级中获取。内容源分级可以在内容源注册时进行,其具体过程在图4对应的实施例做了详细说明。Wherein, the level of the content source may be obtained from the pre-made content source classification. Content source classification can be performed when the content source is registered, and the specific process is described in detail in the embodiment corresponding to FIG. 4 .
对搜索结果进行排序,可以根据搜索结果的相似度,或者内容源的级别,或者根据所述搜索结果的相似度和所述内容源的级别的结合对该搜索结果进行排序。To sort the search results, the search results may be sorted according to the similarity of the search results, or the level of the content source, or according to a combination of the similarity of the search results and the level of the content source.
S204:向用户发送排序后的搜索结果。S204: Send the sorted search results to the user.
本发明实施例采用选择本次搜索请求能够使用的内容源,在此内容源中进行搜索,并获得搜索结果和对搜索结果按照某种技术进行排序,将排序后的搜索结果发送给搜索用户,这样实现用户获得的搜索结果是有一定的有序性,提高了搜索用户的体验,提高搜索运营商的收益。The embodiment of the present invention selects the content source that can be used for this search request, searches in this content source, obtains the search results and sorts the search results according to a certain technology, and sends the sorted search results to the search user, In this way, the search results obtained by the user are orderly, which improves the experience of the search user and increases the revenue of the search operator.
可选的,在本发明实施例中,还可以根据该搜索请求的搜索条件、用户满意度反馈信息、内容源级别中的至少一个来选择内容源。Optionally, in this embodiment of the present invention, the content source may also be selected according to at least one of the search condition of the search request, user satisfaction feedback information, and content source level.
本发明实施例提供一种搜索方法如图3所示,包括:An embodiment of the present invention provides a search method as shown in Figure 3, including:
S301:接收用户的搜索请求。S301: Receive a user's search request.
S302:确定该搜索请求可用的内容源,在可用的内容源中选择内容源。S302: Determine available content sources for the search request, and select a content source from the available content sources.
其中,搜索服务器可以预先对内容源进行分级,当接收到用户的搜索请求时,先确定该搜索请求可用的内容源级别,然后在可用的内容源级别对应的内容源中进行选择。其中内容源分级具体过程在图4对应的实施例做了详细说明。Wherein, the search server may classify the content sources in advance, and when receiving a user's search request, first determine the level of the content source available for the search request, and then select the content source corresponding to the level of the available content source. The specific process of content source classification is described in detail in the embodiment corresponding to FIG. 4 .
其中,在确定可用的内容源级别时,可直接根据用户信息或搜索请求中的附件信息来确定。Wherein, when determining the available content source level, it can be determined directly according to the user information or the attachment information in the search request.
S303:向选择的内容源发送该搜索请求,并接收搜索结果。S303: Send the search request to the selected content source, and receive the search result.
S304:向用户发送搜索结果。S304: Send the search result to the user.
本发明实施例采用选择本次搜索请求能够使用的内容源,在此内容源中进行搜索,并获得搜索结果,这样实现了不同的用户提出相同的搜索请求,将获得不同的搜索结果,实现了用户的个人化搜索的需求,提高了搜索用户的体验,提高搜索运营商的收益。In the embodiment of the present invention, the content source that can be used in this search request is selected, and the search is performed in this content source, and the search results are obtained. In this way, when different users submit the same search request, different search results will be obtained. The user's demand for personalized search improves the experience of search users and increases the revenue of search operators.
可选的,在本发明实施例中,还可以对用户进行分级,在确定可用的内容源级别时,可以根据用户级别与内容源级别的对应关系来确定。其中,用户级别可以在用户注册时进行划分(具体参加图5所示实施例),也可以在接收到搜索请求时,根据搜索请求中的附件信息确定,或者按默认级别进行处理。Optionally, in this embodiment of the present invention, users may also be classified. When determining available content source levels, it may be determined according to the correspondence between user levels and content source levels. Wherein, the user level can be divided when the user registers (refer to the embodiment shown in FIG. 5 for details), and can also be determined according to the attachment information in the search request when the search request is received, or processed according to the default level.
为了更进一步提高用户体验,在本发明实施例中,还可以对搜索结果进行排序,排序的方法有多种:可以根据搜索结果的相似度,或者根据内容源的级别,或者根据所述搜索结果的相似度和所述内容源的级别的结合对该搜索结果进行排序。In order to further improve the user experience, in the embodiment of the present invention, the search results can also be sorted. There are many ways to sort: it can be based on the similarity of the search results, or according to the level of the content source, or according to the search results A combination of similarity and rating of the content source ranks the search results.
本发明实施例一种对内容源进行分级的方法如图4所示,具体步骤如下:A method for grading content sources in an embodiment of the present invention is shown in Figure 4, and the specific steps are as follows:
S401:搜索服务器接收内容源注册。S401: The search server receives a content source registration.
搜索服务器接收各种各样的内容源的注册请求消息,该注册请求消息包含内容注册信息。内容注册信息可以包括基本信息、内容源类型、详细信息、搜索接口信息、搜索结果信息、内容是否经过人工整理等的一个或多个。其中搜索接口信息是必须的,其他为可选项。基本信息包括内容源的名称、所属组织、描述、联系人信息;内容源的描述是对内容源的简单描述。内容源的联系人信息可以是联系人姓名,电话号码,电子邮箱等信息;详细信息包括内容源的地域信息及内容源的搜索性能信息,其中地域信息可以为该内容源服务所能覆盖的地域;比如深圳的一个餐馆搜索内容源的地域是中国/广东/深圳。搜索接口信息可以是内容源的可供搜索服务器调用的搜索接口,包括查询URL、查询参数、支持语言、输入字符编码等。搜索结果信息可以为搜索结果的格式,如RSS/ATOM格式。内容源收费信息可以包括收费方式和价格信息,收费方式又分为预付费、点击付费或者免费;价格信息为每条内容的价格。The search server receives registration request messages of various content sources, the registration request messages containing content registration information. The content registration information may include one or more of basic information, content source type, detailed information, search interface information, search result information, and whether the content has been sorted manually. Among them, the search interface information is required, and others are optional. The basic information includes the name, organization, description, and contact information of the content source; the description of the content source is a simple description of the content source. The contact information of the content source can be contact name, phone number, e-mail and other information; the detailed information includes the region information of the content source and the search performance information of the content source, where the region information can be the area covered by the service of the content source ; For example, a restaurant in Shenzhen searches for a content source whose region is China/Guangdong/Shenzhen. The search interface information may be a search interface of the content source that can be invoked by the search server, including query URL, query parameters, supported languages, input character encoding, and the like. The search result information may be in a search result format, such as RSS/ATOM format. The content source charging information may include charging method and price information, and the charging method is divided into prepaid, pay-per-click or free; the price information is the price of each piece of content.
S402:搜索服务器对接收的内容源进行分级。S402: The search server grades the received content source.
搜索服务器接收内容源的注册信息后,根据注册信息以及人工干预或预先设定的规则对内容源设定一个级别,如可以根据是否付费对内容进行分级,或者内容源是否与搜索服务器有合作协议对内容进行分级,或者内容源是否经过人工处理对内容进行分级等等。After the search server receives the registration information of the content source, it sets a level for the content source according to the registration information and manual intervention or preset rules, such as whether the content can be graded according to whether it is paid, or whether the content source has a cooperation agreement with the search server The content is rated, or whether the content source has been manually processed to rate the content, and so on.
例如搜索服务器可以把内容源的预先设定为四个级别:一级内容源、二级内容源、三级内容源、四级内容源。如下表1:For example, the search server may preset four levels of content sources: first-level content sources, second-level content sources, third-level content sources, and fourth-level content sources. Table 1 below:
表1Table 1
对于搜索服务器向用户收费的内容源,或者是移动运营商的自由内容源,如彩铃、手机报内容源等搜索服务器完全信任的内容源,搜索服务器可以把它划为一级内容源;对于愿意把内容源的数据完全共享给搜索服务器,或者与搜索服务器签有合作协议内容源,搜索服务器可以把它划为二级内容源;对于内容经过人工整理的内容源,经搜索服务器认证后,搜索服务器可以把它设定为三级内容源;对于普通的内容源,搜索服务器把它的级别可以设定为四级内容源,搜索服务器把内容源分级结果存储在内容源信息库中。对于级别较高的内容源,在同等条件下,将得到搜索服务器的优先调度。For the content source that the search server charges the user, or the free content source of the mobile operator, such as the content source of the content source of the search server, such as color ring tone and mobile phone news, the search server can classify it as a first-level content source; If the data of the content source is completely shared with the search server, or the content source has signed a cooperation agreement with the search server, the search server can classify it as a secondary content source; The server can set it as a third-level content source; for ordinary content sources, the search server can set its level as a fourth-level content source, and the search server stores the classification results of the content source in the content source information base. For higher-level content sources, under the same conditions, they will receive priority scheduling from the search server.
下面是一个设定注册内容源级别的例子,假设内容源的注册信息如下表2:The following is an example of setting the registration content source level, assuming that the registration information of the content source is as shown in Table 2:
表2Table 2
搜索服务器接收上述注册信息后,根据表2可知:该内容源是一个位置搜索引擎,它的收费方式为免费,且内容源的内容经过人工整理。根据上述对内容源分级的说明,搜索服务器可以把它设定为三级内容源。After the search server receives the above registration information, it can be seen from Table 2 that the content source is a location search engine, its charging method is free, and the content of the content source has been manually sorted. According to the above description on content source classification, the search server can set it as a third-level content source.
本发明实施例的一种对用户进行分级的方法如图5所示,具体步骤如下:A method for classifying users in an embodiment of the present invention is shown in Figure 5, and the specific steps are as follows:
S501:搜索服务器接收用户的注册请求消息,所述注册请求消息包含用户注册信息;用户注册信息可以包括用户标识和可选信息等信息。可选信息可以为从第三方获取的用户信息,例如可以为包括用户手机号所属的移动运营商等信息,用户标识可以为用户的手机号码。S501: The search server receives a registration request message from a user, where the registration request message includes user registration information; the user registration information may include information such as a user identifier and optional information. The optional information may be user information obtained from a third party, for example, information including the mobile operator to which the user's mobile phone number belongs, and the user identifier may be the user's mobile phone number.
S502:根据用户注册信息,搜索服务器发送用户标识到第三方服务器,其中第三方可以为用户所属的移动运营商。S502: According to the user registration information, the search server sends the user identifier to a third-party server, where the third party may be a mobile operator to which the user belongs.
S503:搜索服务器接收第三方服务器返回的用户信息。S503: The search server receives the user information returned by the third-party server.
第三方服务器根据所接收的用户标识,查询获取用户信息,并返回给搜索服务器。其中用户信息可以包括每用户平均收入(Average Revenue Per User,ARPU)值、手机号类型、在网时间、对搜索服务的付费、用户积分等信息,ARPU为一个时间段内运营商从每个用户所得到的利润。手机号类型为全球通、神州行、动感地带、TD先锋卡等手机号所属的移动运营商的业务类型。对搜索服务的付费信息为用户是否对搜索服务支付费用,搜索服务器可以对用户搜索实行免费,也可以对用户搜索实行收费。移动运营商则可以替搜索服务器向用户收费,比如用户可以在移动运营商处订阅搜索服务,并支付费用;对于付费用户,可以得到搜索服务器更好的服务,比如某些信息只有付费用户才可以搜索到。用户积分可以表示用户进行搜索时的积分,也可以表示用户账户的积分等等。The third-party server queries and obtains user information according to the received user ID, and returns it to the search server. Among them, user information can include average revenue per user (Average Revenue Per User, ARPU) value, mobile phone number type, online time, payment for search services, user points, etc. the resulting profit. The mobile phone number type refers to the business type of the mobile operator to which the mobile phone number such as GSM, Shenzhouxing, M-Zone, and TD Pioneer Card belongs. The payment information for the search service is whether the user pays for the search service, and the search server may implement the user's search for free or charge for the user's search. The mobile operator can charge the user for the search server. For example, the user can subscribe to the search service at the mobile operator and pay the fee; for paying users, they can get better services from the search server. For example, only paying users can access certain information. found. The user credit may represent the credit when the user conducts a search, or the credit of the user account, and so on.
S504:搜索服务器根据用户注册信息和从第三方处获得的用户信息对用户设定一个级别。S504: The search server sets a level for the user according to the user registration information and the user information obtained from a third party.
在本发明实施例中,搜索服务器可以把用户设定为三个级别:一级用户、二级用户、三级用户,如表3所示。In the embodiment of the present invention, the search server can set users into three levels: first-level users, second-level users, and third-level users, as shown in Table 3.
表3table 3
搜索服务器根据用户注册信息和从第三方处获得的用户信息,对用户进行分级。分级的规则可以多种多样,可以根据人工干预或预先设定的规则对用户设定级别。例如若用户对搜索服务付费,则搜索服务器把此类VIP用户设定为一级用户;若用户的ARPU值达到一个预先设定的数值、或者在网时间达到一定的数值、或者用户手机号属于特定的手机号类型,比如全球通,则搜索服务器把此类高级用户划设定二级用户;对于不满足上述条件的,划归为三级用户。搜索服务器把用户分级结果存储在用户信息库中。The search server classifies users according to user registration information and user information obtained from third parties. The grading rules can be varied, and users can be assigned a level according to manual intervention or preset rules. For example, if the user pays for the search service, the search server will set this type of VIP user as a first-level user; For a specific type of mobile phone number, such as GSM, the search server will classify such advanced users as second-level users; for those who do not meet the above conditions, they will be classified as third-level users. The search server stores the user ranking results in the user information base.
对于级别越高的用户,将获得越优质的搜索服务。比如某些内容源,只有到一定级别的用户才可以使用。For users with higher levels, they will get better search services. For example, certain content sources can only be used by users who reach a certain level.
对于什么级别的用户可以使用什么级别内容源,搜索服务器可以设置多种策略。例如,对于三级用户,默认设置可以使用三级内容源和四级内容源;对于二级用户,默认设置可以使用二级、三级和四级内容源;一级用户默认设置可以使用全部级别的内容源。For what level of content source users can use, the search server can set various policies. For example, for a third-level user, the default setting can use the third-level content source and the fourth-level content source; content source.
本发明实施例一种搜索的方法如图6所示,搜索服务器根据用户级别,选择本次搜索请求可以使用的内容源,并在选择的内容源中进行搜索。具体步骤如下:A search method according to an embodiment of the present invention is shown in FIG. 6 . The search server selects a content source that can be used in this search request according to the user level, and searches in the selected content source. Specific steps are as follows:
S601:搜索服务器接收用户提交的搜索请求。S601: The search server receives a search request submitted by a user.
用户提交的搜索请求中可以携带搜索条件和附加信息。搜索条件可以为用户输入的搜索关键字或者搜索表达式。附加信息可以为附加的搜索限制条件,如“二级用户体验”、“一级用户体验”等参数。用户提交的搜索请求,会经过第三方的网络,例如经过移动运营商的网络,第三方把用户标识和搜索请求一并提交给搜索服务器。Search criteria and additional information may be carried in the search request submitted by the user. The search condition may be a search keyword or a search expression input by the user. The additional information may be additional search restriction conditions, such as parameters such as "second-level user experience" and "first-level user experience". The search request submitted by the user will pass through the network of a third party, such as the network of a mobile operator, and the third party will submit the user identification and the search request to the search server together.
S602:搜索服务器接收搜索请求后,获取用户的级别,选择搜索请求可使用的内容源;S602: After receiving the search request, the search server obtains the level of the user, and selects a content source available for the search request;
首先,搜索服务器从搜索请求中提取出用户标识和附加信息,并根据用户标识和附加信息获取出用户的级别。First, the search server extracts the user ID and additional information from the search request, and obtains the user's level according to the user ID and additional information.
若搜索请求中不含有附加信息,搜索服务器则根据用户标识选择用户的级别。若没有获取到用户标识,搜索服务器则根据附加信息获取用户的级别,例如:附加信息为“二级用户体验”,则用户的级别为二级,对于本次搜索,所述获取的级别就是用户的级别。若搜索请求中含有附加信息和用户标识时,则根据用户标识和附加信息的结合获取用户的级别。获取用户标识对应的用户级别和附加信息对应的用户级别,选择上述两个用户级别较高的级别的为用户级别。例如:附加信息为“二级用户体验”,用户标识对应的用户级别为三级,则对于此次搜索,用户的级别为二级。当附加信息为“二级用户体验”时,用户标识对应的用户级别为一级,则对于此次搜索,用户的级别为一级。If the search request does not contain additional information, the search server selects the user's level according to the user ID. If the user ID is not obtained, the search server obtains the user's level according to the additional information. For example, if the additional information is "second-level user experience", the user's level is second-level. For this search, the obtained level is the user's level. level. If the search request contains additional information and the user ID, the user's level is obtained according to the combination of the user ID and the additional information. Obtain the user level corresponding to the user ID and the user level corresponding to the additional information, and select the higher level of the above two user levels as the user level. For example, if the additional information is "level 2 user experience", and the user level corresponding to the user identifier is level 3, then for this search, the level of the user is level 2. When the additional information is "secondary user experience", the user level corresponding to the user identifier is the first level, and for this search, the user level is the first level.
其次,根据用户级别获取用户可使用的内容源的范围。Second, the range of content sources available to the user is obtained according to the user level.
如果内容源在搜索服务器中已经被分级的话,则搜索服务器根据用户的级别选择用户可使用内容源的级别范围。例如,若用户的级别为三级,则用户能够使用的内容源范围为四级和三级内容源。If the content source has been graded in the search server, the search server selects a grade range within which the user can use the content source according to the user's grade. For example, if the level of the user is level three, the range of content sources available to the user is level four and level three content sources.
若用户的级别为二级,则用户能够使用的内容源范围为四级、三级和二级内容源。If the user's level is Level 2, the range of content sources that the user can use is Level 4, Level 3 and Level 2 content sources.
若用户的级别为一级,则用户能够使用的内容源范围为全部级别的内容源。If the level of the user is level one, the range of content sources that the user can use is content sources of all levels.
例如搜索服务器从搜索请求中提取用户标识,且搜索请求中没有附加信息,根据用户标识获取用户为三级用户。则所述用户能够使用四级和三级内容源。并从中选择最好的内容源。For example, the search server extracts the user identifier from the search request, and there is no additional information in the search request, and the user is obtained as a third-level user according to the user identifier. The user is then able to use tier 4 and tier 3 content sources. and choose the best content sources out of them.
表4为内容源级别管理的一个示例表格。Table 4 is an example table for content source level management.
表4Table 4
如表4所示,该用户可以使用的内容源为内容源41、内容源42、内容源31、内容源32,其中41、42、31、32等为内容源标识信息。As shown in Table 4, the content sources available to the user are content source 41, content source 42, content source 31, and content source 32, where 41, 42, 31, 32, etc. are content source identification information.
搜索服务器根据用户级别和搜索请求的搜索条件为该用户此次搜索选择出较优的内容源,例如用户为三级用户,搜索请求的搜索条件为歌曲A,则搜索服务器为该用户此次搜索选择出三级和四级与歌曲A相关的内容源。具体选择内容源的方法有多种。搜索服务器可以选择其中一种方法来选择较优的可使用的内容源。本发明实施例列举四种方法。分别为:The search server selects a better content source for the user's search according to the user level and the search condition of the search request. Select third-level and fourth-level content sources related to song A. There are several ways to specifically select a content source. The search server can choose one of these methods to select the better available content source. The embodiment of the present invention lists four methods. They are:
方法1:利用元索引选择可使用内容源的方法;Method 1: The method of using the meta index to select available content sources;
搜索服务器集成了各种各样的内容源后,会为这些内容源建立元索引。元索引的建立方法有多种,但并没有统一的算法和方法。具体实施时,无论元索引用什么算法构建,最终都是为了计算搜索请求与内容源的区配度。所述区配度是指搜索引擎的查询结果对于给定查询(也即搜索条件)的相似度,其相似度大小可以近似反映所述给定查询和搜索引擎相关有用程度大小。一般来说,对于给定查询,区配度越高,则搜索引擎的查询结果越正确。下面是一个利用元索引来进行内容源的选择的例子。After the search server integrates various content sources, it builds a meta index for these content sources. There are many ways to establish the meta index, but there is no unified algorithm and method. In specific implementation, no matter what algorithm is used to construct the meta index, it is ultimately to calculate the degree of matching between the search request and the content source. The region matching degree refers to the similarity of the query results of the search engine to a given query (that is, the search condition), and the similarity can approximately reflect the relative usefulness of the given query and the search engine. Generally speaking, for a given query, the higher the degree of discrimination, the more correct the search engine's query results. The following is an example of using a meta index for content source selection.
表5table 5
其中,内容源一行代表内容源。术语一列代表搜索搜索条件。全局反文件频率权值gidf为内容源中的文件总数与含有搜索条件q的文件数的比值;假设di是术语keyi在内容源D的一个文件d中的相似度权值,那么keyi在文件d中的归一化权值为di/|d|;其中,|d|为术语keyi在所有文件中的相似度权值的模,|d|=sqrt(d1*d1+d2*d2+...+dn*dn);最大归一化权值和平均归一化权值分别是内容源D的所有文件中key_i的归一化权值中的最大值和平均值。对于给定的搜索条件q=(q1,q2,...,qk)为查询向量,则q在内容源中的区配度Among them, the content source row represents the content source. The Term column represents the search terms. The global inverse file frequency weight gidf is the ratio of the total number of files in the content source to the number of files containing the search condition q; assuming di is the similarity weight of the term keyi in a file d of the content source D, then keyi is in the file d The normalized weight in is di/|d|; among them, |d| is the modulus of the similarity weight of the term keyi in all files, |d|=sqrt(d1*d1+d2*d2+... +dn*dn); the maximum normalized weight and the average normalized weight are respectively the maximum value and the average value of the normalized weights of key_i in all files of the content source D. For a given search condition q = (q1, q2, ..., qk) is the query vector, then the degree of discriminating q in the content source
搜索服务器根据搜索请求中的搜索条件。假设搜索搜索条件keyword切词后为{Key1,Key2},本例中取查询向量q={1,1},意思为keyword被切词后,两个词权重一样。根据表5中的数据和公式5.1,搜索条件在内容源41、内容源42、内容源31、内容源32中的区配度分别为:The search server is based on the search criteria in the search request. Assuming that the search condition keyword is {Key1, Key2} after word segmentation, the query vector q={1, 1} is taken in this example, which means that after keyword is word segmented, the two words have the same weight. According to the data in Table 5 and formula 5.1, the search conditions in content source 41, content source 42, content source 31, and content source 32 are respectively:
R41=0.2828;R42=2.8991;R31=0.2263;R32=3.0052;显然,内容源42、内容源32的区配度远大于内容源41、内容源31的区配度,则选择内容源42和内容源32作为可使用的内容源。R41=0.2828; R42=2.8991; R31=0.2263; R32=3.0052; obviously, the district distribution degree of content source 42 and content source 32 is far greater than the district distribution degree of content source 41 and content source 31, then select content source 42 and content Source 32 serves as a source of content that may be used.
方法2:利用元索引和内容源级别来选择可使用内容源的方法Method 2: Utilize the meta index and content source level to select the method that can use the content source
对于已经被分级的内容源,为了使高级别的内容源能够优先得到调度,对于每一个级别的内容源,会在元索引的区配度基础上加一个调和系数,该调和系数的具体取值可根据经验取值,下面是一个调和系数的例子。For content sources that have been classified, in order to allow high-level content sources to be scheduled first, for each level of content source, a harmonic coefficient will be added on the basis of the division degree of the meta index. The specific value of the harmonic coefficient The value can be selected according to experience. The following is an example of the harmonic coefficient.
引用采用元索引计算内容源的区配度的结果,考虑内容源级别影响后,所述搜索搜索条件在内容源41、内容源42、内容源31、内容源32中的区配度分别为:Referring to the result of using the meta-index to calculate the district distribution degree of the content source, after considering the influence of the content source level, the district distribution degrees of the search conditions in the content source 41, content source 42, content source 31, and content source 32 are respectively:
R41=0.2828+0.2=0.4828;R42=2.899+0.2=3.099;R31=0.2263+0.3=0.5263;R32=3.0052+0.3=3.3052;R41=0.2828+0.2=0.4828; R42=2.899+0.2=3.099; R31=0.2263+0.3=0.5263; R32=3.0052+0.3=3.3052;
显然,内容源42、内容源32的区配度远大于内容源41、内容源31的区配度,则选择内容源42和内容源32为可使用的内容源。Apparently, if the distribution degree of the content source 42 and the content source 32 is much greater than that of the content source 41 and the content source 31, then the content source 42 and the content source 32 are selected as the available content sources.
方法三:本发明另一种选择可使用的内容源方法还可以利用元索引和用户满意度反馈信息两者种结合来选择,在本发明另一实施例中将介绍。Method 3: Another method for selecting available content sources in the present invention can also be selected by using a combination of meta-index and user satisfaction feedback information, which will be introduced in another embodiment of the present invention.
方法四:本发明另一种选择可使用的内容源方法还可以利用元索引、内容源级别和用户满意度反馈信息三种结合来选择,在本发明另一实施例中将介绍。Method 4: Another method of selecting an available content source in the present invention can also be selected by using a combination of meta index, content source level and user satisfaction feedback information, which will be introduced in another embodiment of the present invention.
S603:搜索服务器根据选择出的的内容源进行搜索。S603: The search server searches according to the selected content source.
搜索服务器为用户选择可使用的内容源后,发送所述搜索请求搜索条件到选择出的内容源。如果存在可使用的内容源为多个时,搜索服务器把搜索条件分别发送给每个内容源。内容源接收搜索服务器发送的搜索条件后,根据搜索条件进行搜索,并把搜索结果返回搜索服务器。例如,具体过程为:After the search server selects an available content source for the user, it sends the search request search condition to the selected content source. If there are multiple available content sources, the search server sends the search conditions to each content source respectively. After receiving the search condition sent by the search server, the content source searches according to the search condition, and returns the search result to the search server. For example, the specific process is:
内容源的搜索接口为:http://www.example.com/search?q={searchTerms};The search interface of the content source is: http://www.example.com/search? q = {searchTerms};
假设从搜索请求中提取的搜索条件为“歌曲A”,搜索服务器向内容源提交的http请求为:http://www.example.com/search?q=歌曲A;内容源将返回“歌曲A”的相关搜索结果。Suppose the search condition extracted from the search request is "song A", and the http request submitted by the search server to the content source is: http://www.example.com/search? q = song A; the content source will return relevant search results for "song A".
S604:搜索服务器接收内容源返回的搜索结果。S604: The search server receives the search result returned by the content source.
S605:搜索服务器向用户发送搜索结果。S605: The search server sends the search result to the user.
本发明的另一实施例中,用户没有向搜索服务器进行用户注册分级,内容源按照如图4对应的实施例进行注册分级。用户提交的搜索请求,会经过第三方的网络,例如:会经过移动运营商的网络;第三方把用户信息和搜索请求一并提交给搜索服务器。搜索服务器接收用户信息和搜索请求后,用户信息可以包括ARPU值、手机号类型、在网时间、对搜索服务的付费、用户积分等信息。搜索服务器根据用户信息选择可使用的内容源,具体选择内容源的方式和图6对应的实施例是一样的。搜索服务器根据选择的内容源进行搜索;搜索服务器接收返回的搜索结果并把搜索结果发送给用户。In another embodiment of the present invention, the user does not perform user registration and classification with the search server, and the content source performs registration and classification according to the embodiment corresponding to FIG. 4 . The search request submitted by the user will pass through the network of a third party, for example, it will pass through the network of a mobile operator; the third party submits the user information and the search request to the search server together. After the search server receives the user information and search request, the user information may include information such as ARPU value, mobile phone number type, online time, payment for search services, and user points. The search server selects an available content source according to the user information, and the specific method of selecting a content source is the same as that in the embodiment corresponding to FIG. 6 . The search server searches according to the selected content source; the search server receives the returned search results and sends the search results to the user.
在本发明实施例中,用户提出搜索请求后,搜索服务器根据用户的级别选择用户可以使用的内容源级别的范围,并在此级别内容源范围内选择可使用的内容源。搜索服务器向这些可使用的内容源发送搜索请求,并接收返回的搜索结果。搜索服务器对同样的搜索条件,根据用户的级别不同,可以搜索到不同的搜索结果,这就实现了用户个性化的搜索要求,保障了用户的体验。In the embodiment of the present invention, after the user makes a search request, the search server selects the range of content source levels available to the user according to the level of the user, and selects available content sources within the range of content sources of this level. The search server sends search requests to these available content sources and receives search results back. For the same search condition, the search server can search for different search results according to the user's level, which realizes the user's personalized search requirements and guarantees the user's experience.
在本发明另一实施例中,没有对内容源进行分级,但每个内容源都只能被某几个级别的用户使用,搜索服务器通过用户级别选择该用户级别可以使用的内容源的范围。例如:内容源A只能被一级用户使用,内容源B只能被二级和一级用户使用,内容源C只能被三级、二级和一级用户使用,用户a为二级用户,这时用户进行搜索时,只能选择内容源B和内容源C进行搜索。In another embodiment of the present invention, the content sources are not classified, but each content source can only be used by users of certain levels, and the search server selects the range of content sources that can be used by the user level according to the user level. For example: content source A can only be used by first-level users, content source B can only be used by second-level and first-level users, content source C can only be used by third-level, second-level and first-level users, and user a is a second-level user , when the user searches, he can only select content source B and content source C to search.
本发明实施例的另一种搜索方法如图7所示。与图6对应的实施例的区别:搜索服务器不是按照用户级别来选择该用户可使用的内容源,而是按照搜索请求中的附加信息来选择该本次搜索可使用的内容源。具体包括:Another search method in the embodiment of the present invention is shown in FIG. 7 . The difference of the embodiment corresponding to FIG. 6 is that the search server does not select the content source available to the user according to the user level, but selects the content source available to the current search according to the additional information in the search request. Specifically include:
S701:搜索服务器接收用户提交的搜索请求。S701: The search server receives a search request submitted by a user.
搜索服务器接收内容源的注册信息后,根据注册信息,对内容源设定一个级别。其过程具体为:After receiving the registration information of the content source, the search server sets a level for the content source according to the registration information. The specific process is:
若内容源的注册信息中收费信息为付费,则把内容源设定为付费级别。若内容源的注册信息中收费信息为免费,则把内容源设定为免费级别。If the charging information in the registration information of the content source is payment, then the content source is set to the payment level. If the charging information in the registration information of the content source is free, then set the content source to a free level.
搜索服务器保存内容源的付费或免费信息,如表6:The search server saves the paid or free information of the content source, as shown in Table 6:
表6Table 6
用户提交搜索请求到搜索服务器。用户提交的搜索请求中携带搜索条件和附加信息。附加信息可以为附加的搜索限制条件,如“接收收费内容”、“只接收收费内容”等参数。默认条件下用户只接收免费内容;若附加信息为“接收收费内容”,表示用户愿意接收免费和付费内容;若附加信息为“只接收收费内容”,表示用户只愿意接收付费内容。A user submits a search request to the search server. Search criteria and additional information are carried in the search request submitted by the user. The additional information may be additional search restriction conditions, such as parameters such as "receive paid content", "receive only paid content". By default, the user only receives free content; if the additional information is "receive paid content", it means that the user is willing to receive free and paid content; if the additional information is "receive only paid content", it means that the user is only willing to receive paid content.
用户提交搜索请求,会经过第三方的网络,其中第三方可以为移动运营商。第三方把用户的号码信息和搜索请求一并提交给搜索服务器。When a user submits a search request, it will go through the network of a third party, where the third party may be a mobile operator. The third party submits the user's number information and the search request to the search server.
S702:搜索服务器接收用户的搜索请求,并根据搜索请求,为用户选择可使用的内容源;S702: The search server receives the user's search request, and selects an available content source for the user according to the search request;
搜索服务器接收用户的搜索请求后,从搜索请求中提取附加信息,根据搜索附加信息,获取用户可以使用的内容源,例如:若搜索请求中不含有附加信息,或者附加信息为“默认”,则对于本次搜索,用户只可以使用免费的内容源。若搜索请求中含有的附加信息为“接收收费内容”,则对于本次搜索,用户可以使用付费和免费的内容源。若搜索请求中含有的附加信息为“只接收收费内容”,则对于本次搜索,用户只可以使用付费的内容源。After the search server receives the user's search request, it extracts additional information from the search request, and obtains content sources that the user can use based on the search additional information. For example, if the search request does not contain additional information, or the additional information is "default", then For this search, only free content sources are available to the user. If the additional information contained in the search request is "receive paid content", the user can use paid and free content sources for this search. If the additional information contained in the search request is "receive only paid content", then for this search, the user can only use paid content sources.
在所述选择出级别的内容源内,根据元索引为用户选择出可使用的内容源。具体方法与图6对应的本发明实施例的利用元索引选择可使用内容源的方法相同。Among the content sources of the selected level, the available content sources are selected for the user according to the meta index. The specific method is the same as the method for selecting an available content source by using a meta index in the embodiment of the present invention corresponding to FIG. 6 .
S703:搜索服务器根据选择的内容源进行搜索。S703: The search server searches according to the selected content source.
搜索服务器为用户选择出可使用的内容源后,发送所述搜索请求中的搜索条件到选择出的内容源。多个内容源时,搜索服务器把搜索条件分别发送给每个内容源。After the search server selects an available content source for the user, it sends the search condition in the search request to the selected content source. When there are multiple content sources, the search server sends the search criteria to each content source separately.
S704:搜索服务器接收返回的搜索结果。S704: The search server receives the returned search result.
S705:搜索服务器向用户发送搜索结果。S705: The search server sends the search result to the user.
在本发明另一实施例中,没有对内容源进行分级,但每个内容源只能被哪几类的用户使用,搜索服务器通过搜索请求中的附加信息,选择该次搜索可以使用哪些内容源,例如:内容源D只能被免费用户使用,内容源E只能被付费用户使用,内容源F只能被免费和付费用户使用,用户b为付费用户体验的用户,这时用户进行搜索时,只能选择内容源E和内容源F进行搜索。In another embodiment of the present invention, the content sources are not classified, but each content source can only be used by which types of users, and the search server selects which content sources can be used for this search through the additional information in the search request , for example: content source D can only be used by free users, content source E can only be used by paid users, content source F can only be used by free and paid users, and user b is a user with paid user experience. At this time, when users search , only content source E and content source F can be selected for searching.
本发明实施例根据搜索请求中携带的附加消息,选择用户本次搜索可以使用的内容源的范围,并在此范围内的内容源中进行搜索,这样提高了用户搜索体验。According to the additional information carried in the search request, the embodiment of the present invention selects the range of content sources that the user can use in this search, and searches within the range of content sources, thus improving the user's search experience.
本发明实施例的另一种搜索的方法如图8所示,在接收用户提交的搜索请求之前,搜索服务器按照如图4对应的实施例对内容源进行注册分级;具体包括:Another search method of the embodiment of the present invention is shown in Figure 8. Before receiving the search request submitted by the user, the search server registers and grades the content source according to the embodiment corresponding to Figure 4; specifically includes:
S801:搜索服务器接收用户提交的搜索请求。S801: The search server receives a search request submitted by a user.
S802:搜索服务器接收搜索请求后,根据搜索请求为用户选择可使用的内容源。S802: After receiving the search request, the search server selects available content sources for the user according to the search request.
搜索服务器接收搜索请求后,其中搜索请求可以不携带附加信息,也可以携带附加信息,该附加信息可以选择用户能够使用内容源的级别的范围,用户可以在这些级别范围内选择可使用的内容源。After the search server receives the search request, the search request may not carry additional information, or it may carry additional information. The additional information may select the range of levels at which the user can use the content source, and the user can select the available content source within these levels. .
如果搜索请求没有携带附加信息,则搜索服务器接收搜索请求后,从搜索请求中提取出搜索条件,在所有的内容源范围内,为用户选择可使用的内容源。可以有两种选择可使用内容源的方法:If the search request does not carry additional information, the search server extracts search conditions from the search request after receiving the search request, and selects available content sources for the user within the range of all content sources. There are two ways to select available content sources:
1)利用元索引计算内容源的区配度,选择区配度高的内容源作为可使用的内容源。具体方法与图6对应的实施例的S602中的利用元索引选择可使用内容源的部分相同。1) Use the meta index to calculate the regional distribution degree of the content source, and select the content source with a high regional distribution degree as the usable content source. The specific method is the same as that of using the meta index to select available content sources in S602 of the embodiment corresponding to FIG. 6 .
2)利用元索引和用户满意度反馈信息两者的结合来选择内容源。具体方法与图6对应的实施例的S602中的利用元索引和用户满意度反馈信息两者的结合来选择可使用的内容源的部分相同。2) Use the combination of meta-index and user satisfaction feedback information to select content sources. The specific method is the same as the part of using the combination of meta index and user satisfaction feedback information to select available content sources in S602 of the embodiment corresponding to FIG. 6 .
如果搜索请求携带附加信息,则搜索服务器接收搜索请求后,根据附加信息,首先搜索服务器对本次搜索请求选择可以使用的内容源的级别范围,并根据搜索请求的搜索条件,在本次搜索可以使用的内容源级别范围内,为用户选择可使用的内容源。可以有四种选择可使用内容源的方法:If the search request carries additional information, after the search server receives the search request, according to the additional information, the search server first selects the level range of content sources that can be used for this search request, and according to the search conditions of the search request, in this search can Select the available content sources for the user within the content source level used. There are four ways to select available content sources:
1)利用元索引计算内容源的区配度,选择区配度高的可使用内容源作为可使用内容源。具体方法与图6对应的实施例的S602中的利用元索引选择可使用内容源的部分相同。1) Use the meta-index to calculate the regional distribution degree of the content source, and select the usable content source with a high regional distribution degree as the usable content source. The specific method is the same as that of using the meta index to select available content sources in S602 of the embodiment corresponding to FIG. 6 .
2)利用元索引和内容源级别两者的结合选择内容源。具体方法与图6对应的实施例的S602中的利用元索引和内容源级别选择可使用的内容源的部分相同。2) Use a combination of both meta-index and content source level to select a content source. The specific method is the same as that in S602 of the embodiment corresponding to FIG. 6 , using the meta index and content source level to select an available content source.
3)利用元索引和用户满意度反馈信息两者的结合来选择内容源。具体方法与图6对应的实施例的S602中的利用元索引和用户满意度反馈信息两者的结合来选择可使用的内容源的部分相同。3) Use the combination of meta-index and user satisfaction feedback information to select content sources. The specific method is the same as the part of using the combination of meta index and user satisfaction feedback information to select available content sources in S602 of the embodiment corresponding to FIG. 6 .
4)利用元索引、内容源级别和用户满意度反馈信息三者的结合来选择内容源。具体方法与图6对应的实施例的S602中的利用元索引、内容源级别和用户满意度反馈信息三种的结合来选择可使用的内容源的部分相同。4) Use the combination of meta index, content source level and user satisfaction feedback information to select the content source. The specific method is the same as that in S602 of the embodiment corresponding to FIG. 6 , using the combination of meta index, content source level and user satisfaction feedback information to select available content sources.
S803:利用S802中选择出的可使用内容源进行搜索,搜索服务器接收返回的搜索结果。S803: Use the available content sources selected in S802 to perform a search, and the search server receives returned search results.
搜索服务器上述选择出的内容源发送搜索条件。多个内容源被选中时,则分别发送到各个选择的内容源。The content source selected above by the search server sends the search condition. When multiple content sources are selected, they are sent to each selected content source respectively.
S804:搜索服务器接收用户返回的搜索结果。S804: The search server receives the search result returned by the user.
S805:获取上述搜索结果的内容源的级别,根据所述内容源级别,搜索服务器对接收内容源进行整理排序。S805: Obtain the level of the content source of the above search result, and according to the level of the content source, the search server sorts and sorts the received content source.
其中搜索服务器对接收内容源进行整理排序可以为:搜索服务器可以根据内容源的级别对搜索结果进行排序,比如可以把级别高的内容源返回的搜索结果排在级别低的内容源返回的搜索结果前面。或者搜索服务器也可以结合搜索结果的相似度和内容源级别,对搜索结果进行排序。The sorting and sorting of the received content sources by the search server can be as follows: the search server can sort the search results according to the levels of content sources, for example, the search results returned by high-level content sources can be ranked in the search results returned by low-level content sources Front. Alternatively, the search server may also rank the search results in combination with the similarity of the search results and the level of the content source.
S806:搜索服务器向用户返回排序后搜索结果。S806: The search server returns the sorted search results to the user.
由于搜索服务器对内容源进行分级,所以得到的搜索结果是分级别的,根据对搜索结果进行排序,把高级别的内容源放在所有搜索结果的前面可使得价值高的内容会被优先搜索到,这样用户也就可以优先使用,提高了用户的搜索体验。Because the search server grades the content sources, the search results obtained are graded. According to the sorting of the search results, placing the high-level content sources in front of all the search results can make the content with high value be searched first. , so that users can use it first, which improves the user's search experience.
本发明的另一实施例中,搜索服务器收到内容源返回的搜索结果后,还对搜索结果进行整理排序,并且把排序后的搜索结果发送给用户。In another embodiment of the present invention, after receiving the search results returned by the content source, the search server sorts and sorts the search results, and sends the sorted search results to the user.
搜索服务器接收内容源返回的搜索结果,还可以对搜索结果进行整理排序。其中整理排序有多种排序策略。例如有:1、计算每条结果与搜索条件的相似度,根据相似度对搜索结果进行整理排序。相似度代表了该结果与搜索条件的相似程度,相似度越高,表示该结果越准确。2、搜索服务器也可以根据内容源的级别对搜索结果进行排序,比如可以把级别高的内容源返回的搜索结果排在级别低的内容源返回的搜索结果前面。3、搜索服务器也可以结合搜索结果的相似度和内容源级别,对搜索结果进行排序。例如,对于特定级别的内容源,在搜索结果相似度的基础上,加入一个级别系数。下表为一个级别系数表:The search server receives the search results returned by the content source, and can also organize and sort the search results. Among them, there are many sorting strategies for sorting and sorting. For example: 1. Calculate the similarity between each result and the search condition, and sort and sort the search results according to the similarity. The similarity represents the degree of similarity between the result and the search condition, and the higher the similarity, the more accurate the result. 2. The search server can also sort the search results according to the levels of content sources, for example, it can rank the search results returned by content sources with higher levels before the search results returned by content sources with lower levels. 3. The search server may also rank the search results in combination with the similarity of the search results and the level of the content source. For example, for a content source of a specific level, a level coefficient is added on the basis of the similarity of search results. The following table is a level coefficient table:
对于三级内容源返回的搜索结果,在计算每条结果的相似度后,在此基础上加上级别系数0.05,即是该条结果最终的相似度。For the search results returned by the third-level content source, after calculating the similarity of each result, add a level coefficient of 0.05 on this basis, which is the final similarity of the result.
例如,图6对应的实施例中的内容源32返回的搜索结果是“歌曲A”的彩铃信息,且只有一条搜索结果。经搜索服务器计算,该条结果的相似度为0.9;图6对应的实施例中的内容源42返回的是“歌曲A”的歌曲信息,且只有一条结果,经搜索服务器计算,该条结果的其相似度为0.92。For example, the search result returned by the content source 32 in the embodiment corresponding to FIG. 6 is the CRBT information of "Song A", and there is only one search result. Calculated by the search server, the similarity of the result is 0.9; the content source 42 in the embodiment corresponding to Fig. 6 returns the song information of "song A", and there is only one result, calculated by the search server, the result of the result is Its similarity is 0.92.
若按照搜索结果的相似度进行排序,则歌曲信息排在彩铃信息前面;若按照内容源的级别对搜索结果进行排序,内容源32的级别比内容源42的级别高,所以内容源32返回的“歌曲A”的彩铃信息排在内容源42返回的“歌曲A”的歌曲信息的前面;若结合相似度与内容源的级别,内容源42返回的歌曲信息的最终相似度为0.92+0=0.92,而内容源32返回的彩铃信息最终相似度为0.9+0.05=0.95,所以内容源32返回的彩铃信息就排在内容源42返回的歌曲信息的前面。If sorting according to the similarity of the search results, the song information is arranged in front of the color ring information; if the search results are sorted according to the level of the content source, the level of the content source 32 is higher than the level of the content source 42, so the content source 32 returns The CRBT information of " song A " is arranged in the front of the song information of " song A " that content source 42 returns; If combine the level of similarity and content source, the final similarity of the song information that content source 42 returns is 0.92+0= 0.92, and the final similarity of the CRBT information returned by the content source 32 is 0.9+0.05=0.95, so the CRBT information returned by the content source 32 is ranked ahead of the song information returned by the content source 42.
搜索服务器对搜索结果按照一定的规则进行排序,排序后的搜索结果具有一定的有序性,使得相似度高或者级别高的搜索结果能够优先被搜索到,这样使得搜索结果能够更好的体现用户的搜索请求,提高了用户的搜索体验。The search server sorts the search results according to certain rules, and the sorted search results have a certain order, so that the search results with high similarity or high level can be searched first, so that the search results can better reflect the users. search requests, improving the user's search experience.
本发明的另一实施例中,搜索服务器还可以在向用户发送搜索结果的同时,向用户发送用户对内容源的满意度调查,该用户对内容源的满意度调查的内容携带搜索结果所属的内容源的标识信息,这样用户就可以对搜索的结果进行满意度反馈。用户对内容源的满意度调查的内容可以为链接,比如“满意”链接和“不满意”链接。用户点击对应的链接就可以反馈对搜索结果的满意度。In another embodiment of the present invention, the search server may also send the user's satisfaction survey on the content source to the user while sending the search result to the user, and the content of the user's satisfaction survey on the content source carries the search result to which Identification information of the content source so that users can give satisfaction feedback on the search results. The content of the user satisfaction survey on the content source may be links, such as a "satisfied" link and a "dissatisfied" link. Users can feedback their satisfaction with the search results by clicking the corresponding link.
例如下面是一个可供用户反馈“满意”链接的例子。For example, the following is an example of a "Satisfied" link for user feedback.
http://www.example.com/feedback.jsp?sourceID=0042-0032&satisfied=yeshttp://www.example.com/feedback.jsp? sourceID=0042-0032&satisfied=yes
其中,sourceID=0042-0032表示被搜索服务器选出的内容源的标识信息;satisfied=yes表示用户对结果满意。Wherein, sourceID=0042-0032 indicates the identification information of the content source selected by the search server; satisfied=yes indicates that the user is satisfied with the result.
用户向搜索服务器发送对搜索结果的反馈信息,搜索服务器接收用户满意度反馈信息。The user sends feedback information on search results to the search server, and the search server receives user satisfaction feedback information.
若用户对搜索内容的满意度进行反馈;搜索服务器接收用户满意度反馈信息,从用户满意度反馈信息中提取出内容源标识,并把反馈信息与内容源对应保存起来。表7是一个用户满意度反馈信息库的简单示例:If the user gives feedback on the satisfaction of the searched content; the search server receives the user satisfaction feedback information, extracts the content source identifier from the user satisfaction feedback information, and stores the feedback information corresponding to the content source. Table 7 is a simple example of a user satisfaction feedback information base:
表7Table 7
依据用户满意度反馈信息,如图6对应的本发明实施例的选择一种或多种的内容源方法具体为:1、利用元索引和用户满意度反馈信息结合来选择;2、利用元索引、内容源级别和用户满意度反馈信息三种结合来选择。According to the user satisfaction feedback information, the method for selecting one or more content sources in the embodiment of the present invention corresponding to Fig. 6 is specifically as follows: 1. Use the combination of the meta index and the user satisfaction feedback information to select; 2. Use the meta index , content source level and user satisfaction feedback information to choose from.
方法1、利用元索引和用户满意度反馈信息结合来选择。Method 1. Select by combining meta-index and user satisfaction feedback information.
引用S602中选择可使用内容源的方法1中利用元索引计算内容源的区配度的计算结果。计算搜索请求和内容源的区配度时,除了参照元索引外,还可以考虑内容源的用户满意度反馈信息,具体为:Reference is made to the calculation result of using the meta index to calculate the degree of matching of content sources in the method 1 of selecting available content sources in S602. When calculating the matching degree of search requests and content sources, in addition to referring to the meta index, user satisfaction feedback information of content sources can also be considered, specifically:
区配度R=r1*区配度m+r2*用户满意度参数;District allocation degree R=r1*district allocation degreem+r2*user satisfaction parameter;
区配度m为根据元索引计算出的区配度。The district matching degree m is the district matching degree calculated according to the meta index.
用户满意度参数反映用户对内容源的满意度反馈,计算方法可以为:The user satisfaction parameter reflects the user's satisfaction feedback on the content source, and the calculation method can be:
用户满意度参数=[满意反馈数量(a)-不满意反馈数量(b)]/[满意反馈数量(a)+不满意反馈数量(b)];User satisfaction parameter = [number of satisfactory feedback (a) - number of unsatisfactory feedback (b)]/[number of satisfactory feedback (a) + number of unsatisfactory feedback (b)];
其中,r1、r2的取值可以根据实际情况调整,例如,取r1=0.9,r2=0.1;Wherein, the values of r1 and r2 can be adjusted according to the actual situation, for example, take r1=0.9, r2=0.1;
利用本发明实施例中的数据,内容源41的区配度R=0.9*0.2828+0.1*(220-10)/(220+10)=0.3458;按照上述方法,同样可以计算出内容源42、内容源31、内容源32的区配度分别为:2.5274;0.1219;2.7735;Utilizing the data in the embodiment of the present invention, the district allocation degree of the content source 41 R=0.9*0.2828+0.1*(220-10)/(220+10)=0.3458; according to the above method, the content source 42, The district allocation degrees of content source 31 and content source 32 are: 2.5274; 0.1219; 2.7735;
这时内容源42、内容源32的区配度最高,选择内容源42和内容源32作为可使用的内容源。At this time, the content source 42 and the content source 32 have the highest matching degrees, and the content source 42 and the content source 32 are selected as the available content sources.
方法2、利用元索引、内容源级别和用户满意度反馈信息三种结合来选择。Method 2. Use the combination of meta index, content source level and user satisfaction feedback information to select.
引用S602中选择可使用内容源的方法2中利用元索引和内容源级别计算内容源的区配度的计算结果。计算搜索请求和内容源的区配度时,除了参照元索引和内容源级别外,还可以考虑内容源的用户反馈满意度,具体为:Reference is made to the calculation result of calculating the matching degree of the content source by using the meta index and the level of the content source in the method 2 of selecting an available content source in S602. When calculating the matching degree between a search request and a content source, in addition to referring to the meta index and the level of the content source, user feedback satisfaction of the content source can also be considered, specifically:
区配度R=r1*区配度mr+r2*用户满意度参数;Area allocation degree R=r1*area allocation degree mr+r2*user satisfaction parameter;
区配度mr为结合元索引和内容源级别计算出的区配度。The district matching degree mr is the district matching degree calculated by combining the meta index and content source level.
用户满意度参数反映用户对内容源的满意度反馈,计算方法可以为:The user satisfaction parameter reflects the user's satisfaction feedback on the content source, and the calculation method can be:
用户满意度参数=[满意反馈数量(a)-不满意反馈数量(b)]/[满意反馈数量(a)+不满意反馈数量(b)];User satisfaction parameter = [number of satisfactory feedback (a) - number of unsatisfactory feedback (b)]/[number of satisfactory feedback (a) + number of unsatisfactory feedback (b)];
其中,r1、r2的取值可以根据实际情况调整,例如,取r1=0.9,r2=0.1;Wherein, the values of r1 and r2 can be adjusted according to the actual situation, for example, take r1=0.9, r2=0.1;
利用本发明实施例中的数据,内容源41的区配度R=0.9*0.4828+0.1*(220-10)/(220+10)=0.5258;按照上述方法,同样可以计算出内容源42、内容源31、内容源32的区配度分别为:2.7073;0.3918;3.0435;Utilizing the data in the embodiment of the present invention, the district allocation degree of the content source 41 R=0.9*0.4828+0.1*(220-10)/(220+10)=0.5258; according to the above method, the content source 42, The district allocation degrees of content source 31 and content source 32 are: 2.7073; 0.3918; 3.0435;
这时内容源42、内容源32的区配度最高,选择内容源42和内容源32作为可使用的内容源。搜索服务器接收用户满意度反馈信息。At this time, the content source 42 and the content source 32 have the highest matching degrees, and the content source 42 and the content source 32 are selected as the available content sources. The search server receives user satisfaction feedback information.
用户对搜索结果的进行满意度反馈,搜索服务器可以根据用户满意度反馈信息进行选择可使用内容源,提高用户满意度高的内容源的区配度,降低用户满意度低的内容源的区配度,使得用户满意度高的内容源能够优先被选择到,提高用户的搜索体验。Users give satisfaction feedback on the search results, and the search server can select available content sources according to the feedback information of user satisfaction, so as to improve the allocation degree of content sources with high user satisfaction and reduce the allocation of content sources with low user satisfaction degree, so that content sources with high user satisfaction can be selected preferentially, improving the user's search experience.
本发明的另一实施例中,搜索服务器还可以在搜索结果中加入让用户进行二次搜索的链接,通过该链接,用户不用输入任何内容,只要点击,就可以获得高级别用户才能使用的搜索结果。相当于在搜索请求中加入了附加信息。若本次搜索中,用户的级别为三级,则二次搜索的链接中可以加入“二级用户体验”或“一级用户体验”作为参数。若用户的级别为二级,则二次搜索链接具体如下:In another embodiment of the present invention, the search server can also add a link in the search results that allows the user to perform a secondary search. Through this link, the user does not need to enter any content, and just clicks to obtain a search that only high-level users can use. result. Equivalent to adding additional information to the search request. If in this search, the user's level is the third level, then "secondary user experience" or "first level user experience" can be added as a parameter in the link of the secondary search. If the user's level is level two, the details of the secondary search link are as follows:
假如本次搜索条件“歌曲A”,下面是一个让用户进行二次搜索的链接的例子:http://www.example.com/search?q=歌曲A&other=二级用户体验Assuming this search condition is "song A", the following is an example of a link that allows users to perform secondary searches: http://www.example.com/search? q = song A & other = secondary user experience
上述二次搜索的链接加入了“二级用户体验”参数。用户点击该链接,就相当于在搜索请求中加入了“二级用户体验”这个附加信息。用户就可以得到二级用户可以得到的搜索结果。The link to the secondary search above incorporates the "Secondary User Experience" parameter. When the user clicks the link, it is equivalent to adding the additional information of "secondary user experience" to the search request. The user can get the search results that the secondary user can get.
用户在进行二次搜索时,只要点击链接,就可以方便地获得高级别用户才能使用的搜索结果,提高了用户的搜索体验。When the user performs secondary search, as long as he clicks on the link, he can conveniently obtain the search results that can only be used by high-level users, which improves the user's search experience.
本发明实施例的一种搜索服务器的结构示意图如图9所示,包括:A schematic structural diagram of a search server according to an embodiment of the present invention is shown in FIG. 9 , including:
搜索请求接收单元91,用于接收用户的搜索请求;A search request receiving unit 91, configured to receive a user's search request;
内容源选择单元92,用于根据用户级别或该搜索请求的附加信息,选择内容源;A content source selection unit 92, configured to select a content source according to user level or additional information of the search request;
具体的,搜索服务器可以根据用户级别或搜索请求的附加信息确定该搜索请求可使用的内容源,然后根据本次搜索请求的搜索条件或用户满意度反馈信息从确定的可使用的内容源中选择本次需要使用的内容源,选择出的内容源可以是一个,也可以是多个。当根据用户级别确定该搜索请求可使用的内容源时,该搜索服务器还包括用户级别确定单元95和用户分级单元96,其中用户分级单元96用于预先根据用户信息对用户进行分级,所述用户信息包括所述用户的注册信息和/或从第三方设备获取的信息。用户级别确定单元95用于根据用户分级单元96预先完成的用户分级和/或所述搜索请求中的附加信息确定所述用户级别。具体的,对于未进行注册和分级的用户,可以根据搜索请求中的附加信息确定用户级别,或者将用户级别确定为默认级别。其中,附加信息可以是用户在发起本次搜索时选择的用户体验,如,附加信息为“二级用户体验”,则用户的级别为二级。对于经过预先用户分级单元96进行了分级的用户,可以根据搜索请求中的用户标识从预先完成的用户分级中获取所述用户级别,或结合预先完成的用户分级和所述搜索请求中的附加信息确定所述用户级别。Specifically, the search server may determine the available content sources for the search request according to the user level or additional information of the search request, and then select from the determined available content sources according to the search conditions of this search request or user satisfaction feedback information For the content source to be used this time, one or more content sources can be selected. When determining the available content source for the search request according to the user level, the search server further includes a user level determining unit 95 and a user grading unit 96, wherein the user grading unit 96 is used to classify users in advance according to user information, and the user The information includes the user's registration information and/or information obtained from a third-party device. The user level determination unit 95 is configured to determine the user level according to the user level previously completed by the user level unit 96 and/or additional information in the search request. Specifically, for users who have not registered and rated, the user level may be determined according to the additional information in the search request, or the user level may be determined as a default level. Wherein, the additional information may be the user experience selected by the user when initiating this search, for example, if the additional information is "secondary user experience", then the user's level is secondary. For users who have been classified by the pre-user classification unit 96, the user level can be obtained from the pre-completed user classification according to the user identifier in the search request, or combined with the pre-completed user classification and additional information in the search request Determine the user level.
搜索结果接收单元93,用于向选择的内容源发送所述搜索请求,并接收搜索结果;A search result receiving unit 93, configured to send the search request to the selected content source and receive the search result;
发送单元94,用于向用户发送搜索结果。The sending unit 94 is configured to send the search result to the user.
进一步地:发送单元94,还用于向用户发送用户对内容源的满意度调查的内容,并获取用户满意度反馈信息。其中,向用户发送的内容源的满意度调查的内容中携带所述搜索结果所属的内容源的标识。通过发送内容源的满意度调查的内容,使得用户可以反馈对该内容源的满意程度,以使得最受用户满意的内容源被优先选择,提高用户的体验。Further: the sending unit 94 is also configured to send the content of the user satisfaction survey on the content source to the user, and obtain user satisfaction feedback information. Wherein, the satisfaction survey content of the content source sent to the user carries the identifier of the content source to which the search result belongs. By sending the content of the satisfaction survey of the content source, the user can give feedback on the satisfaction degree of the content source, so that the content source most satisfied by the user is preferentially selected, and the user experience is improved.
进一步地:发送单元94,还用于向所述用户发送二次搜索的链接。通过发送二次搜索的链接,使得用户只要点击链接,就可以方便地获得高级别用户才能使用的搜索结果,提高了用户的搜索体验。Further: the sending unit 94 is further configured to send a secondary search link to the user. By sending the link of the secondary search, the user can conveniently obtain the search result that can only be used by high-level users as long as the user clicks on the link, which improves the user's search experience.
其中上述发送单元向用户发送该用户对内容源的满意度调查的内容和二次搜索的链接也可以应用在其它搜索服务器的实施例中。用户对内容源的满意度调查的内容和二次搜索的链接可以携带在搜索结果中发送给用户,也可以分别向用户发送上述该用户对内容源的满意度调查的内容和二次搜索的链接。The above-mentioned sending unit sends the content of the user's satisfaction survey on the content source and the link of the secondary search to the user, which can also be applied in other embodiments of the search server. The content of the user's satisfaction survey on the content source and the link to the secondary search can be included in the search results and sent to the user, or the content of the user's satisfaction survey on the content source and the link to the secondary search can be sent to the user separately .
可选的,上述搜索服务器还包括内容源分级单元97,用于接收包含内容源注册信息的请求消息,根据该内容源注册信息对内容源注册和分级。在确定可使用的内容源时,可以根据该搜索条件的附加信息或用户级别,确定本次搜索请求可以使用的内容源级别,该内容源级别由内容源分级单元97对内容源进行分级得到的,然后在这些可用的内容源级别对应的内容源中,可以根据本次搜索请求的搜索条件、用户满意度反馈信息、内容源级别中的至少一个来选择内容源。通过对内容源进行分级,使得不同用户可以使用不同级别的内容源,在搜索服务中,为用户提供了差异化服务。Optionally, the above-mentioned search server further includes a content source grading unit 97, configured to receive a request message including content source registration information, and register and rank content sources according to the content source registration information. When determining the content source that can be used, the content source level that can be used in this search request can be determined according to the additional information of the search condition or the user level, and the content source level is obtained by grading the content source by the content source grading unit 97 , and then among the content sources corresponding to the available content source levels, the content source may be selected according to at least one of the search criteria of the current search request, user satisfaction feedback information, and content source levels. By grading content sources, different users can use content sources of different levels, and in the search service, differentiated services are provided for users.
可选的,上述搜索服务器还包括排序单元98,用于根据搜索结果接收单元93获得的搜索结果的相似度对上述搜索结果进行排序;或者,用于根据上述搜索结果所属的内容源的级别对该搜索结果进行排序;或者,用于根据上述搜索结果的相似度和上述搜索结果所属的内容源的级别的结合对该搜索结果进行排序。Optionally, the above search server further includes a sorting unit 98, configured to sort the above search results according to the similarity of the search results obtained by the search result receiving unit 93; or, to sort the above search results according to the level of the content source to which the above search results belong. The search results are sorted; or, the search results are sorted according to a combination of the similarity of the above search results and the level of the content source to which the above search results belong.
在本发明实施例中,用户提出搜索请求后,搜索服务器中的内容源选择单元92选择用户可以使用的内容源。搜索服务器所选择的的内容源发送搜索请求,并接收返回的搜索结果。搜索服务器对同样的搜索条件,根据用户的级别不同或者附加条件的不同,可以搜索到相应的搜索结果,这就实现了用户个性化的搜索要求,保障了用户的体验。In the embodiment of the present invention, after the user makes a search request, the content source selection unit 92 in the search server selects a content source that the user can use. The content sources selected by the search server send search requests and receive returned search results. For the same search condition, the search server can search for the corresponding search results according to the user's level or additional conditions, which realizes the user's personalized search requirements and guarantees the user's experience.
本发明实施例的另一种搜索服务器的结构示意图如图10所示,包括:A schematic structural diagram of another search server according to an embodiment of the present invention is shown in FIG. 10 , including:
搜索请求接收单元1001,用于接收用户的搜索请求;a search request receiving unit 1001, configured to receive a user's search request;
搜索结果接收单元1002,用于向内容源发送搜索请求,并接收返回的搜索结果;A search result receiving unit 1002, configured to send a search request to a content source and receive returned search results;
排序单元1003,用于获取所述内容源的级别,根据所述内容源的级别对所述搜索结果进行排序;A sorting unit 1003, configured to acquire the level of the content source, and sort the search results according to the level of the content source;
具体过程可以参见S805的说明。For the specific process, refer to the description of S805.
发送单元1004,用于向所述用户发送排序后的搜索结果。A sending unit 1004, configured to send the sorted search results to the user.
进一步地:发送单元1004,还可以用于向用户发送用户对内容源的满意度调查的内容和/或二次搜索的链接,具体实现可以参照图9所示的实施例。Further: the sending unit 1004 may also be configured to send the content of the user's satisfaction survey on the content source and/or the link of the secondary search to the user, and the specific implementation may refer to the embodiment shown in FIG. 9 .
可选的,上述搜索服务器还包括内容源分级单元1005,用于接收包含内容源注册信息的请求消息,根据该内容源注册信息对内容源注册和分级。具体过程可以参照图4。Optionally, the above-mentioned search server further includes a content source grading unit 1005, configured to receive a request message including content source registration information, and register and rank content sources according to the content source registration information. Refer to Figure 4 for the specific process.
可选的,上述搜索服务器还包括内容源选择单元1006,用于根据所述搜索请求的搜索条件、用户满意度反馈信息、内容源分级单元1005分级的内容源级别中的至少一个选择内容源。搜索结果接收单元1002向被选择的内容发送搜索请求,并接收返回的搜索结果。Optionally, the search server further includes a content source selection unit 1006, configured to select a content source according to at least one of the search condition of the search request, user satisfaction feedback information, and content source levels graded by the content source grading unit 1005. The search result receiving unit 1002 sends a search request to the selected content, and receives returned search results.
在本发明实施例中,用户提出搜索请求后,搜索服务器在内容源中进行搜索,并获得搜索结果,搜索服务器的排序单元对搜索结果进行排序,使得用户能够收到经过排序整理的结果,这提高了用户的体验。In the embodiment of the present invention, after the user makes a search request, the search server searches the content source and obtains the search results, and the sorting unit of the search server sorts the search results so that the user can receive the sorted results. Improved user experience.
本发明实施例的另一种搜索服务器的结构示意图如图11所示,包括:A schematic structural diagram of another search server according to an embodiment of the present invention is shown in FIG. 11 , including:
搜索请求接收单元1101,用于接收用户的搜索请求;A search request receiving unit 1101, configured to receive a user's search request;
内容源确定单元1102,用于确定搜索请求可用的内容源;A content source determining unit 1102, configured to determine an available content source for the search request;
具体的,可以根据搜索请求确定可用的内容源的级别,也可以根据搜索请求确定可用的内容源的范围;具体过程可以参见S602中的说明。Specifically, the level of the available content source may be determined according to the search request, or the range of the available content source may be determined according to the search request; refer to the description in S602 for the specific process.
内容源选择单元1103,用于在可用的内容源中选择内容源;A content source selection unit 1103, configured to select a content source from available content sources;
选择内容源的方式有多种,具体过程可以参见S602中的说明。There are many ways to select a content source, and the specific process may refer to the description in S602.
搜索结果接收单元1104,用于向选择的内容源发送该搜索请求,并接收搜索结果;A search result receiving unit 1104, configured to send the search request to the selected content source and receive the search result;
发送单元1105,用于向用户发送搜索结果。A sending unit 1105, configured to send the search result to the user.
进一步地:发送单元1105还用于向用户发送用户对内容源的满意度调查的内容,该用户对内容源的满意度调查的内容携带所述搜索结果所属的内容源的标识。Further: the sending unit 1105 is further configured to send the content of the user's satisfaction survey on the content source to the user, and the content of the user's satisfaction survey on the content source carries the identifier of the content source to which the search result belongs.
可选的,上述搜索服务器还可以包括排序单元1106,用于根据搜索结果接收单元1104接收到的搜索结果的相似度对上述搜索结果进行排序;或者,用于根据上述搜索结果所属的内容源的预先设定的级别对所述搜索结果进行排序;或者,用于根据上述搜索结果的相似度和上述搜索结果所属的内容源的级别的结合对所述搜索结果进行排序。Optionally, the above-mentioned search server may also include a sorting unit 1106, configured to sort the above-mentioned search results according to the similarity of the search results received by the search-result receiving unit 1104; The preset level is used to sort the search results; or, it is used to sort the search results according to the combination of the similarity of the above search results and the level of the content source to which the above search results belong.
在本发明实施例中,用户提出搜索请求后,搜索服务器中的内容源确定单元1102确定本次搜索请求可以使用的内容源,然后内容源选择单元1103在可以使用的内容源中选择内容源。这样实现了不同的用户提出相同的搜索请求,将获得不同的搜索结果,实现了用户的个人化搜索的需求,提高了搜索用户的体验,提高搜索运营商的收益。In the embodiment of the present invention, after the user makes a search request, the content source determination unit 1102 in the search server determines the available content sources for this search request, and then the content source selection unit 1103 selects a content source from the available content sources. In this way, different users who put forward the same search request will obtain different search results, realize the user's personalized search requirements, improve the experience of search users, and increase the revenue of search operators.
通过以上实施例的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得移动设备(可以是手机,个人计算机,媒体播放器等)执行本发明各个实施例所述的方法。这里所称的存储介质,如:ROM/RAM、磁盘、光盘等。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is a better implementation mode . Based on this understanding, the essence of the technical solution of the embodiment of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for making A mobile device (which may be a mobile phone, a personal computer, a media player, etc.) executes the methods described in various embodiments of the present invention. The storage medium referred to here, such as: ROM/RAM, magnetic disk, optical disk, etc.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (14)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200910104958.4A CN101777989B (en) | 2009-01-14 | 2009-01-14 | Search method and server |
| PCT/CN2009/075290 WO2010081356A1 (en) | 2009-01-14 | 2009-12-03 | Searching method and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200910104958.4A CN101777989B (en) | 2009-01-14 | 2009-01-14 | Search method and server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101777989A CN101777989A (en) | 2010-07-14 |
| CN101777989B true CN101777989B (en) | 2014-07-16 |
Family
ID=42339426
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200910104958.4A Expired - Fee Related CN101777989B (en) | 2009-01-14 | 2009-01-14 | Search method and server |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101777989B (en) |
| WO (1) | WO2010081356A1 (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8321503B2 (en) * | 2010-06-24 | 2012-11-27 | Microsoft Corporation | Context-specific network resource addressing model for distributed services |
| EP2612465A4 (en) * | 2010-08-30 | 2014-03-05 | Nokia Corp | METHOD AND APPARATUS FOR CONDUCTING RESEARCH |
| CN102456044B (en) * | 2010-10-29 | 2016-05-04 | 腾讯科技(深圳)有限公司 | The method and system of pushed information |
| CN102999609A (en) * | 2012-11-22 | 2013-03-27 | 北京奇虎科技有限公司 | Network novel search system |
| CN103678624A (en) * | 2013-12-18 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Searching method, searching server, and searching request executing method and terminal |
| CN105791328A (en) * | 2016-05-25 | 2016-07-20 | 江苏省基础地理信息中心 | Calling method and device and sharing method and device for three-dimensional information |
| CN107133280A (en) * | 2017-04-14 | 2017-09-05 | 合信息技术(北京)有限公司 | The response method and device of feedback |
| CN108898746A (en) * | 2018-06-21 | 2018-11-27 | 重庆工业职业技术学院 | Book borrowing and reading automatic management method and book borrowing and reading automatic management device |
| CN110457438A (en) * | 2019-08-06 | 2019-11-15 | 北京如优教育科技有限公司 | Adaptive databases for outline detection select system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1443328A (en) * | 2000-06-01 | 2003-09-17 | 奥罗卡斯特.Com公司 | Active Directory for Content Objects |
| CN1860477A (en) * | 2003-09-30 | 2006-11-08 | 英国电讯有限公司 | Search system and method via proxy server |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100476828C (en) * | 2007-04-28 | 2009-04-08 | 华中科技大学 | Safety search engine system based on accessing control |
| CN101059818A (en) * | 2007-06-26 | 2007-10-24 | 申屠浩 | Method for reinforcing search engine result safety |
| CN101221584A (en) * | 2008-02-01 | 2008-07-16 | 北大方正集团有限公司 | Search engine, search method and system |
-
2009
- 2009-01-14 CN CN200910104958.4A patent/CN101777989B/en not_active Expired - Fee Related
- 2009-12-03 WO PCT/CN2009/075290 patent/WO2010081356A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1443328A (en) * | 2000-06-01 | 2003-09-17 | 奥罗卡斯特.Com公司 | Active Directory for Content Objects |
| CN1860477A (en) * | 2003-09-30 | 2006-11-08 | 英国电讯有限公司 | Search system and method via proxy server |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101777989A (en) | 2010-07-14 |
| WO2010081356A1 (en) | 2010-07-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101777989B (en) | Search method and server | |
| CN101661475B (en) | Search method and system | |
| JP5312771B2 (en) | Technology that determines relevant ads in response to queries | |
| US8423536B2 (en) | Systems and methods to sort information related to entities having different locations | |
| CN102056335B (en) | Mobile search method, device and system | |
| JP5377829B2 (en) | Method and system for determining and querying relevant sources of information and merging results from multiple content sources | |
| CN103544188B (en) | The user preference method for pushing of mobile Internet content and device | |
| CN102142003B (en) | Method and device for providing point of interest information | |
| US8898130B1 (en) | Organizing search results | |
| KR101840426B1 (en) | User list identification | |
| US20020087408A1 (en) | System for providing information to intending consumers | |
| US11995090B2 (en) | Techniques for determining relevant electronic content in response to queries | |
| EP2165437A2 (en) | Presenting content to a mobile communication facility based on contextual and behaviorial data relating to a portion of a mobile content | |
| WO2008113290A1 (en) | Method and device for pushing information | |
| CN102150158A (en) | Method, system, and apparatus for arranging content search results | |
| CN101512586A (en) | Serving locally relevant advertisements | |
| CN105631707A (en) | Advertisement click rate estimation method based on decision tree, application recommendation method and device | |
| JP2009531773A (en) | Web resource service area detection | |
| CN101160581A (en) | Method, system and device for realizing location-based multi-mode electronic catalog service | |
| WO2011119396A2 (en) | System for sharing favorites and enabling in-network local search based on network rankings | |
| WO2010037314A1 (en) | A method for searching and the device and system thereof | |
| US20090119250A1 (en) | Method and system for searching and ranking entries stored in a directory | |
| KR101849739B1 (en) | Joining multiple user lists | |
| CN113032530B (en) | Big data acquisition and analysis-based consultation service system | |
| US9953055B1 (en) | Systems and methods of generating semantic traffic reports |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140716 |