
技术领域technical field
本发明涉及网络搜索技术领域,尤其涉及一种对查询序列进行扩展处理的技术。The invention relates to the technical field of network search, in particular to a technology for expanding and processing query sequences.
背景技术Background technique
随着网络搜索技术的不断发展,用户在进行网络搜索时,对快速获得全面准确的搜索结果的要求也越来越高。现有的网络搜索技术,为了尽可能的向用户提供全面的搜索结果,通常直接对用户的查询序列进行扩展处理,不考虑该查询序列是否需要进行扩展,并根据仅基于扩展后的查询序列向用户提供相应的扩展搜索结果。With the continuous development of network search technology, users have higher and higher requirements for quickly obtaining comprehensive and accurate search results when conducting network search. In order to provide users with comprehensive search results as much as possible, the existing network search technology usually directly expands the user's query sequence, regardless of whether the query sequence needs to be extended, and based only on the extended query sequence to The user provides corresponding extended search results.
然而,上述做法直接导致的问题是,由于对不需要进行扩展处理的查询序列也进行了扩展,使得基于原查询序列获得的搜索结果被基于扩展后的查询序列获得的大量扩展搜索结果所淹没,用户无法在短时间之内准确地获取其希望得到的目标搜索结果,提高了用户的搜索成本以及网络搜索设备,如搜索引擎服务器等的工作运行成本,并且降低了用户搜索效率及用户搜索体验。However, the problem directly caused by the above approach is that the search results obtained based on the original query sequence are overwhelmed by a large number of extended search results obtained based on the extended query sequence due to the expansion of the query sequence that does not need to be expanded. Users cannot accurately obtain the target search results they want in a short period of time, which increases the user's search cost and the operating cost of network search equipment, such as search engine servers, and reduces the user's search efficiency and user experience.
因此,如何提供一种对查询序列进行扩展处理的方法或设备,实现有条件地对查询序列进行扩展处理,成为目前亟待解决的问题之一。Therefore, how to provide a method or device for extending the query sequence, so as to conditionally extend the query sequence, has become one of the problems to be solved urgently.
发明内容Contents of the invention
本发明的目的是提供一种对查询序列进行扩展处理的方法与设备。The object of the present invention is to provide a method and equipment for expanding the query sequence.
根据本发明的一个方面,提供了一种计算机实现的对查询序列进行扩展处理的方法,该方法包括以下步骤:According to one aspect of the present invention, a computer-implemented method for expanding a query sequence is provided, the method comprising the following steps:
a获取用户的查询序列;a obtain the query sequence of the user;
b检测是否满足对所述查询序列进行扩展处理的扩展触发条件;b Detecting whether an extended trigger condition for performing extended processing on the query sequence is satisfied;
c当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列。c. When the expansion trigger condition is met, perform expansion processing on the query sequence to obtain an expansion sequence corresponding to the query sequence.
根据本发明的另一个方面,还提供了一种对查询序列进行扩展处理的设备,其中,该设备包括:According to another aspect of the present invention, a device for performing extended processing on a query sequence is also provided, wherein the device includes:
查询获取装置,用于获取用户的查询序列;a query obtaining device, configured to obtain the query sequence of the user;
扩展检测装置,用于检测是否满足对所述查询序列进行扩展处理的扩展触发条件;An extended detection device, configured to detect whether an extended trigger condition for performing extended processing on the query sequence is satisfied;
扩展处理装置,用于当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列。The expansion processing means is configured to perform expansion processing on the query sequence to obtain an expansion sequence corresponding to the query sequence when the expansion trigger condition is met.
与现有技术相比,本发明根据用户的查询序列,当满足对该查询序列进行扩展处理的扩展触发条件时,对该查询序列进行扩展处理,使得用户不需要多次输入或更改查询序列,就能够快速得到其期望的搜索结果。本发明减少了网络搜索设备,如搜索引擎服务器等的工作运行成本,以及用户的搜索成本,并在该基础上极大地提高搜索的准确性和用户的搜索体验。进一步地,本发明还可以基于原查询序列与扩展序列进行搜索,并将相应的两种搜索结果提供给用户,从而在向用户提供扩展搜索结果的同时,还保证了搜索结果的全面完整性。Compared with the prior art, according to the query sequence of the user, the present invention expands the query sequence when the trigger condition for expanding the query sequence is satisfied, so that the user does not need to input or change the query sequence multiple times, You can quickly get the desired search results. The invention reduces the operating cost of network search equipment, such as search engine servers, and the search cost of users, and greatly improves the accuracy of search and the search experience of users on this basis. Furthermore, the present invention can also search based on the original query sequence and the extended sequence, and provide the corresponding two search results to the user, thereby ensuring the completeness of the search result while providing the extended search result to the user.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1示出根据本发明一个方面的对查询序列进行扩展处理的设备的示意图;Fig. 1 shows a schematic diagram of a device for expanding a query sequence according to one aspect of the present invention;
图2示出根据本发明另一个方面的计算机实现的对查询序列进行扩展处理的方法流程图。Fig. 2 shows a flowchart of a computer-implemented method for expanding a query sequence according to another aspect of the present invention.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings represent the same or similar components.
具体实施方式Detailed ways
下面结合附图对本发明作进一步详细描述。The present invention will be described in further detail below in conjunction with the accompanying drawings.
图1为根据本发明一个方面的设备示意图,示出一种对查询序列进行扩展处理的设备。其中,扩展处理设备1包括查询获取装置11、扩展检测装置12、扩展处理装置13。具体地,查询获取装置11获取用户的查询序列;随后,扩展检测装置12检测是否满足对所述查询序列进行扩展处理的扩展触发条件;接着,扩展处理装置13当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列。在此,扩展处理设备1包括但不限于搜索引擎、与搜索引擎相连的网络设备;其中,网络设备包括但不限于网络主机、单个网络服务器、多个网络服务器集或基于云计算的计算机集合,在此,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。本领域技术人员应能理解上述扩展处理设备以及网络设备仅为举例,其他现有的或今后可能出现的扩展处理设备或者网络设备如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Fig. 1 is a schematic diagram of a device according to one aspect of the present invention, showing a device for performing expansion processing on a query sequence. Wherein, the extension processing device 1 includes a query acquisition means 11 , an extension detection means 12 , and an extension processing means 13 . Specifically, the query acquisition means 11 acquires the query sequence of the user; subsequently, the expansion detection means 12 detects whether the expansion trigger condition for performing expansion processing on the query sequence is satisfied; then, when the expansion processing means 13 satisfies the expansion trigger condition, performing an expansion process on the query sequence to obtain an expansion sequence corresponding to the query sequence. Here, the extended processing device 1 includes, but is not limited to, a search engine, and a network device connected to the search engine; wherein, the network device includes, but is not limited to, a network host, a single network server, a plurality of network server sets, or a collection of computers based on cloud computing, Here, cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Those skilled in the art should understand that the above-mentioned extended processing devices and network devices are only examples, and other existing or future extended processing devices or network devices that are applicable to the present invention should also be included within the protection scope of the present invention. and is incorporated herein by reference.
更具体地,查询获取装置11获取用户的查询序列。具体地,查询获取装置11通过诸如按照预先约定的通信协议接收用户经由用户设备发送的查询序列、或者从第三方设备提供的应用程序接口(API),获取用户向该第三方设备输入的查询序列。例如,假设扩展处理设备1为搜索引擎,查询获取装置11按照预先约定的通信协议,如http、https等通信协议,接收用户经由用户设备发送的查询序列,从而获取用户经由该用户设备输入的查询序列。又如,查询获取装置11根据第三方设备提供的应用程序接口(API),向该第三方设备发送获取用户输入该第三方设备的查询序列的请求,并接收该第三方设备基于该请求返回的查询序列。本领域技术人员应能理解上述获取查询序列的方式仅为举例,其他现有的或今后可能出现的获取查询序列的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。More specifically, the query obtaining means 11 obtains the user's query sequence. Specifically, the query obtaining means 11 obtains the query sequence input by the user to the third-party device, such as by receiving the query sequence sent by the user via the user device according to a pre-agreed communication protocol, or from the application program interface (API) provided by the third-party device. . For example, assuming that the extension processing device 1 is a search engine, the
随后,扩展检测装置12检测是否满足对所述查询序列进行扩展处理的扩展触发条件。具体地,扩展检测装置12检测是否满足对查询获取装置11获取的查询序列进行扩展处理的扩展触发条件,诸如该查询序列的历史变换频次是否超过变换频次阈值、该查询序列所对应的搜索结果的数量是否低于数量阈值等。例如,查询获取装置11获取用户的查询序列,扩展检测装置12根据用户查询历史记录,获取当前用户对该查询序列的历史变换频次,当该历史变换频次超过预设的变换频次阈值时,确定该查询序列满足对其进行扩展处理的扩展触发条件;如查询获取装置11获取用户的查询序列为“苹果”,扩展检测装置12从搜索引擎的查询日志获取大量用户的用户查询历史记录,根据该用户查询历史记录,获取大量用户在预定时间单元内,如20分钟,对该查询序列的统计变换频次为700,超过变换频次阈值,则确定满足对该查询序列进行扩展处理的扩展触发条件。又如,查询获取装置11获取用户的查询序列,扩展检测装置12检测该查询序列所对应的搜索结果的数量,如果该数量小于预设的搜索结果的数量阈值,则确定该查询序列满足对其进行扩展处理的扩展触发条件;如假设查询获取装置11获取查询序列为“沈阳租房网铁西区寻找求租者”,基于搜索索引库获得相应的搜索结果的数量为2,低于预设的搜索结果的数量阈值8,则扩展检测装置12检测确定满足对该查询序列进行扩展处理的扩展触发条件。本领域技术人员应能理解上述扩展触发条件的检测方式仅为举例,其他现有的或今后可能出现的扩展触发条件的检测方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。此外,本发明中的用户包括当前输入查询序列的用户和历史输入相应查询序列的统计用户,如无特别说明,两种用户均可以适用于本发明的方案,为简明起见,以引用方式包含于此,不再赘述。Subsequently, the extension detection means 12 detects whether an extension trigger condition for performing extension processing on the query sequence is satisfied. Specifically, the expansion detection means 12 detects whether the expansion trigger condition for expanding the query sequence acquired by the query acquisition means 11 is met, such as whether the historical transformation frequency of the query sequence exceeds the transformation frequency threshold, the search result corresponding to the query sequence Is the quantity below the quantity threshold etc. For example, the query acquisition means 11 acquires the query sequence of the user, and the expansion detection means 12 acquires the historical conversion frequency of the current user to the query sequence according to the user query history record, and when the historical conversion frequency exceeds the preset conversion frequency threshold, it is determined that the The query sequence satisfies the extended trigger condition for expanding the processing; as the query sequence obtained by the
接着,扩展处理装置13当扩展检测装置12检测满足对用户查询序列进行扩展处理的扩展触发条件时,根据诸如该查询序列的历史变换记录、该查询序列所对应的用户浏览记录等,对该查询序列进行扩展处理,以获得与该查询序列相对应的扩展序列。例如,假设用户的查询序列为“苹果”,扩展检测装置12检测满足对该查询序列进行扩展处理的扩展触发条件,扩展处理装置13从搜索引擎的用户历史查询记录中,获得当前用户基于“苹果”的历史变换记录,包括“苹果电脑”、“苹果笔记本”、“苹果港行”、“苹果笔记本报价”等变换序列,扩展处理装置13通过诸如根据这些变换序列的时间顺序或其对应搜索结果的点击记录,或者通过计算这些变换序列与该查询序列的相关系数,如“苹果笔记本”的相关系数最大,则据此对该查询序列进行扩展处理,获得相应的扩展序列,如“苹果笔记本”。又如,假设查询获取装置11获取用户的查询序列为“2011年4月影讯”,当扩展检测装置12检测满足对该查询序列进行扩展处理的扩展触发条件时,扩展处理装置13根据该查询序列所对应的搜索结果中用户历史点击的搜索结果所对应页面的内容,如“里约大冒险”,对该查询序列进行扩展处理,获得相应的扩展序列“2011年4月影讯里约大冒险”。优选地,当满足对用户查询序列进行扩展处理的扩展触发条件时,扩展处理装置13可以结合该扩展触发条件,对该查询序列进行扩展处理,以获得与该查询序列相对应的扩展序列。例如,假设扩展触发条件包括查询序列所对应的搜索结果的数量低于数量阈值,当用户的查询序列满足该扩展触发条件时,扩展处理装置13根据诸如该查询序列所对应的搜索结果所对应页面的内容,或者这些搜索结果中用户点击的搜索结果所对应页面的内容,获得相应的扩展词,并将该扩展词加入该查询序列,以获得相应的扩展序列。本领域技术人员应能理解上述获得扩展序列的方式仅为举例,其他现有的或今后可能出现的获得扩展序列的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Next, when the extension processing means 13 detects that the extension detection means 12 satisfies the extension trigger condition for performing expansion processing on the user query sequence, according to such as the history transformation record of the query sequence, the user browsing record corresponding to the query sequence, etc., the query The sequence is expanded to obtain an expanded sequence corresponding to the query sequence. For example, assuming that the user's query sequence is "apple", the
优选地,查询获取装置11、扩展检测装置12、扩展处理装置13是持续不断工作的。具体地,查询获取装置11获取用户的查询序列;随后,扩展检测装置12检测是否满足对所述查询序列进行扩展处理的扩展触发条件;接着,扩展处理装置13当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列。在此,本领域技术人员应理解“持续”是指查询获取装置11、扩展检测装置12、扩展处理装置13分别按照设定的或实时调整的工作模式要求进行查询序列的获取、扩展触发条件的检测,以及对该查询序列的扩展处理,直至扩展处理设备1在较长时间内停止获取用户的查询序列。Preferably, the query acquisition means 11, the extension detection means 12, and the extension processing means 13 work continuously. Specifically, the query acquisition means 11 acquires the query sequence of the user; subsequently, the expansion detection means 12 detects whether the expansion trigger condition for performing expansion processing on the query sequence is satisfied; then, when the expansion processing means 13 satisfies the expansion trigger condition, performing an expansion process on the query sequence to obtain an expansion sequence corresponding to the query sequence. Here, those skilled in the art should understand that "continuous" means that the
优选地,所述扩展触发条件包括但不限于,以下至少任一项:Preferably, the extended trigger conditions include, but are not limited to, at least any of the following:
1)所述查询序列的历史变换频次超过变换频次阈值;1) The historical conversion frequency of the query sequence exceeds the conversion frequency threshold;
2)所述查询序列所对应的搜索结果的数量低于数量阈值;2) The number of search results corresponding to the query sequence is lower than the number threshold;
3)所述查询序列所对应的搜索结果的历史浏览量低于浏览量阈值;3) The historical browsing volume of the search results corresponding to the query sequence is lower than the browsing volume threshold;
4)所述查询序列所对应的搜索结果与所述查询序列的相关度低于相关度阈值;4) The correlation between the search result corresponding to the query sequence and the query sequence is lower than the correlation threshold;
5)所述查询序列所对应的搜索结果与所述查询序列的匹配度低于匹配度阈值。5) The matching degree of the search result corresponding to the query sequence and the query sequence is lower than the matching degree threshold.
具体地,1)当扩展触发条件包括查询序列的历史变换频次超过变换频次阈值时,扩展检测装置12通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列的历史变换频次,或者先获取用户查询历史记录,再从该用户查询历史记录中获取该查询序列的历史变换频次,当该历史变换频次超过变换频次阈值时,则判断满足对该查询序列进行扩展处理的扩展触发条件。例如,假设20分钟内查询序列的变换频次阈值为80,根据用户查询历史记录,扩展检测装置12检测查询序列“苹果”在之前20分钟的大量用户的统计历史变换频次,如果该统计历史变换频次超过80,则确定满足对该查询序列进行扩展处理的扩展触发条件。Specifically, 1) when the expansion trigger condition includes that the historical conversion frequency of the query sequence exceeds the conversion frequency threshold, the
2)当扩展触发条件包括查询序列所对应的搜索结果的数量低于数量阈值时,扩展检测装置12通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果的数量,或者检测搜索引擎基于该查询序列返回的搜索结果的数量,当该数量低于搜索结果的数量阈值时,则确定满足对该查询序列进行扩展处理的扩展触发条件。例如,假设查询序列为“沈阳租房网铁西区寻找求租者”,搜索引擎对该查询序列在搜索索引库中进行匹配查询,获得的相应搜索结果的数量为2,若预设搜索结果的数量阈值为8,则扩展检测装置12检测确定满足对该查询序列进行扩展处理的扩展触发条件。2) When the extension trigger condition includes that the number of search results corresponding to the query sequence is lower than the number threshold, the
3)当扩展触发条件包括查询序列所对应的搜索结果的历史浏览量低于浏览量阈值时,扩展检测装置12通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果的历史浏览量,或者先获取用户查询历史记录,再从该用户查询历史记录中获取该查询序列所对应的搜索结果的历史浏览量,当该历史浏览量低于浏览量阈值时,则确定满足对该查询序列进行扩展处理的扩展触发条件。在此,查询序列所对应的搜索结果的历史浏览量包括该查询序列所对应的搜索结果中的用户浏览的搜索结果的数量;如果用户浏览的搜索结果较少,则应表明基于该查询序列进行搜索获得的搜索结果未能满足用户的搜索需求。例如,假设查询序列为“大海”,根据当前用户的用户查询历史记录,扩展检测装置12获得该查询序列所对应的搜索结果的历史浏览量为1,而相应的浏览量阈值为2,则确定满足对该查询序列进行扩展处理的扩展触发条件。3) When the expansion trigger condition includes that the historical pageview volume of the search results corresponding to the query sequence is lower than the pageview volume threshold, the
4)当扩展触发条件包括查询序列所对应的搜索结果与该查询序列的相关度低于相关度阈值时,扩展检测装置12通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果与该查询序列的相关度,或者根据搜索引擎基于该查询序列返回的搜索结果计算该(等)搜索结果与该查询序列的相关度,诸如该(等)搜索结果所对应的页面的标题、内容等与该查询序列的相关度,当该相关度低于相关度阈值时,确定满足对该查询序列进行扩展处理的扩展触发条件。在此,查询序列所对应的搜索结果与该查询序列的相关度包括该查询序列所对应的搜索结果指向页面的页面标题、页面内容等与该查询序列的相关度,其中,该相关度包括单个搜索结果与查询序列的相关度和多个搜索结果与查询序列的平均相关度。例如,假设查询序列为“大海时间”,相应搜索结果指向页面的页面内容与该查询序列的平均相关度为2,而相关度阈值为4,则扩展检测装置12确定满足对该查询序列进行扩展处理的扩展触发条件。4) When the extension trigger condition includes that the search result corresponding to the query sequence has a correlation degree lower than the correlation threshold, the
5)当扩展触发条件包括查询序列所对应的搜索结果与该查询序列的匹配度低于匹配度阈值时,扩展检测装置12通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果与该查询序列的匹配度,或者根据搜索引擎基于该查询序列返回的搜索结果计算该(等)搜索结果与该查询序列的匹配度,当该匹配度低于匹配度阈值时,则确定满足对该查询序列进行扩展处理的扩展触发条件。在此,查询序列所对应的搜索结果与该查询序列的匹配度基于搜索结果与查询序列的匹配模式确定,其中,匹配模式包括精确匹配和模糊匹配,精确匹配包括查询序列与搜索结果在搜索索引库中所对应的查询关键词完全相同,模糊匹配包括查询序列与搜索结果在搜索索引库中所对应的查询关键词部分相同,并且搜索结果与查询序列精确匹配的匹配度大于搜索结果与查询序列模糊匹配的匹配度。例如,假设查询序列为“沈阳租房网铁西区寻找求租者”,对该查询序列进行分词处理,获得相应的关键词“沈阳”、“租房”、“铁西区”和“求租”,而搜索引擎按照模糊匹配模式,仅基于其中部分关键词获取相应的搜索结果,此时搜索结果与查询序列的匹配度为2,而相应的匹配度阈值为3,则扩展检测装置12判断对该查询序列进行扩展处理的扩展触发条件。5) When the extension trigger condition includes that the matching degree of the search result corresponding to the query sequence and the query sequence is lower than the matching degree threshold, the
本领域技术人员应能理解上述各项扩展触发条件不仅可以单独用于扩展检测装置12检测是否对用户查询序列做扩展处理,还可以将其中多项相结合用于扩展检测装置12检测是否对用户查询序列做扩展处理。本领域技术人员还应能理解上述扩展触发条件仅为举例,其他现有的或今后可能出现的扩展触发条件如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above-mentioned extension trigger conditions can not only be used alone for the
优选地,扩展处理装置13对所述查询序列进行扩展处理的操作基于但不限于,以下至少任一项:Preferably, the expansion processing means 13 performs expansion processing on the query sequence based on, but not limited to, at least any of the following:
1)所述查询序列的历史变换记录;1) historical transformation records of the query sequence;
2)所述查询序列所对应的用户浏览信息;2) User browsing information corresponding to the query sequence;
3)所述查询序列所对应的查询联想信息;3) query association information corresponding to the query sequence;
4)所述查询序列的语义分析结果;4) Semantic analysis results of the query sequence;
5)所述查询序列中关键词的同义词和/或近似词。5) Synonyms and/or similar words of keywords in the query sequence.
具体地,1)扩展处理装置13根据查询序列的历史变换记录,对查询序列进行扩展处理;在此,查询序列的历史变换记录包括用户历史使用的与当前查询序列相关的变换序列、该(等)变换序列相应的用户使用频次等;扩展处理装置13通过诸如搜索引擎或者其他搜索设备的查询日志获取该(等)历史变换记录。例如,假设查询获取装置11获取用户的查询序列为“苹果”,扩展检测装置12检测满足对该查询序列进行扩展处理的扩展触发条件,扩展处理装置13从搜索引擎的用户历史查询记录中,获得当前用户基于“苹果”的历史变换记录,包括“苹果电脑”、“苹果笔记本”、“苹果港行”、“苹果笔记本报价”等变换序列及其用户使用频次,扩展处理装置13根据这些变换序列的用户使用频次,假设“苹果笔记本”的用户使用频次最高,对该查询序列进行扩展处理,获得相应的扩展序列,如“苹果笔记本”。Specifically, 1) the
2)扩展处理装置13根据查询序列所对应的用户浏览信息,对查询序列进行扩展处理;在此,查询序列所对应的用户浏览信息包括该查询序列所对应的搜索结果中用户历史浏览的搜索结果的锚文本,以及这些用户历史浏览的搜索结果所指向页面的页面相关信息,诸如页面标题、页面内容、页面类型等;扩展处理装置13通过诸如搜索引擎或者其他搜索设备的查询日志直接获取该(等)用户浏览信息,或者先从搜索引擎或者其他搜索设备的查询日志获取该查询序列对应的用户浏览的搜索结果,再根据该(等)用户浏览的搜索结果从其他第三方设备获取相应的用户浏览信息或者解析该(等)用户浏览的搜索结果所对应的页面获取相应的用户浏览信息。例如,假设查询获取装置11获取用户的查询序列为“2011年4月影讯”,当扩展检测装置12检测满足对该查询序列进行扩展处理的扩展触发条件时,扩展处理装置13根据该查询序列所对应的搜索结果中用户历史点击的搜索结果所对应页面的内容,如“里约大冒险”,对该查询序列进行扩展处理,获得相应的扩展序列“2011年4月影讯里约大冒险”。2) The
3)扩展处理装置13根据查询序列所对应的查询联想信息,对查询序列进行扩展处理;在此,查询联想信息包括与当前查询序列相对应的预定数量或预定时间内的在先查询序列的相关信息,诸如用户当前查询序列的在先查询序列所对应的搜索结果的锚文本、该(等)搜索结果指向页面的页面相关信息、该(等)在先查询序列所对应的用户浏览信息等;扩展处理装置13通过诸如搜索引擎或者其他搜索设备的查询日志获取该(等)查询联想信息,或者先从搜索引擎或者其他搜索设备的查询日志获取该(等)在先查询序列对应的搜索结果,再根据该(等)搜索结果从其他第三方设备获取相应的查询联想信息或者解析该(等)搜索结果中用户浏览的搜索结果所对应的页面获取相应的查询联想信息。例如,假设查询获取装置11获取用户的当前查询序列为“海清”,该当前查询序列的前一查询序列为“蜗居”,该“蜗居”对应的搜索结果中用户浏览了《蜗居》视频,扩展处理装置13根据用户浏览的该搜索结果所对应的页面的类型,如视频,对该查询序列进行扩展处理,得到相应的扩展序列“海清视频”。3) The
4)扩展处理装置13根据查询序列的语义分析结果,对查询序列进行扩展处理;在此,查询序列的语义分析结果包括对用户的查询序列进行语义分析,得到的相应语义分析结果;扩展处理装置13通过诸如从搜索引擎或者第三方设备直接获取该查询序列的语义分析结果,或者对该查询序列进行语义分析,获得相应的语义分析结果。例如,假设查询获取装置11获取的查询序列为“宝洁有哪些牌子”,扩展处理装置13对该查询序列进行语义分析,得到相应的语义分析结果,如关键词“宝洁”和“旗下品牌”,据此获得相应的扩展序列“宝洁旗下品牌”。又如,假设查询序列为“从徐家汇到淮海中路怎么走”,扩展处理装置13对该查询序列进行语义分析,得到相应的语义分析结果,如关键词“徐家汇”、“淮海中路”和“路线”,据此获得相应的扩展序列“徐家汇淮海中路路线”。4) The extended
5)扩展处理装置13根据查询序列中关键词的同义词和/或近似词,对查询序列进行扩展处理;在此,查询序列中关键词的同义词和/或近似词包括根据对查询序列分词处理后得到的关键词,通过查询预置词库或开放词库等方式,获得与该(等)关键词相对应的同义词和/或近义词;扩展处理装置13通过诸如直接从搜索引擎或者其他搜索设备获取该查询序列中关键词的同义词和/或近似词,或者从搜索引擎或者其他搜索设备获取该查询序列中的关键词或对该查询序列进行分词处理后得到相应的关键词,并对该(等)关键词在预置词库或开放词库等词库中进行查询获取相应的同义词和/或近义词。例如。例如,假设查询获取装置11获取的查询序列为“周董新歌”,其分词处理后的关键词为“周董”和“新歌”,通过查询预置词库,获得“周董”相应的同义词“周杰伦”,扩展处理装置13根据该同义词对该查询序列进行扩展处理,如将“周董”替换为“周杰伦”,获得相应的扩展序列“周杰伦新歌”。又如,假设查询序列为“联通遨游资费”,其分词处理后的关键词为“联通”、“遨游”和“资费”,扩展处理装置13通过查询开放词库,如网络资源等,获得关键词“遨游”的近义词“漫游”,并据此对该查询序列进行扩展处理,如将“遨游”替换为“漫游”,获得相应的扩展序列“联通漫游资费”。5) The
本领域技术人员应能理解上述各项对用户查询序列进行扩展处理的方式不仅可以单独用于扩展处理装置13对用户查询序列进行扩展处理,还可以将其中多项相结合用于扩展处理装置13对用户查询序列进行扩展处理。本领域技术人员还应能理解上述扩展处理的方式仅为举例,其他现有的或今后可能出现的扩展处理的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above-mentioned ways of expanding the user query sequence can not only be used alone for the
更优选地,所述对所述查询序列进行扩展处理的操作基于所述查询序列所对应的查询联想信息;其中,所述查询联想信息包括但不限于,以下至少任一项:More preferably, the operation of expanding the query sequence is based on query association information corresponding to the query sequence; wherein the query association information includes, but is not limited to, at least any of the following:
1)预定数量的所述查询序列的在先查询序列的相关信息;1) Relevant information of a predetermined number of previous query sequences of the query sequence;
2)预定时间内所述查询序列的在先查询序列的相关信息。2) Relevant information of the previous query sequence of the query sequence within a predetermined time.
具体地,扩展处理装置13对查询序列进行扩展处理的操作基于查询序列所对应的查询联想信息;在此,该查询联想信息包括但不限于:1)预定数量的查询序列的在先查询序列的相关信息,该(等)预定数量的查询序列的在先查询序列的相关信息包括预定数量的当前查询序列的在先查询序列、该(等)在先查询序列所对应的搜索结果、该(等)在先查询序列所对应的用户浏览记录等,其中,该(等)在先查询序列所对应的用户浏览记录包括该(等)在先查询序列所对应的搜索结果中用户历史浏览的搜索结果的锚文本,以及该(等)用户历史浏览的搜索结果所指向页面的页面相关信息,诸如页面标题、页面内容、页面类型等。例如,假设当前查询序列为“海清”,根据当前用户的查询历史记录,该当前查询序列的一个在先查询序列为“蜗居”,该在先查询序列所对应的用户浏览记录中,用户浏览的页面的页面类型为视频页面,相应的查询联想信息为“蜗居视频”,则扩展处理装置13基于该查询联想信息对该查询序列进行扩展处理,获得相应的扩展序列“海清蜗居视频”。Specifically, the operation of expanding the query sequence by the
2)预定时间内查询序列的在先查询序列的相关信息,该(等)预定时间内查询序列的在先查询序列的相关信息包括预定时间内的当前查询序列的在先查询序列、该(等)在先查询序列所对应的搜索结果、该(等)在先查询序列所对应的用户浏览记录等,其中,该(等)在先查询序列所对应的用户浏览记录包括该(等)在先查询序列所对应的搜索结果中用户历史浏览的搜索结果的锚文本,以及该(等)用户历史浏览的搜索结果所指向页面的页面相关信息,诸如页面标题、页面内容、页面类型等。例如,假设预定时间为2小时,用户的查询序列为“天龙八部”,根据用户的查询历史记录,获得大量用户在此前2小时内的包括关键词“天龙八部”的在先查询序列,这些在先查询序列多还包括关键词“游戏”,或者这些在先查询序列所对应的用户浏览记录中,用户浏览的页面的页面内容均与游戏相关,据此扩展处理装置13获得该“天龙八部”的查询联想信息“游戏”,并基于此对“天龙八部”进行扩展处理,获得相应的扩展序列“天龙八部游戏”。2) Relevant information of the previous query sequence of the query sequence within the predetermined time, the relevant information of the previous query sequence of the query sequence within the predetermined time (etc.) includes the previous query sequence of the current query sequence within the predetermined time, the (etc.) ) search results corresponding to the prior query sequence, user browsing records corresponding to the (etc.) prior query sequence, etc., wherein, the user browsing records corresponding to the (etc.) prior query sequence include The anchor text of the search results browsed by the user in the search results corresponding to the query sequence, and the page-related information of the page pointed to by the search results browsed by the user (such) history, such as page title, page content, page type, etc. For example, assuming that the scheduled time is 2 hours, and the user's query sequence is "Tianlong Babu", according to the user's query history records, a large number of users' previous query sequences including the keyword "Tianlong Babu" within the previous 2 hours are obtained, Most of these previous query sequences also include the keyword "game", or in the user browsing records corresponding to these previous query sequences, the page contents of the pages browsed by the user are all related to games, and accordingly the
本领域技术人员应能理解上述各项查询联想信息不仅可以单独用于扩展处理装置13对用户查询序列进行扩展处理,还可以将其相互结合用于扩展处理装置13对用户查询序列进行扩展处理。本领域技术人员应能理解上述查询联想信息及其相应的扩展处理方式仅为举例,其他现有的或今后可能出现的查询联想信息或其相应的扩展处理方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above items of query association information can not only be used alone for the
在一个优选实施例中(参照图1),扩展处理设备1还包括预处理装置(未示出),该预处理装置对所述查询序列进行预处理操作,以获取预处理后的所述查询序列;扩展检测装置12还检测是否满足对所述预处理后的查询序列进行扩展处理的扩展触发条件。以下参照图1对该优选实施例进行详细描述,其中,查询获取装置11获取用户的查询序列;扩展处理装置13当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列;其具体过程与前述参照图1所描述的实施例中查询获取装置11和扩展处理装置13所执行的过程相同,为简明起见,以引用方式包含于此,而不做赘述。In a preferred embodiment (refer to FIG. 1 ), the extended processing device 1 further includes a preprocessing device (not shown), which performs a preprocessing operation on the query sequence to obtain the preprocessed query Sequence; extension detection means 12 also detects whether the extension trigger condition for performing extension processing on the preprocessed query sequence is satisfied. The preferred embodiment will be described in detail below with reference to FIG. 1 , wherein, the query acquisition means 11 acquires the user's query sequence; the expansion processing means 13 performs expansion processing on the query sequence when the expansion trigger condition is satisfied, so as to obtain the query sequence corresponding to The extension sequence corresponding to the query sequence; its specific process is the same as the process performed by the
具体地,预处理装置对查询获取装置11获取的用户的查询序列进行预处理操作,诸如将该查询序列中的拼音转换为汉字、对该查询序列进行纠错、对该查询序列进行去冗余等,以获取预处理后的查询序列;扩展检测装置12还检测是否满足对该预处理后的查询序列进行扩展处理的扩展触发条件。在此,预处理操作包括任何与将用户的查询序列转换为扩展检测装置12可以检测是否满足对其进行扩展处理的扩展触发条件的查询序列相关的操作,诸如将用户的查询序列中的拼音转换为汉字、对用户的查询序列进行纠错、对用户的查询序列进行去冗余等。例如,查询获取装置11获取用户的查询序列为“lishishi”,预处理装置将该查询序列中的拼音转换为汉字,以获得预处理后的查询序列“李师师”;假设扩展触发条件包括查询序列的历史变换频次超过变换频次阈值,且该变换频次阈值为10次/小时,则扩展检测装置12根据用户查询历史记录,获得在1小时内,该预处理后的查询序列“李师师”所对应的历史变换频次为15次/小时,超过变换频次阈值,则检测满足对该预处理后的查询序列“李师师”进行扩展处理的扩展触发条件。又如,查询获取装置11获取用户的查询序列为“刘德化”,预处理装置对该查询序列进行基于拼音的纠错,获得预处理后的查询序列“刘德华”,则扩展检测装置12检测是否满足对该预处理后的查询序列进行扩展处理的扩展触发条件。本领域技术人员应能理解上述预处理操作仅为举例,其他现有的或今后可能出现的预处理操作如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Specifically, the preprocessing device performs preprocessing operations on the user's query sequence obtained by the
优选地,所述预处理操作包括但不限于,以下至少任一项:Preferably, the preprocessing operations include, but are not limited to, at least any of the following:
1)将所述查询序列中的拼音转换为汉字;1) converting the pinyin in the query sequence into Chinese characters;
2)对所述查询序列进行纠错;2) correcting the query sequence;
3)对所述查询序列进行去冗余。3) De-redundancy is performed on the query sequence.
具体地,1)将查询序列中的拼音转换为汉字,在此,将拼音转换为汉字的方式包括但不限于:根据全拼、简拼或者模糊音匹配规则等,将拼音转换为汉字;其中,全拼匹配规则包括根据汉字拼写的全部拼音,进行匹配,以完成拼音与汉字的转换;简拼匹配规则包括根据汉字拼写的首字母拼音,进行匹配,以完成拼音与汉字的转换;模糊音匹配规则包括根据汉字拼写中的平舌音与卷舌音的混用,如将“s”与“sh”混用,或者前鼻音与后鼻音的混用,如将“en”与“eng”混用,或者用户的输入习惯,如将“gn”与“ng”混用。例如,查询获取装置11获取用户的查询序列为“lishshi”,预处理装置根据全拼匹配规则将该查询序列中的拼音转换为汉字,获得预处理后的查询序列“李师师”。又如,假设查询序列为“sisitontagn”,预处理装置根据模糊音匹配规则将该查询序列中的拼音转换为汉字,获得预处理后的查询序列“四世同堂”。Specifically, 1) converting the pinyin in the query sequence into Chinese characters. Here, the way of converting pinyin into Chinese characters includes but not limited to: converting pinyin into Chinese characters according to the matching rules of full spelling, simplified spelling or fuzzy sounds; wherein , the Quanpin matching rule includes matching all the pinyin spelled according to Chinese characters to complete the conversion between pinyin and Chinese characters; Matching rules include mixing flat and retroflex sounds in Chinese spelling, such as mixing "s" with "sh", or mixing front and back nasal sounds, such as mixing "en" and "eng", or The user's input habits, such as mixing "gn" with "ng". For example, the
2)对查询序列进行纠错,在此,对查询序列进行纠错的方式包括但不限于基于字形对查询序列进行纠错和基于拼音对查询序列进行纠错。例如,查询获取装置11获取用户的查询序列为“小鸟惊魂”,预处理装置基于字形对该查询序列进行纠错,获得纠错后的查询序列“小岛惊魂”。又如,查询获取装置11获取用户的查询序列为“刘德化”,预处理装置基于字形对该查询序列进行纠错,获得纠错后的查询序列“刘德华”。需要说明的是,上述实施例是以中文为例来描述,本领域技术人员应能理解本发明还可适用于用户以英文、或者其他一种或多种语言进行查询序列的输入的情形,其中,其他一种或多种语言包括韩文、日文、法文、德文或意大利文等。例如,查询获取装置11获取用户的查询序列为“the big beng hteory”,预处理装置按照预置的词典对该查询序列进行纠错,获得纠错后的查询序列“the big bangtheory”。2) Correcting the query sequence. Here, the method of correcting the query sequence includes but not limited to correcting the query sequence based on font and correcting the query sequence based on pinyin. For example, the
3)对查询序列进行去冗余,在此,对查询序列去冗余的方式包括但不限于根据查询序列的字面组成去冗余和根据查询序列的语义分析去冗余。例如,假设查询序列为“喜羊羊与灰太狼喜洋洋”,预处理装置对该查询序列进行分词处理后,获得关键词“喜羊羊与灰太狼”和“喜洋洋”,并根据该查询序列的字面组成去冗余,获得相应的预处理后的查询序列“喜羊羊与灰太狼”。又如,假设查询序列为“天龙八部视频在线观看”,预处理装置对该查询序列进行分词处理后,获得关键词“天龙八部”、“视频”和“在线观看”,根据对这些关键词的语义分析,获得“视频”与“在线观看”语义重复,对该查询序列去冗余后获得相应的查询序列“天龙八部在线观看”。3) De-redundancy the query sequence. Here, the de-redundancy method of the query sequence includes but not limited to de-redundancy according to the literal composition of the query sequence and de-redundancy according to the semantic analysis of the query sequence. For example, assuming that the query sequence is "Pleasant Goat and Big Big Wolf Happy", after the preprocessing device performs word segmentation processing on the query sequence, the keywords "Pleasant Goat and Big Big Wolf" and "Xiyangyang" are obtained, and the redundancy is removed according to the literal composition of the query sequence, The corresponding preprocessed query sequence "Pleasant Goat and Big Big Wolf" is obtained. As another example, assuming that the query sequence is "Tianlongbabu video online viewing", after the preprocessing device performs word segmentation processing on the query sequence, the keywords "Tianlongbabu", "video" and "online viewing" are obtained. According to these keywords Semantic analysis of words, to obtain the semantic duplication of "video" and "online viewing", and to obtain the corresponding query sequence "Tianlongbabu online viewing" after de-redundancy of the query sequence.
本领域技术人员应能理解上述各项预处理操作不仅可以单独用于预处理装置对用户的查询序列进行预处理,还可以将其中多项相互结合用于预处理装置对用户的查询序列进行预处理。本领域技术人员应能理解上述预处理操作的方式仅为举例,其他现有的或今后可能出现的预处理操作的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above preprocessing operations can not only be used for the preprocessing device to preprocess the user's query sequence alone, but also multiple of them can be combined for the preprocessing device to preprocess the user's query sequence. deal with. Those skilled in the art should be able to understand that the mode of the above-mentioned pretreatment operation is only an example, and if other existing or possible future pretreatment operation modes can be applied to the present invention, they should also be included in the protection scope of the present invention, and with Citations are included here.
在另一个优选实施例中(参照图1),扩展处理设备1还包括扩展序列提供装置(未示出),该扩展序列提供装置将所述扩展序列提供给所述用户。以下参照图1对该另一优选实施例进行详细描述,其中,查询获取装置11获取用户的查询序列;接着,扩展检测装置12检测是否满足对所述查询序列进行扩展处理的扩展触发条件;随后,扩展处理装置13当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列;其具体过程与前述参照图1所描述的实施例中查询获取装置11、扩展检测装置12和扩展处理装置13所执行的过程相同,为简明起见,以引用方式包含于此,而不做赘述。In another preferred embodiment (refer to FIG. 1 ), the extension processing device 1 further includes spreading sequence providing means (not shown), and the spreading sequence providing means provides the spreading sequence to the user. This another preferred embodiment is described in detail below with reference to Fig. 1, wherein, the
具体地,扩展序列提供装置将扩展处理装置13获得的与用户的查询序列相对应的扩展序列,通过诸如将该(等)扩展序列发送至该用户的用户设备,由该用户经该用户设备获得该(等)扩展序列;或通过页面技术,如ASP、JSP、PHP等,基于该(等)扩展序列生成相应的页面,并将该页面推送至该用户的用户设备,该用户通过该用户设备浏览该(等)扩展序列;或者将该基于扩展序列生成的页面的URL发送至该用户的用户设备,由该用户经该用户设备点击该URL,从而进入相应页面以获得扩展序列。例如,扩展处理装置13获得与查询序列“海清”相对应的扩展序列“海清视频”和“海清简介”,扩展序列提供装置将这些扩展序列发送至该用户的用户设备,如在搜索框下拉栏中分条显示这些扩展序列,或者在搜索框中对用户输入的查询序列做主动变换,直接用扩展序列替换原用户输入的查询序列。本领域技术人员应能理解上述提供扩展序列的方式仅为举例,其他现有的或今后可能出现的提供扩展序列的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Specifically, the spreading sequence providing means sends the spreading sequence obtained by the spreading processing means 13 corresponding to the user's query sequence, such as by sending the spreading sequence(s) to the user equipment of the user, and the user obtains the spreading sequence through the user equipment. The (etc.) extension sequence; or use page technology, such as ASP, JSP, PHP, etc., to generate a corresponding page based on the (etc.) extension sequence, and push the page to the user's user device, and the user passes the user device Browsing the extended sequence(s); or sending the URL of the page generated based on the extended sequence to the user device of the user, and the user clicks the URL through the user device to enter the corresponding page to obtain the extended sequence. For example, the
在此,扩展序列提供装置向用户提供扩展序列,不仅可以用于用户对扩展处理装置13获得的扩展序列进行选择,从而便于扩展处理设备1有针对性的为用户提供搜索结果,还可以将扩展序列作为搜索建议提供给用户,使得用户在不知如何具体表达其搜索需求时,获得提示,以在本次及以后的搜索过程中,输入更准确的表达其搜索需求的查询序列。Here, the extension sequence providing means provides the user with the extension sequence, not only for the user to select the extension sequence obtained by the extension processing means 13, so that the extension processing device 1 can provide search results for the user in a targeted manner, but also for the extension The sequence is provided to the user as a search suggestion, so that when the user does not know how to specifically express his search requirement, he can get a prompt, so that he can enter a query sequence that more accurately expresses his search requirement during this and future search processes.
在又一个优选实施例中(参照图1),扩展处理设备1还包括扩展搜索装置(未示出)和结果提供装置(未示出),该扩展搜索装置根据所述扩展序列进行搜索,以获得与所述扩展序列相对应的扩展搜索结果;结果提供装置将所述扩展搜索结果提供给所述用户。以下参照图1对该又一优选实施例进行详细描述,其中,查询获取装置11获取用户的查询序列;接着,扩展检测装置12检测是否满足对所述查询序列进行扩展处理的扩展触发条件;随后,扩展处理装置13当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列;其具体过程与前述参照图1所描述的实施例中查询获取装置11、扩展检测装置12和扩展处理装置13所执行的过程相同,为简明起见,以引用方式包含于此,而不做赘述。In yet another preferred embodiment (refer to FIG. 1 ), the extended processing device 1 further includes extended search means (not shown) and result providing means (not shown), the extended search means searches according to the extended sequence, to An extended search result corresponding to the extended sequence is obtained; the result providing means provides the extended search result to the user. This yet another preferred embodiment is described in detail below with reference to Fig. 1, wherein, the query acquisition means 11 acquires the user's query sequence; then, the expansion detection means 12 detects whether the expansion trigger condition for performing expansion processing on the query sequence is satisfied; then , when the
具体地,扩展搜索装置根据扩展处理装置13获得的与查询序列相对应的扩展序列,通过诸如在搜索索引库中进行匹配查询,或者向具有搜索功能的第三方设备发送获取基于该(等)扩展序列的搜索结果的请求,并接收该第三方设备基于该请求返回的扩展搜索结果,以获取与该(等)扩展序列相对应的扩展搜索结果;接着,结果提供装置将该(等)扩展搜索结果,通过诸如页面技术,如ASP、JSP、PHP等,生成扩展搜索结果页面,并将该扩展搜索页面推送至该用户的用户设备,该用户通过该用户设备浏览该扩展搜索结果页面;或者将该扩展搜索结果页面的URL发送至该用户的用户设备,由该用户经该用户设备点击该URL,从而进入相应页面以获得扩展搜索结果;或者向该用户的用户设备逐条推送扩展搜索结果。例如,扩展处理装置13获得与查询序列相对应的扩展序列,扩展搜索装置根据该扩展序列在搜索索引库中进行匹配查询,以获取与该扩展序列相对应的扩展搜索结果;结果提供装置根据ASP页面技术,由这些扩展搜索结果生成相应的扩展搜索结果页面,并将该扩展搜索结果页面推送至该用户的用户设备,该用户通过该用户设备浏览该扩展搜索结果页面。本领域技术人员应能理解上述获得扩展搜索结果的方式及提供扩展搜索结果的方式仅为举例,其他现有的或今后可能出现的获得扩展搜索结果的方式或者提供扩展搜索结果方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。提供给所述用户。Specifically, according to the extended sequence corresponding to the query sequence obtained by the
优选地,扩展搜索装置还根据所述用户选择的扩展序列进行搜索,以获得所述扩展搜索结果。具体地,扩展搜索装置根据用户选择的扩展序列,通过诸如在搜索索引库中进行匹配查询,或者向具有搜索功能的第三方设备发送获取基于该用户选择的扩展序列的搜索结果的请求,并接收该第三方设备基于该请求返回的扩展搜索结果,以获取与该用户选择的扩展序列相对应的扩展搜索结果。例如,用户经由用户设备确认搜索框中主动变换的扩展序列,扩展搜索装置根据该用户的确认操作,获得相应的用户选择的扩展序列,并基于该扩展序列向具有搜索功能的第三方设备发送搜索请求,接收该第三方设备基于该请求返回的相应的扩展搜索结果。本领域技术人员应能理解上述获得用户选择的扩展序列以及获得扩展搜索结果的方式仅为举例,其他现有的或今后可能出现的获得用户选择的扩展序列或者获得扩展搜索结果的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Preferably, the extended search means also searches according to the extended sequence selected by the user to obtain the extended search result. Specifically, according to the extended sequence selected by the user, the extended search means performs a matching query in the search index database, or sends a request for obtaining search results based on the extended sequence selected by the user to a third-party device with a search function, and receives Based on the extended search result returned by the request, the third-party device acquires the extended search result corresponding to the extended sequence selected by the user. For example, the user confirms the extended sequence actively transformed in the search box through the user equipment, and the extended search device obtains the corresponding extended sequence selected by the user according to the user's confirmation operation, and sends the search function to the third-party device with the search function based on the extended sequence. request, and receive the corresponding extended search result returned by the third-party device based on the request. Those skilled in the art should be able to understand that the above-mentioned way of obtaining the extended sequence selected by the user and the extended search result is only an example, and other existing or future possible ways of obtaining the extended sequence selected by the user or the extended search result are as applicable In the present invention, it should also be included in the protection scope of the present invention, and is included here by reference.
优选地,扩展处理设备1还包括结果获取装置(未示出),该结果获取装置获取与所述查询序列相对应的第一搜索结果;结果提供装置还将所述第一搜索结果与所述扩展搜索结果提供给所述用户。具体地,结果获取装置通过诸如根据用户的查询序列在搜索索引库中进行匹配查询,以获得与该查询序列相对应的第一搜索结果,或者从搜索引擎或具有搜索能力的第三方设备处获取与用户的查询序列相对应的第一搜索结果;结果提供装置还将扩展搜索装置获取的扩展搜索结果与该(等)第一搜索结果通过诸如逐条提供、交叉提供、合并提供等方式提供给该用户。例如,查询获取装置11获得用户的查询序列;结果获取装置根据该查询序列在搜索索引库中进行匹配查询,以获得与该查询序列相对应的第一搜索结果;扩展检测装置12检测满足对该查询序列进行扩展处理的扩展触发条件;扩展处理装置13对该查询序列进行扩展处理,获得相应的扩展序列;扩展搜索装置根据该扩展序列在搜索索引库中进行匹配查询,获取相应的扩展搜索结果;结果提供装置还将该扩展搜索结果与该第一搜索结果进行合并,生成结果页面,并将该结果页面推送至该用户的用户设备,该用户通过该用户设备浏览该结果页面,从而获得相应的扩展搜索结果和第一搜索结果。Preferably, the extended processing device 1 further includes a result obtaining means (not shown), the result obtaining means obtains a first search result corresponding to the query sequence; the result providing means also combines the first search result with the Extended search results are provided to the user. Specifically, the result obtaining means obtains the first search result corresponding to the query sequence by performing a matching query in the search index library according to the user's query sequence, or obtains the first search result from a search engine or a third-party device with search capabilities. The first search result corresponding to the user's query sequence; the result providing means will also provide the extended search result obtained by the extended search means and the first search result(s) to the said search result by providing item by item, intersecting, combining, etc. user. For example, the query acquisition means 11 obtains the user's query sequence; the result acquisition means performs a matching query in the search index database according to the query sequence, so as to obtain the first search result corresponding to the query sequence; the extension detection means 12 detects that the An extended trigger condition for performing extended processing on the query sequence; the
在此,本领域技术人员应能理解,结果获取装置的操作与扩展检测装置12、扩展处理装置13以及扩展搜索装置的操作之间无确定的顺序关系,结果获取装置可以在扩展检测装置12、扩展处理装置13和/或扩展搜索装置之前、之间、之后以及与他们同时执行各自对应的操作。本领域技术人员应能理解上述获取第一搜索结果以及提供扩展搜索结果与第一搜索结果的方式仅为举例,其他现有的或今后可能出现的获取第一搜索结果或者提供扩展搜索结果与第一搜索结果的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Here, those skilled in the art should be able to understand that there is no definite sequence relationship between the operations of the result acquisition device and the operations of the
更优选地,结果提供装置还对所述第一搜索结果与所述扩展搜索结果进行合并,以获得合并后的第一搜索结果与扩展搜索结果;将所述合并后的第一搜索结果与扩展搜索结果提供给所述用户。具体地,结果提供装置还基于诸如第一搜索结果与扩展搜索结果分别对应的历史点击量、第一搜索结果与扩展搜索结果分别对应的权威度等,对第一搜索结果与扩展搜索结果进行合并,以获得合并后的第一搜索结果与扩展搜索结果,并将合并后的第一搜索结果与扩展搜索结果,通过诸如页面技术,如ASP、JSP、PHP等,生成搜索结果页面,并将该搜索结果页面推送至该用户的用户设备,该用户通过该用户设备浏览该搜索结果页面;或者将该搜索结果页面的URL发送至该用户的用户设备,由该用户经该用户设备点击该URL,从而进入相应页面以获得搜索结果;或者向该用户的用户设备逐条推送合并后的搜索结果。例如,结果获取装置获得与查询序列相对应的第一搜索结果;扩展搜索装置根据扩展处理装置13获得的扩展序列,获得相应的扩展搜索结果;结果提供装置根据第一搜索结果与扩展搜索结果分别对应的历史点击量,按照历史点击量从大到小的顺序对第一搜索结果与扩展搜索结果进行排序和合并,并通过ASP页面技术,对合并后的第一搜索结果与扩展搜索结果生成相应的搜索结果页面,将该搜索结果页面推送至用户设备,用户经由该用户设备浏览该搜索结果页面。本领域技术人员应能理解上述合并搜索结果的方式仅为举例,其他现有的或今后可能出现的合并搜索结果的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。More preferably, the result providing means further merges the first search result and the extended search result to obtain the combined first search result and the extended search result; combines the combined first search result and the extended Search results are provided to the user. Specifically, the result providing device also combines the first search result and the extended search result based on historical hits corresponding to the first search result and the extended search result, authoritative degrees respectively corresponding to the first search result and the extended search result, etc. , to obtain the combined first search result and extended search result, and generate a search result page through such page technologies as ASP, JSP, PHP, etc., and convert the combined first search result and extended search result to The search result page is pushed to the user device of the user, and the user browses the search result page through the user device; or the URL of the search result page is sent to the user device of the user, and the user clicks the URL through the user device, Thereby entering the corresponding page to obtain the search results; or pushing the combined search results one by one to the user equipment of the user. For example, the result obtaining means obtains the first search result corresponding to the query sequence; the extended search means obtains the corresponding extended search result according to the extended sequence obtained by the extended processing means 13; the result providing means obtains the corresponding extended search result according to the first search result and the extended search result respectively According to the corresponding historical hits, the first search result and the extended search results are sorted and merged according to the order of the historical hits from the largest to the smallest, and the merged first search result and the extended search results are generated correspondingly through the ASP page technology. The search result page is pushed to the user equipment, and the user browses the search result page through the user equipment. Those skilled in the art should be able to understand that the above-mentioned way of combining search results is only an example, and other existing or future ways of combining search results, if applicable to the present invention, should also be included within the scope of protection of the present invention, and with Citations are included here.
更优选地,所述对所述第一搜索结果与所述扩展搜索结果进行合并的操作基于但不限于,以下至少任一项:More preferably, the operation of merging the first search result and the expanded search result is based on, but not limited to, at least any of the following:
1)所述第一搜索结果与所述扩展搜索结果分别对应的历史浏览量;1) the historical browsing volumes respectively corresponding to the first search result and the extended search result;
2)所述第一搜索结果与所述扩展搜索结果分别对应的匹配度;2) matching degrees corresponding to the first search result and the extended search result;
3)所述第一搜索结果与所述扩展搜索结果分别对应的权威度。3) Authorities respectively corresponding to the first search result and the extended search result.
具体地,1)第一搜索结果与扩展搜索结果分别对应的历史浏览量,其中,第一搜索结果对应的历史点击量包括根据用户查询历史记录,获得的第一搜索结果中用户浏览的每一条第一搜索结果所对应的用户浏览次数,扩展搜索结果对应的历史点击量包括根据用户查询历史记录,获得的扩展搜索结果中用户浏览的每一条扩展搜索结果所对应的用户浏览次数;例如,结果提供装置根据第一搜索结果与扩展搜索结果分别对应的历史浏览量,按照特定的排序顺序,如从大到小,对这些第一搜索结果与扩展搜索结果进行排序及合并,以获得合并后的第一搜索结果与扩展搜索结果。2)第一搜索结果与扩展搜索结果分别对应的匹配度,其中,第一搜索结果对应的匹配度包括查询序列与第一搜索结果的匹配度,该匹配度基于第一搜索结果与查询序列的匹配模式确定,其中,匹配模式包括精确匹配和模糊匹配,精确匹配包括查询序列与第一搜索结果在搜索索引库中所对应的查询关键词完全相同,模糊匹配包括查询序列与第一搜索结果在搜索索引库中所对应的查询关键词部分相同,并且第一搜索结果与查询序列精确匹配的匹配度大于第一搜索结果与查询序列模糊匹配的匹配度;扩展搜索结果对应的匹配度包括扩展序列与扩展搜索结果的匹配度,该匹配度基于扩展搜索结果与扩展序列的匹配模式确定,其中,匹配模式包括精确匹配和模糊匹配,精确匹配包括扩展序列与扩展搜索结果在搜索索引库中所对应的查询关键词完全相同,模糊匹配包括扩展序列与扩展搜索结果在搜索索引库中所对应的查询关键词部分相同,并且扩展搜索结果与扩展序列精确匹配的匹配度大于扩展搜索结果与扩展序列模糊匹配的匹配度;例如,结果提供装置根据第一搜索结果与扩展搜索结果分别对应的匹配度,按照特定的顺序排序、筛选及合并,如按照从大到小的顺序对这些第一搜索结果与扩展搜索结果分别进行排序,并按照预设的匹配度阈值对这些第一搜索结果与扩展搜索结果进行筛选及合并,以获得合并后的第一搜索结果与扩展搜索结果。3)第一搜索结果与扩展搜索结果分别对应的权威度,其中,第一搜索结果对应的权威度包括搜索索引库中将每一条第一搜索结果所对应的页面索引信息加入该搜索索引库时,预设的或计算确定的该条第一搜索结果所对应的页面的权威度,扩展搜索结果对应的权威度包括搜索索引库中将每一条扩展搜索结果所对应的页面索引信息加入该搜索索引库时,预设的或计算确定的该条扩展搜索结果所对应的页面的权威度;例如,结果提供装置根据第一搜索结果与扩展搜索结果分别对应的权威度,按照特定的顺序排序、筛选及合并,如按照预设的权威度阈值对这些第一搜索结果与扩展搜索结果进行筛选,再按照从大到小的顺序对筛选后的第一搜索结果与扩展搜索结果进行排序及合并,以获得合并后的第一搜索结果与扩展搜索结果。Specifically, 1) the historical views corresponding to the first search result and the extended search results, wherein the historical clicks corresponding to the first search result include each item browsed by the user in the first search result obtained according to the user query history The number of user views corresponding to the first search result, and the historical hits corresponding to the extended search results include the number of user views corresponding to each extended search result browsed by the user in the extended search results obtained according to the user query history; for example, the result The providing device sorts and merges the first search results and the extended search results according to the historical page views corresponding to the first search results and the extended search results respectively in a specific order, such as from largest to smallest, to obtain the merged First search result and expanded search result. 2) Matching degrees corresponding to the first search result and the extended search results, wherein the matching degree corresponding to the first search result includes the matching degree between the query sequence and the first search result, and the matching degree is based on the matching degree between the first search result and the query sequence The matching mode is determined, wherein the matching mode includes exact matching and fuzzy matching. The exact matching includes that the query sequence is exactly the same as the query keyword corresponding to the first search result in the search index library, and the fuzzy matching includes that the query sequence is identical to the first search result in the search index database. The corresponding query keywords in the search index database are partly the same, and the matching degree of the first search result and the query sequence is greater than the matching degree of the first search result and the query sequence; the matching degree corresponding to the extended search result includes the extended sequence The matching degree with the extended search result, the matching degree is determined based on the matching mode of the extended search result and the extended sequence, wherein the matching mode includes exact matching and fuzzy matching, and the exact matching includes the correspondence between the extended sequence and the extended search result in the search index library The query keywords are exactly the same, the fuzzy matching includes that the extended sequence and the extended search result are partly the same as the corresponding query keywords in the search index library, and the matching degree of the extended search result and the extended sequence is greater than the extended search result and the extended sequence fuzzy The matching degree of matching; for example, the result providing device sorts, filters and merges in a specific order according to the corresponding matching degrees of the first search result and the extended search result, such as sorting, filtering and merging these first search results and the extended search results in descending order The extended search results are sorted respectively, and the first search results and the extended search results are screened and merged according to a preset matching degree threshold to obtain the combined first search result and the extended search results. 3) Authoritative degrees corresponding to the first search result and the extended search result, wherein the authoritative degree corresponding to the first search result includes when the page index information corresponding to each first search result is added to the search index database in the search index database , the preset or calculated authority of the page corresponding to the first search result, and the authority corresponding to the extended search result includes adding the page index information corresponding to each extended search result to the search index in the search index database library, the preset or calculated authority of the page corresponding to the extended search result; for example, the result providing device sorts and filters in a specific order according to the authoritative degrees corresponding to the first search result and the extended search result respectively. and merging, such as filtering these first search results and extended search results according to a preset authority threshold, and then sorting and merging the filtered first search results and extended search results in descending order, so as to The combined first search result and the expanded search result are obtained.
本领域技术人员应能理解,上述各项合并操作不仅可以单独用于结果提供装置对第一搜索结果与扩展搜索结果进行合并,还可以将其中多项结合用于结果提供装置对第一搜索结果与扩展搜索结果进行合并。例如,假设各项合并操作对应于不同的合并权重,如第一搜索结果与扩展搜索结果分别对应的历史浏览量的合并权重为0.2,第一搜索结果与扩展搜索结果分别对应的匹配度的合并权重为0.4,以及第一搜索结果与扩展搜索结果分别所对应的权威度的合并权重为0.4;据此,结果提供装置加权确定第一搜索结果与扩展搜索结果中每一条搜索结果的排序,并按照该排序顺序对第一搜索结果与扩展搜索结果进行合并,以获得合并后的第一搜索结果与扩展搜索结果,并将这些合并后的第一搜索结果与扩展搜索结果提供给用户。本领域技术人员还应能理解上述对第一搜索结果与扩展搜索结果进行合并的操作仅为举例,其他现有的或今后可能出现的对第一搜索结果与扩展搜索结果进行合并的操作如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above-mentioned merging operations can not only be used alone for the result providing device to merge the first search result and the extended search result, but also can be used in combination for the result providing device to merge the first search result Merged with extended search results. For example, assuming that each merging operation corresponds to different merging weights, for example, the merging weight of historical views corresponding to the first search result and the extended search result is 0.2, and the merging of matching degrees corresponding to the first search result and the extended search result The weight is 0.4, and the combined weight of the authoritative degrees corresponding to the first search result and the extended search result is 0.4; accordingly, the result providing device weights the ranking of each search result in the first search result and the extended search result, and The first search result and the extended search result are merged according to the sorting order to obtain the combined first search result and the extended search result, and these combined first search result and the extended search result are provided to the user. Those skilled in the art should also understand that the above-mentioned operation of combining the first search result and the extended search result is only an example, and other existing or future operations of merging the first search result and the extended search result can be as follows: Applicable to the present invention, should also be included in the protection scope of the present invention, and included here by reference.
图2为根据本发明另一个方面的方法流程图,示出一种对查询序列进行扩展处理的方法。具体地,在步骤S1中,扩展处理设备1获取用户的查询序列;随后,在步骤S2中,扩展处理设备1检测是否满足对所述查询序列进行扩展处理的扩展触发条件;接着,在步骤S3中,扩展处理设备1当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列。在此,扩展处理设备1包括但不限于搜索引擎、与搜索引擎相连的网络设备;其中,网络设备包括但不限于网络主机、单个网络服务器、多个网络服务器集或基于云计算的计算机集合,在此,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。本领域技术人员应能理解上述扩展处理设备以及网络设备仅为举例,其他现有的或今后可能出现的扩展处理设备或者网络设备如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Fig. 2 is a flow chart of a method according to another aspect of the present invention, showing a method for expanding a query sequence. Specifically, in step S1, the extension processing device 1 obtains the query sequence of the user; then, in step S2, the extension processing device 1 detects whether the extension trigger condition for performing extension processing on the query sequence is satisfied; then, in step S3 When the extension processing device 1 satisfies the extension trigger condition, it performs extension processing on the query sequence, so as to obtain an extension sequence corresponding to the query sequence. Here, the extended processing device 1 includes, but is not limited to, a search engine, and a network device connected to the search engine; wherein, the network device includes, but is not limited to, a network host, a single network server, a plurality of network server sets, or a collection of computers based on cloud computing, Here, cloud computing is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computer sets. Those skilled in the art should understand that the above-mentioned extended processing devices and network devices are only examples, and other existing or future extended processing devices or network devices that are applicable to the present invention should also be included within the protection scope of the present invention. and is incorporated herein by reference.
更具体地,在步骤S1中,扩展处理设备1获取用户的查询序列。具体地,在步骤S1中,扩展处理设备1通过诸如按照预先约定的通信协议接收用户经由用户设备发送的查询序列、或者从第三方设备提供的应用程序接口(API),获取用户向该第三方设备输入的查询序列。例如,假设扩展处理设备1为搜索引擎,在步骤S1中,其按照预先约定的通信协议,如http、https等通信协议,接收用户经由用户设备发送的查询序列,从而获取用户经由该用户设备输入的查询序列。又如,在步骤S1中,扩展处理设备1根据第三方设备提供的应用程序接口(API),向该第三方设备发送获取用户输入该第三方设备的查询序列的请求,并接收该第三方设备基于该请求返回的查询序列。本领域技术人员应能理解上述获取查询序列的方式仅为举例,其他现有的或今后可能出现的获取查询序列的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。More specifically, in step S1, the extension processing device 1 obtains the query sequence of the user. Specifically, in step S1, the extension processing device 1 obtains the information sent by the user to the third party through, for example, receiving the query sequence sent by the user via the user device according to a pre-agreed communication protocol, or from the application program interface (API) provided by the third-party device. The query sequence entered by the device. For example, assuming that the extension processing device 1 is a search engine, in step S1, it receives the query sequence sent by the user through the user device according to a pre-agreed communication protocol, such as http, https and other communication protocols, so as to obtain the user input via the user device. query sequence. As another example, in step S1, the extension processing device 1 sends a request to the third-party device to obtain the query sequence input by the user to the third-party device according to the application program interface (API) provided by the third-party device, and receives the request from the third-party device The sequence of queries returned based on this request. Those skilled in the art should be able to understand that the above-mentioned way of obtaining the query sequence is only an example, and other existing or future possible ways of obtaining the query sequence, if applicable to the present invention, should also be included within the scope of protection of the present invention, and are based on Citations are included here.
随后,在步骤S2中,扩展处理设备1检测是否满足对所述查询序列进行扩展处理的扩展触发条件。具体地,在步骤S2中,扩展处理设备1检测是否满足对其在步骤S1中获取的查询序列进行扩展处理的扩展触发条件,诸如该查询序列的历史变换频次是否超过变换频次阈值、该查询序列所对应的搜索结果的数量是否低于数量阈值等。例如,在步骤S1中,扩展处理设备1获取用户的查询序列;在步骤S2中,扩展处理设备1根据用户查询历史记录,获取当前用户对该查询序列的历史变换频次,当该历史变换频次超过预设的变换频次阈值时,确定该查询序列满足对其进行扩展处理的扩展触发条件;如扩展处理设备1获取用户的查询序列为“苹果”,并从搜索引擎的查询日志获取大量用户的用户查询历史记录,根据该用户查询历史记录,获取大量用户在预定时间单元内,如20分钟,对该查询序列的统计变换频次为700,超过变换频次阈值,则确定满足对该查询序列进行扩展处理的扩展触发条件。又如,在步骤S1中,扩展处理设备1获取用户的查询序列;在步骤S2中,扩展处理设备1检测该查询序列所对应的搜索结果的数量,如果该数量小于预设的搜索结果的数量阈值,则确定该查询序列满足对其进行扩展处理的扩展触发条件;如假设扩展处理设备1获取查询序列为“沈阳租房网铁西区寻找求租者”,基于搜索索引库获得相应的搜索结果的数量为2,低于预设的搜索结果的数量阈值8,则检测确定满足对该查询序列进行扩展处理的扩展触发条件。本领域技术人员应能理解上述扩展触发条件的检测方式仅为举例,其他现有的或今后可能出现的扩展触发条件的检测方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。此外,本发明中的用户包括当前输入查询序列的用户和历史输入相应查询序列的统计用户,如无特别说明,两种用户均可以适用于本发明的方案,为简明起见,以引用方式包含于此,不再赘述。Subsequently, in step S2, the extension processing device 1 detects whether an extension trigger condition for performing extension processing on the query sequence is satisfied. Specifically, in step S2, the expansion processing device 1 detects whether the expansion trigger condition for performing expansion processing on the query sequence acquired in step S1 is satisfied, such as whether the historical transformation frequency of the query sequence exceeds the transformation frequency threshold, the query sequence Whether the quantity of corresponding search results is lower than a quantity threshold or the like. For example, in step S1, the extended processing device 1 obtains the user's query sequence; in step S2, the extended processing device 1 obtains the historical conversion frequency of the current user's query sequence according to the user query history record, when the historical conversion frequency exceeds When the preset conversion frequency threshold is determined, it is determined that the query sequence satisfies the extended trigger condition for extended processing; for example, the extended processing device 1 obtains the user's query sequence as "apple", and obtains a large number of users from the query log of the search engine. Query historical records. According to the user query historical records, obtain a large number of users within a predetermined time unit, such as 20 minutes, and the statistical conversion frequency of the query sequence is 700. If it exceeds the conversion frequency threshold, it is determined that the query sequence is satisfied. Expansion processing extended trigger conditions. As another example, in step S1, the extension processing device 1 obtains the query sequence of the user; in step S2, the extension processing device 1 detects the number of search results corresponding to the query sequence, if the number is less than the preset number of search results threshold, it is determined that the query sequence satisfies the extended trigger condition for extended processing; for example, assuming that the extended processing device 1 obtains the query sequence as "Looking for renters in the Tiexi District of Shenyang Rental Housing Network", and obtains the corresponding search results based on the search index library If the number is 2, which is lower than the preset search result number threshold of 8, then the detection determines that the expansion trigger condition for performing expansion processing on the query sequence is satisfied. Those skilled in the art should be able to understand that the detection method of the above-mentioned extended trigger condition is only an example, and other existing or future detection methods of the extended trigger condition, if applicable to the present invention, should also be included within the protection scope of the present invention. and is incorporated herein by reference. In addition, users in the present invention include users who currently input query sequences and statistical users who historically input corresponding query sequences. If there is no special description, both types of users can be applied to the solution of the present invention. For the sake of brevity, they are included by reference in Here, no more details.
接着,在步骤S3中,扩展处理设备1当其在步骤S2中检测满足对用户查询序列进行扩展处理的扩展触发条件时,根据诸如该查询序列的历史变换记录、该查询序列所对应的用户浏览记录等,对该查询序列进行扩展处理,以获得与该查询序列相对应的扩展序列。例如,假设用户的查询序列为“苹果”,在步骤S2中,扩展处理设备1检测满足对该查询序列进行扩展处理的扩展触发条件;在步骤S3中,扩展处理设备1从搜索引擎的用户历史查询记录中,获得当前用户基于“苹果”的历史变换记录,包括“苹果电脑”、“苹果笔记本”、“苹果港行”、“苹果笔记本报价”等变换序列,扩展处理设备1通过诸如根据这些变换序列的时间顺序或其对应搜索结果的点击记录,或者通过计算这些变换序列与该查询序列的相关系数,如“苹果笔记本”的相关系数最大,则据此对该查询序列进行扩展处理,获得相应的扩展序列,如“苹果笔记本”。又如,假设在步骤S1中,扩展处理设备1获取用户的查询序列为“2011年4月影讯”;在步骤S2中,扩展处理设备1检测满足对该查询序列进行扩展处理的扩展触发条件;在步骤S3中,扩展处理设备1根据该查询序列所对应的搜索结果中用户历史点击的搜索结果所对应页面的内容,如“里约大冒险”,对该查询序列进行扩展处理,获得相应的扩展序列“2011年4月影讯里约大冒险”。优选地,当满足对用户查询序列进行扩展处理的扩展触发条件时,在步骤S3中,扩展处理设备1可以结合该扩展触发条件,对该查询序列进行扩展处理,以获得与该查询序列相对应的扩展序列。例如,假设扩展触发条件包括查询序列所对应的搜索结果的数量低于数量阈值,当用户的查询序列满足该扩展触发条件时,扩展处理设备1根据诸如该查询序列所对应的搜索结果所对应页面的内容,或者这些搜索结果中用户点击的搜索结果所对应页面的内容,获得相应的扩展词,并将该扩展词加入该查询序列,以获得相应的扩展序列。本领域技术人员应能理解上述获得扩展序列的方式仅为举例,其他现有的或今后可能出现的获得扩展序列的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Next, in step S3, when the expansion processing device 1 detects in step S2 that the expansion trigger condition for expanding the user query sequence is met, it converts the records according to the history of the query sequence, the user browsing information corresponding to the query sequence, etc. records, etc., and perform expansion processing on the query sequence to obtain an expansion sequence corresponding to the query sequence. For example, assuming that the user's query sequence is "apple", in step S2, the expansion processing device 1 detects that the expansion trigger condition for performing expansion processing on the query sequence is satisfied; In the query record, obtain the current user's historical transformation records based on "Apple", including transformation sequences such as "Apple Computer", "Apple Notebook", "Apple Port Tour", "Apple Notebook Quotation", etc. Transform the time order of the sequence or the click records of the corresponding search results, or calculate the correlation coefficient between these transformation sequences and the query sequence. For example, the correlation coefficient of "Apple Notebook" is the largest, and then expand the query sequence accordingly to obtain The corresponding extension sequence, such as "Apple Notebook". As another example, assume that in step S1, the extended processing device 1 obtains the user's query sequence as "April 2011 Video Information"; in step S2, the extended processing device 1 detects that the extended trigger condition for performing extended processing on the query sequence is satisfied; In step S3, the expansion processing device 1 expands the query sequence according to the content of the page corresponding to the search result clicked by the user in the history of the search results corresponding to the query sequence, such as "Rio Adventure", and obtains the corresponding Extended sequence "April 2011 Movie News Rio". Preferably, when the extended trigger condition for performing extended processing on the user query sequence is satisfied, in step S3, the extended processing device 1 may combine the extended trigger condition to perform extended processing on the query sequence to obtain the query sequence corresponding to the query sequence extension sequence. For example, assuming that the extended trigger condition includes that the number of search results corresponding to the query sequence is lower than the quantity threshold, when the user's query sequence satisfies the extended trigger condition, the extended processing device 1 will, for example, according to the page corresponding to the search result corresponding to the query sequence or the content of the page corresponding to the search result clicked by the user among the search results, obtain the corresponding expansion word, and add the expansion word to the query sequence to obtain the corresponding expansion sequence. Those skilled in the art should be able to understand that the above-mentioned way of obtaining the extended sequence is only an example, and other existing or future possible ways of obtaining the extended sequence, if applicable to the present invention, should also be included within the scope of protection of the present invention, and are based on Citations are included here.
优选地,扩展处理设备1在步骤S1、步骤S2和步骤S3是持续不断工作的。具体地,在步骤S1中,扩展处理设备1获取用户的查询序列;随后,在步骤S2中,扩展处理设备1检测是否满足对所述查询序列进行扩展处理的扩展触发条件;接着,在步骤S3中,扩展处理设备1当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列。在此,本领域技术人员应理解“持续”是指扩展处理设备1在步骤S1、步骤S2和步骤S3分别按照设定的或实时调整的工作模式要求进行查询序列的获取、扩展触发条件的检测,以及对该查询序列的扩展处理,直至扩展处理设备1在较长时间内停止获取用户的查询序列。Preferably, the extended processing device 1 works continuously in step S1, step S2 and step S3. Specifically, in step S1, the extension processing device 1 obtains the query sequence of the user; then, in step S2, the extension processing device 1 detects whether the extension trigger condition for performing extension processing on the query sequence is satisfied; then, in step S3 When the extension processing device 1 satisfies the extension trigger condition, it performs extension processing on the query sequence, so as to obtain an extension sequence corresponding to the query sequence. Here, those skilled in the art should understand that "continuous" means that the extended processing device 1 acquires the query sequence and detects the extended trigger conditions in step S1, step S2 and step S3 respectively according to the set or real-time adjusted working mode requirements , and extended processing of the query sequence, until the extended processing device 1 stops acquiring the user's query sequence for a relatively long period of time.
优选地,所述扩展触发条件包括但不限于,以下至少任一项:Preferably, the extended trigger conditions include, but are not limited to, at least any of the following:
1)所述查询序列的历史变换频次超过变换频次阈值;1) The historical conversion frequency of the query sequence exceeds the conversion frequency threshold;
2)所述查询序列所对应的搜索结果的数量低于数量阈值;2) The number of search results corresponding to the query sequence is lower than the number threshold;
3)所述查询序列所对应的搜索结果的历史浏览量低于浏览量阈值;3) The historical browsing volume of the search results corresponding to the query sequence is lower than the browsing volume threshold;
4)所述查询序列所对应的搜索结果与所述查询序列的相关度低于相关度阈值;4) The correlation between the search result corresponding to the query sequence and the query sequence is lower than the correlation threshold;
5)所述查询序列所对应的搜索结果与所述查询序列的匹配度低于匹配度阈值。5) The matching degree of the search result corresponding to the query sequence and the query sequence is lower than the matching degree threshold.
具体地,1)当扩展触发条件包括查询序列的历史变换频次超过变换频次阈值时,在步骤S2中,扩展处理设备1通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列的历史变换频次,或者先获取用户查询历史记录,再从该用户查询历史记录中获取该查询序列的历史变换频次,当该历史变换频次超过变换频次阈值时,则判断满足对该查询序列进行扩展处理的扩展触发条件。例如,假设20分钟内查询序列的变换频次阈值为80,根据用户查询历史记录,扩展处理设备1检测查询序列“苹果”在之前20分钟的大量用户的统计历史变换频次,如果该统计历史变换频次超过80,则确定满足对该查询序列进行扩展处理的扩展触发条件。Specifically, 1) when the expansion trigger condition includes that the historical conversion frequency of the query sequence exceeds the conversion frequency threshold, in step S2, the expansion processing device 1 directly obtains the query sequence by interacting with a search engine or other third-party devices, such as Historical transformation frequency, or first obtain the user query history record, and then obtain the historical transformation frequency of the query sequence from the user query history record. When the historical transformation frequency exceeds the transformation frequency threshold, it is judged that the query sequence is satisfied. extended trigger conditions. For example, assuming that the conversion frequency threshold of the query sequence within 20 minutes is 80, according to the user query history records, the extended processing device 1 detects the statistical historical conversion frequency of a large number of users of the query sequence "apple" in the previous 20 minutes, if the statistical historical conversion frequency If it exceeds 80, it is determined that the extended trigger condition for performing extended processing on the query sequence is satisfied.
2)当扩展触发条件包括查询序列所对应的搜索结果的数量低于数量阈值时,在步骤S2中,扩展处理设备1通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果的数量,或者检测搜索引擎基于该查询序列返回的搜索结果的数量,当该数量低于搜索结果的数量阈值时,则确定满足对该查询序列进行扩展处理的扩展触发条件。例如,假设查询序列为“沈阳租房网铁西区寻找求租者”,搜索引擎对该查询序列在搜索索引库中进行匹配查询,获得的相应搜索结果的数量为2,若预设搜索结果的数量阈值为8,则扩展处理设备1检测确定满足对该查询序列进行扩展处理的扩展触发条件。2) When the extended trigger condition includes that the number of search results corresponding to the query sequence is lower than the quantity threshold, in step S2, the extended processing device 1 directly obtains the search results of the query sequence through interaction such as with a search engine or other third-party devices. The number of corresponding search results, or the number of search results returned by the detection search engine based on the query sequence, when the number is lower than the threshold of the number of search results, it is determined that the expansion trigger condition for expanding the query sequence is met. For example, assuming that the query sequence is “Looking for rent-seekers in Shenyang Rent a House Net Railway West District”, the search engine performs a matching query on the query sequence in the search index database, and the number of corresponding search results obtained is 2. If the number of preset search results If the number threshold is 8, then the extension processing device 1 detects and determines that the extension trigger condition for performing extension processing on the query sequence is satisfied.
3)当扩展触发条件包括查询序列所对应的搜索结果的历史浏览量低于浏览量阈值时,在步骤S2中,扩展处理设备1通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果的历史浏览量,或者先获取用户查询历史记录,再从该用户查询历史记录中获取该查询序列所对应的搜索结果的历史浏览量,当该历史浏览量低于浏览量阈值时,则确定满足对该查询序列进行扩展处理的扩展触发条件。在此,查询序列所对应的搜索结果的历史浏览量包括该查询序列所对应的搜索结果中的用户浏览的搜索结果的数量;如果用户浏览的搜索结果较少,则应表明基于该查询序列进行搜索获得的搜索结果未能满足用户的搜索需求。例如,假设查询序列为“大海”,根据当前用户的用户查询历史记录,扩展处理设备1获得该查询序列所对应的搜索结果的历史浏览量为1,而相应的浏览量阈值为2,则确定满足对该查询序列进行扩展处理的扩展触发条件。3) When the extension trigger condition includes that the historical pageview volume of the search result corresponding to the query sequence is lower than the pageview volume threshold, in step S2, the expansion processing device 1 directly obtains the The historical viewing volume of the search results corresponding to the query sequence, or first obtain the user query history record, and then obtain the historical viewing volume of the search result corresponding to the query sequence from the user query history record, when the historical viewing volume is lower than the browsing volume When the amount threshold is exceeded, it is determined that the extended trigger condition for performing extended processing on the query sequence is satisfied. Here, the historical viewing volume of the search results corresponding to the query sequence includes the number of search results browsed by the user in the search results corresponding to the query sequence; The search results obtained by the search fail to meet the user's search needs. For example, assuming that the query sequence is "sea", according to the user query history records of the current user, the expansion processing device 1 obtains 1 historical page views of the search results corresponding to the query sequence, and the corresponding page view threshold is 2, then determine An extended trigger condition for extended processing of the query sequence is satisfied.
4)当扩展触发条件包括查询序列所对应的搜索结果与该查询序列的相关度低于相关度阈值时,在步骤S2中,扩展处理设备1通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果与该查询序列的相关度,或者根据搜索引擎基于该查询序列返回的搜索结果计算该(等)搜索结果与该查询序列的相关度,诸如该(等)搜索结果所对应的页面的标题、内容等与该查询序列的相关度,当该相关度低于相关度阈值时,确定满足对该查询序列进行扩展处理的扩展触发条件。在此,查询序列所对应的搜索结果与该查询序列的相关度包括该查询序列所对应的搜索结果指向页面的页面标题、页面内容等与该查询序列的相关度,其中,该相关度包括单个搜索结果与查询序列的相关度和多个搜索结果与查询序列的平均相关度。例如,假设查询序列为“大海时间”,相应搜索结果指向页面的页面内容与该查询序列的平均相关度为2,而相关度阈值为4,则扩展处理设备1确定满足对该查询序列进行扩展处理的扩展触发条件。4) When the extension trigger condition includes that the search result corresponding to the query sequence has a correlation degree lower than the correlation threshold, in step S2, the extension processing device 1 interacts with a search engine or other third-party devices, Directly obtain the correlation between the search results corresponding to the query sequence and the query sequence, or calculate the correlation between the (etc.) search results and the query sequence based on the search results returned by the search engine based on the query sequence, such as the (etc.) The correlation degree between the title and content of the page corresponding to the search result and the query sequence, when the correlation degree is lower than the correlation degree threshold, it is determined that the expansion trigger condition for expanding the query sequence is satisfied. Here, the correlation between the search result corresponding to the query sequence and the query sequence includes the correlation between the page title, page content, etc. of the page pointed to by the search result corresponding to the query sequence and the query sequence, wherein the correlation includes a single The relevance of the search result to the query sequence and the average relevance of multiple search results to the query sequence. For example, assuming that the query sequence is "ocean time", the average correlation degree between the content of the page pointed to by the corresponding search result and the query sequence is 2, and the correlation threshold is 4, then the expansion processing device 1 determines that the query sequence is satisfied The extended trigger condition for processing.
5)当扩展触发条件包括查询序列所对应的搜索结果与该查询序列的匹配度低于匹配度阈值时,在步骤S2中,扩展处理设备1通过诸如与搜索引擎或者其他第三方设备的交互,直接获取该查询序列所对应的搜索结果与该查询序列的匹配度,或者根据搜索引擎基于该查询序列返回的搜索结果计算该(等)搜索结果与该查询序列的匹配度,当该匹配度低于匹配度阈值时,则确定满足对该查询序列进行扩展处理的扩展触发条件。在此,查询序列所对应的搜索结果与该查询序列的匹配度基于搜索结果与查询序列的匹配模式确定,其中,匹配模式包括精确匹配和模糊匹配,精确匹配包括查询序列与搜索结果在搜索索引库中所对应的查询关键词完全相同,模糊匹配包括查询序列与搜索结果在搜索索引库中所对应的查询关键词部分相同,并且搜索结果与查询序列精确匹配的匹配度大于搜索结果与查询序列模糊匹配的匹配度。例如,假设查询序列为“沈阳租房网铁西区寻找求租者”,对该查询序列进行分词处理,获得相应的关键词“沈阳”、“租房”、“铁西区”和“求租”,而搜索引擎按照模糊匹配模式,仅基于其中部分关键词获取相应的搜索结果,此时搜索结果与查询序列的匹配度为2,而相应的匹配度阈值为3,则扩展处理设备1判断对该查询序列进行扩展处理的扩展触发条件。5) When the extension trigger condition includes that the matching degree of the search result corresponding to the query sequence and the query sequence is lower than the matching degree threshold, in step S2, the extension processing device 1 interacts with a search engine or other third-party devices, Directly obtain the matching degree of the search result corresponding to the query sequence and the query sequence, or calculate the matching degree of the (etc.) search result and the query sequence based on the search results returned by the search engine based on the query sequence, when the matching degree is low When the matching degree threshold is met, it is determined that the expansion trigger condition for performing expansion processing on the query sequence is met. Here, the matching degree of the search result corresponding to the query sequence and the query sequence is determined based on the matching mode of the search result and the query sequence, wherein the matching mode includes exact matching and fuzzy matching, and the exact matching includes query sequence and search result in the search index The corresponding query keywords in the library are exactly the same, fuzzy matching includes that the query sequence and the search results in the search index library correspond to the same query keywords, and the matching degree of the exact match between the search result and the query sequence is greater than that between the search result and the query sequence Matching degree of fuzzy matching. For example, assuming that the query sequence is "Looking for rent-seekers in Tiexi District of Shenyang Rental Housing Network", the query sequence is word-segmented to obtain the corresponding keywords "Shenyang", "rental", "Tiexi District" and "rent-seeking" , and the search engine obtains the corresponding search results based on only some of the keywords according to the fuzzy matching mode. At this time, the matching degree of the search result and the query sequence is 2, and the corresponding matching degree threshold is 3. Then the extended processing device 1 judges whether The extended trigger condition for extended processing of the query sequence.
本领域技术人员应能理解上述各项扩展触发条件不仅可以单独用于扩展处理设备1在步骤S2中检测是否对用户查询序列做扩展处理,还可以将其中多项相结合用于扩展处理设备1在步骤S2中检测是否对用户查询序列做扩展处理。本领域技术人员还应能理解上述扩展触发条件仅为举例,其他现有的或今后可能出现的扩展触发条件如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above-mentioned extended trigger conditions can not only be used independently by the extended processing device 1 to detect whether to perform extended processing on the user query sequence in step S2, but can also be used in combination for the extended processing device 1 In step S2, it is detected whether to perform expansion processing on the user query sequence. Those skilled in the art should also understand that the above-mentioned extended trigger conditions are only examples, and other existing or future extended trigger conditions, if applicable to the present invention, should also be included in the protection scope of the present invention and included by reference here.
优选地,在步骤S3中,扩展处理设备1对所述查询序列进行扩展处理的操作基于但不限于,以下至少任一项:Preferably, in step S3, the expansion processing device 1 performs expansion processing on the query sequence based on, but not limited to, at least any of the following:
1)所述查询序列的历史变换记录;1) historical transformation records of the query sequence;
2)所述查询序列所对应的用户浏览信息;2) User browsing information corresponding to the query sequence;
3)所述查询序列所对应的查询联想信息;3) query association information corresponding to the query sequence;
4)所述查询序列的语义分析结果;4) Semantic analysis results of the query sequence;
5)所述查询序列中关键词的同义词和/或近似词。5) Synonyms and/or similar words of keywords in the query sequence.
具体地,1)在步骤S3中,扩展处理设备1根据查询序列的历史变换记录,对查询序列进行扩展处理;在此,查询序列的历史变换记录包括用户历史使用的与当前查询序列相关的变换序列、该(等)变换序列相应的用户使用频次等;扩展处理设备1通过诸如搜索引擎或者其他搜索设备的查询日志获取该(等)历史变换记录。例如,假设在步骤S1中,扩展处理设备1获取用户的查询序列为“苹果”;在步骤S2中,扩展处理设备1检测满足对该查询序列进行扩展处理的扩展触发条件;在步骤S3中,扩展处理设备1从搜索引擎的用户历史查询记录中,获得当前用户基于“苹果”的历史变换记录,包括“苹果电脑”、“苹果笔记本”、“苹果港行”、“苹果笔记本报价”等变换序列及其用户使用频次,根据这些变换序列的用户使用频次,假设“苹果笔记本”的用户使用频次最高,对该查询序列进行扩展处理,获得相应的扩展序列,如“苹果笔记本”。Specifically, 1) In step S3, the expansion processing device 1 performs expansion processing on the query sequence according to the historical transformation records of the query sequence; here, the historical transformation records of the query sequence include the transformations related to the current query sequence used by the user in history Sequence, user usage frequency corresponding to the transformation sequence(s), etc.; the extension processing device 1 acquires the historical transformation record(s) through query logs such as search engines or other search devices. For example, assuming that in step S1, the extension processing device 1 acquires that the user's query sequence is "apple"; in step S2, the extension processing device 1 detects that the extension trigger condition for performing extension processing on the query sequence is satisfied; in step S3, The extended processing device 1 obtains the historical conversion records of the current user based on "Apple" from the user historical query records of the search engine, including conversions such as "Apple Computer", "Apple Notebook", "Apple Port", "Apple Notebook Quotation", etc. Sequence and its user usage frequency. According to the user usage frequency of these transformed sequences, assuming that "Apple Notebook" is the most frequently used user, the query sequence is expanded to obtain the corresponding extended sequence, such as "Apple Notebook".
2)在步骤S3中,扩展处理设备1根据查询序列所对应的用户浏览信息,对查询序列进行扩展处理;在此,查询序列所对应的用户浏览信息包括该查询序列所对应的搜索结果中用户历史浏览的搜索结果的锚文本,以及这些用户历史浏览的搜索结果所指向页面的页面相关信息,诸如页面标题、页面内容、页面类型等;扩展处理设备1通过诸如搜索引擎或者其他搜索设备的查询日志直接获取该(等)用户浏览信息,或者先从搜索引擎或者其他搜索设备的查询日志获取该查询序列对应的用户浏览的搜索结果,再根据该(等)用户浏览的搜索结果从其他第三方设备获取相应的用户浏览信息或者解析该(等)用户浏览的搜索结果所对应的页面获取相应的用户浏览信息。例如,假设在步骤S1中,扩展处理设备1获取用户的查询序列为“2011年4月影讯”,在步骤S2中,扩展处理设备1检测满足对该查询序列进行扩展处理的扩展触发条件;在步骤S3中,扩展处理设备1根据该查询序列所对应的搜索结果中用户历史点击的搜索结果所对应页面的内容,如“里约大冒险”,对该查询序列进行扩展处理,获得相应的扩展序列“2011年4月影讯里约大冒险”。2) In step S3, the expansion processing device 1 expands the query sequence according to the user browsing information corresponding to the query sequence; here, the user browsing information corresponding to the query sequence includes the user in the search results corresponding to the query sequence The anchor text of the search results browsed historically, and the page-related information of the pages pointed to by the search results browsed historically by these users, such as page title, page content, page type, etc.; the extension processing device 1 passes queries such as search engines or other search devices The log directly obtains the browsing information of the (such) user, or first obtains the search results of the user's browsing corresponding to the query sequence from the query log of the search engine or other search devices, and then obtains the search results from other third parties based on the search results of the (such) user's browsing. The device obtains the corresponding user browsing information or parses the page corresponding to the search result browsed by the user(s) to obtain the corresponding user browsing information. For example, assuming that in step S1, the extended processing device 1 obtains the user's query sequence as "April 2011 Video News", in step S2, the extended processing device 1 detects that the extended trigger condition for performing extended processing on the query sequence is satisfied; In step S3, the expansion processing device 1 expands the query sequence according to the content of the page corresponding to the search result clicked by the user in the history of the search results corresponding to the query sequence, such as "Rio Adventure", and obtains the corresponding expanded Sequence "April 2011 Movie News Rio".
3)在步骤S3中,扩展处理设备1根据查询序列所对应的查询联想信息,对查询序列进行扩展处理;在此,查询联想信息包括与当前查询序列相对应的预定数量或预定时间内的在先查询序列的相关信息,诸如用户当前查询序列的在先查询序列所对应的搜索结果的锚文本、该(等)搜索结果指向页面的页面相关信息、该(等)在先查询序列所对应的用户浏览信息等;扩展处理设备1通过诸如搜索引擎或者其他搜索设备的查询日志获取该(等)查询联想信息,或者先从搜索引擎或者其他搜索设备的查询日志获取该(等)在先查询序列对应的搜索结果,再根据该(等)搜索结果从其他第三方设备获取相应的查询联想信息或者解析该(等)搜索结果中用户浏览的搜索结果所对应的页面获取相应的查询联想信息。例如,假设扩展处理设备1获取用户的当前查询序列为“海清”,该当前查询序列的前一查询序列为“蜗居”,该“蜗居”对应的搜索结果中用户浏览了《蜗居》视频,扩展处理设备1根据用户浏览的该搜索结果所对应的页面的类型,如视频,对该查询序列进行扩展处理,得到相应的扩展序列“海清视频”。3) In step S3, the expansion processing device 1 expands the query sequence according to the query association information corresponding to the query sequence; here, the query association information includes a predetermined number corresponding to the current query sequence or within a predetermined time Relevant information of the previous query sequence, such as the anchor text of the search result corresponding to the previous query sequence of the user's current query sequence, the relevant information of the page pointed to by the (etc.) search result, and the corresponding User browsing information, etc.; the extension processing device 1 obtains the (etc.) query association information through the query logs such as search engines or other search devices, or first obtains the (etc.) previous query sequences from the query logs of search engines or other search devices Corresponding search results, and then obtain corresponding query association information from other third-party devices according to the (etc.) search results or analyze the page corresponding to the search results browsed by the user in the (etc.) search results to obtain corresponding query association information. For example, suppose that the extended processing device 1 acquires that the user's current query sequence is "Haiqing", and the previous query sequence of the current query sequence is "Snail House", and in the search results corresponding to "Snail House", the user browsed the video "Snail House", The expansion processing device 1 performs expansion processing on the query sequence according to the type of the page corresponding to the search result browsed by the user, such as video, to obtain the corresponding expansion sequence "Haiqing Video".
4)在步骤S3中,扩展处理设备1根据查询序列的语义分析结果,对查询序列进行扩展处理;在此,查询序列的语义分析结果包括对用户的查询序列进行语义分析,得到的相应语义分析结果;扩展处理设备1通过诸如从搜索引擎或者第三方设备直接获取该查询序列的语义分析结果,或者对该查询序列进行语义分析,获得相应的语义分析结果。例如,假设查询序列为“宝洁有哪些牌子”,扩展处理设备1对该查询序列进行语义分析,得到相应的语义分析结果,如关键词“宝洁”和“旗下品牌”,据此获得相应的扩展序列“宝洁旗下品牌”。又如,假设查询序列为“从徐家汇到淮海中路怎么走”,扩展处理设备1对该查询序列进行语义分析,得到相应的语义分析结果,如关键词“徐家汇”、“淮海中路”和“路线”,据此获得相应的扩展序列“徐家汇淮海中路路线”。4) In step S3, the extended processing device 1 performs extended processing on the query sequence according to the semantic analysis result of the query sequence; here, the semantic analysis result of the query sequence includes performing semantic analysis on the user's query sequence to obtain the corresponding semantic analysis Result; the extension processing device 1 obtains the corresponding semantic analysis result by directly obtaining the semantic analysis result of the query sequence, such as from a search engine or a third-party device, or performing semantic analysis on the query sequence. For example, assuming that the query sequence is "what are the brands of Procter & Gamble", the extension processing device 1 performs semantic analysis on the query sequence to obtain the corresponding semantic analysis results, such as keywords "Procter & Gamble" and "brands", and obtain corresponding extended Sequence "Brands owned by Procter & Gamble". As another example, assuming that the query sequence is "how to get from Xujiahui to Huaihai Middle Road", the extended processing device 1 performs semantic analysis on the query sequence to obtain corresponding semantic analysis results, such as keywords "Xujiahui", "Huaihai Middle Road" and "route ", according to which the corresponding extended sequence "Xujiahui Middle Huaihai Road route" is obtained.
5)在步骤S3中,扩展处理设备1根据查询序列中关键词的同义词和/或近似词,对查询序列进行扩展处理;在此,查询序列中关键词的同义词和/或近似词包括根据对查询序列分词处理后得到的关键词,通过查询预置词库或开放词库等方式,获得与该(等)关键词相对应的同义词和/或近义词;扩展处理设备1通过诸如直接从搜索引擎或者其他搜索设备获取该查询序列中关键词的同义词和/或近似词,或者从搜索引擎或者其他搜索设备获取该查询序列中的关键词或对该查询序列进行分词处理后得到相应的关键词,并对该(等)关键词在预置词库或开放词库等词库中进行查询获取相应的同义词和/或近义词。例如,假设查询序列为“周董新歌”,扩展处理设备1对其进行分词处理获得相应的关键词为“周董”和“新歌”,通过查询预置词库,获得“周董”相应的同义词“周杰伦”,并根据该同义词对该查询序列进行扩展处理,如将“周董”替换为“周杰伦”,获得相应的扩展序列“周杰伦新歌”。又如,假设查询序列为“联通遨游资费”,扩展处理装置13从搜索引擎获取相应的关键词为“联通”、“遨游”和“资费”,并查询开放词库,如网络资源等,获得关键词“遨游”的近义词“漫游”,据此对该查询序列进行扩展处理,如将“遨游”替换为“漫游”,获得相应的扩展序列“联通漫游资费”。5) In step S3, the expansion processing device 1 expands the query sequence according to the synonyms and/or similar words of the keywords in the query sequence; here, the synonyms and/or similar words of the keywords in the query sequence include according to the The keyword obtained after the query sequence word segmentation process obtains synonyms and/or synonyms corresponding to the (etc.) keyword by querying a preset thesaurus or an open thesaurus; Or other search equipment obtains synonyms and/or similar words of the keywords in the query sequence, or obtains the keywords in the query sequence from a search engine or other search equipment or obtains the corresponding keywords after performing word segmentation on the query sequence, And the keyword(s) is queried in a preset thesaurus or an open thesaurus to obtain corresponding synonyms and/or close synonyms. For example, assuming that the query sequence is "Jay Chou's new song", the extended processing device 1 performs word segmentation processing on it to obtain the corresponding keywords as "Jay Jay" and "New Song", and obtains the corresponding keywords of "Jay Jay" by querying the preset thesaurus. The synonym "Jay Chou" is used, and the query sequence is expanded according to the synonym, for example, "Jay Chou" is replaced with "Jay Chou", and the corresponding extended sequence "Jay Chou new song" is obtained. As another example, assuming that the query sequence is "China Unicom roaming tariff", the
本领域技术人员应能理解上述各项对用户查询序列进行扩展处理的方式不仅可以单独用于扩展处理设备1在步骤S3中对用户查询序列进行扩展处理,还可以将其中多项相结合用于扩展处理设备1在步骤S3对用户查询序列进行扩展处理。本领域技术人员还应能理解上述扩展处理的方式仅为举例,其他现有的或今后可能出现的扩展处理的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above-mentioned manners for expanding the user query sequence can not only be used alone to extend the processing device 1 to expand the user query sequence in step S3, but can also be used in combination The expansion processing device 1 performs expansion processing on the user query sequence in step S3. Those skilled in the art should also be able to understand that the above-mentioned extended processing method is only an example. If other existing or future possible extended processing methods are applicable to the present invention, they should also be included in the protection scope of the present invention, and are referenced method is included here.
更优选地,所述对所述查询序列进行扩展处理的操作基于所述查询序列所对应的查询联想信息;其中,所述查询联想信息包括但不限于,以下至少任一项:More preferably, the operation of expanding the query sequence is based on query association information corresponding to the query sequence; wherein the query association information includes, but is not limited to, at least any of the following:
1)预定数量的所述查询序列的在先查询序列的相关信息;1) Relevant information of a predetermined number of previous query sequences of the query sequence;
2)预定时间内所述查询序列的在先查询序列的相关信息。2) Relevant information of the previous query sequence of the query sequence within a predetermined time.
具体地,在步骤S3中,扩展处理设备1对查询序列进行扩展处理的操作基于查询序列所对应的查询联想信息;在此,该查询联想信息包括但不限于:1)预定数量的查询序列的在先查询序列的相关信息,该(等)预定数量的查询序列的在先查询序列的相关信息包括预定数量的当前查询序列的在先查询序列、该(等)在先查询序列所对应的搜索结果、该(等)在先查询序列所对应的用户浏览记录等,其中,该(等)在先查询序列所对应的用户浏览记录包括该(等)在先查询序列所对应的搜索结果中用户历史浏览的搜索结果的锚文本,以及该(等)用户历史浏览的搜索结果所指向页面的页面相关信息,诸如页面标题、页面内容、页面类型等。例如,假设当前查询序列为“海清”,根据当前用户的查询历史记录,该当前查询序列的一个在先查询序列为“蜗居”,该在先查询序列所对应的用户浏览记录中,用户浏览的页面的页面类型为视频页面,相应的查询联想信息为“蜗居视频”,则扩展处理设备1基于该查询联想信息对该查询序列进行扩展处理,获得相应的扩展序列“海清蜗居视频”。Specifically, in step S3, the expansion processing device 1 expands the query sequence based on the query association information corresponding to the query sequence; here, the query association information includes but is not limited to: 1) a predetermined number of query sequences The relevant information of the previous query sequence, the relevant information of the (etc.) predetermined number of query sequences of the previous query sequence includes the predetermined number of the current query sequence of the previous query sequence, the search sequence corresponding to the (etc.) previous query sequence Results, user browsing records corresponding to the (such) previous query sequences, etc., wherein the user browsing records corresponding to the (such) previous query sequences include the user search results corresponding to the (such) previous query sequences The anchor text of the search results browsed historically, and the page-related information of the page pointed to by the search results browsed historically by the (such) user, such as page title, page content, page type, etc. For example, assuming that the current query sequence is "Haiqing", according to the query history records of the current user, a previous query sequence of the current query sequence is "Snail House", in the user browsing records corresponding to the previous query sequence, the user browsed The page type of the page is a video page, and the corresponding query association information is "snail dwelling video", then the expansion processing device 1 expands the query sequence based on the query association information, and obtains the corresponding extended sequence "haiqing dwelling video".
2)预定时间内查询序列的在先查询序列的相关信息,该(等)预定时间内查询序列的在先查询序列的相关信息包括预定时间内的当前查询序列的在先查询序列、该(等)在先查询序列所对应的搜索结果、该(等)在先查询序列所对应的用户浏览记录等,其中,该(等)在先查询序列所对应的用户浏览记录包括该(等)在先查询序列所对应的搜索结果中用户历史浏览的搜索结果的锚文本,以及该(等)用户历史浏览的搜索结果所指向页面的页面相关信息,诸如页面标题、页面内容、页面类型等。例如,假设预定时间为2小时,用户的查询序列为“天龙八部”,根据用户的查询历史记录,获得大量用户在此前2小时内的包括关键词“天龙八部”的在先查询序列,这些在先查询序列多还包括关键词“游戏”,或者这些在先查询序列所对应的用户浏览记录中,用户浏览的页面的页面内容均与游戏相关,据此扩展处理设备1获得该“天龙八部”的查询联想信息“游戏”,并基于此对“天龙八部”进行扩展处理,获得相应的扩展序列“天龙八部游戏”。2) Relevant information of the previous query sequence of the query sequence within the predetermined time, the relevant information of the previous query sequence of the query sequence within the predetermined time (etc.) includes the previous query sequence of the current query sequence within the predetermined time, the (etc.) ) search results corresponding to the prior query sequence, user browsing records corresponding to the (etc.) prior query sequence, etc., wherein, the user browsing records corresponding to the (etc.) prior query sequence include The anchor text of the search results browsed by the user in the search results corresponding to the query sequence, and the page-related information of the page pointed to by the search results browsed by the user (such) history, such as page title, page content, page type, etc. For example, assuming that the scheduled time is 2 hours, and the user's query sequence is "Tianlong Babu", according to the user's query history records, a large number of users' previous query sequences including the keyword "Tianlong Babu" within the previous 2 hours are obtained, Most of these previous query sequences also include the keyword "game", or in the user browsing records corresponding to these previous query sequences, the page contents of the pages browsed by the user are all related to the game, and the expansion processing device 1 obtains the "Tianlong Game" accordingly. "Babu" query associates information "game", and based on this, "Tianlong Babu" is expanded to obtain the corresponding extended sequence "Tianlong Babu game".
本领域技术人员应能理解上述各项查询联想信息不仅可以单独用于扩展处理设备1在步骤S3中对用户查询序列进行扩展处理,还可以将其相互结合用于扩展处理设备1在步骤S3中对用户查询序列进行扩展处理。本领域技术人员应能理解上述查询联想信息及其相应的扩展处理方式仅为举例,其他现有的或今后可能出现的查询联想信息或其相应的扩展处理方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above items of query association information can not only be used alone to extend the processing device 1 to expand the user query sequence in step S3, but also can be combined with each other for the extended processing device 1 to perform processing in step S3. Extended processing of user query sequences. Those skilled in the art should be able to understand that the above-mentioned query association information and its corresponding extended processing methods are only examples, and other existing or future query association information or their corresponding extended processing methods, if applicable to the present invention, should also be included within the scope of the present invention and incorporated herein by reference.
在一个优选实施例中(参照图2),该过程还包括步骤S4(未示出),在步骤S4中,扩展处理设备1对所述查询序列进行预处理操作,以获取预处理后的所述查询序列;在步骤S2中,扩展处理设备1还检测是否满足对所述预处理后的查询序列进行扩展处理的扩展触发条件。以下参照图2对该优选实施例进行详细描述,其中,在步骤S1中,扩展处理设备1获取用户的查询序列;在步骤S3中,扩展处理设备1当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列;其具体过程与前述参照图2所描述的实施例中扩展处理设备1在步骤S1和步骤S3所执行的过程相同,为简明起见,以引用方式包含于此,而不做赘述。In a preferred embodiment (refer to FIG. 2 ), the process further includes step S4 (not shown), in step S4, the extended processing device 1 performs a preprocessing operation on the query sequence to obtain all preprocessed In step S2, the expansion processing device 1 also detects whether an expansion trigger condition for performing expansion processing on the preprocessed query sequence is satisfied. The preferred embodiment will be described in detail below with reference to FIG. 2, wherein, in step S1, the extended processing device 1 obtains the query sequence of the user; in step S3, when the extended processing device 1 satisfies the extended trigger condition, the Perform expansion processing on the query sequence to obtain an expansion sequence corresponding to the query sequence; the specific process is the same as the process performed by the expansion processing device 1 in step S1 and step S3 in the embodiment described above with reference to FIG. 2 , For brevity, they are included here by reference without repeating them.
具体地,在步骤S4中,扩展处理设备1对其在步骤S1中获取的用户的查询序列进行预处理操作,诸如将该查询序列中的拼音转换为汉字、对该查询序列进行纠错、对该查询序列进行去冗余等,以获取预处理后的查询序列;在步骤S2中,扩展处理设备1还检测是否满足对该预处理后的查询序列进行扩展处理的扩展触发条件。在此,预处理操作包括任何与将用户的查询序列转换为扩展处理设备1在步骤S2中可以检测是否满足对其进行扩展处理的扩展触发条件的查询序列相关的操作,诸如将用户的查询序列中的拼音转换为汉字、对用户的查询序列进行纠错、对用户的查询序列进行去冗余等。例如,在步骤S1中,扩展处理设备1获取用户的查询序列为“lishishi”;在步骤S4中,扩展处理设备1将该查询序列中的拼音转换为汉字,以获得预处理后的查询序列“李师师”;假设扩展触发条件包括查询序列的历史变换频次超过变换频次阈值,且该变换频次阈值为10次/小时,则在步骤S2中,扩展处理设备1根据用户查询历史记录,获得在1小时内,该预处理后的查询序列“李师师”所对应的历史变换频次为15次/小时,超过变换频次阈值,则检测满足对该预处理后的查询序列“李师师”进行扩展处理的扩展触发条件。又如,在步骤S1中,扩展处理设备1获取用户的查询序列为“刘德化”;在步骤S4中,扩展处理设备1对该查询序列进行基于拼音的纠错,获得预处理后的查询序列“刘德华”;在步骤S2中,扩展处理设备1检测是否满足对该预处理后的查询序列进行扩展处理的扩展触发条件。本领域技术人员应能理解上述预处理操作仅为举例,其他现有的或今后可能出现的预处理操作如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Specifically, in step S4, the extension processing device 1 performs preprocessing operations on the user's query sequence obtained in step S1, such as converting pinyin in the query sequence into Chinese characters, performing error correction on the query sequence, and correcting the query sequence. The query sequence is deredundant, etc., to obtain a preprocessed query sequence; in step S2, the expansion processing device 1 also detects whether an expansion trigger condition for performing expansion processing on the preprocessed query sequence is satisfied. Here, the preprocessing operation includes any operation related to converting the user's query sequence into a query sequence that the expansion processing device 1 can detect in step S2 whether the expansion trigger condition for the expansion process is met, such as converting the user's query sequence Convert the pinyin in Chinese characters into Chinese characters, correct the error of the user's query sequence, and de-redundant the user's query sequence. For example, in step S1, the extended processing device 1 acquires the user's query sequence as "lishishi"; in step S4, the extended processing device 1 converts the pinyin in the query sequence into Chinese characters to obtain the preprocessed query sequence " Mr. Li"; assuming that the extended triggering condition includes that the historical conversion frequency of the query sequence exceeds the conversion frequency threshold, and the conversion frequency threshold is 10 times/hour, then in step S2, the expansion processing device 1 obtains the query sequence in 1 hour according to the user's query history. , the historical conversion frequency corresponding to the preprocessed query sequence "Li Shishi" is 15 times per hour, and if it exceeds the conversion frequency threshold, the detection meets the extended trigger condition for extending the preprocessed query sequence "Li Shishi" . As another example, in step S1, the extended processing device 1 obtains the user's query sequence as "Liu Dehua"; in step S4, the extended processing device 1 performs error correction on the query sequence based on pinyin to obtain the preprocessed query sequence " Andy Lau"; in step S2, the extension processing device 1 detects whether the extension trigger condition for performing extension processing on the preprocessed query sequence is satisfied. Those skilled in the art should be able to understand that the above-mentioned preprocessing operation is only an example, and other existing or future possible preprocessing operations, if applicable to the present invention, should also be included in the protection scope of the present invention, and are included in this.
优选地,所述预处理操作包括但不限于,以下至少任一项:Preferably, the preprocessing operations include, but are not limited to, at least any of the following:
1)将所述查询序列中的拼音转换为汉字;1) converting the pinyin in the query sequence into Chinese characters;
2)对所述查询序列进行纠错;2) correcting the query sequence;
3)对所述查询序列进行去冗余。3) De-redundancy is performed on the query sequence.
具体地,1)将查询序列中的拼音转换为汉字,在此,将拼音转换为汉字的方式包括但不限于:根据全拼、简拼或者模糊音匹配规则等,将拼音转换为汉字;其中,全拼匹配规则包括根据汉字拼写的全部拼音,进行匹配,以完成拼音与汉字的转换;简拼匹配规则包括根据汉字拼写的首字母拼音,进行匹配,以完成拼音与汉字的转换;模糊音匹配规则包括根据汉字拼写中的平舌音与卷舌音的混用,如将“s”与“sh”混用,或者前鼻音与后鼻音的混用,如将“en”与“eng”混用,或者用户的输入习惯,如将“gn”与“ng”混用。例如,在步骤S1中,扩展处理设备1获取用户的查询序列为“lishshi”;在步骤S4中,扩展处理设备1根据全拼匹配规则将该查询序列中的拼音转换为汉字,获得预处理后的查询序列“李师师”。又如,假设查询序列为“sisitontagn”,扩展处理设备1根据模糊音匹配规则将该查询序列中的拼音转换为汉字,获得预处理后的查询序列“四世同堂”。Specifically, 1) converting the pinyin in the query sequence into Chinese characters. Here, the way of converting pinyin into Chinese characters includes but not limited to: converting pinyin into Chinese characters according to the matching rules of full spelling, simplified spelling or fuzzy sounds; wherein , the Quanpin matching rule includes matching all the pinyin spelled according to Chinese characters to complete the conversion between pinyin and Chinese characters; Matching rules include mixing flat and retroflex sounds in Chinese spelling, such as mixing "s" with "sh", or mixing front and back nasal sounds, such as mixing "en" and "eng", or The user's input habits, such as mixing "gn" with "ng". For example, in step S1, the extended processing device 1 acquires the user's query sequence as "lishshi"; in step S4, the extended processing device 1 converts the pinyin in the query sequence into Chinese characters according to the Quanpin matching rule, and obtains the preprocessed The query sequence "Li Shishi". As another example, assuming that the query sequence is "sisitontagn", the extension processing device 1 converts the pinyin in the query sequence into Chinese characters according to the fuzzy sound matching rule, and obtains the preprocessed query sequence "four generations under one roof".
2)对查询序列进行纠错,在此,对查询序列进行纠错的方式包括但不限于基于字形对查询序列进行纠错和基于拼音对查询序列进行纠错。例如,在步骤S1中,扩展处理设备1获取用户的查询序列为“小鸟惊魂”;在步骤S4中,扩展处理设备1基于字形对该查询序列进行纠错,获得纠错后的查询序列“小岛惊魂”。又如,在步骤S1中,扩展处理设备1获取用户的查询序列为“刘德化”;在步骤S4中,扩展处理设备1基于字形对该查询序列进行纠错,获得纠错后的查询序列“刘德华”。需要说明的是,上述实施例是以中文为例来描述,本领域技术人员应能理解本发明还可适用于用户以英文、或者其他一种或多种语言进行查询序列的输入的情形,其中,其他一种或多种语言包括韩文、日文、法文、德文或意大利文等。例如,假设在步骤S1中,扩展处理设备1获取用户的查询序列为“the big beng hteory”;在步骤S4中,扩展处理设备1按照预置的词典对该查询序列进行纠错,获得纠错后的查询序列“the big bang theory”。2) Correcting the query sequence. Here, the method of correcting the query sequence includes but not limited to correcting the query sequence based on font and correcting the query sequence based on pinyin. For example, in step S1, the extended processing device 1 acquires the user's query sequence as "Little Birds"; in step S4, the extended processing device 1 corrects the query sequence based on the font, and obtains the error-corrected query sequence "" Fright on the Island". As another example, in step S1, the extended processing device 1 obtains the query sequence of the user as "Liu Dehua"; in step S4, the extended processing device 1 corrects the query sequence based on the font, and obtains the error-corrected query sequence "Andy Lau". ". It should be noted that the above-mentioned embodiment is described by taking Chinese as an example, and those skilled in the art should understand that the present invention is also applicable to the situation where the user inputs the query sequence in English or one or more languages, wherein , and one or more other languages include Korean, Japanese, French, German, or Italian, among others. For example, suppose that in step S1, the extended processing device 1 obtains the user's query sequence as "the big beng hteory"; in step S4, the extended processing device 1 corrects the query sequence according to the preset dictionary to obtain the error correction The following query sequence "the big bang theory".
3)对查询序列进行去冗余,在此,对查询序列去冗余的方式包括但不限于根据查询序列的字面组成去冗余和根据查询序列的语义分析去冗余。例如,假设查询序列为“喜羊羊与灰太狼喜洋洋”,扩展处理设备1对该查询序列进行分词处理后,获得关键词“喜羊羊与灰太狼”和“喜洋洋”,并根据该查询序列的字面组成去冗余,获得相应的预处理后的查询序列“喜羊羊与灰太狼”。又如,假设查询序列为“天龙八部视频在线观看”,扩展处理设备1对该查询序列进行分词处理后,获得关键词“天龙八部”、“视频”和“在线观看”,根据对这些关键词的语义分析,获得“视频”与“在线观看”语义重复,对该查询序列去冗余后获得相应的查询序列“天龙八部在线观看”。3) De-redundancy the query sequence. Here, the de-redundancy method of the query sequence includes but not limited to de-redundancy according to the literal composition of the query sequence and de-redundancy according to the semantic analysis of the query sequence. For example, assuming that the query sequence is "Pleasant Goat and Big Big Wolf Happy", the extended processing device 1 performs word segmentation processing on the query sequence to obtain the keywords "Pleasant Goat and Big Big Wolf" and "Xiong Yang", and removes redundancy according to the literal composition of the query sequence , to obtain the corresponding preprocessed query sequence "Pleasant Goat and Big Big Wolf". As another example, assuming that the query sequence is "Tianlong Babu video online viewing", after the extended processing device 1 performs word segmentation processing on the query sequence, the keywords "Tianlong Babu", "video" and "online viewing" are obtained, according to these Semantic analysis of keywords, the semantic duplication of "video" and "online viewing" is obtained, and the corresponding query sequence "Tianlongbabu online viewing" is obtained after de-redundancy of the query sequence.
本领域技术人员应能理解上述各项预处理操作不仅可以单独用于扩展处理设备1在步骤S4中对用户的查询序列进行预处理,还可以将其中多项相互结合用于扩展处理设备1在步骤S4中对用户的查询序列进行预处理。本领域技术人员应能理解上述预处理操作的方式仅为举例,其他现有的或今后可能出现的预处理操作的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above preprocessing operations can not only be used alone for the extended processing device 1 to preprocess the user's query sequence in step S4, but also multiple of them can be combined for the extended processing device 1 to perform preprocessing on the query sequence of the user in step S4. In step S4, the user's query sequence is preprocessed. Those skilled in the art should be able to understand that the mode of the above-mentioned pretreatment operation is only an example, and if other existing or possible future pretreatment operation modes can be applied to the present invention, they should also be included in the protection scope of the present invention, and with Citations are included here.
在另一个优选实施例中(参照图2),该过程还包括步骤S5(未示出),在步骤S5中,扩展处理设备1将所述扩展序列提供给所述用户。以下参照图2对该另一优选实施例进行详细描述,其中,在步骤S1中,扩展处理设备1获取用户的查询序列;接着,在步骤S2中,扩展处理设备1检测是否满足对所述查询序列进行扩展处理的扩展触发条件;随后,在步骤S3中,扩展处理设备1当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列;其具体过程与前述参照图2所描述的实施例中扩展处理设备1在步骤S1、步骤S2和步骤S3中所执行的过程相同,为简明起见,以引用方式包含于此,而不做赘述。In another preferred embodiment (refer to FIG. 2 ), the process further includes step S5 (not shown), in step S5, the extension processing device 1 provides the extension sequence to the user. The other preferred embodiment will be described in detail below with reference to FIG. 2, wherein, in step S1, the extended processing device 1 acquires the user's query sequence; then, in step S2, the extended processing device 1 detects whether the query sequence is satisfied The extension trigger condition for sequence extension processing; then, in step S3, when the extension processing device 1 satisfies the extension trigger condition, the query sequence is extended to obtain the extension sequence corresponding to the query sequence The specific process is the same as the process performed by the extended processing device 1 in step S1, step S2 and step S3 in the embodiment described above with reference to FIG. .
具体地,在步骤S5中,扩展处理设备1将其在步骤S3中获得的与用户的查询序列相对应的扩展序列,通过诸如将该(等)扩展序列发送至该用户的用户设备,由该用户经该用户设备获得该(等)扩展序列;或通过页面技术,如ASP、JSP、PHP等,基于该(等)扩展序列生成相应的页面,并将该页面推送至该用户的用户设备,该用户通过该用户设备浏览该(等)扩展序列;或者将该基于扩展序列生成的页面的URL发送至该用户的用户设备,由该用户经该用户设备点击该URL,从而进入相应页面以获得扩展序列。例如,在步骤S3中,扩展处理设备1获得与查询序列“海清”相对应的扩展序列“海清视频”和“海清简介”;在步骤S5中,扩展处理设备1将这些扩展序列发送至该用户的用户设备,如在搜索框下拉栏中分条显示这些扩展序列,或者在搜索框中对用户输入的查询序列做主动变换,直接用扩展序列替换原用户输入的查询序列。本领域技术人员应能理解上述提供扩展序列的方式仅为举例,其他现有的或今后可能出现的提供扩展序列的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Specifically, in step S5, the extension processing device 1 sends the extension sequence obtained in step S3 corresponding to the user's query sequence to the user equipment of the user, such as by sending the extension sequence(s) to the user equipment of the user. The user obtains the (etc.) extension sequence through the user device; or generates a corresponding page based on the (etc.) extension sequence through page technology, such as ASP, JSP, PHP, etc., and pushes the page to the user device of the user, The user browses the (etc.) extension sequence through the user equipment; or sends the URL of the page generated based on the extension sequence to the user equipment of the user, and the user clicks the URL through the user equipment to enter the corresponding page to obtain Extended sequence. For example, in step S3, the extension processing device 1 obtains the extension sequences "Haiqing Video" and "Haiqing Introduction" corresponding to the query sequence "Haiqing"; in step S5, the extension processing device 1 sends these extension sequences To the user device of the user, such as displaying these extended sequences in the drop-down column of the search box, or actively transforming the query sequence entered by the user in the search box, directly replacing the original query sequence entered by the user with the extended sequence. Those skilled in the art should be able to understand that the above-mentioned way of providing the extension sequence is only an example, and other existing or future ways of providing the extension sequence, if applicable to the present invention, should also be included within the scope of protection of the present invention, and in the form of Citations are included here.
在此,在步骤S5中,扩展处理设备1向用户提供扩展序列,不仅可以用于用户对扩展处理设备1在步骤S3中获得的扩展序列进行选择,从而便于扩展处理设备1有针对性的为用户提供搜索结果,还可以将扩展序列作为搜索建议提供给用户,使得用户在不知如何具体表达其搜索需求时,获得提示,以在本次及以后的搜索过程中,输入更准确的表达其搜索需求的查询序列。Here, in step S5, the extension processing device 1 provides the extension sequence to the user, not only for the user to select the extension sequence obtained by the extension processing device 1 in step S3, so as to facilitate the extension processing device 1 to provide targeted The user provides search results, and the extended sequence can also be provided to the user as a search suggestion, so that when the user does not know how to specifically express his search needs, he can get a prompt, so that he can enter a more accurate expression of his search in this and future search processes. The required query sequence.
在又一个优选实施例中(参照图2),该过程还包括步骤S6(未示出)和步骤S7(未示出),在步骤S6中,扩展处理设备1根据所述扩展序列进行搜索,以获得与所述扩展序列相对应的扩展搜索结果;在步骤S7中,扩展处理设备1将所述扩展搜索结果提供给所述用户。以下参照图2对该又一优选实施例进行详细描述,其中,在步骤S1中,扩展处理设备1获取用户的查询序列;接着,在步骤S2中,扩展处理设备1检测是否满足对所述查询序列进行扩展处理的扩展触发条件;随后,在步骤S3中,扩展处理设备1当满足所述扩展触发条件时,对所述查询序列进行扩展处理,以获得与所述查询序列相对应的扩展序列;其具体过程与前述参照图2所描述的实施例中扩展处理设备1在步骤S1、步骤S2和步骤S3中所执行的过程相同,为简明起见,以引用方式包含于此,而不做赘述。In yet another preferred embodiment (refer to FIG. 2 ), the process further includes step S6 (not shown) and step S7 (not shown), in step S6, the extension processing device 1 searches according to the extension sequence, Obtain an extended search result corresponding to the extended sequence; in step S7, the extended processing device 1 provides the extended search result to the user. This yet another preferred embodiment will be described in detail below with reference to FIG. 2, wherein, in step S1, the extended processing device 1 acquires the user's query sequence; then, in step S2, the extended processing device 1 detects whether the query sequence meets The extension trigger condition for sequence extension processing; then, in step S3, when the extension processing device 1 satisfies the extension trigger condition, the query sequence is extended to obtain the extension sequence corresponding to the query sequence The specific process is the same as the process performed by the extended processing device 1 in step S1, step S2 and step S3 in the embodiment described above with reference to FIG. .
具体地,在步骤S6中,扩展处理设备1根据其在步骤S3中获得的与查询序列相对应的扩展序列,通过诸如在搜索索引库中进行匹配查询,或者向具有搜索功能的第三方设备发送获取基于该(等)扩展序列的搜索结果的请求,并接收该第三方设备基于该请求返回的扩展搜索结果,以获取与该(等)扩展序列相对应的扩展搜索结果;接着,在步骤S7中,扩展处理设备1将该(等)扩展搜索结果,通过诸如页面技术,如ASP、JSP、PHP等,生成扩展搜索结果页面,并将该扩展搜索页面推送至该用户的用户设备,该用户通过该用户设备浏览该扩展搜索结果页面;或者将该扩展搜索结果页面的URL发送至该用户的用户设备,由该用户经该用户设备点击该URL,从而进入相应页面以获得扩展搜索结果;或者向该用户的用户设备逐条推送扩展搜索结果。例如,在步骤S3中,扩展处理设备1获得与查询序列相对应的扩展序列;在步骤S6中,扩展处理设备1根据该扩展序列在搜索索引库中进行匹配查询,以获取与该扩展序列相对应的扩展搜索结果;在步骤S7中,扩展处理设备1根据ASP页面技术,由这些扩展搜索结果生成相应的扩展搜索结果页面,并将该扩展搜索结果页面推送至该用户的用户设备,该用户通过该用户设备浏览该扩展搜索结果页面。本领域技术人员应能理解上述获得扩展搜索结果的方式及提供扩展搜索结果的方式仅为举例,其他现有的或今后可能出现的获得扩展搜索结果的方式或者提供扩展搜索结果方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。提供给所述用户。Specifically, in step S6, the extension processing device 1, according to the extension sequence corresponding to the query sequence obtained in step S3, performs a matching query in the search index library, or sends a search function to a third-party device Obtain a request for a search result based on the (etc.) extended sequence, and receive the extended search result returned by the third-party device based on the request, so as to obtain the extended search result corresponding to the (etc.) extended sequence; then, in step S7 Among them, the extended processing device 1 generates the extended search result page (such as) through page technologies such as ASP, JSP, PHP, etc., and pushes the extended search page to the user device of the user, and the user Browse the extended search result page through the user device; or send the URL of the extended search result page to the user device of the user, and the user clicks the URL through the user device to enter the corresponding page to obtain the extended search result; or Push the extended search results item by item to the user device of the user. For example, in step S3, the extension processing device 1 obtains the extension sequence corresponding to the query sequence; in step S6, the extension processing device 1 performs a matching query in the search index database according to the extension sequence, so as to obtain the extension sequence corresponding to the extension sequence. Corresponding extended search results; in step S7, the extended processing device 1 generates corresponding extended search result pages from these extended search results according to the ASP page technology, and pushes the extended search result pages to the user equipment of the user, and the user Browsing the extended search result page through the user equipment. Those skilled in the art should be able to understand that the above methods of obtaining extended search results and providing extended search results are only examples, and other existing or future possible methods of obtaining extended search results or providing extended search results are applicable to The present invention should also be included in the protection scope of the present invention, and is included here by reference. provided to the user.
优选地,在步骤S6中,扩展处理设备1还根据所述用户选择的扩展序列进行搜索,以获得所述扩展搜索结果。具体地,在步骤S6中,扩展处理设备1根据用户选择的扩展序列,通过诸如在搜索索引库中进行匹配查询,或者向具有搜索功能的第三方设备发送获取基于该用户选择的扩展序列的搜索结果的请求,并接收该第三方设备基于该请求返回的扩展搜索结果,以获取与该用户选择的扩展序列相对应的扩展搜索结果。例如,用户经由用户设备确认搜索框中主动变换的扩展序列,扩展处理设备1根据该用户的确认操作,获得相应的用户选择的扩展序列,并基于该扩展序列向具有搜索功能的第三方设备发送搜索请求,接收该第三方设备基于该请求返回的相应的扩展搜索结果。本领域技术人员应能理解上述获得用户选择的扩展序列以及获得扩展搜索结果的方式仅为举例,其他现有的或今后可能出现的获得用户选择的扩展序列或者获得扩展搜索结果的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Preferably, in step S6, the extended processing device 1 also performs a search according to the extended sequence selected by the user to obtain the extended search result. Specifically, in step S6, the extension processing device 1 obtains the extension sequence based on the user's selection by, for example, performing a matching query in the search index database or sending a search function to a third-party device with a search function according to the extension sequence selected by the user. result request, and receive the extended search result returned by the third-party device based on the request, so as to obtain the extended search result corresponding to the extended sequence selected by the user. For example, the user confirms the extended sequence actively transformed in the search box via the user equipment, and the extended processing device 1 obtains the corresponding extended sequence selected by the user according to the user's confirmation operation, and sends the extended sequence to the third-party device with the search function based on the extended sequence. A search request, receiving corresponding extended search results returned by the third-party device based on the request. Those skilled in the art should be able to understand that the above-mentioned way of obtaining the extended sequence selected by the user and the extended search result is only an example, and other existing or future possible ways of obtaining the extended sequence selected by the user or the extended search result are as applicable In the present invention, it should also be included in the protection scope of the present invention, and is included here by reference.
优选地,该过程还包括步骤S8(未示出),在步骤S8中,扩展处理设备1获取与所述查询序列相对应的第一搜索结果;在步骤S7中,扩展处理设备1还将所述第一搜索结果与所述扩展搜索结果提供给所述用户。具体地,在步骤S8中,扩展处理设备1通过诸如根据用户的查询序列在搜索索引库中进行匹配查询,以获得与该查询序列相对应的第一搜索结果,或者从搜索引擎或具有搜索能力的第三方设备处获取与用户的查询序列相对应的第一搜索结果;在步骤S7中,扩展处理设备1还将扩展搜索装置获取的扩展搜索结果与该(等)第一搜索结果通过诸如逐条提供、交叉提供、合并提供等方式提供给该用户。例如,在步骤S1中,扩展处理设备1获得用户的查询序列;在步骤S8中,扩展处理设备1根据该查询序列在搜索索引库中进行匹配查询,以获得与该查询序列相对应的第一搜索结果;在步骤S2中,扩展处理设备1检测满足对该查询序列进行扩展处理的扩展触发条件;在步骤S3中,扩展处理设备1对该查询序列进行扩展处理,获得相应的扩展序列;在步骤S6中,扩展处理设备1根据该扩展序列在搜索索引库中进行匹配查询,获取相应的扩展搜索结果;在步骤S7中,扩展处理设备1还将该扩展搜索结果与该第一搜索结果进行合并,生成结果页面,并将该结果页面推送至该用户的用户设备,该用户通过该用户设备浏览该结果页面,从而获得相应的扩展搜索结果和第一搜索结果。Preferably, the process further includes step S8 (not shown), in step S8, the extended processing device 1 obtains the first search result corresponding to the query sequence; in step S7, the extended processing device 1 also obtains the The first search result and the expanded search result are provided to the user. Specifically, in step S8, the extension processing device 1 obtains the first search result corresponding to the query sequence by, for example, performing a matching query in the search index library according to the user's query sequence, or obtains the first search result corresponding to the query sequence, or obtains the first search result from a search engine or has a search capability The third-party device obtains the first search result corresponding to the user's query sequence; in step S7, the extended processing device 1 also combines the extended search result obtained by the extended search device with the first search result(s) through such as item by item Offer, cross offer, combined offer, etc. to the user. For example, in step S1, the extension processing device 1 obtains the query sequence of the user; in step S8, the extension processing device 1 performs a matching query in the search index database according to the query sequence, so as to obtain the first query sequence corresponding to the query sequence. Search results; in step S2, the extended processing device 1 detects that the extended trigger condition for performing extended processing on the query sequence is met; in step S3, the extended processing device 1 performs extended processing on the query sequence to obtain a corresponding extended sequence; In step S6, the extended processing device 1 conducts a matching query in the search index library according to the extended sequence, and obtains the corresponding extended search result; in step S7, the extended processing device 1 also compares the extended search result with the first search result merge to generate a result page, and push the result page to the user device of the user, and the user browses the result page through the user device to obtain the corresponding extended search result and the first search result.
在此,本领域技术人员应能理解,扩展处理设备1在步骤S8中获取第一搜索结果的操作与其在步骤S2中检测扩展触发条件的操作、其在步骤S3中对查询序列进行扩展处理的操作以及其在步骤S6中获取扩展搜索结果的操作之间无确定的顺序关系,步骤S8可以在步骤S2、步骤S3和/或步骤S6之前、之间、之后以及与他们同时执行各自对应的操作。本领域技术人员应能理解上述获取第一搜索结果以及提供扩展搜索结果与第一搜索结果的方式仅为举例,其他现有的或今后可能出现的获取第一搜索结果或者提供扩展搜索结果与第一搜索结果的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Here, those skilled in the art should be able to understand that the operation of the expansion processing device 1 to obtain the first search result in step S8, its operation of detecting the expansion trigger condition in step S2, and the expansion processing of the query sequence in step S3 There is no definite sequence relationship between the operation and its operation of obtaining extended search results in step S6, and step S8 may perform respective corresponding operations before, during, after and simultaneously with step S2, step S3 and/or step S6 . Those skilled in the art should be able to understand that the above-mentioned ways of obtaining the first search result and providing the extended search result and the first search result are only examples, and other existing or future possible ways of obtaining the first search result or providing the extended search result and the second If a search result method is applicable to the present invention, it should also be included in the protection scope of the present invention, and is included here by reference.
更优选地,在步骤S7中,扩展处理设备1还对所述第一搜索结果与所述扩展搜索结果进行合并,以获得合并后的第一搜索结果与扩展搜索结果;将所述合并后的第一搜索结果与扩展搜索结果提供给所述用户。具体地,在步骤S7中,扩展处理设备1还基于诸如第一搜索结果与扩展搜索结果分别对应的历史点击量、第一搜索结果与扩展搜索结果分别对应的权威度等,对第一搜索结果与扩展搜索结果进行合并,以获得合并后的第一搜索结果与扩展搜索结果,并将合并后的第一搜索结果与扩展搜索结果,通过诸如页面技术,如ASP、JSP、PHP等,生成搜索结果页面,并将该搜索结果页面推送至该用户的用户设备,该用户通过该用户设备浏览该搜索结果页面;或者将该搜索结果页面的URL发送至该用户的用户设备,由该用户经该用户设备点击该URL,从而进入相应页面以获得搜索结果;或者向该用户的用户设备逐条推送合并后的搜索结果。例如,在步骤S8中,扩展处理设备1获得与查询序列相对应的第一搜索结果;在步骤S6中,扩展处理设备1根据其在步骤S3中获得的扩展序列,获得相应的扩展搜索结果;在步骤S7中,扩展处理设备1根据第一搜索结果与扩展搜索结果分别对应的历史点击量,按照历史点击量从大到小的顺序对第一搜索结果与扩展搜索结果进行排序和合并,并通过ASP页面技术,对合并后的第一搜索结果与扩展搜索结果生成相应的搜索结果页面,将该搜索结果页面推送至用户设备,用户经由该用户设备浏览该搜索结果页面。本领域技术人员应能理解上述合并搜索结果的方式仅为举例,其他现有的或今后可能出现的合并搜索结果的方式如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。More preferably, in step S7, the extended processing device 1 further merges the first search result and the extended search result to obtain the combined first search result and the extended search result; the combined First search results and expanded search results are provided to the user. Specifically, in step S7, the extended processing device 1 further evaluates the first search result based on historical hits corresponding to the first search result and the extended search result, authoritative degrees respectively corresponding to the first search result and the extended search result, etc. Merge with the extended search results to obtain the merged first search result and the extended search results, and generate a search result by using page technologies such as ASP, JSP, PHP, etc. result page, and push the search result page to the user device of the user, and the user browses the search result page through the user device; or send the URL of the search result page to the user device of the user, and the user passes the user device The user equipment clicks the URL to enter the corresponding page to obtain the search results; or push the combined search results to the user equipment one by one. For example, in step S8, the extended processing device 1 obtains the first search result corresponding to the query sequence; in step S6, the extended processing device 1 obtains the corresponding extended search result according to the extended sequence obtained in step S3; In step S7, the extended processing device 1 sorts and merges the first search result and the extended search result according to the historical hits corresponding to the first search result and the extended search result in descending order of the historical hits, and Through the ASP page technology, a corresponding search result page is generated for the merged first search result and the extended search result, and the search result page is pushed to the user equipment, and the user browses the search result page through the user equipment. Those skilled in the art should be able to understand that the above-mentioned way of combining search results is only an example, and other existing or future ways of combining search results, if applicable to the present invention, should also be included within the scope of protection of the present invention, and with Citations are included here.
更优选地,所述对所述第一搜索结果与所述扩展搜索结果进行合并的操作基于但不限于,以下至少任一项:More preferably, the operation of merging the first search result and the expanded search result is based on, but not limited to, at least any of the following:
1)所述第一搜索结果与所述扩展搜索结果分别对应的历史浏览量;1) the historical browsing volumes respectively corresponding to the first search result and the extended search result;
2)所述第一搜索结果与所述扩展搜索结果分别对应的匹配度;2) matching degrees corresponding to the first search result and the extended search result;
3)所述第一搜索结果与所述扩展搜索结果分别对应的权威度。3) Authorities respectively corresponding to the first search result and the extended search result.
具体地,1)第一搜索结果与扩展搜索结果分别对应的历史浏览量,其中,第一搜索结果对应的历史点击量包括根据用户查询历史记录,获得的第一搜索结果中用户浏览的每一条第一搜索结果所对应的用户浏览次数,扩展搜索结果对应的历史点击量包括根据用户查询历史记录,获得的扩展搜索结果中用户浏览的每一条扩展搜索结果所对应的用户浏览次数;例如,扩展处理设备1根据第一搜索结果与扩展搜索结果分别对应的历史浏览量,按照特定的排序顺序,如从大到小,对这些第一搜索结果与扩展搜索结果进行排序及合并,以获得合并后的第一搜索结果与扩展搜索结果。2)第一搜索结果与扩展搜索结果分别对应的匹配度,其中,第一搜索结果对应的匹配度包括查询序列与第一搜索结果的匹配度,该匹配度基于第一搜索结果与查询序列的匹配模式确定,其中,匹配模式包括精确匹配和模糊匹配,精确匹配包括查询序列与第一搜索结果在搜索索引库中所对应的查询关键词完全相同,模糊匹配包括查询序列与第一搜索结果在搜索索引库中所对应的查询关键词部分相同,并且第一搜索结果与查询序列精确匹配的匹配度大于第一搜索结果与查询序列模糊匹配的匹配度;扩展搜索结果对应的匹配度包括扩展序列与扩展搜索结果的匹配度,该匹配度基于扩展搜索结果与扩展序列的匹配模式确定,其中,匹配模式包括精确匹配和模糊匹配,精确匹配包括扩展序列与扩展搜索结果在搜索索引库中所对应的查询关键词完全相同,模糊匹配包括扩展序列与扩展搜索结果在搜索索引库中所对应的查询关键词部分相同,并且扩展搜索结果与扩展序列精确匹配的匹配度大于扩展搜索结果与扩展序列模糊匹配的匹配度;例如,扩展处理设备1根据第一搜索结果与扩展搜索结果分别对应的匹配度,按照特定的顺序排序、筛选及合并,如按照从大到小的顺序对这些第一搜索结果与扩展搜索结果分别进行排序,并按照预设的匹配度阈值对这些第一搜索结果与扩展搜索结果进行筛选及合并,以获得合并后的第一搜索结果与扩展搜索结果。3)第一搜索结果与扩展搜索结果分别对应的权威度,其中,第一搜索结果对应的权威度包括搜索索引库中将每一条第一搜索结果所对应的页面索引信息加入该搜索索引库时,预设的或计算确定的该条第一搜索结果所对应的页面的权威度,扩展搜索结果对应的权威度包括搜索索引库中将每一条扩展搜索结果所对应的页面索引信息加入该搜索索引库时,预设的或计算确定的该条扩展搜索结果所对应的页面的权威度;例如,扩展处理设备1根据第一搜索结果与扩展搜索结果分别对应的权威度,按照特定的顺序排序、筛选及合并,如按照预设的权威度阈值对这些第一搜索结果与扩展搜索结果进行筛选,再按照从大到小的顺序对筛选后的第一搜索结果与扩展搜索结果进行排序及合并,以获得合并后的第一搜索结果与扩展搜索结果。Specifically, 1) the historical views corresponding to the first search result and the extended search results, wherein the historical clicks corresponding to the first search result include each item browsed by the user in the first search result obtained according to the user query history The number of user views corresponding to the first search result, and the historical hits corresponding to the extended search results include the number of user views corresponding to each extended search result browsed by the user in the extended search results obtained according to the user query history; for example, the extended The processing device 1 sorts and merges the first search results and the extended search results according to a specific sorting order, such as from largest to smallest, according to the historical page views respectively corresponding to the first search results and the extended search results, so as to obtain a merged The first and expanded search results for . 2) Matching degrees corresponding to the first search result and the extended search results, wherein the matching degree corresponding to the first search result includes the matching degree between the query sequence and the first search result, and the matching degree is based on the matching degree between the first search result and the query sequence The matching mode is determined, wherein the matching mode includes exact matching and fuzzy matching. The exact matching includes that the query sequence is exactly the same as the query keyword corresponding to the first search result in the search index library, and the fuzzy matching includes that the query sequence is identical to the first search result in the search index database. The corresponding query keywords in the search index database are partly the same, and the matching degree of the first search result and the query sequence is greater than the matching degree of the first search result and the query sequence; the matching degree corresponding to the extended search result includes the extended sequence The matching degree with the extended search result, the matching degree is determined based on the matching mode of the extended search result and the extended sequence, wherein the matching mode includes exact matching and fuzzy matching, and the exact matching includes the correspondence between the extended sequence and the extended search result in the search index library The query keywords are exactly the same, the fuzzy matching includes that the extended sequence and the extended search result are partly the same as the corresponding query keywords in the search index library, and the matching degree of the extended search result and the extended sequence is greater than the extended search result and the extended sequence fuzzy Matching matching degree; for example, the extended processing device 1 sorts, filters and merges in a specific order according to the corresponding matching degrees of the first search result and the extended search result, such as sorting, filtering and merging these first search results in descending order The first search results and the extended search results are sorted separately, and the first search results and the extended search results are screened and merged according to a preset matching degree threshold to obtain the merged first search results and the extended search results. 3) Authoritative degrees corresponding to the first search result and the extended search result, wherein the authoritative degree corresponding to the first search result includes when the page index information corresponding to each first search result is added to the search index database in the search index database , the preset or calculated authority of the page corresponding to the first search result, and the authority corresponding to the extended search result includes adding the page index information corresponding to each extended search result to the search index in the search index library library, the preset or calculated authority of the page corresponding to the extended search result; for example, the extended processing device 1 sorts, Screening and merging, such as filtering these first search results and extended search results according to a preset authority threshold, and then sorting and merging the filtered first search results and extended search results in descending order, to obtain the combined first search result and extended search result.
本领域技术人员应能理解,上述各项合并操作不仅可以单独用于扩展处理设备1在步骤S7中对第一搜索结果与扩展搜索结果进行合并,还可以将其中多项结合用于扩展处理设备1在步骤S7中对第一搜索结果与扩展搜索结果进行合并。例如,假设各项合并操作对应于不同的合并权重,如第一搜索结果与扩展搜索结果分别对应的历史浏览量的合并权重为0.2,第一搜索结果与扩展搜索结果分别对应的匹配度的合并权重为0.4,以及第一搜索结果与扩展搜索结果分别所对应的权威度的合并权重为0.4;据此,在步骤S7中,扩展处理设备1加权确定第一搜索结果与扩展搜索结果中每一条搜索结果的排序,并按照该排序顺序对第一搜索结果与扩展搜索结果进行合并,以获得合并后的第一搜索结果与扩展搜索结果,并将这些合并后的第一搜索结果与扩展搜索结果提供给用户。本领域技术人员还应能理解上述对第一搜索结果与扩展搜索结果进行合并的操作仅为举例,其他现有的或今后可能出现的对第一搜索结果与扩展搜索结果进行合并的操作如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。Those skilled in the art should be able to understand that the above merging operations can not only be used independently by the extended processing device 1 to merge the first search result and the extended search result in step S7, but also can be used in combination for the extended processing device. 1. Merge the first search result and the extended search result in step S7. For example, assuming that each merging operation corresponds to different merging weights, for example, the merging weight of historical views corresponding to the first search result and the extended search result is 0.2, and the merging of matching degrees corresponding to the first search result and the extended search result The weight is 0.4, and the combined weight of the authoritative degrees corresponding to the first search result and the extended search result is 0.4; accordingly, in step S7, the extended processing device 1 weights and determines each of the first search result and the extended search result sorting of the search results, and merging the first search results and the extended search results according to the sorting order to obtain the combined first search results and the extended search results, and combining these combined first search results and the extended search results provided to the user. Those skilled in the art should also understand that the above-mentioned operation of combining the first search result and the extended search result is only an example, and other existing or future operations of merging the first search result and the extended search result can be as follows: Applicable to the present invention, should also be included in the protection scope of the present invention, and included here by reference.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned. In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the system claims may also be realized by one unit or device through software or hardware. The words first, second, etc. are used to denote names and do not imply any particular order.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102532729ACN102955821A (en) | 2011-08-30 | 2011-08-30 | Method and device for carrying out expansion processing on query sequence |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102532729ACN102955821A (en) | 2011-08-30 | 2011-08-30 | Method and device for carrying out expansion processing on query sequence |
| Publication Number | Publication Date |
|---|---|
| CN102955821Atrue CN102955821A (en) | 2013-03-06 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2011102532729APendingCN102955821A (en) | 2011-08-30 | 2011-08-30 | Method and device for carrying out expansion processing on query sequence |
| Country | Link |
|---|---|
| CN (1) | CN102955821A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105138576A (en)* | 2015-07-29 | 2015-12-09 | 百度在线网络技术(北京)有限公司 | Method and apparatus used for providing recommended input sequence in mobile search |
| CN106776869A (en)* | 2016-11-28 | 2017-05-31 | 北京百度网讯科技有限公司 | Search optimization method, device and search engine based on neural network |
| CN107544995A (en)* | 2016-06-27 | 2018-01-05 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus for being used to provide search result recommendation information |
| CN107832432A (en)* | 2017-11-15 | 2018-03-23 | 北京百度网讯科技有限公司 | A kind of search result ordering method, device, server and storage medium |
| CN108701140A (en)* | 2015-12-31 | 2018-10-23 | 电子湾有限公司 | Generate structured queries from images |
| WO2019041197A1 (en)* | 2017-08-30 | 2019-03-07 | 深圳市云中飞网络科技有限公司 | Application resource processing method and related product |
| CN110688458A (en)* | 2019-09-27 | 2020-01-14 | 中国人民解放军海军大连舰艇学院 | Combat model retrieval method |
| CN110717263A (en)* | 2019-09-27 | 2020-01-21 | 中国人民解放军海军大连舰艇学院 | A combat model management system |
| CN110717008A (en)* | 2019-09-17 | 2020-01-21 | 平安科技(深圳)有限公司 | Semantic recognition-based search result ordering method and related device |
| CN111353075A (en)* | 2018-12-21 | 2020-06-30 | 富士施乐株式会社 | Information processing apparatus, recording medium, and information processing method |
| CN113065018A (en)* | 2021-04-13 | 2021-07-02 | 杭州海康威视数字技术股份有限公司 | Audio and video index library creating and retrieving method and device and electronic equipment |
| CN115016873A (en)* | 2022-05-05 | 2022-09-06 | 上海乾臻信息科技有限公司 | Front-end data interaction method and system, electronic equipment and readable storage medium |
| US11640408B2 (en) | 2013-09-20 | 2023-05-02 | Ebay Inc. | Search guidance |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6144958A (en)* | 1998-07-15 | 2000-11-07 | Amazon.Com, Inc. | System and method for correcting spelling errors in search queries |
| CN101206672A (en)* | 2007-12-25 | 2008-06-25 | 北京科文书业信息技术有限公司 | Commercial articles searching non result intelligent processing system and method |
| CN101281523A (en)* | 2007-04-25 | 2008-10-08 | 北大方正集团有限公司 | Query Expansion Method and Device and Related Search Thesaurus |
| CN101295319A (en)* | 2008-06-24 | 2008-10-29 | 北京搜狗科技发展有限公司 | Method and device for expanding query, search engine system |
| CN102043833A (en)* | 2010-11-25 | 2011-05-04 | 北京搜狗科技发展有限公司 | Search method and device based on query word |
| CN102163234A (en)* | 2011-04-19 | 2011-08-24 | 北京百度网讯科技有限公司 | Equipment and method for error correction of query sequence based on degree of error correction association |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6144958A (en)* | 1998-07-15 | 2000-11-07 | Amazon.Com, Inc. | System and method for correcting spelling errors in search queries |
| CN101281523A (en)* | 2007-04-25 | 2008-10-08 | 北大方正集团有限公司 | Query Expansion Method and Device and Related Search Thesaurus |
| CN101206672A (en)* | 2007-12-25 | 2008-06-25 | 北京科文书业信息技术有限公司 | Commercial articles searching non result intelligent processing system and method |
| CN101295319A (en)* | 2008-06-24 | 2008-10-29 | 北京搜狗科技发展有限公司 | Method and device for expanding query, search engine system |
| CN102043833A (en)* | 2010-11-25 | 2011-05-04 | 北京搜狗科技发展有限公司 | Search method and device based on query word |
| CN102163234A (en)* | 2011-04-19 | 2011-08-24 | 北京百度网讯科技有限公司 | Equipment and method for error correction of query sequence based on degree of error correction association |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11640408B2 (en) | 2013-09-20 | 2023-05-02 | Ebay Inc. | Search guidance |
| CN105138576A (en)* | 2015-07-29 | 2015-12-09 | 百度在线网络技术(北京)有限公司 | Method and apparatus used for providing recommended input sequence in mobile search |
| CN108701140A (en)* | 2015-12-31 | 2018-10-23 | 电子湾有限公司 | Generate structured queries from images |
| US11222064B2 (en) | 2015-12-31 | 2022-01-11 | Ebay Inc. | Generating structured queries from images |
| CN107544995A (en)* | 2016-06-27 | 2018-01-05 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus for being used to provide search result recommendation information |
| US10762150B2 (en) | 2016-11-28 | 2020-09-01 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Searching method and searching apparatus based on neural network and search engine |
| CN106776869A (en)* | 2016-11-28 | 2017-05-31 | 北京百度网讯科技有限公司 | Search optimization method, device and search engine based on neural network |
| CN106776869B (en)* | 2016-11-28 | 2020-04-07 | 北京百度网讯科技有限公司 | Search optimization method and device based on neural network and search engine |
| WO2019041197A1 (en)* | 2017-08-30 | 2019-03-07 | 深圳市云中飞网络科技有限公司 | Application resource processing method and related product |
| CN107832432A (en)* | 2017-11-15 | 2018-03-23 | 北京百度网讯科技有限公司 | A kind of search result ordering method, device, server and storage medium |
| CN111353075A (en)* | 2018-12-21 | 2020-06-30 | 富士施乐株式会社 | Information processing apparatus, recording medium, and information processing method |
| CN110717008A (en)* | 2019-09-17 | 2020-01-21 | 平安科技(深圳)有限公司 | Semantic recognition-based search result ordering method and related device |
| WO2021051587A1 (en)* | 2019-09-17 | 2021-03-25 | 平安科技(深圳)有限公司 | Search result sorting method and apparatus based on semantic recognition, electronic device, and storage medium |
| CN110717008B (en)* | 2019-09-17 | 2023-10-10 | 平安科技(深圳)有限公司 | Search result ordering method and related device based on semantic recognition |
| CN110717263A (en)* | 2019-09-27 | 2020-01-21 | 中国人民解放军海军大连舰艇学院 | A combat model management system |
| CN110688458A (en)* | 2019-09-27 | 2020-01-14 | 中国人民解放军海军大连舰艇学院 | Combat model retrieval method |
| CN113065018A (en)* | 2021-04-13 | 2021-07-02 | 杭州海康威视数字技术股份有限公司 | Audio and video index library creating and retrieving method and device and electronic equipment |
| CN115016873A (en)* | 2022-05-05 | 2022-09-06 | 上海乾臻信息科技有限公司 | Front-end data interaction method and system, electronic equipment and readable storage medium |
| CN115016873B (en)* | 2022-05-05 | 2024-07-12 | 上海乾臻信息科技有限公司 | Front-end data interaction method, system, electronic equipment and readable storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN102955821A (en) | Method and device for carrying out expansion processing on query sequence | |
| CN108304444B (en) | Information query method and device | |
| Xue et al. | Optimizing web search using web click-through data | |
| CN102163229B (en) | Method and equipment for generating abstracts of searching results | |
| CN103106282B (en) | A kind of method of Webpage search and displaying | |
| CN100481077C (en) | Visual method and device for strengthening search result guide | |
| US7958110B2 (en) | Performing an ordered search of different databases in response to receiving a search query and without receiving any additional user input | |
| CN102906744B (en) | Unlimited browsing | |
| US9262532B2 (en) | Ranking entity facets using user-click feedback | |
| US7519588B2 (en) | Keyword characterization and application | |
| CN107247745B (en) | A kind of information retrieval method and system based on pseudo-linear filter model | |
| CN102880623B (en) | Personage's searching method of the same name and system | |
| CN107967290A (en) | A kind of knowledge mapping network establishing method and system, medium based on magnanimity scientific research data | |
| CN102169501A (en) | Method and device for generating abstract based on type information of document corresponding with searching result | |
| JP2007519111A (en) | Method, system, and program for processing anchor text | |
| CN103064842B (en) | Information subscribing treating apparatus and information subscribing disposal route | |
| CN101661490B (en) | Search engine, client thereof and method for searching page | |
| CN103942198B (en) | For excavating the method and apparatus being intended to | |
| Sengstock et al. | Conquer: A system for efficient context-aware query suggestions | |
| CN106095912B (en) | Method and apparatus for generating expanded query terms | |
| CN112364126A (en) | Keyword prompting method and device, computer equipment and storage medium | |
| CN103942232B (en) | For excavating the method and apparatus being intended to | |
| CN103226601B (en) | A kind of method and apparatus of picture searching | |
| CN101836209B (en) | The system and method for managing information map | |
| CN102890690A (en) | Target information search method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20130306 | |
| RJ01 | Rejection of invention patent application after publication |