[go: up one dir, main page]

CN105843817A - Method and apparatus for searching on terminal device, and device - Google Patents

Method and apparatus for searching on terminal device, and device Download PDF

Info

Publication number
CN105843817A
CN105843817A CN201510020864.4A CN201510020864A CN105843817A CN 105843817 A CN105843817 A CN 105843817A CN 201510020864 A CN201510020864 A CN 201510020864A CN 105843817 A CN105843817 A CN 105843817A
Authority
CN
China
Prior art keywords
query
user
information
subtopic
searching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510020864.4A
Other languages
Chinese (zh)
Inventor
刘奕群
罗成
马少平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Beijing Samsung Telecommunications Technology Research Co Ltd
Original Assignee
Tsinghua University
Beijing Samsung Telecommunications Technology Research Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University, Beijing Samsung Telecommunications Technology Research Co Ltd filed Critical Tsinghua University
Priority to CN201510020864.4A priority Critical patent/CN105843817A/en
Publication of CN105843817A publication Critical patent/CN105843817A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

本发明实施例提供了通过终端设备进行搜索的方法、装置与设备。其中,终端设备接收用户输入的查询信息,对查询信息进行搜索,确定当前与查询信息相应的查询子话题,以及确定所述查询子话题的搜索结果;将查询子话题以标签的形式在屏幕上显示,并显示至少一个查询子话题的搜索结果。本发明提出的上述方案,向用户提供了用于细化其查询需求的途径,即用户可通过点击等简单操作,就能够对其查询需求进行更加准确的细化定位。同时,标签形式的查询子话题,也有利于提高用户的输入效率,即用户后续的搜索操作,只需通过点击标签实现搜索命令的输入。此外,当用户选择某个查询子话题时,只显示相应的搜索结果,会简化用户搜索结果的输出,提高了用户的查询体验。

Embodiments of the present invention provide a method, device and equipment for searching through a terminal device. Wherein, the terminal device receives the query information input by the user, searches the query information, determines the current query sub-topic corresponding to the query information, and determines the search result of the query sub-topic; displays the query sub-topic on the screen in the form of a label Show, and show search results for at least one query subtopic. The above solution proposed by the present invention provides users with a way to refine their query requirements, that is, users can perform more accurate and refined positioning of their query requirements through simple operations such as clicking. At the same time, the query sub-topic in the form of tags is also conducive to improving the user's input efficiency, that is, the user only needs to click on the tag to input the search command for subsequent search operations. In addition, when the user selects a query subtopic, only the corresponding search results are displayed, which simplifies the output of the user's search results and improves the user's query experience.

Description

在终端设备上进行搜索的方法、装置和设备Method, device and equipment for searching on terminal equipment

技术领域technical field

本发明涉及终端设备的技术领域,具体而言,本发明涉及在终端设备上进行搜索的方法、装置和设备。The present invention relates to the technical field of terminal equipment, specifically, the present invention relates to a method, device and equipment for searching on terminal equipment.

背景技术Background technique

近年来,随着智能手机、平板电脑等移动终端设备的普及,传统互联网上的各项应用,如即时通讯、搜索引擎等,在移动终端设备平台上也被广泛使用。许多移动终端设备能够通过局域网、因特网及其他合适的网络来访问远程网络。同时,移动终端设备处理器和存储器性能显著提升,已经可以完成大多数传统计算机所能完成的功能。In recent years, with the popularity of mobile terminal devices such as smart phones and tablet computers, various applications on the traditional Internet, such as instant messaging and search engines, have also been widely used on mobile terminal device platforms. Many mobile terminal devices can access remote networks through local area networks, the Internet and other suitable networks. At the same time, the performance of the processor and memory of the mobile terminal equipment has been significantly improved, and the functions that most traditional computers can perform can already be completed.

尽管移动终端设备已经提高了处理能力和存储器的容量和性能,但其某些限制仍然保持不变。为了解决这些限制,软件开发者通常设计用于移动终端设备的独立软件版本。Although mobile terminal devices have increased in processing power and memory capacity and performance, some of their limitations have remained the same. To address these limitations, software developers usually design stand-alone software versions for mobile end devices.

移动终端设备的一个限制是屏幕尺寸较小。典型的全尺寸计算设备可包括12英寸(对角线)或更大的显示器,而典型的移动终端设备可包括5.5英寸(对角线)或更小的显示器。使用全尺寸的计算设备,计算机应用程序可以包括数量较多的文本和界面元素,如按钮,菜单,按钮等。相反,使用移动终端设备,计算机应用程序通常包括较少数量的文本和界面元素来精简界面设计,突出主体内容。因此,通过减少在屏幕上单次呈现的信息量,可以保证大多数用户可以方便地阅读信息。One limitation of mobile end devices is the small screen size. A typical full-size computing device may include a display of 12 inches (diagonal) or larger, while a typical mobile terminal device may include a display of 5.5 inches (diagonal) or smaller. Using a full-sized computing device, a computer application can include a large amount of text and interface elements such as buttons, menus, buttons, etc. On the contrary, using mobile terminal devices, computer applications usually include a smaller number of text and interface elements to simplify the interface design and highlight the main content. Therefore, by reducing the amount of information presented at a single time on the screen, it can be guaranteed that most users can read the information conveniently.

移动终端设备的另外一个限制是交互成本较高。典型的全尺寸计算设备通常包含正常尺寸的键盘和鼠标作为主要输入设备,用户可以方便地输入大量的文本。在使用移动终端设备时,可以通过较小尺寸的键盘进行输入,或通过触摸屏幕进行输入。这两种方式与传统的键盘鼠标输入相比,输入的速度都比较慢,用户需要花费的时间成本较高。Another limitation of mobile terminal equipment is the high interaction cost. A typical full-size computing device usually includes a normal-sized keyboard and mouse as the main input devices, allowing users to input large amounts of text conveniently. When using a mobile terminal device, input can be performed through a smaller-sized keyboard, or through a touch screen. Compared with the traditional keyboard and mouse input, the input speed of these two methods is relatively slow, and the time cost that the user needs to spend is relatively high.

随着互联网上信息的快速增长,搜索引擎成为用户获取信息的主要渠道之一。在常规的搜索界面中,在用户可以使用较大的显示器和正常尺寸的键盘及鼠标较为便捷地和搜索引擎进行交互的情况下,搜索引擎可以为用户提供一个相对详尽的搜索结果列表,让用户从中挑选相关的搜索结果进行仔细阅读。然而,在移动终端设备的移动搜索的环境下,由于移动终端设备的固有限制,可为用户呈现的结果数量非常有限。同时,移动终端设备较高的输入成本增加了用户与搜索引擎进行交互的难度,使得用户提交的查询需求往往更加简短、歧义且模糊。With the rapid growth of information on the Internet, search engines have become one of the main channels for users to obtain information. In the conventional search interface, when the user can interact with the search engine more conveniently using a larger monitor and a normal-sized keyboard and mouse, the search engine can provide the user with a relatively detailed list of search results, allowing the user Select relevant search results to read carefully. However, in the context of mobile search by mobile terminal devices, due to the inherent limitations of mobile terminal devices, the number of results that can be presented to users is very limited. At the same time, the high input cost of mobile terminal equipment increases the difficulty for users to interact with search engines, making the query requirements submitted by users often shorter, ambiguous and vague.

现有的移动终端设备搜索引擎,为了适应移动终端设备的屏幕尺寸,对搜索结果进行了转换,令其在移动终端设备上的字体大小更适合人阅读。同时与全尺寸设备类似的,移动搜索引擎提供了结果类型的分类,例如把搜索结果分为网页、新闻、图片、视频等多个不同属性类型,并向用户提供查看某种特定属性类型的结果的按钮。另外,现有技术为了解决用户交互难度大的问题,在部分移动终端设备上,可支持利用语音、图像等信息进行检索。语音检索实质是把用户的语音信息输入转换成文字信息,然后利用传统的文本检索技术进行查询。图像检索主要是利用在预建立的图像库中进行图像特征的匹配来实现检索,但目前只有样例级的应用,还未出生较成熟的上线产品。In order to adapt to the screen size of the mobile terminal equipment, the existing mobile terminal equipment search engine converts the search results so that the font size on the mobile terminal equipment is more suitable for human reading. At the same time, similar to full-size devices, mobile search engines provide classification of result types, such as dividing search results into different attribute types such as web pages, news, pictures, videos, etc., and provide users with the results of viewing a specific attribute type button. In addition, in order to solve the problem of difficult user interaction in the prior art, some mobile terminal devices can support retrieval by using information such as voice and images. The essence of voice retrieval is to convert the user's voice information input into text information, and then use traditional text retrieval technology to query. Image retrieval mainly uses the matching of image features in the pre-established image database to achieve retrieval, but currently there are only sample-level applications, and mature online products have not yet been born.

目前用户在使用移动搜索引擎时输入的查询信息通常较短,可能无法正确的反映用户的搜索意图,即可能具有一定的歧义性,或覆盖范围过大包括多个相关查询子信息。因此,仅根据较短查询信息搜索获取搜索结果,并按照常规的搜索结果的属性类型对搜索结果进行分类,无法实现用户对查询意图的细化;而且由于移动终端设备的屏幕限制,一个屏幕中为用户提供的信息量有限,也就无法快速且准确地向用户提供其所需的信息。At present, the query information entered by the user when using the mobile search engine is usually short, which may not correctly reflect the user's search intention, that is, may have certain ambiguity, or may cover too many relevant query sub-information. Therefore, it is impossible to refine the user's query intention by only searching and obtaining search results according to the short query information, and classifying the search results according to the attribute types of the conventional search results; The amount of information provided to users is limited, and it is impossible to provide users with the information they need quickly and accurately.

发明内容Contents of the invention

本发明的目的旨在解决终端设备上搜索不便的问题,通过动态生成相应的查询子话题的搜索方式,能有效提高终端设备的输入效率,和/或能够快速明确用户的查询意图。The purpose of the present invention is to solve the problem of inconvenient search on the terminal device. By dynamically generating the corresponding query subtopic search method, the input efficiency of the terminal device can be effectively improved, and/or the user's query intention can be quickly clarified.

本发明实施例一方面提供了一种在终端设备上进行搜索的方法,包括以下步骤:On the one hand, an embodiment of the present invention provides a method for searching on a terminal device, including the following steps:

接收用户输入的查询信息;Receive the query information entered by the user;

对所述查询信息进行搜索,确定当前与所述查询信息相应的查询子话题,以及确定所述查询子话题的搜索结果;Searching the query information, determining a current query subtopic corresponding to the query information, and determining a search result of the query subtopic;

将所述查询子话题以标签的形式在屏幕上显示,并显示至少一个查询子话题的搜索结果。The query subtopics are displayed on the screen in the form of labels, and at least one search result of the query subtopics is displayed.

本发明实施例另一方面提供了一种在终端设备上进行搜索的装置,包括:Another aspect of the embodiment of the present invention provides an apparatus for searching on a terminal device, including:

接收单元,用于接收用户输入的查询信息;a receiving unit, configured to receive query information input by a user;

搜索单元,用于对所述查询信息进行搜索,确定当前与所述查询信息相应的查询子话题,以及确定所述查询子话题的搜索结果;a search unit, configured to search the query information, determine the current query subtopic corresponding to the query information, and determine the search results of the query subtopic;

显示单元,用于将所述查询子话题以标签的形式在屏幕上显示,并显示至少一个查询子话题的搜索结果。A display unit, configured to display the query subtopic in the form of labels on the screen, and display at least one search result of the query subtopic.

本发明提供的上述实施例中,终端设备在接收到根据查询信息后,动态生成的查询子话题及相应的搜索结果,查询子话题以标签的形式在屏幕上进行显示。在移动终端设备屏幕尺寸有限而导致的显示搜索结果数量有限、交互成本较高的背景下,动态生成的标签形式的查询子话题,向用户提供了用于细化其查询需求的途径,即用户可通过点击等简单操作,就能够对其查询需求进行更加准确的细化定位。同时,标签形式的查询子话题,也有利于提高用户的输入效率,即用户后续的搜索操作,只需通过点击标签实现搜索命令的输入。此外,当用户选择某个查询子话题时,只显示相应的搜索结果,会简化用户搜索结果的输出,提高了用户的查询体验。In the above embodiments provided by the present invention, after receiving the query information, the terminal device dynamically generates query subtopics and corresponding search results, and the query subtopics are displayed on the screen in the form of labels. In the context of limited display search results and high interaction costs caused by the limited screen size of mobile terminal devices, the dynamically generated query subtopics in the form of tags provide users with a way to refine their query needs, that is, users Through simple operations such as clicking, it is possible to perform more accurate and refined positioning on its query requirements. At the same time, the query sub-topic in the form of tags is also conducive to improving the user's input efficiency, that is, the user only needs to click on the tag to input the search command for subsequent search operations. In addition, when the user selects a query subtopic, only the corresponding search results are displayed, which simplifies the output of the user's search results and improves the user's query experience.

本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and will become apparent from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为根据本发明实施例的进行搜索的方法流程图;FIG. 1 is a flowchart of a method for searching according to an embodiment of the present invention;

图2为根据本发明一个优选实施例的进行搜索的方法流程图;Fig. 2 is a flow chart of a method for searching according to a preferred embodiment of the present invention;

图3为根据本发明又一优选实施例的进行搜索的方法流程图;Fig. 3 is a flow chart of a method for searching according to another preferred embodiment of the present invention;

图4为根据本发明实施例多层级查询子话题的示例图;FIG. 4 is an example diagram of a multi-level query subtopic according to an embodiment of the present invention;

图5A为根据本发明实施例一种查询子话题标签的显示效果示意图;FIG. 5A is a schematic diagram of a display effect of a query sub-topic tag according to an embodiment of the present invention;

图5B为根据本发明实施例又一种查询子话题标签的显示效果示意图;FIG. 5B is a schematic diagram of display effect of another query sub-topic tag according to an embodiment of the present invention;

图6为根据本发明一个优选实施例的进行搜索的显示效果示例图;Fig. 6 is a diagram showing an example of a search display effect according to a preferred embodiment of the present invention;

图7为根据本发明又一个优选实施例的进行搜索的显示效果示例图;Fig. 7 is an example diagram of a display effect of searching according to another preferred embodiment of the present invention;

图8为根据本发明实施例查询-链接二部图的示意图;Fig. 8 is a schematic diagram of a query-link bipartite graph according to an embodiment of the present invention;

图9为根据本发明一个优选实施例的用户协同生成的语义相关的结构化数据的示意图;Fig. 9 is a schematic diagram of semantically related structured data collaboratively generated by users according to a preferred embodiment of the present invention;

图10为根据本发明实施例进行搜索的装置的功能示意图;FIG. 10 is a functional schematic diagram of a device for searching according to an embodiment of the present invention;

图11为根据本发明又一个优选实施例进行搜索的功能示意图;Fig. 11 is a functional schematic diagram of searching according to yet another preferred embodiment of the present invention;

图12为根据本发明又一个优选实施例网络设备的功能示意图。Fig. 12 is a functional schematic diagram of a network device according to yet another preferred embodiment of the present invention.

具体实施方式detailed description

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,进行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(PersonalDigital Assistant个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global PositioningSystem,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" and "terminal equipment" used here not only include wireless signal receiver equipment, which only has wireless signal receiver equipment without transmission capabilities, but also include receiving and transmitting hardware. A device having receive and transmit hardware capable of bi-directional communication over a bi-directional communication link. Such equipment may include: cellular or other communication equipment, which has a single-line display or a multi-line display or a cellular or other communication equipment without a multi-line display; PCS (Personal Communications Service, personal communication system), which can combine voice, data Processing, fax and/or data communication capabilities; PDA (Personal Digital Assistant , Personal Digital Assistant), which may include radio frequency receiver, pager, Internet/Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System , Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal", "terminal device" may be portable, transportable, installed in a vehicle (air, sea, and/or land), or adapted and/or configured to operate locally, and/or In distributed form, the operation operates at any other location on Earth and/or in space. The "terminal" and "terminal equipment" used here can also be communication terminals, Internet terminals, music/video playback terminals, such as PDAs, MIDs (Mobile Internet Devices, mobile Internet devices) and/or with music/video playback terminals. Functional mobile phones, smart TVs, set-top boxes and other devices.

图1为根据本发明实施例的进行搜索的方法流程图。Fig. 1 is a flowchart of a method for searching according to an embodiment of the present invention.

在步骤S1中,接收用户输入的查询信息;在步骤S2中,对查询信息进行搜索,确定当前与查询信息相应的查询子话题,以及确定查询子话题的搜索结果;在步骤S3中,将查询子话题以标签的形式在屏幕上显示,并显示至少一个查询子话题的搜索结果。In step S1, the query information input by the user is received; in step S2, the query information is searched, the current query subtopic corresponding to the query information is determined, and the search results of the query subtopic are determined; in step S3, the query The subtopics are displayed on the screen in the form of tabs, and at least one search result for querying the subtopics is displayed.

本发明提供的上述方法中,终端设备在接收到根据查询信息后,动态生成的查询子话题及相应的搜索结果,查询子话题以标签的形式在屏幕上进行显示。在移动终端设备屏幕尺寸有限而导致的显示搜索结果数量有限、交互成本较高的背景下,动态生成的标签形式的查询子话题,向用户提供了用于细化其查询需求的途径,即用户可通过点击等简单操作,就能够对其查询需求进行更加准确的细化定位。同时,标签形式的查询子话题,也有利于提高用户的输入效率,即用户后续的搜索操作,只需通过点击标签实现搜索命令的输入。此外,当用户选择某个查询子话题时,只显示相应的搜索结果,会简化用户搜索结果的输出,提高了用户的查询体验。In the above method provided by the present invention, after receiving the query information, the terminal device dynamically generates query subtopics and corresponding search results, and the query subtopics are displayed on the screen in the form of labels. In the context of limited display search results and high interaction costs caused by the limited screen size of mobile terminal devices, the dynamically generated query subtopics in the form of tags provide users with a way to refine their query needs, that is, users Through simple operations such as clicking, it is possible to perform more accurate and refined positioning on its query requirements. At the same time, the query sub-topic in the form of tags is also conducive to improving the user's input efficiency, that is, the user only needs to click on the tag to input the search command for subsequent search operations. In addition, when the user selects a query subtopic, only the corresponding search results are displayed, which simplifies the output of the user's search results and improves the user's query experience.

具体地,终端设备对查询信息进行搜索,包括:在终端设备的本地数据中对查询信息进行搜索;其后,获取与查询信息相应的查询子话题及查询子话题的搜索结果。Specifically, searching for the query information by the terminal device includes: searching for the query information in local data of the terminal device; thereafter, obtaining a query subtopic corresponding to the query information and a search result of the query subtopic.

此外,终端设备对查询信息进行搜索,还包括:终端设备在网络中对查询信息进行搜索;其后,获取与查询信息相应的查询子话题及查询子话题的搜索结果。此类场景下的应用,具体参见后文对图2、图3的详细说明。In addition, the terminal device searching for the query information also includes: the terminal device searching for the query information in the network; thereafter, obtaining a query subtopic corresponding to the query information and a search result of the query subtopic. For the application in such scenarios, please refer to the detailed description of Figure 2 and Figure 3 below.

例如,根据查询信息,在本地索引库中进行搜索,获取与查询信息相应的查询子话题及查询子话题的搜索结果。其中,本地索引库例如包括文件标识、其对应的文件目录、所在的磁盘标识等关联信息。For example, according to the query information, a search is performed in the local index database to obtain the query subtopics corresponding to the query information and the search results of the query subtopics. Wherein, the local index database includes, for example, associated information such as a file identifier, a corresponding file directory, and a disk identifier where it is located.

其中,查询子话题可以是预先生成的,也可以是实时生成的。获取与查询信息相应的查询子话题及查询子话题的搜索结果的方式,包括以下任意一种或多种方式:Wherein, the query subtopic can be generated in advance or in real time. The methods of obtaining the query subtopics corresponding to the query information and the search results of the query subtopics include any one or more of the following methods:

根据查询信息对预设的本地存储的群体用户的搜索历史记录进行分析,生成查询子话题;Analyze the search history records of the preset locally stored group users according to the query information, and generate query subtopics;

根据查询信息对预设的本地存储的群体用户协同生成的语义相关的结构化数据进行分析,生成查询子话题;According to the query information, analyze the semantically related structured data collaboratively generated by the preset locally stored group users, and generate query subtopics;

对查询信息相应的查询推荐信息进行分析,生成查询子话题;Analyze the query recommendation information corresponding to the query information, and generate query subtopics;

根据查询信息进行搜索以获取相应的搜索结果,对搜索结果进行聚类处理生成查询子话题。Search according to the query information to obtain the corresponding search results, and cluster the search results to generate query subtopics.

优选地,查询子话题包括多层级查询子话题,其中,多层级查询子话题包括至少构成上下层级关系的两层查询子话题。例如,在步骤S3中,首先将第一层级查询子话题以标签的形式在屏幕上进行显示。Preferably, the query sub-topic includes a multi-level query sub-topic, wherein the multi-level query sub-topic includes at least two levels of query sub-topics forming a hierarchical relationship. For example, in step S3, firstly, the first-level query subtopics are displayed on the screen in the form of labels.

例如,如图4所示,为根据本发明实施例多层级查询子话题的示例图。查询信息为“苹果”,其查询子话题包括两层查询子话题,第一层级查询子话题包括:“苹果植物”和“苹果公司”;“苹果植物”的第二层级查询子话题为“苹果植物介绍”、“苹果植物文化”和“苹果植物水果”,“苹果公司”的第二层级查询子话题为“苹果公司应用”、“苹果公司产品”、“苹果公司网站”和“苹果公司配件”。For example, as shown in FIG. 4 , it is an example diagram of a multi-level query subtopic according to an embodiment of the present invention. The query information is "apple", and its query subtopic includes two layers of query subtopics. The first level query subtopic includes: "apple plant" and "Apple Company"; the second level query subtopic of "apple plant" is "apple plant" Plant Introduction", "Apple Plant Culture", and "Apple Plant Fruit", the second-level query subtopics of "Apple Inc." are "Apple Inc. Applications", "Apple Inc. Products", "Apple Inc. Website" and "Apple Inc. Accessories ".

优选地(参照图1),该方法还包括步骤S4(图中未示出)。在步骤S4中,接收用户对任一上层查询子话题的标签执行的触发操作,将该上层查询子话题包括的下层查询子话题,以标签的形式在屏幕上进行显示。Preferably (refer to FIG. 1 ), the method further includes step S4 (not shown in the figure). In step S4, a trigger operation performed by the user on the label of any upper-level query subtopic is received, and the lower-level query subtopics included in the upper-level query subtopic are displayed on the screen in the form of labels.

相应地,当屏幕上的标签变化时,步骤S3中的搜索结果也会关联变化。也就是,步骤S3中显示至少一个查询子话题的搜索结果,包括:Correspondingly, when the tags on the screen change, the search results in step S3 will also change accordingly. That is, the search results of at least one query subtopic are displayed in step S3, including:

显示的查询子话题的搜索结果,与当前显示的查询子话题的标签相关联,或者根据选中的查询子话题的标签自适应调整。The displayed search results of the query subtopic are associated with the label of the currently displayed query subtopic, or adaptively adjusted according to the label of the selected query subtopic.

优选地(参照图1),该方法还包括步骤S5(图中未示出)。在步骤S5中,当所述用户选定任一查询子话题对应的标签时,将该查询子话题相应的搜索结果在所述屏幕上进行显示。Preferably (refer to FIG. 1 ), the method further includes step S5 (not shown in the figure). In step S5, when the user selects a tag corresponding to any query subtopic, the search result corresponding to the query subtopic is displayed on the screen.

优选地,终端设备对查询子话题进行排序,将排序后的查询子话题,以标签的形式在屏幕上显示。例如,终端设备对查询子话题进行排序处理,获取子话题排序结果;根据子话题排序结果,将第一层级查询子话题以标签的形式在屏幕上进行显示。Preferably, the terminal device sorts the query subtopics, and displays the sorted query subtopics in the form of labels on the screen. For example, the terminal device sorts the query subtopics to obtain the subtopic sorting results; according to the subtopic sorting results, the first-level query subtopics are displayed on the screen in the form of tags.

其中,对查询子话题进行排序处理的方式,包括:Among them, the way of sorting query subtopics includes:

基于预定的子话题生成方式权重,对查询子话题进行排序处理;sorting the query subtopics based on the weight of the predetermined subtopic generation method;

计算查询子话题对查询信息的覆盖率,根据覆盖率对查询子话题进行排序处理。Calculate the coverage rate of the query subtopic on the query information, and sort the query subtopics according to the coverage rate.

优选地,在步骤S3中,显示至少一个查询子话题的搜索结果之前,还包括:对待显示的查询子话题的搜索结果进行排序;其后,将查询子话题的搜索结果按照排序后的次序进行显示。Preferably, in step S3, before displaying the search results of at least one query subtopic, it further includes: sorting the search results of the query subtopics to be displayed; and then, sorting the search results of the query subtopics according to the sorted order show.

更优选地,基于用户的相关信息对子话题搜索结果进行排序处理,获取排序后的子话题搜索结果。其中,用户的相关信息,包括:用户的属性信息;用户的偏好信息;用户的位置信息。或者,基于预定整合排序规则进行排序处理后的子话题搜索结果,获取排序后的子话题搜索结果。More preferably, the subtopic search results are sorted based on the user's relevant information, and the sorted subtopic search results are obtained. Wherein, the relevant information of the user includes: attribute information of the user; preference information of the user; location information of the user. Alternatively, the sorted subtopic search results are obtained based on the sorted subtopic search results based on predetermined integration sorting rules.

作为本发明的实施例,在实际应用中,用户的相关信息根据以下任意一种或多种方式获取:As an embodiment of the present invention, in practical applications, the relevant information of the user is obtained according to any one or more of the following methods:

分析用户的账户注册信息,获取用户的相关信息;Analyze the user's account registration information and obtain relevant information about the user;

分析用户的社交关系,获取用户的相关信息;Analyze the social relationship of the user and obtain relevant information of the user;

分析用户的历史搜索数据,获取用户的相关信息;Analyze the user's historical search data to obtain relevant information about the user;

根据传感器获取用户当前所处的环境,获取用户的相关信息;Obtain the current environment of the user according to the sensor, and obtain relevant information of the user;

分析用户操作终端设备的行为,获取用户的相关信息。Analyze the behavior of the user operating the terminal device to obtain relevant information about the user.

作为本发明的实施例,在步骤S3将查询子话题以标签的形式在屏幕上显示时,将以多种方式呈现。例如,查询子话题的标签通过以下任意一种或多种方式呈现:As an embodiment of the present invention, when the query subtopics are displayed on the screen in the form of labels in step S3, they will be presented in various ways. For example, the labels of query subtopics are presented in any one or more of the following ways:

位于搜索栏的上方区域或下方区域排列显示;Arranged in the area above or below the search bar;

位于屏幕的左边区域或右边区域排列显示;Arranged display in the left or right area of the screen;

位于屏幕的上方区域或下方区域垂直排列显示。Displayed vertically in the upper or lower area of the screen.

如图5A所示,为根据本发明实施例一种查询子话题标签的显示效果示意图;查询子话题的标签位于搜索栏的下方区域、位于屏幕的左边区域,以垂直排列显示。As shown in FIG. 5A , it is a schematic diagram of a query subtopic tag display effect according to an embodiment of the present invention; the tags of the query subtopic are located in the lower area of the search bar and in the left area of the screen, and are displayed in a vertical arrangement.

图5B所示,为根据本发明实施例又一种查询子话题标签的显示效果示意图;查询子话题的标签位于搜索栏的下方区域、位于屏幕的上方区域,以水平排列显示。FIG. 5B is a schematic diagram showing another query subtopic tag display effect according to an embodiment of the present invention; the tags of the query subtopic are located in the lower area of the search bar and in the upper area of the screen, and are displayed in a horizontal arrangement.

相应地,在实际应用中,如图6所示,为根据本发明一个优选实施例的进行搜索的显示效果示例图;查询子话题的标签位于搜索栏的下方区域、位于屏幕的左边区域,以垂直排列显示。Correspondingly, in practical applications, as shown in FIG. 6 , it is an example diagram of a search display effect according to a preferred embodiment of the present invention; the label of the query subtopic is located in the lower area of the search bar and in the left area of the screen, so as to Displayed vertically.

相应地,在实际应用中,如图7所示,为根据本发明又一个优选实施例的进行搜索的显示效果示例图;查询子话题的标签位于搜索栏的下方区域、位于屏幕的上方区域,以水平排列显示。Correspondingly, in practical applications, as shown in FIG. 7 , it is an example diagram of a search display effect according to another preferred embodiment of the present invention; the label of the query subtopic is located in the lower area of the search bar and in the upper area of the screen, Displayed in a horizontal arrangement.

此外,在实际应用中,为了方便用户的输入,可以自适应调整屏幕的布局。例如,与图5B、图7相反的方式布局标签的位置,令查询子话题的标签位于屏幕的下方区域、以水平排列显示。此时,即使是单手持握终端设备,也可以通过拇指操作,便捷选中用户所需的查询子话题的标签。In addition, in practical applications, in order to facilitate user input, the layout of the screen can be adaptively adjusted. For example, the positions of the labels are laid out in a manner opposite to that shown in FIG. 5B and FIG. 7 , so that the labels of the query subtopic are located in the lower area of the screen and displayed in a horizontal arrangement. At this time, even if the terminal device is held with one hand, the label of the query sub-topic required by the user can be conveniently selected through the operation of the thumb.

优选地(参照图1),该方法还包括步骤S6(图中未示出)。在步骤S6中,接收用户的位置调整操作,根据所述位置调整操作调整所述查询子话题对应的标签在屏幕上的显示位置。Preferably (refer to FIG. 1 ), the method further includes step S6 (not shown in the figure). In step S6, a user's position adjustment operation is received, and the display position of the label corresponding to the query subtopic on the screen is adjusted according to the position adjustment operation.

图2为根据本发明一个优选实施例的进行搜索的方法流程图。Fig. 2 is a flowchart of a method for searching according to a preferred embodiment of the present invention.

在步骤S110中,终端设备将用户输入的查询信息发送至网络设备;在步骤S120中,网络设备接收终端设备发送的查询信息,根据查询信息动态生成相应的查询子话题;在步骤S130中,网络设备根据查询子话题进行搜索,确定查询子话题的搜索结果;在步骤S140中,网络设备将查询子话题及查询子话题的搜索结果发送至终端设备;在步骤S150中,终端设备接收网络设备发送的根据查询信息动态生成的查询子话题及查询子话题的搜索结果;在步骤S160中,终端设备将查询子话题以标签的形式在屏幕上进行显示,并显示至少一个查询子话题的搜索结果。In step S110, the terminal device sends the query information input by the user to the network device; in step S120, the network device receives the query information sent by the terminal device, and dynamically generates corresponding query subtopics according to the query information; in step S130, the network The device searches according to the query subtopic, and determines the search result of the query subtopic; in step S140, the network device sends the query subtopic and the search result of the query subtopic to the terminal device; in step S150, the terminal device receives the query sent by the network device The query subtopics and the search results of the query subtopics dynamically generated according to the query information; in step S160, the terminal device displays the query subtopics in the form of tags on the screen, and displays at least one search result of the query subtopics.

应当理解,本发明公开的实施例,仅仅以终端设备、网络设备为例进行说明,只是为了更好表述本发明,而不是对本发明加以限定。应当理解,网络设备中的部分或全部功能,也可以植入在终端设备中实现、全部通过终端设备实现本发明公开的技术方案。It should be understood that the embodiments disclosed in the present invention are only described by taking the terminal device and the network device as examples, which are only for better describing the present invention, rather than limiting the present invention. It should be understood that part or all of the functions in the network device can also be implemented in the terminal device, and all the technical solutions disclosed in the present invention can be realized through the terminal device.

在一个优选实施例中(参照图2),在步骤S120中,网络设备根据查询信息动态生成相应的查询子话题的方式,具体包括:根据查询信息对群体用户的搜索历史记录进行分析,生成查询子话题。In a preferred embodiment (refer to FIG. 2 ), in step S120, the network device dynamically generates a corresponding query subtopic according to the query information, which specifically includes: analyzing the search history records of group users according to the query information, and generating a query subtopic.

一种实现方式为:步骤S120包括步骤S121(图中未示出)和步骤S122(图中未示出);在步骤S121中,根据群体用户的搜索历史记录中记录的群体查询序列与用户点击网络资源地址之间的对应关系建立查询-链接二部图,通过随机漫步函数基于查询-链接二部图进行查询信息相关的多个群体查询序列与该查询信息之间的相似度计算,确定多个群体查询序列与该查询信息之间的相似度;在步骤S122中,基于相似度生成查询子话题;其中,群体查询序列指海量用户在历史搜索过程中输入的查询信息。One implementation is: step S120 includes step S121 (not shown in the figure) and step S122 (not shown in the figure); in step S121, according to the group query sequence recorded in the group user's search history and the user click The corresponding relationship between the network resource addresses establishes the query-link bipartite graph, and uses the random walk function to calculate the similarity between multiple group query sequences related to the query information and the query information based on the query-link bipartite graph, and determine how many The similarity between a group query sequence and the query information; in step S122, a query subtopic is generated based on the similarity; wherein, the group query sequence refers to the query information input by a large number of users in the historical search process.

在本实施例中,群体用户的搜索历史记录中包括多个群体查询序列及与每个群体查询序列相应的用户点击的网络资源地址,如URL(Uniform Resource Locator,统一资源定位符)。如图8所示,根据群体查询序列及相应的URL建立查询-链接二部图;其中,查询-链接二部图的顶点由两个互不相交的集合构成,一个集合为查询序列集合,为图8中左半部,包含群体用户提交的群体查询序列;另一个集合为网络资源地址集合,为图8中右半部,包含用户在搜索过程中点击的网络资源地址;在查询-链接二部图上,查询序列集合包含多个查询节点q,网络资源地址集合包含多个链接节点u。从查询序列q到网络资源地址链接u的边的权重表明在搜索历史记录中记录的提交q后点击u的次数。根据该查询-链接二部图,确定左右查询节点间的转移概率;随后,通过随机漫步函数基于该查询-链接二部图,选取到达概率最大的前预定数量的查询序列。In this embodiment, the search history records of group users include multiple group query sequences and the network resource addresses clicked by users corresponding to each group query sequence, such as URL (Uniform Resource Locator, Uniform Resource Locator). As shown in Figure 8, the query-link bipartite graph is established according to the group query sequence and the corresponding URL; wherein, the vertices of the query-link bipartite graph are composed of two mutually disjoint sets, and one set is the query sequence set, which is The left half of Figure 8 contains the group query sequence submitted by the group users; the other set is the network resource address collection, which is the right half of Figure 8 and contains the network resource addresses clicked by the user during the search process; in the query-link 2 In the partial graph, the query sequence set contains multiple query nodes q, and the network resource address set contains multiple link nodes u. The weight of the edge from the query sequence q to the web resource address link u indicates the number of clicks on u after the submission q recorded in the search history. According to the query-link bipartite graph, the transition probability between the left and right query nodes is determined; then, based on the query-link bipartite graph, a predetermined number of query sequences with the highest arrival probability are selected through a random walk function.

在二部图G=({V1,V2},E)上,首先定义从查询序列集合中的顶点i到相邻的网络资源地址集合顶点j的转移概率如下式1):On the bipartite graph G=({V1,V2},E), first define the transition probability from the vertex i in the query sequence set to the adjacent network resource address set vertex j as the following formula 1):

pp ii ,, jj == ww ii ,, jj dd ii -- -- -- 11 ))

其中,in,

di=Σ(i,j)∈E wi,j 2)d i = Σ (i, j) ∈ E w i, j 2)

上式2)中,wi,j为查询-链接二部图上有向边Ei,j的权重;di是所有与顶点i相连的边的权重加和。In the above formula 2), w i, j is the weight of the directed edge E i, j on the query-link bipartite graph; d i is the sum of the weights of all the edges connected to the vertex i.

基于式1)和式2),定义一个该查询-链接二部图上的2步长的随机漫步过程,如下式3):Based on formula 1) and formula 2), define a 2-step random walk process on the query-link bipartite graph, as the following formula 3):

pp ii ,, jj == ΣΣ kk ∈∈ vv 22 pp (( ii ,, kk )) ** pp (( kk ,, jj )) -- -- -- 33 ))

在该查询-链接二部图上,对任意两个查询序列间,通过式3)计算确定P值即为两个查询序列间的相似度;则可确定用户输入的查询信息与任一群体查询序列间的相似度;选取相似度大于预定相似度阈值的多个相似查询序列;当选取出的相似查询序列包括查询信息的文本信息,确定该相似查询序列是查询信息的查询子话题。On the query-link bipartite graph, between any two query sequences, calculate and determine the P value through formula 3), which is the similarity between the two query sequences; The similarity between sequences; selecting a plurality of similar query sequences whose similarity is greater than a predetermined similarity threshold; when the selected similar query sequence includes text information of the query information, determine that the similar query sequence is a query subtopic of the query information.

在一示例中,查询信息为“Cherry(樱桃)”,在查询-链接二部图上,从左半部的查询序列集合中找到“Cherry”对应的查询节点,然后分别计算其他节点和“Cherry”节点的相似度,可以得到下表1):In one example, the query information is "Cherry (cherry)". On the query-link bipartite graph, the query node corresponding to "Cherry" is found from the query sequence set in the left half, and then the other nodes and "Cherry" are calculated respectively. "The similarity of the node can be obtained in the following table 1):

表1)Table 1)

相似群体查询序列Similarity Group Query Sequence 相似度Similarity Cherry键盘Cherry keyboard 0.9830.983 樱桃键盘cherry keyboard 0.7630.763 Cherry电影CherryMovies 0.7430.743 Cherry机械键盘比较Cherry mechanical keyboard comparison 0.7320.732 Cherry演员表Cherry cast 0.5430.543 ……... ……...

根据上表1),相似群体查询序列“cherry键盘”、“cherry电影”、“cherry机械键盘比较”、“cherry演员表”与“Cherry”的相似度均大于预定相似度阈值0.5,且均包括查询信息“cherry”,可确定“cherry键盘”、“cherry电影”、“cherry机械键盘比较”、“cherry演员表”是“cherry”的查询子话题。According to the above table 1), the similarity of similar group query sequences "cherry keyboard", "cherry movie", "cherry mechanical keyboard comparison", "cherry actor list" and "Cherry" is greater than the predetermined similarity threshold of 0.5, and all include Query information "cherry", it can be determined that "cherry keyboard", "cherry movie", "cherry mechanical keyboard comparison", "cherry cast" are query subtopics of "cherry".

本优选实施例中,用户搜索的过程是选取和查询信息相关的搜索结果的过程,体现着用户对于语义相关的隐式反馈;根据大规模群体用户提供的隐式反馈,在查询-链接二部图上进行相关查询子话题的挖掘,可较为准确的动态生成查询子话题。In this preferred embodiment, the process of user search is the process of selecting search results related to query information, which reflects the user's implicit feedback on semantic correlation; Mining relevant query subtopics on the graph can generate query subtopics more accurately and dynamically.

另一种实现方式为:在步骤S120中,网络设备根据搜索历史记录中记录的群体用户在基于查询信息进行搜索过程中进一步输入的与查询信息相关联的细化查询信息,生成查询子话题Another implementation is: in step S120, the network device generates query subtopics according to the refined query information associated with the query information that is further input by the group users recorded in the search history records during the search process based on the query information

具体地,根据查询信息对群体用户的搜索历史记录中记录的在进行搜索过程中进一步输入的与查询信息相关联的细化查询信息,如对查询信息的更新信息进行分析,生成查询子话题;其中,细化查询信息包括对查询信息进行添加、修改、调序等操作后的信息。Specifically, according to the query information, the refined query information associated with the query information that is further input in the search process recorded in the search history records of the group users, such as analyzing the update information of the query information, generates query subtopics; Wherein, the refined query information includes information after operations such as adding, modifying, and sorting the query information.

在一示例中,用户输入的查询信息为“cherry”,群体用户的搜索历史记录中记录群体用户在“cherry”的搜索过程中,进一步对“cherry”细化的细化查询信息如下表2)所示:In an example, the query information entered by the user is "cherry", and the group user's search history records record the group user's search process for "cherry", and the refined query information for "cherry" is further refined as shown in Table 2) Shown:

表2)Table 2)

查询过程中细化查询信息Refine the query information during the query process 群体用户细化行为频度统计Group user refinement behavior frequency statistics Cherry键盘Cherry keyboard 34223422 Cherry IMDBCherry IMDB 23322332 Cherry AddressCherry Address 12331233 Cherry online shopCherry online shop 10021002 ……... ……...

如表2)所示,群体用户细化行为频度统计为用户细化“cherry”为某一细化查询序列的次数,可将群体用户细化行为频度高于预定频度阈值的查询序列作为查询子话题。As shown in Table 2), the group user’s refined behavior frequency statistics are the number of times users refine “cherry” into a certain refined query sequence, and the query sequence whose group user’s refined behavior frequency is higher than the predetermined frequency threshold can be counted as a query subtopic.

本优选实施例中,用户在搜索过程中会对查询信息进一步执行添加、修改或重组织等更新操作;在搜索历史记录中可记录更新后的查询信息,对更新后的查询信息进行相关查询子话题的挖掘,也可较为准确的动态生成查询子话题。In this preferred embodiment, the user will further perform update operations such as adding, modifying, or reorganizing the query information during the search process; the updated query information can be recorded in the search history record, and relevant query subclasses can be performed on the updated query information Topic mining can also dynamically generate query subtopics more accurately.

在又一优选实施例中(参照图2),在步骤S120中,网络设备根据查询信息动态生成相应的查询子话题的方式,具体包括:根据查询信息对群体用户协同生成的语义相关的结构化数据进行分析,生成查询子话题。In yet another preferred embodiment (refer to FIG. 2 ), in step S120, the way in which the network device dynamically generates the corresponding query subtopic according to the query information specifically includes: synchronously generating semantically relevant structured information for group users based on the query information The data is analyzed to generate query subtopics.

具体地,群体用户协同生成的语义相关的结构化数据具体包括群体用户协同生成的百科信息,如维基百科、百度百科等具有结构化特点的数据。例如,查询信息为“三星”,则在网络数据库中查找到与该查询信息相应的群体用户协同生成的语义相关的结构化数据为“三星”的百度百科相关信息。如图9所示,群体用户协同生成的语义相关的结构化数据为百度百科,条目名称为“三星”,群体用户协同生成的与“三星”语义相关的结构化数据为图9中所示的目录结构。首先,对该类目录结构中进行解析,抽取第一、第二层目录结构中的目录名称,当目录名称中不包含该条目名称时,在该目录名称前添加该条目名称,作为查询子话题;当目录名称包括条目名称时,则将目录名称直接作为查询子话题;例如,在图7所示的目录结构中,目录名称“业务规模”不包括条目名称“三星”,则将该目录名称补全为“三星业务规模”,并作为查询信息“三星”的查询子话题;可将“中国三星”直接作为查询子话题。Specifically, the semantically related structured data collaboratively generated by group users includes encyclopedia information collaboratively generated by group users, such as data with structured characteristics such as Wikipedia and Baidu Baike. For example, if the query information is "Samsung", Baidu Encyclopedia related information of "Samsung" is found in the network database as the semantically related structured data that is collaboratively generated by the group users corresponding to the query information. As shown in Figure 9, the semantically related structured data generated collaboratively by group users is Baidu Encyclopedia, and the entry name is "Samsung", and the structured data related to the semantics of "Samsung" generated collaboratively by group users is Directory Structure. First, analyze the directory structure of this type, extract the directory names in the first and second layer directory structures, and when the directory name does not contain the entry name, add the entry name before the directory name as a query subtopic ; When the catalog name includes the item name, the catalog name is directly used as the query subtopic; for example, in the catalog structure shown in Figure 7, the catalog name "business scale" does not include the item name "Samsung", then the catalog name Complete it with "Samsung Business Scale" and use it as a query subtopic for the query information "Samsung"; you can directly use "China Samsung" as a query subtopic.

在又一优选实施例中(参照图2),在步骤S120中,网络设备根据查询信息动态生成相应的查询子话题的方式,具体包括:对查询信息相应的查询推荐信息进行分析,生成查询子话题。In yet another preferred embodiment (refer to FIG. 2 ), in step S120, the network device dynamically generates the corresponding query subtopic according to the query information, which specifically includes: analyzing the query recommendation information corresponding to the query information, and generating the query subtopic topic.

具体地,网络设备在网络数据库中查找到与查询信息相关的查询推荐信息,并将查询推荐信息作为查询子话题。Specifically, the network device finds query recommendation information related to the query information in the network database, and uses the query recommendation information as a query subtopic.

本优选实施例利用了目前主流的搜索引擎会在搜索过程中,在基于查询信息向用户提供搜索结果的同时也提供多个与查询信息相关的查询推荐信息,目的是帮助用户在不用进行键盘输入的前提下通过鼠标点击选择相关的查询推荐信息,从而更加准确地描述自己的查询需求。这些查询推荐信息也可能是基于原查询信息需求的进一步细化,从而也可以作为查询子话题。This preferred embodiment utilizes that the current mainstream search engine will provide the user with search results based on the query information during the search process, and at the same time provide a plurality of query recommendation information related to the query information. Under the premise of the user, select the relevant query recommendation information by clicking the mouse, so as to describe your query needs more accurately. These query recommendation information may also be based on the further refinement of the original query information requirements, so they can also be used as query subtopics.

在又一优选实施例中(参照图2),在步骤S120中,网络设备根据查询信息动态生成相应的查询子话题的方式,具体包括:对查询信息的搜索结果进行聚类处理,生成所述查询子话题。In yet another preferred embodiment (refer to FIG. 2 ), in step S120, the network device dynamically generates a corresponding query subtopic according to the query information, which specifically includes: clustering the search results of the query information to generate the Query subtopics.

一种具体实现方式为:步骤S120包括步骤S123(图中未示出)、步骤S124(图中未示出)和步骤S125(图中未示出)。在步骤S123中,根据查询信息进行搜索以获取相应的搜索结果;在步骤S124中,基于TF-IDF模型,通过聚类算法对搜索结果进行聚类,确定多个搜索结果簇;在步骤S125中,选择搜索结果簇中TF-IDF值最高的预定数量的关键词作为该搜索结果簇对应的查询子话题。A specific implementation manner is: step S120 includes step S123 (not shown in the figure), step S124 (not shown in the figure) and step S125 (not shown in the figure). In step S123, search according to the query information to obtain the corresponding search results; in step S124, based on the TF-IDF model, the search results are clustered by a clustering algorithm to determine a plurality of search result clusters; in step S125 , selecting a predetermined number of keywords with the highest TF-IDF values in the search result cluster as query subtopics corresponding to the search result cluster.

具体地,在步骤S123中,根据查询信息进行搜索,搜索引擎反馈多个相应的搜索结果;在步骤S124中,基于TF-IDF模型,通过聚类算法,如k-means算法,对搜索结果进行聚类,确定多个搜索结果簇;Specifically, in step S123, the search is performed according to the query information, and the search engine feeds back a plurality of corresponding search results; Clustering, to identify multiple clusters of search results;

基于TF-IDF模型通过k-means算法进行聚类具体为:每一个搜索结果的页面文档可以由一个多维向量表示,多维向量的某一维表示一个TF-IDF模型,通过下式来表示:Clustering based on the TF-IDF model through the k-means algorithm is specifically: each search result page document can be represented by a multi-dimensional vector, and a certain dimension of the multi-dimensional vector represents a TF-IDF model, expressed by the following formula:

ff ww ,, dd == (( 0.50.5 ++ 0.50.5 freqfreq ww ,, dd maxmax dd freqfreq )) ×× loglog NN nno ww -- -- -- 44 ))

其中,fw,d表示搜索结果的页面文档d关于词w的特征值,freqw,d表示w在d中出现的频率,maxdfreq表示d中出现频率最高的词的频率,nw表示所有w出现过的搜索结果页面文档的数量,N表示所有的搜索结果页面文档的数量。Among them, f w, d represent the feature value of the word w in the page document d of the search results, freq w, d represents the frequency of w appearing in d, max d freq represents the frequency of the word with the highest frequency in d, and n w represents The number of all search result page documents where w has appeared, and N represents the number of all search result page documents.

基于上式4)计算获得所有搜索结果的页面文档包括词的向量之后,通过k-means算法对搜索结果页面文档进行聚类,确定多个搜索结果簇,其中,每一搜索结果簇对应一个分类;其中,K-means算法中可预设参数k,参数k指为查询子话题的数量;聚类完成后,选择每一搜索结果簇中TF-IDF值最高的nk个词作为该搜索结果簇对应的查询子话题。Based on the above formula 4), after calculating the vectors of all search result page documents including words, the search result page documents are clustered through the k-means algorithm to determine a plurality of search result clusters, wherein each search result cluster corresponds to a classification ; Wherein, the parameter k can be preset in the K-means algorithm, and the parameter k refers to the number of query subtopics; after the clustering is completed, select the n k words with the highest TF-IDF value in each search result cluster as the search result The query subtopic corresponding to the cluster.

优选地,查询子话题包括多层级查询子话题,其中,多层级查询子话题包括至少两层构成上下层级关系的查询子话题,且上层查询子话题包括至少一个下层查询子话题。Preferably, the query subtopic includes a multi-level query subtopic, wherein the multilevel query subtopic includes at least two query subtopics forming an upper-lower hierarchical relationship, and the upper-level query subtopic includes at least one lower-level query subtopic.

例如,如图4所示,查询信息为“苹果”,其查询子话题包括两层查询子话题,第一层级查询子话题包括:“苹果植物”和“苹果公司”;“苹果植物”的第二层级查询子话题为“苹果植物介绍”、“苹果植物文化”和“苹果植物水果”,“苹果公司”的第二层级查询子话题为“苹果公司应用”、“苹果公司产品”、“苹果公司网站”和“苹果公司配件”。For example, as shown in Figure 4, the query information is "apple", and its query subtopic includes two layers of query subtopics, the first level query subtopic includes: "apple plant" and "apple company"; the first level query subtopic of "apple plant" The second-level query subtopics are "Apple Plant Introduction", "Apple Plant Culture" and "Apple Plant Fruit", and the second-level query subtopics of "Apple Company" are "Apple Company Applications", "Apple Company Products", "Apple Company Company Website” and “Apple Accessories.”

优选地,在步骤S120中,网络设备根据查询信息动态生成相应的查询子话题,具体为:根据上层查询子话题动态生成相应的下层查询子话题。Preferably, in step S120, the network device dynamically generates a corresponding query subtopic according to the query information, specifically: dynamically generates a corresponding lower layer query subtopic according to an upper layer query subtopic.

具体地,网络设备根据查询信息动态生成相应的第一层级查询子话题;随后,根据各个第一层级查询子话题分别动态生成其各自相应的第二层级查询子话题;以后各下层层级查询子话题按照上述步骤由上层查询子话题依次动态生成。Specifically, the network device dynamically generates corresponding first-level query subtopics according to the query information; then, dynamically generates its corresponding second-level query subtopics according to each first-level query subtopic; According to the above steps, it is dynamically generated sequentially by the upper-level query subtopics.

执行完步骤S120后,依次执行步骤S130、步骤S140、步骤S150,其后,在步骤S160中,终端设备将查询子话题以标签的形式在屏幕上进行显示,并显示至少一个查询子话题的搜索结果。After step S120 is executed, step S130, step S140, and step S150 are executed in sequence, and then, in step S160, the terminal device displays the query subtopic on the screen in the form of labels, and displays at least one query subtopic search result.

优选地(参照图2),终端设备将查询子话题以标签的形式在屏幕上进行显示,具体包括:将第一层级查询子话题以标签的形式在屏幕上进行显示。更优选地,将第一层级查询子话题以标签的形式在屏幕上进行显示,同时将第一层级查询子话题的所有下层查询子话题在屏幕上隐藏不显示。Preferably (refer to FIG. 2 ), the terminal device displays the query subtopics in the form of labels on the screen, specifically including: displaying the first level query subtopics in the form of labels on the screen. More preferably, the first-level query subtopic is displayed on the screen in the form of a label, and at the same time, all lower-level query subtopics of the first-level query subtopic are hidden from display on the screen.

其中,查询子话题以标签的形式在屏幕上进行显示的方式,包括以下任意一种或多种方式:Wherein, the manner in which the query subtopic is displayed on the screen in the form of a label includes any one or more of the following manners:

位于搜索栏的上方区域或下方区域排列显示;Arranged in the area above or below the search bar;

位于屏幕的左边区域或右边区域排列显示;Arranged display in the left or right area of the screen;

位于屏幕的上方区域或下方区域垂直排列显示。Displayed vertically in the upper or lower area of the screen.

在一个优选实施例中(参照图2),在终端设备中进行搜索的方法还包括步骤S170(图中未示出);在步骤S170中,接收用户对任一上层查询子话题的标签执行的触发操作,将该上层查询子话题包括的下层查询子话题以标签的形式在屏幕上进行显示。In a preferred embodiment (refer to FIG. 2 ), the method for searching in a terminal device further includes step S170 (not shown in the figure); An operation is triggered to display the lower-level query subtopics included in the upper-level query subtopic in the form of labels on the screen.

例如,查询信息对应的查询子话题为两层查询子话题,且第一层级查询子话题以标签的形式在屏幕上进行显示;当接收到用户对一个第一层级查询子话题的标签执行的触发操作,如通过手指接触触控、手指悬浮触控等方式执行的触发操作,则将该第一层级查询子话题对应的一个或多个第二层级查询子话题以标签的形式在屏幕上进行显示。For example, the query subtopic corresponding to the query information is a two-level query subtopic, and the first level query subtopic is displayed on the screen in the form of a label; Operation, such as a trigger operation performed by finger touch, finger hover touch, etc., one or more second-level query subtopics corresponding to the first-level query subtopic are displayed on the screen in the form of labels .

本优选实施例通过提供多层级查询子话题的显示方式,用户可以通过逐层触发来细化其查询需求,即首次显示查询子话题时仅提供第一层级查询子话题,若用户希望再次细化时,则进一步显示第二层级查询子话题;若第一层级查询子话题就可以满足用户的查询需求,则不必显示第二层级查询子话题,达到了在终端屏幕上以较紧凑的方式逐层显示查询子话题的目的,从而实现了向用户提供更为符合其查询需求的查询子话题的目的的同时,也符合在较小终端屏幕上以较紧凑的方式显示信息的要求。In this preferred embodiment, by providing a multi-level query subtopic display method, users can refine their query requirements by triggering layer by layer, that is, only the first level query subtopic is provided when the query subtopic is displayed for the first time, if the user wants to refine it again , then further display the second-level query sub-topic; if the first-level query sub-topic can meet the user's query needs, then there is no need to display the second-level query sub-topic, which achieves layer-by-layer in a more compact way on the terminal screen The purpose of displaying the query sub-topics is to achieve the purpose of providing users with query sub-topics that better meet their query requirements, and at the same time meet the requirement of displaying information in a compact manner on a smaller terminal screen.

图3为根据本发明一个优选实施例的进行搜索的方法流程图。Fig. 3 is a flowchart of a method for searching according to a preferred embodiment of the present invention.

如图3所示,在步骤S210中,终端设备将用户输入的查询信息发送至网络设备;在步骤S220中,网络设备接收该查询信息,根据该查询信息动态生成相应的查询子话题;在步骤S230中,根据查询子话题进行搜索,确定查询子话题的搜索结果;在步骤S240中,对查询子话题进行排序处理,确定子话题排序结果;在步骤S250中,将子话题排序结果及与查询子话题查询子话题的搜索结果发送至终端设备;在步骤S260中,终端设备接收根据查询信息动态生成的查询子话题、查询子话题的搜索结果以及对查询子话题进行排序后的子话题排序结果;在步骤S270中,根据子话题排序结果,将第一层级查询子话题以标签的形式在屏幕上按次序进行显示,并显示至少一个查询子话题的搜索结果。As shown in Figure 3, in step S210, the terminal device sends the query information input by the user to the network device; in step S220, the network device receives the query information, and dynamically generates corresponding query subtopics according to the query information; In S230, search according to the query subtopic, determine the search result of the query subtopic; in step S240, sort the query subtopic, determine the subtopic sorting result; in step S250, combine the subtopic sorting result and the query The search results of subtopic query subtopics are sent to the terminal device; in step S260, the terminal device receives the query subtopic dynamically generated according to the query information, the search results of the query subtopic, and the subtopic ranking results after sorting the query subtopics ; In step S270, according to the sorting results of the subtopics, the first-level query subtopics are displayed in order on the screen in the form of labels, and the search results of at least one query subtopic are displayed.

其中,对查询子话题进行排序处理的方式,具体包括:Among them, the manner of sorting and processing the query subtopics specifically includes:

1)基于预定的子话题生成方式权重,对查询子话题进行排序处理。1) Based on the weight of the predetermined subtopic generation method, the query subtopics are sorted.

具体地,预定不同的子话题生成方式具有不同权重,例如,对查询信息相应的查询推荐信息进行分析生成查询子话题的方式、及根据查询信息对群体用户协同生成的语义相关的结构化数据进行分析生成查询子话题的方式的权重较高。基于预定的子话题生成方式的权重值,对每一个查询子话题对应子话题生成方式的权重值相加,确定权重总值;随后,根据权重总值对查询子话题进行排序处理。其中,来自多个子话题生成方式的查询子话题,其加权结果较高;来自一个子话题生成方式的查询子话题,其加权结果较低。Specifically, it is predetermined that different subtopic generation methods have different weights, for example, the method of analyzing the query recommendation information corresponding to the query information to generate the query subtopic, and the semantically related structured data collaboratively generated by group users according to the query information. The way the analysis generates query subtopics is given higher weight. Based on the weight value of the predetermined subtopic generation method, the weight value of each query subtopic corresponding to the subtopic generation method is added to determine the total weight value; then, the query subtopics are sorted according to the total weight value. Among them, the query subtopic from multiple subtopic generation methods has a higher weighted result; the query subtopic from one subtopic generation method has a lower weighted result.

对查询子话题进行排序处理的方式,具体包括:The method of sorting query subtopics, including:

2)计算查询子话题对查询信息的覆盖率,根据覆盖率对查询子话题进行排序处理。2) Calculate the coverage rate of the query subtopics on the query information, and sort the query subtopics according to the coverage rate.

具体地,查询子话题对原查询信息的覆盖率越高,则该查询子话题的排序位置越前;其中,覆盖率可采用如下式5)来计算:Specifically, the higher the coverage rate of the query subtopic on the original query information, the higher the ranking position of the query subtopic; wherein, the coverage rate can be calculated using the following formula 5):

coverage ragecoverage rage == || queryquery origorig ∩∩ querquer ythe y subtopicsubtopic || || queryquery origorig || -- -- -- 55 ))

根据上式5),计算每一查询子话题对查询信息的覆盖率,根据覆盖率对查询子话题进行排序处理。According to the above formula 5), the coverage rate of each query subtopic on the query information is calculated, and the query subtopics are sorted according to the coverage rate.

在另一优选实施例中(参照图3),在步骤S270中,显示至少一个查询子话题的搜索结果之前,还包括步骤S261;在步骤S261中,对待显示的查询子话题的搜索结果进行排序;其后,在步骤270中,将查询子话题以标签的形式在屏幕上进行显示,并根据子话题搜索结果的排序结果,将排序后的子话题搜索结果关联查询子话题在屏幕上进行显示。In another preferred embodiment (refer to FIG. 3 ), in step S270, before displaying the search results of at least one query subtopic, step S261 is also included; in step S261, sorting the search results of the query subtopics to be displayed ; Subsequently, in step 270, the query subtopics are displayed on the screen in the form of labels, and according to the sorting results of the subtopic search results, the sorted subtopic search results associated with the query subtopics are displayed on the screen .

其中,对子话题搜索结果进行排序处理的方式,包括:Wherein, the manner of sorting and processing the subtopic search results includes:

1)基于用户的相关信息,对子话题搜索结果进行排序处理。1) Based on the relevant information of the user, the subtopic search results are sorted.

具体地,根据用户的属性信息、用户的偏好信息、用户的位置信息等,对子话题搜索结果进行加权计算,获取加权结果,根据加权结果对子话题搜索结果排序处理。例如,对于偏好信息为“时尚、美食”的用户,当查询信息“cherry”时,查询子话题“cherry电影”、“cherry餐厅”等的子话题搜索结果排在靠前位置,而“cherry键盘”的子话题搜索结果排在较后位置;又例如,终端设备通过GPS确定用户的地理位置距离一家叫做“cherry restaurant”的餐厅位置很近,且用户的终端设备处在50km/h的移动中,当用户提交查询信息“cherry”时,将查询子话题“cherryrestaurant”的子话题搜索结果排在靠前的位置。Specifically, according to the attribute information of the user, the preference information of the user, the location information of the user, etc., perform weight calculation on the subtopic search results, obtain the weighted results, and sort the subtopic search results according to the weighted results. For example, for a user whose preference information is "fashion, gourmet", when querying information "cherry", the subtopic search results of query subtopics "cherry movie", "cherry restaurant" and so on are ranked in the top position, while "cherry keyboard The subtopic search results of " are ranked in the lower position; another example, the terminal device determines that the user's geographical location is very close to a restaurant named "cherry restaurant" through GPS, and the user's terminal device is moving at 50km/h , when the user submits the query information "cherry", the subtopic search results of the query subtopic "cherryrestaurant" will be ranked in the front position.

作为本发明的实施例,终端设备根据以下任意一种或多种方式获取用户的相关信息:As an embodiment of the present invention, the terminal device obtains relevant information of the user according to any one or more of the following methods:

分析用户的账户注册信息,获取用户的相关信息;Analyze the user's account registration information and obtain relevant information about the user;

分析用户的社交关系,获取用户的相关信息;Analyze the social relationship of the user and obtain relevant information of the user;

分析用户的历史搜索数据,获取用户的相关信息;Analyze the user's historical search data to obtain relevant information about the user;

根据传感器获取用户当前所处的环境,获取用户的相关信息;Obtain the current environment of the user according to the sensor, and obtain relevant information of the user;

分析用户操作终端设备的行为,获取用户的相关信息。Analyze the behavior of the user operating the terminal device to obtain relevant information about the user.

a.分析用户的账户注册信息a. Analyze the user's account registration information

用户通常会在搜索引擎上可以建立个人账号,且会经常登录、使用搜索引擎或其他的相关服务。例如,Google用户可以登陆账号使用邮箱服务,百度用户可以登陆账号使用网盘服务,Bing用户可以登陆账号使用Office软件相关的服务,搜狗用户可以通过登陆账号同步输入法相关的数据。Users usually can create personal accounts on search engines, and often log in to use search engines or other related services. For example, Google users can log in to their accounts to use email services, Baidu users can log in to their accounts to use online disk services, Bing users can log in to their accounts to use services related to Office software, and Sogou users can log in to their accounts to synchronize data related to input methods.

在用户注册账号的过程中,往往会留下自己的性别、地域、学历、职业等相关的信息,终端设备可以通过分析用户的账户注册信息,获取用户的属性信息。During the process of registering an account, the user often leaves information related to his gender, region, education, occupation, etc., and the terminal device can obtain the user's attribute information by analyzing the user's account registration information.

例如,某一用户在手机上登陆了自己的账号,用户将输入与其相关的、必要的信息,例如性别、生日、职业等等,对于某用户:For example, if a user logs in his account on a mobile phone, the user will enter relevant and necessary information, such as gender, birthday, occupation, etc. For a user:

姓名:王xx;Name: Wang xx;

性别;女;Gender: Female;

年龄:24;age: 24;

职业:白领;Occupation: white collar;

爱好:电影、时尚。Hobbies: movies, fashion.

对于该用户,当其搜索“cherry”时,通过对用户潜在的兴趣进行分析,将“cherry电影”,“cherry首饰”,“cherry餐厅”等子话题相关的结果排在靠前的位置,将“cherry键盘”相关的结果排在较后面的位置。For this user, when he searches for "cherry", by analyzing the potential interest of the user, the results related to subtopics such as "cherry movie", "cherry jewelry", and "cherry restaurant" are ranked in the front position, and the Results related to "cherry keyboard" are ranked lower.

b.分析用户的社交关系b. Analyze the user's social relationship

用户的社交关系可以用来分析其用户的相关信息。例如,可以通过用户人人网的数据,分析用户所在的地域;利用其好友的信息,分析用户的年龄、所在行业和关注热点等,实现通过对其社交关系的分析,获取用户的属性信息和用户的偏好信息。The user's social relationship can be used to analyze the relevant information of its users. For example, the user's location can be analyzed through the data of Renren.com; the user's age, industry, and focus can be analyzed by using the information of his friends, and the user's attribute information and information can be obtained through the analysis of his social relationship. User Preference Information.

例如,某用户在手机端登陆其微博账号,通过对其好友圈的共同兴趣话题进行分析,发现其好友圈关注较多的话题主要是互联网、IT咨询、计算机科学等话题。因此,用户的偏好信息可以推断出,该用户很有可能是一名计算机科学相关的研究人员或开发人员,搜索“cherry”时,在查询结果中,可以将“cherry键盘”,“cherry工具包”等结果排在靠前的位置。For example, a user logs in to his Weibo account on a mobile phone, and analyzes the topics of common interest in his circle of friends, and finds that the topics that his circle of friends pay more attention to are mainly Internet, IT consulting, computer science and other topics. Therefore, it can be inferred from the user's preference information that the user is likely to be a researcher or developer related to computer science. When searching for "cherry", in the query results, "cherry keyboard", "cherry toolkit " and other results in the front position.

c.分析用户的历史搜索数据c. Analyze the user's historical search data

搜索引擎是大多数网络用户经常使用的一项网络服务,因此,用户会在搜索引擎中累积了一定的行为数据。终端设备可以通过分析用户之前点击的搜索结果,分析其关注点、文化水平等属性,从而获取用户的相关信息。A search engine is a network service frequently used by most network users. Therefore, users will accumulate certain behavioral data in the search engine. The terminal device can obtain relevant information of the user by analyzing the search results clicked by the user before and analyzing attributes such as focus and education level of the user.

d.根据传感器获取用户当前所处的环境d. Obtain the current environment of the user according to the sensor

移动设备上通常带有一系列的传感器,这些传感器可以获得大量用户当时所处环境的实时信息。例如,通过GPS数据来获得用户当前所处的地理位置;通过地理位置的即使移动,判断用户是否在乘坐相关的交通工具;通过声音数据,判断用户是在公共场合还是在相对安静、私密的场合。There are usually a series of sensors on mobile devices, and these sensors can obtain real-time information of a large number of users' environment at that time. For example, the current geographical location of the user is obtained through GPS data; through the movement of the geographical location, it is judged whether the user is taking a relevant vehicle; through the sound data, it is judged whether the user is in a public place or a relatively quiet and private place .

例如,移动终端设备可以获得用户的地理位置,当用户提交查询“cherry”时,当传感器发现该用户的地理位置距离某一家叫做“cherryrestaurant”的餐厅位置很近,且该用户的移动终端设备处在50km/h的移动中。根据以上信息综合判断,用户很可能正在乘坐交通工具,前往某家叫做cherry的餐厅吃饭。因此,根据这些用户的相关信息,在排序的搜索结果中,应该将“cherry restaurant”相关的结果排在靠前的位置。For example, the mobile terminal device can obtain the user's geographical location. When the user submits the query "cherry", when the sensor finds that the user's geographical location is very close to a restaurant called "cherryrestaurant", and the user's mobile terminal device is in the During a movement of 50km/h. Based on the comprehensive judgment of the above information, the user is likely to be taking a vehicle to eat at a restaurant called cherry. Therefore, according to the relevant information of these users, in the sorted search results, the results related to "cherry restaurant" should be ranked at the top.

e.分析用户操作终端设备的行为e. Analyze the behavior of users operating terminal equipment

移动终端设备通常集成了通讯、网络浏览、电子办公等一系列功能。因此,可以对用户使用移动终端设备进行搜索前所关注的信息、所执行的操作进行分析,以便能更准确地理解用户信息需求,获取用户的相关信息。在排序的搜索结果中,根据获取的用户的相关信息,向用户提供最可能被用户选中的搜索结果。Mobile terminal equipment usually integrates a series of functions such as communication, web browsing, and electronic office. Therefore, it is possible to analyze the information concerned and the operations performed by the user before using the mobile terminal device to search, so as to understand the information needs of the user more accurately and obtain relevant information of the user. Among the sorted search results, according to the obtained relevant information of the user, the search result most likely to be selected by the user is provided to the user.

对子话题搜索结果进行排序处理的方式,还包括:The method for sorting the subtopic search results also includes:

2)基于预定整合排序规则,对子话题搜索结果进行排序处理。2) Sorting the subtopic search results based on predetermined integration sorting rules.

具体地,针对每一个查询子话题,利用用户点击的频度计算查询子话题的重要度;在排序过程中,从重要度高于预定重要度阈值的查询子话题的搜索结果中选取排序最高的一个子话题搜索结果,同时降低该查询子话题的重要度;按照上述方式从不同的查询子话题对应的子话题搜索结果中选取子话题搜索结果,直到获得预设数量的子话题搜索结果。Specifically, for each query subtopic, the frequency of user clicks is used to calculate the importance of the query subtopic; during the sorting process, the highest ranking is selected from the search results of the query subtopics whose importance is higher than the predetermined importance threshold. A sub-topic search result, while reducing the importance of the query sub-topic; select sub-topic search results from sub-topic search results corresponding to different query sub-topics in the above manner until a preset number of sub-topic search results are obtained.

在子话题搜索结果整合排序的过程中,需要考虑不同查询子话题的重要程度,重要程度高的查询子话题的子话题搜索结果排序较前,重要程度低的查询子话题的子话题搜索结果排序较后。同时,已选取一个查询子话题对应的子话题搜索结果之后,降低该查询子话题的重要度,使得其他的查询子话题对应的子话题搜索结果有更大的机会被选取以供显示。In the process of integrating and sorting subtopic search results, it is necessary to consider the importance of different query subtopics. The subtopic search results of query subtopics with high importance are ranked first, and the subtopic search results of low important query subtopics are sorted. Later. At the same time, after the subtopic search results corresponding to a query subtopic have been selected, the importance of the query subtopic is reduced, so that subtopic search results corresponding to other query subtopics have a greater chance to be selected for display.

本优选实施例中,对于用户个性化信息不充分、或者是个性化信息与查询信息相关性较低的情况下,可以向用户显示整合排序后的子话题搜索结果,从而满足不同用户的不同查询需求。In this preferred embodiment, when the user's personalized information is insufficient, or the correlation between the personalized information and the query information is low, the integrated and sorted subtopic search results can be displayed to the user, so as to satisfy different queries of different users need.

优选地,在步骤S270中,将第一层级查询子话题以标签的形式在屏幕上进行显示,并将与查询子话题相应的、基于预定整合排序规则进行排序处理后的子话题搜索结果在屏幕上进行显示。Preferably, in step S270, the first-level query subtopics are displayed on the screen in the form of labels, and the subtopic search results corresponding to the query subtopics and sorted based on predetermined integrated sorting rules are displayed on the screen. displayed on the

如图5A所示,在搜索结果页面的左半部,显示查询信息的多个第一层级查询子话题的标签,并显示基于预定整合排序规则进行排序后的整合搜索结果的标签。在一个具体应用场景中,当用户输入查询信息点击进行搜索后,默认显示基于预定整合排序规则进行排序后的整合查询子话题搜索结果。As shown in FIG. 5A , on the left half of the search result page, labels of multiple first-level query subtopics of the query information are displayed, and labels of integrated search results sorted based on predetermined integration sorting rules are displayed. In a specific application scenario, when the user enters query information and clicks to search, the integrated query subtopic search results sorted based on predetermined integrated sorting rules are displayed by default.

在又一优选实施例中(参照图3),该方法还包括步骤S271(图中未示出),在步骤S271中,当用户选定任一查询子话题对应的标签时,将该查询子话题相应的搜索结果在屏幕上进行显示。In yet another preferred embodiment (refer to FIG. 3 ), the method further includes step S271 (not shown in the figure), in step S271, when the user selects a label corresponding to any query subtopic, the query subtopic The search results corresponding to the topic are displayed on the screen.

具体地,当用户需要查看某一第一层级查询子话题的搜索结果时,可以点击相应第一层级查询子话题的标签,则显示该第一层级查询子话题相应的搜索结果;当用户需要查看某一第一层级查询子话题的下层查询子话题时,可通过多次点击界面左边的查询子话题,进行查询子话题及相应的搜索结果的细化。例如,当用户输入查询信息为“cherry”时,首先,在界面左边显示“cherry”的一个第一层级查询子话题“cherry keyboard”的标签,用户点击“cherry keyboard”的标签来选择该查询子话题“cherrykeyboard”,在界面中间的搜索结果显示区域中显示与“cherry keyboard”相应的搜索结果,且在界面左边第一层级查询子话题“cherry keyboard”标签下方显示“cherry keyboard”的第二层级查询子话题“cherry keyboardreview”、“cherry keyboard history”及“cherry keyboard price”的标签;用户点击选择“cherry keyboard price”的标签后,在界面中间的搜索结果显示区域显示与“cherry keyboard price”相应的搜索结果;不断地执行上述过滤搜索步骤,直到用户获得满意的子话题搜索结果。Specifically, when the user needs to view the search results of a certain first-level query subtopic, he can click the label of the corresponding first-level query subtopic, and the corresponding search results of the first-level query subtopic will be displayed; When a first-level query sub-topic is a lower-level query sub-topic, you can refine the query sub-topic and the corresponding search results by clicking the query sub-topic on the left side of the interface multiple times. For example, when the user enters the query information as "cherry", firstly, the label of a first-level query subtopic "cherry keyboard" of "cherry" is displayed on the left side of the interface, and the user clicks the label of "cherry keyboard" to select the query subtopic For the topic "cherrykeyboard", the search results corresponding to "cherry keyboard" are displayed in the search result display area in the middle of the interface, and the second level of "cherry keyboard" is displayed under the first-level query subtopic "cherry keyboard" label on the left side of the interface Query the tags of subtopics "cherry keyboard review", "cherry keyboard history" and "cherry keyboard price"; after the user clicks and selects the tag "cherry keyboard price", the search result display area in the middle of the interface will display the corresponding "cherry keyboard price" The search results of the subtopics; the above filter search steps are continuously performed until the user obtains satisfactory subtopic search results.

在又一优选实施例中(参照图3),该方法还包括步骤S272(图中未示出),在步骤S272中,接收用户的位置调整操作,根据位置调整操作调整查询子话题对应的标签在屏幕上的显示位置。In yet another preferred embodiment (refer to FIG. 3 ), the method further includes step S272 (not shown in the figure), in step S272, receiving the user's position adjustment operation, and adjusting the label corresponding to the query subtopic according to the position adjustment operation display position on the screen.

具体地,终端设备接收到用户的位置调整操作,如对查询子话题标签整体显示区域的拖动操作、或对某一查询子话题标签的拖动操作等,可根据该等位置调整操作调整查询子话题对应的标签在屏幕上的整体显示区域的显示位置或某一查询子话题标签的显示位置。Specifically, the terminal device receives the user's position adjustment operation, such as a drag operation on the entire display area of the query sub-hashtag, or a drag operation on a query sub-hashtag, etc., and can adjust the query according to these position adjustment operations. The display position of the label corresponding to the subtopic in the overall display area on the screen or the display position of a query subtopic label.

前文已经说明,网络设备中的部分或全部功能,也可以植入在终端设备中实现。因此,上述实施例中,步骤S240中的对查询子话题进行排序处理,也可以在终端设备上进行。此时,上述步骤S220至S250需要适应性调整。此外,步骤S210也可以进行调整,例如无需发送给网络设备,由终端设备通过访问网络实现信息查询,其后的步骤S220至S250的功能均在终端设备上实现。It has been explained above that some or all of the functions in the network device can also be implemented in the terminal device. Therefore, in the above embodiment, the processing of sorting the query subtopics in step S240 may also be performed on the terminal device. At this time, the above steps S220 to S250 need adaptive adjustment. In addition, step S210 can also be adjusted, for example, without sending to the network device, the terminal device realizes information query by accessing the network, and the functions of subsequent steps S220 to S250 are all implemented on the terminal device.

本发明提供的上述方法中,终端设备在接收到根据查询信息后,动态生成的查询子话题及相应的搜索结果,查询子话题以标签的形式在屏幕上进行显示。在移动终端设备屏幕尺寸有限而导致的显示搜索结果数量有限、交互成本较高的背景下,动态生成的标签形式的查询子话题,向用户提供了用于细化其查询需求的途径,即用户可通过点击等简单操作,就能够对其查询需求进行更加准确的细化定位。同时,标签形式的查询子话题,也有利于提高用户的输入效率,即用户后续的搜索操作,只需通过点击标签实现搜索命令的输入。此外,当用户选择某个查询子话题时,只显示相应的搜索结果,会简化用户搜索结果的输出,提高了用户的查询体验。In the above method provided by the present invention, after receiving the query information, the terminal device dynamically generates query subtopics and corresponding search results, and the query subtopics are displayed on the screen in the form of labels. In the context of limited display search results and high interaction costs caused by the limited screen size of mobile terminal devices, the dynamically generated query subtopics in the form of tags provide users with a way to refine their query needs, that is, users Through simple operations such as clicking, it is possible to perform more accurate and refined positioning on its query requirements. At the same time, the query sub-topic in the form of tags is also conducive to improving the user's input efficiency, that is, the user only needs to click on the tag to input the search command for subsequent search operations. In addition, when the user selects a query subtopic, only the corresponding search results are displayed, which simplifies the output of the user's search results and improves the user's query experience.

如图10所示,为根据本发明实施例进行搜索的装置的功能示意图。As shown in FIG. 10 , it is a functional schematic diagram of an apparatus for searching according to an embodiment of the present invention.

本发明提供的在终端设备上进行搜索的装置,包括:接收单元110,搜索单元120和显示单元130。具体而言,接收单元110用于接收用户输入的查询信息;搜索单元120用于对查询信息进行搜索,确定当前与查询信息相应的查询子话题,以及确定查询子话题的搜索结果;其后,显示单元130用于将查询子话题以标签的形式在屏幕上显示,并显示至少一个查询子话题的搜索结果。The device for searching on a terminal device provided by the present invention includes: a receiving unit 110 , a searching unit 120 and a display unit 130 . Specifically, the receiving unit 110 is used to receive the query information input by the user; the search unit 120 is used to search the query information, determine the current query subtopic corresponding to the query information, and determine the search results of the query subtopic; thereafter, The display unit 130 is configured to display the query subtopics in the form of labels on the screen, and display the search results of at least one query subtopic.

其中,作为本发明装置的实施例,搜索单元120用于对查询信息进行搜索,包括:Wherein, as an embodiment of the device of the present invention, the search unit 120 is used to search the query information, including:

搜索单元120用于在终端设备的本地数据中对查询信息进行搜索;或者,The search unit 120 is configured to search the query information in the local data of the terminal device; or,

搜索单元120用于在网络中对查询信息进行搜索。The search unit 120 is used to search the query information in the network.

具体而言,搜索单元120在本地索引库中进行搜索,获取与查询信息相应的查询子话题及查询子话题的搜索结果。其中,本地索引库例如包括文件标识、其对应的文件目录、所在的磁盘标识等关联信息。Specifically, the search unit 120 searches the local index database to obtain the query subtopic corresponding to the query information and the search results of the query subtopic. Wherein, the local index database includes, for example, associated information such as a file identifier, a corresponding file directory, and a disk identifier where it is located.

搜索单元120对查询信息进行搜索,还包括:搜索单元120在网络中对查询信息进行搜索,例如,将与如图12所示的网络设备进行交换。其后,搜索单元120获取与查询信息相应的查询子话题及查询子话题的搜索结果。The search unit 120 searches for the query information, and further includes: the search unit 120 searches for the query information in the network, for example, exchanges with network devices as shown in FIG. 12 . Thereafter, the search unit 120 acquires the query subtopic corresponding to the query information and the search results of the query subtopic.

其中,作为本发明装置的实施例,搜索单元120用于确定当前与查询信息相应的查询子话题,包括以下任意一种或多种方式:Wherein, as an embodiment of the apparatus of the present invention, the search unit 120 is used to determine the current query subtopic corresponding to the query information, including any one or more of the following methods:

搜索单元120用于对用户的搜索记录进行分析,生成查询子话题;The search unit 120 is used to analyze the user's search records and generate query subtopics;

搜索单元120用于对用户协同生成的结构化数据进行分析,生成查询子话题;The search unit 120 is used to analyze the structured data collaboratively generated by users, and generate query subtopics;

搜索单元120用于对查询信息的查询推荐信息进行分析,生成查询子话题;The search unit 120 is configured to analyze the query recommendation information of the query information, and generate query subtopics;

搜索单元120用于对查询信息的搜索结果进行聚类处理,生成查询子话题。The search unit 120 is configured to cluster the search results of the query information to generate query subtopics.

其中,作为本发明装置的实施例,查询子话题包括多层级查询子话题,其中,多层级查询子话题包括至少构成上下层级关系的两层查询子话题。Wherein, as an embodiment of the apparatus of the present invention, the query sub-topic includes a multi-level query sub-topic, wherein the multi-level query sub-topic includes at least two layers of query sub-topics that constitute a hierarchical relationship.

例如,如图4所示,查询信息为“苹果”,其查询子话题包括两层查询子话题,第一层级查询子话题包括:“苹果植物”和“苹果公司”;“苹果植物”的第二层级查询子话题为“苹果植物介绍”、“苹果植物文化”和“苹果植物水果”,“苹果公司”的第二层级查询子话题为“苹果公司应用”、“苹果公司产品”、“苹果公司网站”和“苹果公司配件”。For example, as shown in Figure 4, the query information is "apple", and its query subtopic includes two layers of query subtopics, the first level query subtopic includes: "apple plant" and "apple company"; the first level query subtopic of "apple plant" The second-level query subtopics are "Apple Plant Introduction", "Apple Plant Culture" and "Apple Plant Fruit", and the second-level query subtopics of "Apple Company" are "Apple Company Applications", "Apple Company Products", "Apple Company Company Website” and “Apple Accessories.”

其中,作为本发明装置的实施例,显示单元130用于将查询子话题以标签的形式在屏幕上显示,包括:Wherein, as an embodiment of the device of the present invention, the display unit 130 is used to display the query subtopics on the screen in the form of labels, including:

显示单元130用于将第一层级查询子话题以标签的形式在屏幕上显示。The display unit 130 is configured to display the first-level query subtopics in the form of labels on the screen.

其中,作为本发明装置的实施例,接收单元110用于接收用户对任一上层查询子话题的标签执行的触发操作,显示单元130用于将该上层查询子话题包括的下层查询子话题,以标签的形式在屏幕上显示。Wherein, as an embodiment of the device of the present invention, the receiving unit 110 is used to receive a trigger operation performed by the user on the label of any upper-level query subtopic, and the display unit 130 is used to display the lower-level query subtopics included in the upper-level query subtopic, in order to The tabbed form is displayed on the screen.

其中,作为本发明装置的实施例,显示单元130用于显示至少一个查询子话题的搜索结果,包括:Wherein, as an embodiment of the apparatus of the present invention, the display unit 130 is used to display the search results of at least one query subtopic, including:

显示单元130用于显示的查询子话题的搜索结果,与当前显示的查询子话题的标签相关联,或者根据选中的查询子话题的标签自适应调整。The search result of the query subtopic displayed by the display unit 130 is associated with the label of the currently displayed query subtopic, or adaptively adjusted according to the label of the selected query subtopic.

其中,作为本发明装置的实施例,显示单元130用于根据选中的查询子话题的标签自适应调整,包括:Wherein, as an embodiment of the device of the present invention, the display unit 130 is used for adaptive adjustment according to the label of the selected query subtopic, including:

当检测到用户选定任一查询子话题对应的标签时,显示单元130用于将该查询子话题相应的搜索结果在屏幕上进行显示。When detecting that the user selects a tag corresponding to any query subtopic, the display unit 130 is configured to display the search results corresponding to the query subtopic on the screen.

如图11所示,为根据本发明又一个优选实施例进行搜索的功能示意图。As shown in FIG. 11 , it is a functional schematic diagram of searching according to another preferred embodiment of the present invention.

作为本发明装置的实施例,搜索单元120还包括子话题排序单元121,As an embodiment of the apparatus of the present invention, the search unit 120 also includes a subtopic sorting unit 121,

子话题排序单元121用于对查询子话题进行排序,显示单元130用于将排序后的查询子话题,以标签的形式在屏幕上显示。The subtopic sorting unit 121 is used to sort the query subtopics, and the display unit 130 is used to display the sorted query subtopics on the screen in the form of labels.

其中,作为本发明装置的实施例,子话题排序单元121用于对查询子话题进行排序处理,包括:Wherein, as an embodiment of the apparatus of the present invention, the subtopic sorting unit 121 is used to sort the query subtopics, including:

子话题排序单元121用于基于预定的子话题生成方式权重进行排序处理;或者,The subtopic sorting unit 121 is configured to perform sorting processing based on predetermined subtopic generation weights; or,

子话题排序单元121用于基于查询子话题对查询信息的覆盖率进行排序处理。The subtopic sorting unit 121 is configured to sort the coverage of the query information based on the query subtopics.

其中,作为本发明装置的实施例,搜索单元120还包括搜索结果排序单元122,Wherein, as an embodiment of the apparatus of the present invention, the search unit 120 further includes a search result sorting unit 122,

显示至少一个查询子话题的搜索结果之前,搜索结果排序单元122用于对待显示的查询子话题的搜索结果进行排序;Before displaying the search results of at least one query subtopic, the search result sorting unit 122 is used to sort the search results of the query subtopics to be displayed;

显示单元130用于将查询子话题的搜索结果按照排序后的次序进行显示。The display unit 130 is configured to display the search results of the query subtopics in a sorted order.

其中,作为本发明装置的实施例,搜索结果排序单元122用于对待显示的查询子话题的搜索结果进行排序,包括:Wherein, as an embodiment of the apparatus of the present invention, the search result sorting unit 122 is used to sort the search results of the query subtopics to be displayed, including:

搜索结果排序单元122用于基于用户的相关信息,对查询子话题的搜索结果进行排序处理;或者,The search result sorting unit 122 is configured to sort the search results of the query subtopic based on the relevant information of the user; or,

搜索结果排序单元122用于基于预定整合排序规则,对查询子话题的搜索结果进行排序处理。The search result sorting unit 122 is configured to sort the search results of the query subtopics based on predetermined integrated sorting rules.

其中,作为本发明装置的实施例,搜索结果排序单元122获取的用户的相关信息包括以下任意一种或多种:Wherein, as an embodiment of the device of the present invention, the relevant information of the user obtained by the search result sorting unit 122 includes any one or more of the following:

用户的属性信息;User attribute information;

用户的偏好信息;User preference information;

用户的位置信息。User's location information.

其中,作为本发明装置的实施例,搜索结果排序单元122用于根据以下任意一种或多种方式获取用户的相关信息:Wherein, as an embodiment of the device of the present invention, the search result sorting unit 122 is used to obtain relevant information of users according to any one or more of the following methods:

分析用户的账户注册信息,获取用户的相关信息;Analyze the user's account registration information and obtain relevant information about the user;

分析用户的社交关系,获取用户的相关信息;Analyze the social relationship of the user and obtain relevant information of the user;

分析用户的历史搜索数据,获取用户的相关信息;Analyze the user's historical search data to obtain relevant information about the user;

根据传感器获取用户当前所处的环境,获取用户的相关信息;Obtain the current environment of the user according to the sensor, and obtain relevant information of the user;

分析用户操作终端设备的行为,获取用户的相关信息。Analyze the behavior of the user operating the terminal device to obtain relevant information about the user.

其中,作为本发明装置的实施例,显示单元130用于将查询子话题以标签的形式在屏幕上显示的方式,包括以下任意一种或多种方式:Wherein, as an embodiment of the apparatus of the present invention, the manner in which the display unit 130 is used to display the query subtopics in the form of labels on the screen includes any one or more of the following manners:

位于搜索栏的上方区域或下方区域排列显示;Arranged in the area above or below the search bar;

位于屏幕的左边区域或右边区域排列显示;Arranged display in the left or right area of the screen;

位于屏幕的上方区域或下方区域垂直排列显示。Displayed vertically in the upper or lower area of the screen.

如图5A所示,显示单元3将查询子话题的标签位于搜索栏的下方区域、位于屏幕的左边区域,以垂直排列显示。As shown in FIG. 5A , the display unit 3 displays tags of the query subtopics in a vertical arrangement in the lower area of the search bar and in the left area of the screen.

如图5B所示,显示单元3将查询子话题的标签位于搜索栏的下方区域、位于屏幕的上方区域,以水平排列显示。As shown in FIG. 5B , the display unit 3 displays the labels of the query subtopics in a horizontal arrangement in the lower area of the search bar and in the upper area of the screen.

相应地,在实际应用中,如图6所示,为根据本发明一个优选实施例的进行搜索的显示效果示例图;查询子话题的标签位于搜索栏的下方区域、位于屏幕的左边区域,以垂直排列显示。Correspondingly, in practical applications, as shown in FIG. 6 , it is an example diagram of a search display effect according to a preferred embodiment of the present invention; the label of the query subtopic is located in the lower area of the search bar and in the left area of the screen, so as to Displayed vertically.

相应地,在实际应用中,如图7所示,为根据本发明又一个优选实施例的进行搜索的显示效果示例图;查询子话题的标签位于搜索栏的下方区域、位于屏幕的上方区域,以水平排列显示。Correspondingly, in practical applications, as shown in FIG. 7 , it is an example diagram of a search display effect according to another preferred embodiment of the present invention; the label of the query subtopic is located in the lower area of the search bar and in the upper area of the screen, Displayed in a horizontal arrangement.

此外,在实际应用中,为了方便用户的输入,显示单元3可以自适应调整屏幕的布局。例如,与图5B、图7相反的方式布局标签的位置,显示单元3令查询子话题的标签位于屏幕的下方区域、以水平排列显示。此时,即使是单手持握终端设备,也可以通过拇指操作,便捷选中用户所需的查询子话题的标签。In addition, in practical applications, in order to facilitate user input, the display unit 3 can adaptively adjust the layout of the screen. For example, the position of the tags is laid out in a manner opposite to that shown in FIG. 5B and FIG. 7 , and the display unit 3 makes the tags of the query subtopic located in the lower area of the screen and displayed in a horizontal arrangement. At this time, even if the terminal device is held with one hand, the label of the query subtopic required by the user can be conveniently selected through the operation of the thumb.

其中,作为本发明装置的实施例,接收单元110用于接收用户的位置调整操作,显示单元130根据位置调整操作调整查询子话题对应的标签在屏幕上的显示位置。Wherein, as an embodiment of the apparatus of the present invention, the receiving unit 110 is configured to receive a user's position adjustment operation, and the display unit 130 adjusts the display position of the label corresponding to the query subtopic on the screen according to the position adjustment operation.

本发明实施例还提供了一种包括实现上述功能的装置的终端设备;在具体实际中,终端设备例如体现为如图7所示的手机设备。The embodiment of the present invention also provides a terminal device including an apparatus for realizing the above functions; in a specific practice, the terminal device is, for example, embodied as a mobile phone device as shown in FIG. 7 .

如图12所示,为根据本发明又一个优选实施例网络设备的功能示意图,网络设备包括接收模块210,搜索模块220,发送模块230,排序模块240。As shown in FIG. 12 , it is a functional diagram of a network device according to yet another preferred embodiment of the present invention. The network device includes a receiving module 210 , a searching module 220 , a sending module 230 and a sorting module 240 .

具体而言,接收模块210接收终端设备发送的用户输入的查询信息;其后,搜索模块220对查询信息进行搜索,根据查询信息动态生成相应的查询子话题,以及确定查询子话题的搜索结果;最后,发送模块230将查询子话题及查询子话题的搜索结果发送至终端设备。此外,当需要对查询子话题时,排序模块240将通过基于预定的子话题生成方式权重,对查询子话题进行排序处理;或者,基于查询子话题对查询信息的覆盖率,对查询子话题进行排序处理。当需要对查询子话题的搜索结果进行排序时,排序模块240将将基于用户的相关信息,对查询子话题的搜索结果进行排序处理;或者,基于预定整合排序规则,对查询子话题的搜索结果进行排序处理。Specifically, the receiving module 210 receives the query information input by the user sent by the terminal device; thereafter, the search module 220 searches the query information, dynamically generates corresponding query subtopics according to the query information, and determines the search results of the query subtopics; Finally, the sending module 230 sends the query subtopic and the search results of the query subtopic to the terminal device. In addition, when the query subtopic needs to be sorted, the sorting module 240 will sort the query subtopic based on the weight of the predetermined subtopic generation method; or, based on the coverage rate of the query subtopic to the query information, sort the query subtopic Sort processing. When it is necessary to sort the search results of the query subtopics, the sorting module 240 will sort the search results of the query subtopics based on the relevant information of the user; or, based on the predetermined integrated sorting rules, sort the search results of the query subtopics Perform sort processing.

在上述实施例中,进行搜索的装置位于终端设备中,在网络设备中辅助进行搜索。应当理解,本发明实施例的描述仅仅以终端设备及网络设备为例进行说明,而不是进行限定。例如,网络设备中的部分或全部功能,也可以植入在终端设备中实现。In the above embodiments, the device for searching is located in the terminal device, and the search is assisted in the network device. It should be understood that the description of the embodiments of the present invention only uses the terminal device and the network device as examples for illustration rather than limitation. For example, some or all of the functions in the network device can also be implemented in the terminal device.

本发明提供的上述装置或设备,使得终端设备在接收到根据查询信息后,动态生成的查询子话题及相应的搜索结果,查询子话题以标签的形式在屏幕上进行显示。在移动终端设备屏幕尺寸有限而导致的显示搜索结果数量有限、交互成本较高的背景下,动态生成的标签形式的查询子话题,向用户提供了用于细化其查询需求的途径,即用户可通过点击等简单操作,就能够对其查询需求进行更加准确的细化定位。同时,标签形式的查询子话题,也有利于提高用户的输入效率,即用户后续的搜索操作,只需通过点击标签实现搜索命令的输入。此外,当用户选择某个查询子话题时,只显示相应的搜索结果,会简化用户搜索结果的输出,提高了用户的查询体验。The above device or device provided by the present invention enables the terminal device to dynamically generate query subtopics and corresponding search results after receiving query information, and display the query subtopics on the screen in the form of labels. In the context of limited display search results and high interaction costs caused by the limited screen size of mobile terminal devices, the dynamically generated query subtopics in the form of tags provide users with a way to refine their query needs, that is, users Through simple operations such as clicking, it is possible to perform more accurate and refined positioning on its query requirements. At the same time, the query sub-topic in the form of tags is also conducive to improving the user's input efficiency, that is, the user only needs to click on the tag to input the search command for subsequent search operations. In addition, when the user selects a query subtopic, only the corresponding search results are displayed, which simplifies the output of the user's search results and improves the user's query experience.

本技术领域技术人员可以理解,本发明包括涉及用于执行本申请中所述操作中的一项或多项的设备。这些设备可以为所需的目的而专门设计和制造,或者也可以包括通用计算机中的已知设备。这些设备具有存储在其内的计算机程序,这些计算机程序选择性地激活或重构。这样的计算机程序可以被存储在设备(例如,计算机)可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何类型的介质中,所述计算机可读介质包括但不限于任何类型的盘(包括软盘、硬盘、光盘、CD-ROM、和磁光盘)、ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随即存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable ProgrammableRead-Only Memory,电可擦可编程只读存储器)、闪存、磁性卡片或光线卡片。也就是,可读介质包括由设备(例如,计算机)以能够读的形式存储或传输信息的任何介质。Those skilled in the art will appreciate that the present invention includes devices related to performing one or more of the operations described in this application. These devices may be specially designed and fabricated for the required purposes, or they may include known devices found in general purpose computers. These devices have computer programs stored therein that are selectively activated or reconfigured. Such a computer program can be stored in a device (e.g., computer) readable medium, including but not limited to any type of medium suitable for storing electronic instructions and respectively coupled to a bus. Types of disk (including floppy disk, hard disk, CD-ROM, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, random memory), EPROM (Erasable Programmable Read-Only Memory , Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (eg, a computer).

本技术领域技术人员可以理解,可以用计算机程序指令来实现这些结构图和/或框图和/或流图中的每个框以及这些结构图和/或框图和/或流图中的框的组合。本技术领域技术人员可以理解,可以将这些计算机程序指令提供给通用计算机、专业计算机或其他可编程数据处理方法的处理器来实现,从而通过计算机或其他可编程数据处理方法的处理器来执行本发明公开的结构图和/或框图和/或流图的框或多个框中指定的方案。Those skilled in the art will understand that computer program instructions can be used to implement each block in these structural diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in these structural diagrams and/or block diagrams and/or flow diagrams . Those skilled in the art can understand that these computer program instructions can be provided to general-purpose computers, professional computers, or processors of other programmable data processing methods for implementation, so that the computer or processors of other programmable data processing methods can execute the present invention. Aspects specified in a block or blocks of a structure diagram and/or a block diagram and/or a flow diagram of the invention disclosure.

本技术领域技术人员可以理解,本发明中已经讨论过的各种操作、方法、流程中的步骤、措施、方案可以被交替、更改、组合或删除。进一步地,具有本发明中已经讨论过的各种操作、方法、流程中的其他步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。进一步地,现有技术中的具有与本发明中公开的各种操作、方法、流程中的步骤、措施、方案也可以被交替、更改、重排、分解、组合或删除。Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the processes discussed in the present invention can be replaced, changed, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes that have been discussed in the present invention may also be replaced, changed, rearranged, decomposed, combined, or deleted. Further, steps, measures, and schemes in the prior art that have operations, methods, and processes disclosed in the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.

以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above descriptions are only part of the embodiments of the present invention. It should be pointed out that those skilled in the art can make some improvements and modifications without departing from the principles of the present invention. It should be regarded as the protection scope of the present invention.

Claims (19)

1. A method for searching on a terminal device is characterized by comprising the following steps:
receiving query information input by a user;
searching the query information, determining a query subtopic corresponding to the query information at present, and determining a search result of the query subtopic;
and displaying the query sub-topics on a screen in a form of tags, and displaying search results of at least one query sub-topic.
2. The method for searching on a terminal device according to claim 1, wherein searching for the query information comprises:
searching the query information in the local data of the terminal equipment; or,
and searching the query information in the network.
3. The method for searching on the terminal device according to claim 1, wherein determining the query sub-topic currently corresponding to the query information comprises any one or more of the following ways:
analyzing the search records of the user to generate the query sub-topic;
analyzing structured data generated by the cooperation of the users to generate the query sub-topic;
analyzing the query recommendation information of the query information to generate the query sub-topic;
and clustering the search results of the query information to generate the query sub-topics.
4. The method for searching on a terminal device according to any one of claims 1-3, wherein the query subtopic comprises a multi-level query subtopic, wherein the multi-level query subtopic comprises at least two levels of query subtopics forming an upper-lower level relationship.
5. The method for searching on the terminal device according to claim 4, wherein the query sub-topic is displayed on a screen in a form of a tag, and comprises:
and displaying the first-level query sub-topic on a screen in a label mode.
6. The method for searching on a terminal device according to claim 4, further comprising:
receiving a trigger operation executed by the user on a label of any upper-layer query sub-topic, and displaying a lower-layer query sub-topic included in the upper-layer query sub-topic on a screen in a label form.
7. The method for searching on a terminal device according to claim 1, wherein displaying search results of at least one query sub-topic comprises:
and the displayed search results of the query sub-topic are associated with the currently displayed label of the query sub-topic or are adaptively adjusted according to the selected label of the query sub-topic.
8. The method for searching on the terminal device according to claim 7, wherein the adaptive adjustment according to the selected label of the query sub-topic comprises:
and when detecting that the user selects a label corresponding to any query sub-topic, displaying a search result corresponding to the query sub-topic on the screen.
9. The method for searching on a terminal device according to claim 1, further comprising:
and sequencing the query sub-topics, and displaying the sequenced query sub-topics on a screen in a tag form.
10. The method for searching on a terminal device according to claim 9, wherein the ranking the query sub-topics comprises:
performing sorting processing based on the weight of a predetermined subtopic generation mode; or,
and sequencing the coverage rate of the query information based on the query subtopic.
11. The method for searching on a terminal device according to claim 1, wherein before displaying the search results of at least one query sub-topic, further comprising: sequencing the search results of the query sub-topics to be displayed;
and displaying the search results of the query sub-topics according to the sorted order.
12. The method for searching on the terminal device according to claim 1, wherein the sorting of the search results of the query sub-topic to be displayed comprises:
based on the related information of the user, sequencing the search results of the query sub-topics; or,
and sequencing the search results of the query sub-topics based on a preset integration sequencing rule.
13. The method according to claim 12, wherein the information related to the user comprises any one or more of the following:
attribute information of the user;
preference information of the user;
location information of the user.
14. The method according to claim 12, wherein the related information of the user is obtained according to any one or more of the following manners:
analyzing the account registration information of the user to acquire the related information of the user;
analyzing the social relationship of the user to acquire the related information of the user;
analyzing historical search data of the user to acquire related information of the user;
acquiring the current environment of the user according to a sensor, and acquiring related information of the user;
and analyzing the behavior of the user operating the terminal equipment to acquire the related information of the user.
15. The method for searching on the terminal device according to claim 1, wherein the query sub-topic is displayed on the screen in the form of a tag, and the method includes any one or more of the following ways:
the search bar is arranged and displayed in an upper area or a lower area;
the display screen is arranged and displayed in a left area or a right area of the screen;
and vertically arranging and displaying the upper area or the lower area of the screen.
16. An apparatus for performing a search on a terminal device, comprising:
the receiving unit is used for receiving query information input by a user;
the searching unit is used for searching the query information, determining a query subtopic corresponding to the query information at present and determining a searching result of the query subtopic;
and the display unit is used for displaying the query sub-topics on a screen in a label form and displaying the search results of at least one query sub-topic.
17. The apparatus for searching on a terminal device according to claim 16, wherein the searching unit is configured to search for the query information, and includes:
the search unit is used for searching the query information in the local data of the terminal equipment; or,
the search unit is used for searching the query information in the network.
18. The apparatus for searching on a terminal device according to claim 16, wherein the searching unit is configured to determine a query sub-topic currently corresponding to the query information, and includes any one or more of the following manners:
the searching unit is used for analyzing the searching records of the user and generating the inquiry sub-topic;
the searching unit is used for analyzing structured data generated by user cooperation to generate the query sub-topic;
the search unit is used for analyzing the query recommendation information of the query information to generate the query subtopic;
the search unit is used for clustering the search results of the query information to generate the query sub-topics.
19. The apparatus for searching on a terminal device according to any one of claims 16-18, wherein the query subtopic comprises a multi-level query subtopic, wherein the multi-level query subtopic comprises at least two levels of query subtopics forming an upper and lower level relationship.
CN201510020864.4A 2015-01-15 2015-01-15 Method and apparatus for searching on terminal device, and device Pending CN105843817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510020864.4A CN105843817A (en) 2015-01-15 2015-01-15 Method and apparatus for searching on terminal device, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510020864.4A CN105843817A (en) 2015-01-15 2015-01-15 Method and apparatus for searching on terminal device, and device

Publications (1)

Publication Number Publication Date
CN105843817A true CN105843817A (en) 2016-08-10

Family

ID=56580036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510020864.4A Pending CN105843817A (en) 2015-01-15 2015-01-15 Method and apparatus for searching on terminal device, and device

Country Status (1)

Country Link
CN (1) CN105843817A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844680A (en) * 2017-01-25 2017-06-13 百度在线网络技术(北京)有限公司 The methods of exhibiting and device of recommendation information
CN107025304A (en) * 2017-04-27 2017-08-08 福建中金在线信息科技有限公司 A kind of searching method and device
CN107220306A (en) * 2017-05-10 2017-09-29 百度在线网络技术(北京)有限公司 A kind of searching method and device
WO2020077503A1 (en) * 2018-10-15 2020-04-23 华为技术有限公司 Information display method and device
CN111859195A (en) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 Information display method, information search method and device
CN111951077A (en) * 2020-08-13 2020-11-17 中国民航信息网络股份有限公司 Ticket buying scheme display method and system
CN113778295A (en) * 2021-09-28 2021-12-10 北京字跳网络技术有限公司 Book recommendation method and device, computer equipment and storage medium
CN113986059A (en) * 2021-10-28 2022-01-28 深圳传音控股股份有限公司 Label display method, intelligent terminal and storage medium
WO2023005340A1 (en) * 2021-07-30 2023-02-02 北京字节跳动网络技术有限公司 Method, apparatus, and device for displaying search results, and medium
CN117688190A (en) * 2023-11-24 2024-03-12 深圳市南弯数字科技有限公司 Data acquisition method, data acquisition apparatus, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761340A (en) * 2014-02-21 2014-04-30 联想(北京)有限公司 Message processing method and device
CN104090963A (en) * 2014-07-14 2014-10-08 百度在线网络技术(北京)有限公司 Search information recommendation method and device
US8868590B1 (en) * 2011-11-17 2014-10-21 Sri International Method and system utilizing a personalized user model to develop a search request

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868590B1 (en) * 2011-11-17 2014-10-21 Sri International Method and system utilizing a personalized user model to develop a search request
CN103761340A (en) * 2014-02-21 2014-04-30 联想(北京)有限公司 Message processing method and device
CN104090963A (en) * 2014-07-14 2014-10-08 百度在线网络技术(北京)有限公司 Search information recommendation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗 成,刘奕群,张 敏,马少平,茹立云,张 阔: "基于用户意图识别的查询推荐研究", 《中文信息学报》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844680A (en) * 2017-01-25 2017-06-13 百度在线网络技术(北京)有限公司 The methods of exhibiting and device of recommendation information
CN107025304A (en) * 2017-04-27 2017-08-08 福建中金在线信息科技有限公司 A kind of searching method and device
CN107220306A (en) * 2017-05-10 2017-09-29 百度在线网络技术(北京)有限公司 A kind of searching method and device
CN107220306B (en) * 2017-05-10 2021-09-28 百度在线网络技术(北京)有限公司 Searching method and device
CN111566631B (en) * 2018-10-15 2023-09-12 华为技术有限公司 Information display method and device
WO2020077503A1 (en) * 2018-10-15 2020-04-23 华为技术有限公司 Information display method and device
CN111566631A (en) * 2018-10-15 2020-08-21 华为技术有限公司 Information display method and device
US11803594B2 (en) 2018-10-15 2023-10-31 Huawei Technologies Co., Ltd. Information display method and apparatus
CN111859195A (en) * 2020-07-31 2020-10-30 北京字节跳动网络技术有限公司 Information display method, information search method and device
CN111951077A (en) * 2020-08-13 2020-11-17 中国民航信息网络股份有限公司 Ticket buying scheme display method and system
WO2023005340A1 (en) * 2021-07-30 2023-02-02 北京字节跳动网络技术有限公司 Method, apparatus, and device for displaying search results, and medium
CN113778295B (en) * 2021-09-28 2023-08-08 北京字跳网络技术有限公司 Book recommendation method and device, computer equipment and storage medium
CN113778295A (en) * 2021-09-28 2021-12-10 北京字跳网络技术有限公司 Book recommendation method and device, computer equipment and storage medium
CN113986059A (en) * 2021-10-28 2022-01-28 深圳传音控股股份有限公司 Label display method, intelligent terminal and storage medium
CN117688190A (en) * 2023-11-24 2024-03-12 深圳市南弯数字科技有限公司 Data acquisition method, data acquisition apparatus, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US10534824B2 (en) Blending search results on online social networks
Yang et al. Fine-grained preference-aware location search leveraging crowdsourced digital footprints from LBSNs
CN105843817A (en) Method and apparatus for searching on terminal device, and device
JP2021108183A (en) Method, apparatus, device and storage medium for intention recommendation
US10216851B1 (en) Selecting content using entity properties
US9183282B2 (en) Methods and systems for inferring user attributes in a social networking system
US8577915B2 (en) Method of and system for conducting personalized federated search and presentation of results therefrom
US20170228459A1 (en) Method and device for mobile searching based on artificial intelligence
US10535106B2 (en) Selecting user posts related to trending topics on online social networks
CN112148889A (en) Recommendation list generation method and device
US12135752B2 (en) Linking to a search result
US20130218866A1 (en) Multimodal graph modeling and computation for search processes
CN102197394A (en) Digital image retrieval by aggregating search results based on visual annotations
US9767417B1 (en) Category predictions for user behavior
KR20160010416A (en) Customizable, real time intelligence channel
EP3430533A1 (en) Related entity discovery
CN110232126B (en) Hot spot mining method, server and computer readable storage medium
CN110059230B (en) Generalized linear mixture model for improved search
US9767204B1 (en) Category predictions identifying a search frequency
US20170193037A1 (en) Computerized System And Method For Augmenting Search Terms For Increased Efficiency And Effectiveness In Identifying Content
US10990620B2 (en) Aiding composition of themed articles about popular and novel topics and offering users a navigable experience of associated content
US10474670B1 (en) Category predictions with browse node probabilities
US20240020321A1 (en) Category recommendation with implicit item feedback
US10579630B2 (en) Content creation from extracted content
US10387934B1 (en) Method medium and system for category prediction for a changed shopping mission

Legal Events

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: 20160810

RJ01 Rejection of invention patent application after publication