Movatterモバイル変換


[0]ホーム

URL:


CN115062216A - Method, apparatus, device and storage medium for searching - Google Patents

Method, apparatus, device and storage medium for searching
Download PDF

Info

Publication number
CN115062216A
CN115062216ACN202210593781.4ACN202210593781ACN115062216ACN 115062216 ACN115062216 ACN 115062216ACN 202210593781 ACN202210593781 ACN 202210593781ACN 115062216 ACN115062216 ACN 115062216A
Authority
CN
China
Prior art keywords
search
category
suggestion
keyword
presented
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
CN202210593781.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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co LtdfiledCriticalBeijing ByteDance Network Technology Co Ltd
Priority to CN202210593781.4ApriorityCriticalpatent/CN115062216A/en
Publication of CN115062216ApublicationCriticalpatent/CN115062216A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

根据本公开的实施例,提供了用于搜索的方法、装置、设备和存储介质。在此描述的方法包括:响应于至少部分地接收到待搜索的关键词,呈现至少一个搜索建议以及对应的搜索门类,其中搜索门类是基于关键词的属性特征确定的;以及响应于接收到针对至少一个搜索建议之一及对应的至少一个搜索门类的选择,呈现与该选择对应的搜索结果。以此方式,可以快速提供与用户的搜索意图相符的搜索结果,从而提高搜索效率,简化搜索流程,节约时间成本。

Figure 202210593781

According to embodiments of the present disclosure, methods, apparatuses, devices, and storage media for searching are provided. The methods described herein include: in response to receiving, at least in part, a keyword to be searched, presenting at least one search suggestion and a corresponding search category, wherein the search category is determined based on attribute characteristics of the keyword; and in response to receiving a keyword for A selection of one of at least one search suggestion and corresponding at least one search category presents a search result corresponding to the selection. In this way, search results that match the user's search intent can be quickly provided, thereby improving search efficiency, simplifying search processes, and saving time and cost.

Figure 202210593781

Description

Translated fromChinese
用于搜索的方法、装置、设备和存储介质Method, apparatus, device and storage medium for searching

技术领域technical field

本公开的示例实施例总体上涉及计算机领域,并且特别地,涉及用于搜索的方法、装置、设备和计算机可读存储介质。Example embodiments of the present disclosure relate generally to the field of computers, and in particular, to methods, apparatus, devices, and computer-readable storage media for searching.

背景技术Background technique

为满足用户的多样化需求,越来越多的应用程序已经不满足于单一的功能,在不断地拓宽业务领域。例如,人们现在不仅能够借助传统的搜索引擎获取互联网信息,还可以在各种应用程序或平台上搜索感兴趣的内容、服务、商品,等等。期望的是准确定位用户的搜索需求,从海量的信息和内容中快速提供与用户需求相符的搜索结果。In order to meet the diverse needs of users, more and more applications are no longer satisfied with a single function, and are constantly expanding their business fields. For example, people can now not only obtain Internet information through traditional search engines, but also search for interesting content, services, goods, etc. on various applications or platforms. What is expected is to accurately locate the user's search needs, and quickly provide search results that match the user's needs from a large amount of information and content.

发明内容SUMMARY OF THE INVENTION

在本公开的第一方面,提供了一种用于搜索的方法。该方法包括:响应于至少部分地接收到待搜索的关键词,呈现至少一个搜索建议以及对应的搜索门类,其中搜索门类是基于关键词的属性特征确定的;以及响应于接收到针对至少一个搜索建议之一及对应的至少一个搜索门类的选择,呈现与该选择对应的搜索结果。In a first aspect of the present disclosure, a method for searching is provided. The method includes: in response to at least partially receiving a keyword to be searched, presenting at least one search suggestion and a corresponding search category, wherein the search category is determined based on attribute characteristics of the keyword; and in response to receiving at least one search suggestion A selection of one of the suggestions and the corresponding at least one search category, and a search result corresponding to the selection is presented.

在本公开的第二方面,提供了一种用于搜索的装置。该装置包括:第一呈现模块,被配置为响应于至少部分地接收到待搜索的关键词,呈现至少一个搜索建议以及对应的搜索门类,其中搜索门类是基于关键词的属性特征确定的;以及第二呈现模块,被配置为响应于接收到针对至少一个搜索建议之一及对应的至少一个搜索门类的选择,呈现与该选择对应的搜索结果。In a second aspect of the present disclosure, an apparatus for searching is provided. The apparatus includes: a first presentation module configured to present at least one search suggestion and a corresponding search category in response to at least partially receiving a keyword to be searched, wherein the search category is determined based on attribute characteristics of the keyword; and A second presentation module configured to, in response to receiving a selection for one of the at least one search suggestion and the corresponding at least one search category, present search results corresponding to the selection.

在本公开的第三方面,提供了一种电子设备。该电子设备包括至少一个处理单元;以及至少一个存储器,至少一个存储器被耦合到至少一个处理单元并且存储用于由至少一个处理单元执行的指令。指令在由至少一个处理单元执行时使电子设备执行第一方面的方法。In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the electronic device to perform the method of the first aspect.

在本公开的第四方面,提供了一种计算机可读存储介质。介质上存储有计算机程序,程序被处理器执行时实现第一方面的方法。In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. A computer program is stored on the medium, and when the program is executed by the processor, the method of the first aspect is implemented.

应当理解,本发明内容部分中所描述的内容并非旨在限定本公开的实施例的关键特征或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的描述而变得容易理解。It should be understood that what is described in this Summary section is not intended to limit key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood from the following description.

附图说明Description of drawings

结合附图并参考以下详细说明,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图标记表示相同或相似的元素,其中:The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent when taken in conjunction with the accompanying drawings and with reference to the following detailed description. In the drawings, the same or similar reference numbers refer to the same or similar elements, wherein:

图1示出了本公开的实施例能够在其中实现的示例环境的示意图;1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

图2示出了根据本公开的一些实施例的示例搜索过程的流程图;2 shows a flowchart of an example search process according to some embodiments of the present disclosure;

图3A至图3E示出根据本公开的一些实施例的用于搜索的用户界面的交互示例的示意图;3A-3E illustrate schematic diagrams of interactive examples of a user interface for searching, according to some embodiments of the present disclosure;

图4A和图4B示出了根据本公开的一些实施例的用于呈现搜索结果的用户界面的示意图;4A and 4B illustrate schematic diagrams of a user interface for presenting search results, according to some embodiments of the present disclosure;

图5示出了根据本公开的一些实施例的用于搜索的装置的框图;以及FIG. 5 shows a block diagram of an apparatus for searching according to some embodiments of the present disclosure; and

图6示出了能够实施本公开的多个实施例的设备的框图。6 illustrates a block diagram of a device capable of implementing various embodiments of the present disclosure.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中示出了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反,提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.

在本公开的实施例的描述中,术语“包括”及其类似用语应当理解为开放性包含,即“包括但不限于”。术语“基于”应当理解为“至少部分地基于”。术语“一个实施例”或“该实施例”应当理解为“至少一个实施例”。术语“一些实施例”应当理解为“至少一些实施例”。下文还可能包括其他明确的和隐含的定义。In the description of embodiments of the present disclosure, the term "comprising" and the like should be understood as open-ended inclusion, ie, "including but not limited to". The term "based on" should be understood as "based at least in part on". The terms "one embodiment" or "the embodiment" should be understood to mean "at least one embodiment". The term "some embodiments" should be understood to mean "at least some embodiments." Other explicit and implicit definitions may also be included below.

可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。It can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of the corresponding laws and regulations and relevant regulations.

可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当根据相关法律法规通过适当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed of the type, scope of use, and use scenario of the personal information involved in the present disclosure in an appropriate manner in accordance with relevant laws and regulations, and the user's authorization should be obtained. .

例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。For example, in response to receiving an active request from the user, prompt information is sent to the user to explicitly prompt the user that the requested operation will require the acquisition and use of the user's personal information. Therefore, the user can independently choose whether to provide personal information to software or hardware such as electronic devices, applications, servers, or storage media that perform operations of the technical solutions of the present disclosure according to the prompt information.

作为一种可选的但非限制性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式,例如可以是弹出窗口的方式,弹出窗口中可以以文字的方式呈现提示信息。此外,弹出窗口中还可以承载供用户选择“同意”或“不同意”向电子设备提供个人信息的选择控件。As an optional but non-limiting implementation, in response to receiving a user's active request, the method of sending prompt information to the user, for example, can be a pop-up window, and the prompt information can be presented in the form of text in the pop-up window . In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其他满足相关法律法规的方式也可应用于本公开的实现方式中。It can be understood that the above process of notifying and obtaining user authorization is only illustrative, and does not limit the implementation of the present disclosure, and other methods that satisfy relevant laws and regulations can also be applied to the implementation of the present disclosure.

各种应用程序正在日常生活中发挥着越来越大的作用。随着功能的不断完善,诸如社交应用、内容类应用等不仅具有社交和推荐属性,还可以针对用户的不同需求提供更为丰富、多元的服务。如今,用户除了通过这些应用获取感兴趣的信息,还可以实现商品购买、网络直播、话题讨论等等。Various applications are playing an increasing role in everyday life. With the continuous improvement of functions, such as social applications, content applications, etc. not only have social and recommendation attributes, but also provide richer and more diverse services for different needs of users. Today, in addition to obtaining information of interest through these applications, users can also realize commodity purchases, webcasts, topic discussions, and more.

以内容类应用为例,这类应用平台通常用于共享涵盖人们衣食住行等方方面面的信息。用户可以在平台上交换对于各种事物和经历的体验以及产品的使用心得。这类信息也被称为“内容”,其呈现的形式可以包括视频、音频、图片、文字、直播等等。当面对海量内容时,为了避免将大量时间成本耗费在漫无目的的浏览上,用户可以使用搜索功能来筛选内容。然而,面对相同的搜索词,可能存在针对不同搜索目的的搜索结果。例如,用户A搜索关键词“二胡”,希望获得有关自学二胡的内容。用户B同样搜索关键词“二胡”,希望获得从平台购买二胡的链接。由于传统的搜索机制无法根据用户的搜索目的对搜索结果进行分类,使得搜索效率低下,无法提供良好的用户体验。Taking content applications as an example, such application platforms are usually used to share information covering all aspects of people's clothing, food, housing and transportation. Users can exchange their experiences of various things and experiences, as well as their use of products, on the platform. This type of information is also referred to as "content", which can be presented in the form of video, audio, pictures, text, live broadcasts, and so on. When faced with a large amount of content, in order to avoid spending a lot of time and cost on aimless browsing, users can use the search function to filter the content. However, given the same search term, there may be search results for different search purposes. For example, user A searches for the keyword "erhu", hoping to get content about self-learning erhu. User B also searches for the keyword "erhu", hoping to get a link to buy erhu from the platform. Since the traditional search mechanism cannot classify the search results according to the user's search purpose, the search efficiency is low, and a good user experience cannot be provided.

根据本公开的实施例提,能够基于待搜索的关键词进一步考虑用户的搜索意图、使用习惯、个人偏好等,从而在不同门类的搜索结果中进行筛选和细化。以此方式,能够快速、准确地提供用户所需的搜索结果。According to the embodiments of the present disclosure, the user's search intention, usage habits, personal preferences, etc. can be further considered based on the keywords to be searched, so as to filter and refine the search results of different categories. In this way, the search results required by the user can be provided quickly and accurately.

在下文中将结合内容类应用的场景来描述本公开的实施例。但是,应当理解的是所提供的搜索方案不限于内容类应用,其同样适用于其他应用场景,例如,各种门户网站、信息查询平台、数据分析应用等等。另外,本公开的实施例适用于通用搜索、垂直搜索等各种搜索模式。Hereinafter, embodiments of the present disclosure will be described in conjunction with a content-type application scenario. However, it should be understood that the provided search solution is not limited to content applications, and is also applicable to other application scenarios, such as various portal websites, information query platforms, data analysis applications, and so on. In addition, the embodiments of the present disclosure are applicable to various search modes such as general search and vertical search.

图1示出了本公开的实施例能够在其中实现的示例环境100的示意图。在该示例环境100中,终端设备110中可以安装有应用120。用户102可以经由终端设备110与应用120进行交互。作为示例,应用120是内容类应用,可用于向用户102提供诸如内容浏览、评论、转发、创作(例如,拍摄和/或编辑)、发布等与内容相关的功能,还可以提供诸如商品购买等与内容相关的服务。在本公开的上下文中,内容可以具有多种形式,包括但不限于视频、音频、直播、图片、文本等等。此外,在一些实施例中,取决于内容的属性,还可以将内容划分为测评内容、商品内容、资讯内容等等。FIG. 1 shows a schematic diagram of anexample environment 100 in which embodiments of the present disclosure can be implemented. In thisexample environment 100 , anapplication 120 may be installed in theterminal device 110 .User 102 may interact withapplication 120 viaterminal device 110 . As an example,application 120 is a content-based application that may be used to provideuser 102 with content-related functions such as content browsing, commenting, forwarding, authoring (eg, filming and/or editing), publishing, etc. Content-related services. In the context of the present disclosure, content may take a variety of forms including, but not limited to, video, audio, live broadcast, pictures, text, and the like. In addition, in some embodiments, the content may also be divided into evaluation content, commodity content, information content, and the like, depending on the attributes of the content.

应用120可以具有多个频道以用于提供不同的内容或服务。例如,视频频道可以用于呈现视频内容。音乐频道可以用于呈现音频内容。直播频道可以用于呈现直播。创作频道可以提供内容创作和编辑功能。商品频道对应于电子商务平台,可用于实现线上购物,等等。在本公开的上下文中,术语“频道”是指应用120中被设计用于特定内容或服务的单独板块或功能。用户102可以通过浏览应用120的应用界面122来获取内容和服务。相应地,应用界面122可以是对应于应用120的不同频道的频道界面。此外,应用120还可以提供搜索功能,以供用户102对内容进行筛选,从而获取感兴趣的搜索结果。Application 120 may have multiple channels for providing different content or services. For example, a video channel can be used to present video content. Music channels can be used to present audio content. Live channels can be used to present live broadcasts. The authoring channel can provide content authoring and editing functions. The product channel corresponds to an e-commerce platform and can be used to implement online shopping, and so on. In the context of this disclosure, the term "channel" refers to an individual section or functionality withinapplication 120 that is designed for a particular content or service.User 102 may obtain content and services by browsingapplication interface 122 ofapplication 120 . Accordingly, theapplication interface 122 may be a channel interface corresponding to different channels of theapplication 120 . In addition, theapplication 120 may also provide a search function for theuser 102 to filter the content to obtain interesting search results.

在一些实施例中,终端设备110可以与服务器130通信,以实现对应用120的服务的供应、内容的存储和访问、以及搜索功能。在另一些实施例中,应用120的搜索功能也可以由单独的搜索服务器来实现。本公开的范围在此方面不受限制。In some embodiments, theterminal device 110 may communicate with theserver 130 to enable provision of services to theapplication 120, storage and access of content, and search functions. In other embodiments, the search function of theapplication 120 may also be implemented by a separate search server. The scope of the present disclosure is not limited in this regard.

如前所述,尽管在本公开的上下文中,应用120被描述为内容类应用,但是在实践中其可以是任何类型的应用,诸如搜索类应用、资讯类应用、社交应用、生活服务类应用,等等。因此,本公开的范围在此方面不受限制。As mentioned earlier, although in the context of the present disclosure, theapplication 120 is described as a content application, in practice it may be any type of application, such as a search application, information application, social application, life service application ,and many more. Accordingly, the scope of the present disclosure is not limited in this regard.

终端设备110可以是任意类型的移动终端、固定终端或便携式终端,包括移动手机、台式计算机、膝上型计算机、笔记本计算机、上网本计算机、平板计算机、媒体计算机、多媒体平板、个人通信系统(PCS)设备、个人导航设备、个人数字助理(PDA)、音频/视频播放器、数码相机/摄像机、定位设备、电视接收器、无线电广播接收器、电子书设备、游戏设备或者前述各项的任意组合,包括这些设备的配件和外设或者其任意组合。在一些实施例中,终端设备110也能够支持任意类型的针对用户的接口(诸如“可佩戴”电路等)。服务器130是能够提供计算能力的各种类型的计算系统/服务器,包括但不限于大型机、边缘计算节点、云环境中的计算设备,等等。Terminal device 110 may be any type of mobile terminal, stationary terminal or portable terminal, including mobile phone, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, media computer, multimedia tablet, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio/video players, digital cameras/camcorders, pointing devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination of the foregoing, Includes accessories and peripherals for these devices or any combination thereof. In some embodiments, theend device 110 is also capable of supporting any type of interface to the user (such as "wearable" circuitry, etc.).Servers 130 are various types of computing systems/servers capable of providing computing capabilities, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.

应当理解,仅出于示例性的目的描述环境100的结构和功能,而不暗示对于本公开的范围的任何限制。It should be understood that the structure and functionality ofenvironment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

在下文的描述中将参考若干用户界面(UI)的示例状态来描述实施例。应当理解,这些UI及交互仅仅是说明性的,实际可以存在各种界面设计和交互方式。另外,这些UI中包括的控件可以用任何目前已知或者将来开发的UI元素和技术来实现。此外,这些控件的类型、形式、操作方式、在UI中的布局、排列等均是示意性的,并且无意以任何形式限制本公开的范围。In the following description, embodiments will be described with reference to several example states of a user interface (UI). It should be understood that these UIs and interactions are merely illustrative, and there may actually be various interface designs and interaction modes. Additionally, the controls included in these UIs may be implemented using any currently known or future developed UI elements and techniques. Furthermore, the type, form, operation mode, layout, arrangement, etc. of these controls in the UI are all illustrative, and are not intended to limit the scope of the present disclosure in any way.

图2示出了根据本公开的一些实施例的示例搜索过程200的流程图。过程200可以涉及图1所示的终端设备110。当然,过程200也可以涉及任何其他适当的设备。为了便于讨论,将参考图1的环境100并结合图3A至图3E以及图4A至4B来描述过程200。FIG. 2 shows a flowchart of anexample search process 200 in accordance with some embodiments of the present disclosure.Process 200 may involveterminal device 110 shown in FIG. 1 . Of course,process 200 may also involve any other suitable device. For ease of discussion,process 200 will be described with reference toenvironment 100 of FIG. 1 in conjunction with FIGS. 3A-3E and 4A-4B.

在使用应用120的过程200中,用户102可能希望获取特定的内容或服务。为了引导用户102对感兴趣的内容或服务进行搜索,应用120中通常具有用于搜索的用户界面控件。图3A示出了根据本公开的实施例的用户界面300的示例的示意图。如图3A所示,用户界面300中具有搜索控件310,即由搜索图标标识的搜索框(其在下文中也可以称为搜索框310)。尽管在图3A的示例中,搜索控件310被设置在用户界面300的顶端,但是在实践中,可以根据需要将其设置在界面的任何位置。During theprocess 200 of using theapplication 120, theuser 102 may wish to obtain certain content or services. To guideuser 102 to search for content or services of interest,application 120 typically has user interface controls for searching. FIG. 3A shows a schematic diagram of an example of auser interface 300 according to an embodiment of the present disclosure. As shown in FIG. 3A, theuser interface 300 has asearch control 310, a search box identified by a search icon (which may also be referred to as asearch box 310 hereinafter). Although in the example of FIG. 3A thesearch control 310 is positioned at the top of theuser interface 300, in practice it can be positioned anywhere in the interface as desired.

用户102可以输入与感兴趣的内容或服务相关的关键词。在图3A的示例中,用户102希望搜索的关键词为“咖啡”,因此在搜索框310中输入与“咖啡”对应的字符,例如,“咖啡”的拼音“kafei”。当然,在搜索框310中呈现的文本形式可能因用户102所采用的输入法和语言而异,本公开的实施例在此方面不受限制。User 102 may enter keywords related to content or services of interest. In the example of FIG. 3A , theuser 102 wishes to search for “coffee” as the keyword, and thus enters characters corresponding to “coffee” in thesearch box 310 , eg, the pinyin “kafei” of “coffee”. Of course, the form of text presented in thesearch box 310 may vary depending on the input method and language employed by theuser 102, and embodiments of the present disclosure are not limited in this regard.

在一些实施例中,终端设备110可以检测是否至少部分地接收到(210)待搜索的关键词。In some embodiments, theterminal device 110 may detect whether the keyword to be searched is at least partially received (210).

响应于至少部分地接收到待搜索的关键词,终端设备110呈现(220)至少一个搜索建议以及对应的搜索门类,其中搜索门类是基于关键词的属性特征确定的。响应于没有接收到待搜索的关键词,终端设备110可以重复执行对关键词的检测。In response to at least partially receiving the keyword to be searched, theterminal device 110 presents (220) at least one search suggestion and a corresponding search category, where the search category is determined based on attribute characteristics of the keyword. In response to not receiving the keyword to be searched, theterminal device 110 may repeatedly perform the detection of the keyword.

在本公开的实施例中,搜索门类可以根据与关键词相关联的属性特征、内容形式等来划分。多个候选属性特征可以与多个候选搜索门类具有映射关系,并且所呈现的搜索门类是基于映射关系和关键词的属性特征从多个候选门类中确定的。作为示例,关键词“咖啡”的属性特征可以是商品、饮料、食品等等。相应地,这些属性特征可以确定与关键词“咖啡”相关联的搜索门类可以包括但不限于与咖啡有关的综合内容、视频、音频、商品、直播、测评、生活服务、探店、制作方法,等等,其中综合内容可以是指应用120上的与咖啡有关的全部内容。In the embodiments of the present disclosure, search categories may be divided according to attribute characteristics, content forms, etc. associated with keywords. The multiple candidate attribute features may have a mapping relationship with multiple candidate search categories, and the presented search category is determined from the multiple candidate categories based on the mapping relationship and the attribute features of the keywords. As an example, the attribute feature of the keyword "coffee" may be commodity, beverage, food, and so on. Correspondingly, these attribute features can determine that the search category associated with the keyword "coffee" can include, but is not limited to, comprehensive coffee-related content, video, audio, merchandise, live broadcast, evaluation, life service, shop visit, production method, etc., where the general content may refer to all coffee-related content on theapplication 120 .

在一些实施例中,对搜索门类的确定可以在终端设备110本地执行。备选地,在另一些实施例中,对搜索门类的确定也可以在终端设备110的远程执行,例如由服务器130或其他远端设备执行。In some embodiments, the determination of the search category may be performed locally at theend device 110 . Alternatively, in other embodiments, the determination of the search category may also be performed remotely from theterminal device 110 , for example, by theserver 130 or other remote devices.

不同的搜索门类可以对应于应用120的不同搜索结果的垂直类频道。作为示例,与咖啡有关的商品和直播可能涉及应用120的电子商务平台,例如,应用120的线上购物频道。作为另一示例,与咖啡有关的音频可以对应于应用120的音乐频道,其中可以向用户推荐,例如以“咖啡”命名或与“咖啡”相关的音乐。作为又一示例,与咖啡有关的生活服务可以对应于应用120的生活服务频道,其中可以向用户102推荐与咖啡有关的线下服务,例如,咖啡馆、咖啡机专卖店、咖啡豆零售店铺、咖啡师培训机构等等。Different search categories may correspond to vertical category channels ofapplication 120 for different search results. As an example, coffee-related merchandise and live broadcasts may involveapplication 120's e-commerce platform, eg,application 120's online shopping channel. As another example, coffee-related audio may correspond to a music channel ofapplication 120 in which music may be recommended to the user, such as music named or related to "coffee". As yet another example, a coffee-related life service may correspond to a life service channel of theapplication 120, where offline coffee-related services may be recommended to theuser 102, eg, a coffee shop, a coffee machine specialty store, a coffee bean retail store, Barista training institutes and more.

终端设备110可以在用户102输入关键词的同时,在区域340中呈现用于辅助用户102搜索的搜索建议。在图3A的示例中,除了呈现基于待搜索的关键词的至少一部分联想到的常规搜索建议,例如,“咖啡”、“咖啡馆”、“咖啡机”、“咖啡推荐”等等,在区域340中还呈现搜索建议及所对应的不同搜索门类,即,“综合”门类330、“商品门类”332、“测评”门类336、“生活服务”门类338,等等。在图3A的示例中,终端设备110可以将对应的搜索门类的信息作为至少一个搜索建议的一部分呈现。Theterminal device 110 may present search suggestions for assisting theuser 102 in searching in thearea 340 while theuser 102 inputs the keyword. In the example of FIG. 3A, in addition to presenting general search suggestions associated with at least a portion of the keyword to be searched, eg, "coffee", "cafe", "coffee maker", "coffee suggestions", etc., in the area Search suggestions and corresponding different search categories are also presented in 340, ie, "General"category 330, "Commodity category" 332, "Assessment"category 336, "Life service"category 338, and so on. In the example of FIG. 3A , theterminal device 110 may present the information of the corresponding search category as part of the at least one search suggestion.

对搜索建议以及对应搜索门类330、332、336和338的关联呈现可以在用户102选择联想词之前或者之后。The associated presentation of search suggestions andcorresponding search categories 330, 332, 336, and 338 may precede or follow theuser 102 selection of the associative word.

在一些实施例中,所呈现的搜索至少一个搜索建议及对应的搜索门类可以随接收到的关键词的部分而改变。例如,由于在图3A的示例中,用户102选择了联想词“咖啡”,在图3B的示例中,终端设备110基于接收到的关键词“咖啡”而改变所呈现的搜索建议。相比于图3A所示的搜索建议,在图3B所示的区域340中还呈现对应于“直播”门类334、“推荐”门类342以及“探店”门类344的搜索建议。In some embodiments, the presented search at least one search suggestion and corresponding search category may vary with the portion of the keyword received. For example, since theuser 102 selected the associative word "coffee" in the example of FIG. 3A, in the example of FIG. 3B, theterminal device 110 changes the presented search suggestions based on the received keyword "coffee". Compared to the search suggestions shown in FIG. 3A , search suggestions corresponding to the “live broadcast”category 334 , the “recommended”category 342 , and the “shop visit”category 344 are also presented in thearea 340 shown in FIG. 3B .

与不同搜索门类330至338对应的多个搜索建议可以基于一定顺序呈现在区域340中。在一些实施例中,与不同搜索门类330至344对应的至少一个搜索建议的呈现顺序可以基于以下至少一项:经用户授权的用户群体交互数据、至少一个搜索建议的对应搜索门类的搜索频率、与至少一个搜索建议相关联的搜索结果的数目。例如,用户群体交互数据可以在经用户授权的情况下利用特定于包括用户102在内的用户群体的概率模型、算法、历史数据等来确定。当然,也可以基于其他因素、借助其他方式对搜索建议进行排序,本公开的范围在此方面不受限制。在这样的实施例中,可以实现对搜索建议的个性化排序,快速匹配用户需求,从而可以提高搜索效率。Multiple search suggestions corresponding to different search categories 330-338 may be presented inarea 340 based on an order. In some embodiments, the order in which the at least one search suggestion corresponding to the different search categories 330-344 is presented may be based on at least one of the following: user group interaction data authorized by the user, search frequency of the corresponding search category of the at least one search suggestion, The number of search results associated with at least one search suggestion. For example, user population interaction data may be determined with user authorization using probabilistic models, algorithms, historical data, etc. specific to the userpopulation including user 102 . Of course, the search suggestions may also be ranked based on other factors and by other means, and the scope of the present disclosure is not limited in this regard. In such an embodiment, personalized sorting of search suggestions can be implemented, and user needs can be quickly matched, thereby improving search efficiency.

在一些实施例中,终端设备110可以基于关键词的至少一部分,从至少一个候选搜索门类中确定至少一个搜索门类。候选搜索门类可以是指应用120提供的所有搜索门类,并且可以对应于应用120中的多个频道,包括但不限于,“综合”频道、“视频”频道、“商品”频道、“直播”频道、“测评”频道、“音乐”频道、“生活服务”频道等等。例如,在图3A和图3B的示例中,终端设备110基于关键词的至少一部分,即,“kafei”或“咖啡”,从所有候选搜索门类中确定在综合内容、视频、音频、商品、直播、测评、生活服务等门类中存在与“kafei”或“咖啡”相关联的搜索结果。In some embodiments, theterminal device 110 may determine at least one search category from at least one candidate search category based on at least a portion of the keyword. Candidate search categories may refer to all search categories provided by theapplication 120, and may correspond to multiple channels in theapplication 120, including, but not limited to, a "comprehensive" channel, a "video" channel, a "commodity" channel, and a "live" channel , the "Assessment" channel, the "Music" channel, the "Life Services" channel, and more. For example, in the example of FIG. 3A and FIG. 3B , theterminal device 110 determines, based on at least a part of the keyword, ie, "kafei" or "coffee", from all the candidate search categories in the comprehensive content, video, audio, merchandise, live broadcast There are search results associated with "kafei" or "coffee" in categories such as , evaluation, and life services.

备选地或附加地,候选搜索门类可以是基于对多个候选搜索门类中的至少一个的选择而确定的。在一些实施例中,在接收关键词之前,终端设备110可以接收从候选搜索门类中选择至少一个搜索门类的输入。在这样的实施例中,所呈现的至少一个搜索建议与被选择的至少一个搜索门类相对应。这可以通过用户102的预先设置来实现。图3C示出了在接收关键词之前的用户界面301。除了与用户界面300相似的搜索控件310之外,用户界面301还具有搜索门类区域350和热门搜索呈现区域370。在搜索门类区域350中具有对应于多个候选搜索门类的控件351至366。用户102可以通过激活相应控件351至366来选择候选搜索门类中的至少一个作为搜索门类。在图3C的示例中,用户102从候选搜索门类中预先选择了“综合”门类、“测评”门类、“商品”门类、“直播”门类、“生活服务”门类、“探店”门类以及“推荐”门类。例如,所选择的门类可以被醒目呈现。因此,响应于接收到待搜索的关键词,终端设备110在图3B的区域340中呈现搜索建议以及上述搜索门类330至344。Alternatively or additionally, the candidate search categories may be determined based on selection of at least one of a plurality of candidate search categories. In some embodiments, prior to receiving the keywords, theterminal device 110 may receive input selecting at least one search category from the candidate search categories. In such embodiments, the presented at least one search suggestion corresponds to the selected at least one search category. This can be achieved by the user's 102 preset. FIG. 3C shows theuser interface 301 prior to receiving a keyword.User interface 301 has asearch category area 350 and a popularsearch presentation area 370 in addition to search controls 310 similar touser interface 300 . In thesearch category area 350 there arecontrols 351 to 366 corresponding to a plurality of candidate search categories. Theuser 102 may select at least one of the candidate search categories as the search category by activating the correspondingcontrols 351 to 366 . In the example of FIG. 3C , theuser 102 preselects the “Comprehensive” category, the “Assessment” category, the “Commodities” category, the “Live Broadcast” category, the “Life Service” category, the “Explore” category, and the “Explore” category from the candidate search categories. Recommended" category. For example, selected categories can be highlighted. Therefore, in response to receiving the keyword to be searched, theterminal device 110 presents the search suggestions and the above-mentionedsearch categories 330 to 344 in thearea 340 of FIG. 3B .

在另一些实施例中,对至少一个候选搜索门类的选择可以在至少部分地接收到关键词之后。图3D和图3E示出了根据本公开的一些实施例的用于搜索的用户界面的交互示例的示意图。如图3D所示,用户102在搜索框310中输入待搜索的关键词的至少一部分。响应于至少部分地接收到关键词,终端设备110可以呈现与关键词有关的候选搜索门类。如图3E所示,在呈现搜索建议的区域中还呈现用于激活下拉菜单的控件。以搜索建议“咖啡”为例,通过激活控件381,可以在下拉菜单382中呈现多个候选门类,以供用户102进行选择。在图3E的示例中,用户102激活控件383以选择“商品”门类。相应地,终端设备110接收从所呈现的候选搜索门类选择至少一个搜索门类的输入,使得所呈现的至少一个搜索建议与被选择的至少一个搜索门类相对应。In other embodiments, the selection of the at least one candidate search category may occur after the keyword is received at least in part. 3D and 3E illustrate schematic diagrams of examples of interactions of a user interface for searching, according to some embodiments of the present disclosure. As shown in FIG. 3D , theuser 102 enters at least a portion of the keyword to be searched in thesearch box 310 . In response to at least partially receiving the keyword, theterminal device 110 may present candidate search categories related to the keyword. As shown in Figure 3E, controls for activating drop-down menus are also presented in the area where the search suggestions are presented. Taking the search suggestion "coffee" as an example, by activating thecontrol 381, a plurality of candidate categories can be presented in the drop-down menu 382 for theuser 102 to select. In the example of FIG. 3E,user 102 activatescontrol 383 to select the "Commodities" category. Accordingly, theterminal device 110 receives input selecting at least one search category from the presented candidate search categories, such that the presented at least one search suggestion corresponds to the selected at least one search category.

在一些实施例中,搜索门类可以具有至少一个搜索子类。响应于接收到从候选搜索门类选择至少一个搜索门类的输入,终端设备110可以呈现至少一个搜索门类的多个搜索子类。终端设备110接收从所呈现的多个搜索子类选择至少一个搜索子类的输入,使得所呈现的至少一个搜索建议、被选择的至少一个搜索门类和至少一个搜索子类相对应。如图3E所示,由于控件383被激活,终端设备110接收到对“商品”门类的选择,并在下拉菜单384中呈现“商品”门类的多个搜索子类。通过选择搜索子类,可以进一步细化搜索结果。In some embodiments, a search category may have at least one search subcategory. In response to receiving input selecting at least one search category from the candidate search categories,terminal device 110 may present a plurality of search subcategories of the at least one search category. Theterminal device 110 receives an input of selecting at least one search subcategory from the presented plurality of search subcategories, such that the presented at least one search suggestion, the selected at least one search category and the at least one search subcategory correspond. As shown in FIG. 3E , ascontrol 383 is activated,end device 110 receives the selection of the "Commodities" category and presents a plurality of search sub-categories of the "Commodities" category in drop-down menu 384 . Search results can be further refined by selecting a search subcategory.

终端设备110可以检测是否接收到(230)针对至少一个搜索建议之一及对应的至少一个搜索门类的选择。响应于接收到针对至少一个搜索建议之一及对应的至少一个搜索门类的选择,终端设备110呈现(240)与该选择对应的搜索结果。响应于没有接收到对搜索建议的选择,终端设备110可以重复执行对搜索建议的检测。Theterminal device 110 may detect whether a selection for one of the at least one search suggestion and the corresponding at least one search category is received (230). In response to receiving a selection for one of the at least one search suggestion and the corresponding at least one search category, theterminal device 110 presents (240) search results corresponding to the selection. In response to not receiving a selection of a search suggestion, theterminal device 110 may repeatedly perform the detection of the search suggestion.

在一些实施例中,终端设备110可以从远端设备,例如服务器130或独立的搜索服务器获取搜索结果。附加地或备选地,在一些实施例中,搜索结果也可以从终端设备110的缓存中获取。In some embodiments, theterminal device 110 may obtain search results from a remote device, such as theserver 130 or an independent search server. Additionally or alternatively, in some embodiments, the search results may also be obtained from the cache of theterminal device 110 .

在本公开的实施例中,被选择的搜索建议可以指示与对应的搜索门类相关联的频道,并且终端设备110可以将搜索结果呈现在用于频道的频道页面中。通过这种方式,终端设备110可以快速、准确地提供特定门类的搜索结果,并且用户102可以直达相应的频道,从而缩短了搜索过程,节约了时间成本。In an embodiment of the present disclosure, the selected search suggestion may indicate a channel associated with the corresponding search category, and theterminal device 110 may present the search result in a channel page for the channel. In this way, theterminal device 110 can quickly and accurately provide search results of a specific category, and theuser 102 can directly access the corresponding channel, thereby shortening the search process and saving time and cost.

作为示例,在图3A的示例中,如果用户102选择搜索建议336,则终端设备110可以将用户界面300切换至测评频道的界面,并在其中呈现与“咖啡”相关的“测评”门类的搜索结果,包括但不限于,与咖啡测评相关的各种视频类内容、图文类内容,等等。As an example, in the example of FIG. 3A, if theuser 102 selects thesearch suggestion 336, theterminal device 110 may switch theuser interface 300 to the interface of the assessment channel, and present a search in the category of “assessments” related to “coffee” therein The results include, but are not limited to, various video content, graphic content, etc. related to coffee evaluation.

作为另一示例,在图3E的示例中,用户102选择“商品”门类、“直播”门类和“视频”门类,终端设备110可以将用户界面300切换至如图4A所示的搜索结果界面,并在其中呈现与“咖啡”相关的“商品”、“直播”和“视频”门类下的搜索结果,包括但不限于,应用120上各种在售的咖啡及周边商品、针对咖啡及周边产品的直播,挂车视频等等。在本公开的实施例中,术语“挂车视频”是指伴随视频内容出现商品购买链接的视频,其中商品通常与视频内容相关联。商品购买链接可以由购物车等图标来标识,如图4A示出的挂车视频455中的图标456。As another example, in the example of FIG. 3E , theuser 102 selects the “Commodities” category, the “Live Broadcast” category and the “Video” category, theterminal device 110 can switch theuser interface 300 to the search result interface shown in FIG. 4A , and present the search results under the categories of "commodities", "live broadcast" and "videos" related to "coffee", including but not limited to, various coffee and peripheral products on sale onApp 120, targeted coffee and peripheral products Live broadcasts, trailer videos, and more. In an embodiment of the present disclosure, the term "trailer video" refers to a video in which a link to purchase an item appears along with the video content, where the item is usually associated with the video content. The item purchase link may be identified by an icon such as a shopping cart, such as icon 456 intrailer video 455 shown in FIG. 4A.

在一些实施例中,与搜索建议对应的搜索门类可以被醒目呈现,如图3A和图3B所示。在另一些实施例中,被选择的至少一个搜索门类可以被醒目呈现,如图3C和图3E所示。当然,在其他实施例中,搜索门类也可以正常呈现。In some embodiments, search categories corresponding to search suggestions may be highlighted, as shown in FIGS. 3A and 3B . In other embodiments, the selected at least one search category may be highlighted, as shown in Figures 3C and 3E. Of course, in other embodiments, search categories can also be presented normally.

图4A和图4B示出了根据本公开的一些实施例的用于呈现搜索结果的用户界面400的示例。图4A所示的用户界面400具有搜索控件410、频道控件421至426、筛选控件431至434、排序控件441至443、以及用于呈现搜索结果的区域450。4A and 4B illustrate an example of auser interface 400 for presenting search results, according to some embodiments of the present disclosure. Theuser interface 400 shown in FIG. 4A has asearch control 410, channel controls 421-426, filter controls 431-434, sorting controls 441-443, and anarea 450 for presenting search results.

搜索控件410具有与图3A至图3E中的搜索控件310类似的功能,因而在此不在赘述。频道控件421至426可以被激活以切换到应用120的相应频道,并呈现与该频道对应的频道界面。筛选控件431至434可以被激活以对呈现在区域450中的搜索结果进行筛选和细化。排序控件441至443可以被激活以按照相应的规则对呈现在区域450中的搜索结果进行排序。Thesearch control 410 has similar functions to thesearch control 310 in FIGS. 3A to 3E , and thus will not be repeated here. Channel controls 421 to 426 may be activated to switch to a corresponding channel ofapplication 120 and present a channel interface corresponding to that channel. Filter controls 431 to 434 may be activated to filter and refine the search results presented inarea 450 . Sorting controls 441 to 443 may be activated to sort the search results presented inarea 450 according to corresponding rules.

如图4A所示,在区域450中可以按照所选择的搜索门类分别呈现与“咖啡”相关的“商品”门类的搜索结果451和452,“直播”门类的搜索结果453和454以及“视频”门类的搜索结果455和至456。应当理解的是,因区域450所限,仅示出六个搜索结果451至456,但是实际可以存在更多的搜索结果。例如,用户102可以通过向上、向下、向左、向右等滑动手势触摸终端设备110的屏幕来改变呈现在区域450中的搜索结果。作为另一示例,用户102可以通过点击或点触用户界面400中用于更换所呈现的搜索结果的控件(未示出)来改变在区域450中的搜索结果。因此,本公开的范围在此方面不受限制。As shown in FIG. 4A , in thearea 450 , search results 451 and 452 of the category of “commodities” related to “coffee”, search results 453 and 454 of the category of “live broadcast”, and “video” can be presented respectively according to the selected search category.Category search results 455 and 456. It should be understood that only sixsearch results 451 to 456 are shown due to the limitation of thearea 450, but there may actually be more search results. For example, theuser 102 can change the search results presented in thearea 450 by touching the screen of theterminal device 110 with a swipe gesture up, down, left, right, etc., on the screen of theterminal device 110 . As another example,user 102 may change the search results inarea 450 by clicking or tapping a control (not shown) inuser interface 400 for changing the presented search results. Accordingly, the scope of the present disclosure is not limited in this regard.

搜索结果451至456可以基于一定顺序呈现在用户界面400中。在一些实施例中,搜索结果451至456的呈现顺序可以基于经用户授权的用户群体交互数据、至少一个搜索建议的对应搜索门类的搜索频率、搜索门类的搜索频率、与至少一个搜索建议相关联的搜索结果的数目,等等。如前所述,用户群体交互数据可以在经用户授权的情况下利用特定于包括用户102在内的用户群体的概率模型、算法、历史数据等来确定。当然,也可以基于其他因素、借助其他方式对搜索结果进行排序,本公开的范围在此方面不受限制。Search results 451 to 456 may be presented inuser interface 400 based on an order. In some embodiments, the order in which the search results 451 to 456 are presented may be based on user group interaction data authorized by the user, the search frequency of the corresponding search category of the at least one search suggestion, the search frequency of the search category, associated with the at least one search suggestion number of search results, etc. As previously discussed, user population interaction data may be determined with user authorization using probabilistic models, algorithms, historical data, etc. specific to the userpopulation including user 102 . Of course, the search results may also be ranked based on other factors and by other means, and the scope of the present disclosure is not limited in this regard.

在一些实施例中,终端设备110可以在搜索结果界面400中,呈现用于筛选搜索结果的至少一个筛选建议。如图4A所示,在搜索结果界面400中呈现了诸如“挂耳缩液”、“速溶咖啡”、“咖啡胶囊”、“瓶装咖啡”等筛选建议。当然,在实践中,可以根据需要提供更多或更少的筛选建议,用户102可以通过向上、向下、向左、向右等滑动手势触摸终端设备110的屏幕来改变所呈现的筛选建议。In some embodiments, theterminal device 110 may present at least one filtering suggestion for filtering the search results in thesearch result interface 400 . As shown in FIG. 4A , thesearch result interface 400 presents filtering suggestions such as "Hanging ear shrinkage", "Instant coffee", "Coffee capsule", "Bottled coffee", and the like. Of course, in practice, more or less screening suggestions can be provided as needed, and theuser 102 can change the presented screening suggestions by touching the screen of theterminal device 110 by swiping up, down, left, right, etc. gestures.

相应地,用户102可以通过激活筛选控件431至434中的至少一个来选择筛选建议。响应于接收到针对至少一个筛选建议之一的选择,终端设备110可以在搜索结果界面400中呈现经过筛选的搜索结果。如图4B所示,响应于用户102选择的筛选建议为“挂耳咖啡”和“咖啡胶囊”,终端设备110在区域450中呈现与“挂耳咖啡”和“咖啡胶囊”相关的搜索结果451至453、455至457。Accordingly,user 102 may select a filter suggestion by activating at least one of filter controls 431-434. In response to receiving a selection for one of the at least one filtering suggestion, theterminal device 110 may present the filtered search results in the search results interface 400 . As shown in FIG. 4B , in response to the filtering suggestions selected by theuser 102 as “coffee with ears” and “coffee capsules”, theterminal device 110 presentssearch results 451 related to “coffee with ears” and “coffee capsules” in thearea 450 to 453, 455 to 457.

根据本公开的实施例,能够在搜索之前或在搜索中确定用户所期望的搜索门类,并根据搜索门类,快速提供与用户的搜索意图相符的搜索结果。以此方式,可以提供搜索精度,缩短搜索流程,并提高用户体验。According to the embodiments of the present disclosure, it is possible to determine the search category desired by the user before or during the search, and quickly provide search results that match the user's search intent according to the search category. In this way, it is possible to provide search precision, shorten the search process, and improve user experience.

图5示出了根据本公开的一些实施例的用于搜索的装置500的框图。装置500可以被实现为或者被包括在终端设备110中。装置500中的各个模块/组件可以由硬件、软件、固件或者它们的任意组合来实现。FIG. 5 shows a block diagram of anapparatus 500 for searching according to some embodiments of the present disclosure. Theapparatus 500 may be implemented as or included in theterminal device 110 . The various modules/components in theapparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

如图所示,装置500包括第一呈现模块510,被配置为响应于至少部分地接收到待搜索的关键词,呈现至少一个搜索建议以及对应的搜索门类,其中搜索门类是基于关键词的属性特征确定的。装置500还包括第二呈现模块520,被配置为响应于接收到针对至少一个搜索建议之一及对应的至少一个搜索门类的选择,呈现与该选择对应的搜索结果。As shown, theapparatus 500 includes afirst presentation module 510 configured to, in response to at least partially receiving a keyword to be searched, present at least one search suggestion and a corresponding search category, wherein the search category is an attribute based on the keyword characteristics are determined. Theapparatus 500 also includes asecond presentation module 520 configured to, in response to receiving a selection for one of the at least one search suggestion and the corresponding at least one search category, present a search result corresponding to the selection.

在一些实施例中,多个候选属性特征与多个候选搜索门类具有映射关系,并且所呈现的搜索门类是基于映射关系和关键词的属性特征从多个候选门类中确定的。In some embodiments, the plurality of candidate attribute features have a mapping relationship with the plurality of candidate search categories, and the presented search category is determined from the plurality of candidate categories based on the mapping relationship and the attribute features of the keywords.

在一些实施例中,装置500还包括:第三呈现模块,被配置为响应于至少部分地接收到关键词,呈现与关键词有关的候选搜索门类;以及第一接收模块,被配置为接收从所呈现的候选搜索门类选择至少一个搜索门类的输入,使得所呈现的至少一个搜索建议与被选择的至少一个搜索门类相对应。In some embodiments, theapparatus 500 further includes: a third presenting module configured to present candidate search categories related to the keyword in response to receiving the keyword at least in part; and a first receiving module configured to receive information from the keyword The presented candidate search categories select at least one search category input such that the presented at least one search suggestion corresponds to the selected at least one search category.

在一些实施例中,装置500还包括:第四呈现模块,被配置为响应于接收到从候选搜索门类选择至少一个搜索门类的输入,呈现至少一个搜索门类的多个搜索子类;以及第二接收模块,被配置为接收从所呈现的多个搜索子类选择至少一个搜索子类的输入,使得所呈现的至少一个搜索建议、被选择的至少一个搜索门类和至少一个搜索子类相对应。In some embodiments, theapparatus 500 further comprises: a fourth presentation module configured to present a plurality of search subcategories of the at least one search category in response to receiving input selecting at least one search category from the candidate search categories; and a second A receiving module configured to receive input selecting at least one search subcategory from the plurality of presented search subcategories, such that the presented at least one search suggestion, the selected at least one search category corresponds to the at least one search subcategory.

在一些实施例中,第一呈现模块被配置为:将对应的搜索门类的信息作为至少一个搜索建议的一部分呈现。In some embodiments, the first presentation module is configured to present information of the corresponding search category as part of the at least one search suggestion.

在一些实施例中,至少一个搜索建议和/或搜索结果的呈现顺序基于以下至少一项:经用户授权的用户群体交互数据,至少一个搜索建议的对应搜索门类的搜索频率,与至少一个搜索建议相关联的搜索结果的数目。In some embodiments, the presentation order of the at least one search suggestion and/or the search results is based on at least one of the following: user group interaction data authorized by the user, search frequency of the corresponding search category of the at least one search suggestion, and the at least one search suggestion The number of associated search results.

在一些实施例中,被选择的搜索建议指示与对应的搜索门类相关联的频道,并且第二呈现模块被配置为:将搜索结果呈现在用于频道的频道页面中。In some embodiments, the selected search suggestion indicates a channel associated with the corresponding search category, and the second presentation module is configured to present the search results in a channel page for the channel.

在一些实施例中,装置500还包括:第五呈现模块,被配置为在频道界面中,呈现用于筛选搜索结果的至少一个筛选建议;以及第六呈现模块,被配置为响应于接收到对至少一个筛选建议之一的选择,在频道界面中呈现经过筛选的搜索结果。In some embodiments, theapparatus 500 further includes: a fifth presentation module configured to present, in the channel interface, at least one filtering suggestion for filtering search results; and a sixth presentation module configured to, in response to receiving a request for Selection of at least one of the filter suggestions to present filtered search results in the channel interface.

在一些实施例中,所呈现的搜索至少一个搜索建议以及对应的搜索门类随接收到的关键词的部分而改变。In some embodiments, the presented search at least one search suggestion and corresponding search category varies with the portion of the keyword received.

图6示出了示出了其中可以实施本公开的一个或多个实施例的计算设备600的框图。应当理解,图6所示出的计算设备600仅仅是示例性的,而不应当构成对本文所描述的实施例的功能和范围的任何限制。图6所示出的计算设备600可以用于实现图1的终端设备110。6 illustrates a block diagram illustrating acomputing device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that thecomputing device 600 shown in FIG. 6 is exemplary only and should not constitute any limitation on the functionality and scope of the embodiments described herein. Thecomputing device 600 shown in FIG. 6 may be used to implement theterminal device 110 of FIG. 1 .

如图6所示,计算设备600是通用计算设备的形式。计算设备600的组件可以包括但不限于一个或多个处理器或处理单元610、存储器620、存储设备630、一个或多个通信单元640、一个或多个输入设备650以及一个或多个输出设备660。处理单元610可以是实际或虚拟处理器并且能够根据存储器620中存储的程序来执行各种处理。在多处理器系统中,多个处理单元并行执行计算机可执行指令,以提高计算设备600的并行处理能力。As shown in FIG. 6,computing device 600 is in the form of a general-purpose computing device. Components ofcomputing device 600 may include, but are not limited to, one or more processors orprocessing units 610,memory 620,storage devices 630, one ormore communication units 640, one ormore input devices 650, and one ormore output devices 660. Theprocessing unit 610 may be an actual or virtual processor and can perform various processes according to programs stored in thememory 620 . In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities ofcomputing device 600 .

计算设备600通常包括多个计算机存储介质。这样的介质可以是计算设备600可访问的任何可以获得的介质,包括但不限于易失性和非易失性介质、可拆卸和不可拆卸介质。存储器620可以是易失性存储器(例如寄存器、高速缓存、随机访问存储器(RAM))、非易失性存储器(例如,只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、闪存)或它们的某种组合。存储设备630可以是可拆卸或不可拆卸的介质,并且可以包括机器可读介质,诸如闪存驱动、磁盘或者任何其他介质,其可以能够用于存储信息和/或数据(例如用于训练的训练数据)并且可以在计算设备600内被访问。Computing device 600 typically includes a number of computer storage media. Such media can be any available media that can be accessed by computingdevice 600, including but not limited to volatile and nonvolatile media, removable and non-removable media.Memory 620 may be volatile memory (eg, registers, cache, random access memory (RAM)), non-volatile memory (eg, read only memory (ROM), electrically erasable programmable read only memory (EEPROM) , Flash) or some combination of them.Storage device 630 may be removable or non-removable media, and may include machine-readable media, such as flash drives, magnetic disks, or any other media that may be capable of storing information and/or data (eg, training data for training). ) and can be accessed withincomputing device 600 .

计算设备600可以进一步包括另外的可拆卸/不可拆卸、易失性/非易失性存储介质。尽管未在图6中示出,可以提供用于从可拆卸、非易失性磁盘(例如“软盘”)进行读取或写入的磁盘驱动和用于从可拆卸、非易失性光盘进行读取或写入的光盘驱动。在这些情况中,每个驱动可以由一个或多个数据介质接口被连接至总线(未示出)。存储器620可以包括计算机程序产品625,其具有一个或多个程序模块,这些程序模块被配置为执行本公开的各种实施例的各种方法或动作。Computing device 600 may further include additional removable/non-removable, volatile/non-volatile storage media. Although not shown in Figure 6, disk drives for reading or writing from removable, non-volatile magnetic disks (eg, "floppy disks") and for reading or writing from removable, non-volatile optical disks may be provided CD-ROM drive for reading or writing. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces.Memory 620 may include acomputer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

通信单元640实现通过通信介质与其他计算设备进行通信。附加地,计算设备600的组件的功能可以以单个计算集群或多个计算机器来实现,这些计算机器能够通过通信连接进行通信。因此,计算设备600可以使用与一个或多个其他服务器、网络个人计算机(PC)或者另一个网络节点的逻辑连接来在联网环境中进行操作。Thecommunication unit 640 enables communication with other computing devices through a communication medium. Additionally, the functions of the components ofcomputing device 600 may be implemented in a single computing cluster or multiple computing machines capable of communicating through a communication connection. Accordingly,computing device 600 may operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

输入设备650可以是一个或多个输入设备,例如鼠标、键盘、追踪球等。输出设备660可以是一个或多个输出设备,例如显示器、扬声器、打印机等。计算设备600还可以根据需要通过通信单元640与一个或多个外部设备(未示出)进行通信,外部设备诸如存储设备、显示设备等,与一个或多个使得用户与计算设备600交互的设备进行通信,或者与使得计算设备600与一个或多个其他计算设备通信的任何设备(例如,网卡、调制解调器等)进行通信。这样的通信可以经由输入/输出(I/O)接口(未示出)来执行。Input device 650 may be one or more input devices, such as a mouse, keyboard, trackball, and the like.Output device 660 may be one or more output devices, such as a display, speakers, printer, and the like.Computing device 600 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., throughcommunication unit 640 as desired, with one or more devices that enable a user to interact withcomputing device 600 communicate, or with any device (eg, network card, modem, etc.) that enablescomputing device 600 to communicate with one or more other computing devices. Such communication may be performed via an input/output (I/O) interface (not shown).

根据本公开的示例性实现方式,提供了一种计算机可读存储介质,其上存储有计算机可执行指令,其中计算机可执行指令被处理器执行以实现上文描述的方法。根据本公开的示例性实现方式,还提供了一种计算机程序产品,计算机程序产品被有形地存储在非瞬态计算机可读介质上并且包括计算机可执行指令,而计算机可执行指令被处理器执行以实现上文描述的方法。According to an exemplary implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions executed by a processor to implement the method described above.

这里参照根据本公开实现的方法、装置、设备和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices, and computer program products implemented in accordance with the present disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理单元,从而生产出一种机器,使得这些指令在通过计算机或其他可编程数据处理装置的处理单元执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to the processing unit of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processing unit of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.

可以把计算机可读程序指令加载到计算机、其他可编程数据处理装置、或其他设备上,使得在计算机、其他可编程数据处理装置或其他设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其他可编程数据处理装置、或其他设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process, Thereby, instructions executing on a computer, other programmable data processing apparatus, or other device are caused to carry out the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.

附图中的流程图和框图显示了根据本公开的多个实现的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executables for implementing the specified logical function(s) instruction. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.

以上已经描述了本公开的各实现,上述说明是示例性的,并非穷尽性的,并且也不限于所公开的各实现。在不偏离所说明的各实现的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实现的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文公开的各个实现方式。While various implementations of the present disclosure have been described above, the foregoing description is exemplary, not exhaustive, and not limiting of the disclosed implementations. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The terminology used herein was chosen to best explain the principles of the various implementations, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various implementations disclosed herein.

Claims (20)

CN202210593781.4A2022-05-272022-05-27Method, apparatus, device and storage medium for searchingPendingCN115062216A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210593781.4ACN115062216A (en)2022-05-272022-05-27Method, apparatus, device and storage medium for searching

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210593781.4ACN115062216A (en)2022-05-272022-05-27Method, apparatus, device and storage medium for searching

Publications (1)

Publication NumberPublication Date
CN115062216Atrue CN115062216A (en)2022-09-16

Family

ID=83199079

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210593781.4APendingCN115062216A (en)2022-05-272022-05-27Method, apparatus, device and storage medium for searching

Country Status (1)

CountryLink
CN (1)CN115062216A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116010694A (en)*2023-01-032023-04-25北京字跳网络技术有限公司 Search filter item display method, device, electronic device and storage medium
WO2024107106A1 (en)*2022-11-142024-05-23脸萌有限公司Search interface display method and apparatus, electronic device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140344250A1 (en)*2013-05-202014-11-20Microsoft CorporationEnhanced search refinement for personal information services
CN104933081A (en)*2014-03-212015-09-23阿里巴巴集团控股有限公司Search suggestion providing method and apparatus
CN109918555A (en)*2019-02-202019-06-21百度在线网络技术(北京)有限公司Method, apparatus, equipment and the medium suggested for providing search
CN112214695A (en)*2019-07-122021-01-12北京字节跳动网络技术有限公司Information processing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140344250A1 (en)*2013-05-202014-11-20Microsoft CorporationEnhanced search refinement for personal information services
CN104933081A (en)*2014-03-212015-09-23阿里巴巴集团控股有限公司Search suggestion providing method and apparatus
CN109918555A (en)*2019-02-202019-06-21百度在线网络技术(北京)有限公司Method, apparatus, equipment and the medium suggested for providing search
US20200265094A1 (en)*2019-02-202020-08-20Baidu Online Network Technology (Beijing) Co., Ltd.Methods, devices and media for providing search suggestions
CN112214695A (en)*2019-07-122021-01-12北京字节跳动网络技术有限公司Information processing method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2024107106A1 (en)*2022-11-142024-05-23脸萌有限公司Search interface display method and apparatus, electronic device, and storage medium
CN116010694A (en)*2023-01-032023-04-25北京字跳网络技术有限公司 Search filter item display method, device, electronic device and storage medium
CN116010694B (en)*2023-01-032025-07-08北京字跳网络技术有限公司Search screening item display method and device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
US10394420B2 (en)Computer-implemented method of generating a content recommendation interface
US9613132B2 (en)Method of and system for displaying a plurality of user-selectable refinements to a search query
US9607325B1 (en)Behavior-based item review system
TWI573042B (en)Gesture-based tagging to view related content
US7941429B2 (en)Interface for visually searching and navigating objects
TWI531916B (en)Computing device, computer-storage memories, and method of registration for system level search user interface
US20250036698A1 (en)Linking to a search result
US20140195890A1 (en)Browser interface for accessing supplemental content associated with content pages
CN108763579A (en)Search for content recommendation method, device, terminal device and storage medium
US20140195337A1 (en)Browser interface for accessing supplemental content associated with content pages
US20240045570A1 (en)Method for displaying sidebar, terminal and storage medium
CN111461801A (en) A method and device for generating a page
WO2023169107A1 (en)Method and apparatus for displaying recommended data, and computer device and storage medium
CN115062216A (en)Method, apparatus, device and storage medium for searching
CN116644200A (en) Method, device, device and storage medium for content presentation
WO2022233276A1 (en)Display method and apparatus, and electronic device
CN117608428A (en) Methods, devices, equipment and storage media for page interaction
WO2023193728A1 (en)Search recommendation method and apparatus, device, and storage medium
US11853341B2 (en)Systems and methods for generating interactable elements in text strings relating to media assets
CN118886989A (en) Information display method and computer program product
US12143347B2 (en)Providing a system-generated response in a messaging session
US10380669B2 (en)Product browsing system and method
US20120173553A1 (en)Systems and methods for attribute-based search filtering
CN117519546A (en)Method, apparatus, device and medium for switching recommended mode of media data
CN105260432A (en)Network searching result screening method and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp