WO2019237949A1 - Search method and device - Google Patents

Search method and device Download PDF

Info

Publication number
WO2019237949A1
WO2019237949A1 PCT/CN2019/089436 CN2019089436W WO2019237949A1 WO 2019237949 A1 WO2019237949 A1 WO 2019237949A1 CN 2019089436 W CN2019089436 W CN 2019089436W WO 2019237949 A1 WO2019237949 A1 WO 2019237949A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
dimensions
information
user
search operation
Prior art date
Application number
PCT/CN2019/089436
Other languages
French (fr)
Chinese (zh)
Inventor
王超丕
Original Assignee
钉钉控股(开曼)有限公司
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 钉钉控股(开曼)有限公司 filed Critical 钉钉控股(开曼)有限公司
Publication of WO2019237949A1 publication Critical patent/WO2019237949A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Definitions

  • One or more embodiments of the present specification relate to the field of search technology, and in particular, to a search method and device.
  • search keywords and search result information do not necessarily need to be exactly the same; in fact, users often cannot accurately remember all data information. Therefore, the user only needs to memorize part of the target data, and then perform the search operation using the part of the information as a search keyword, and the search result information may include data associated with the part of the information, and these data may include the above-mentioned target data , May also include other data that has some similarity to the target data.
  • one or more embodiments of the present specification provide a search method and device.
  • a search method including:
  • a search result set is generated, and the comprehensive search result information contained in the search result set is determined by the search operations of the at least two dimensions together.
  • a search apparatus including:
  • An obtaining unit for obtaining a plurality of search keywords input by a user
  • An implementation unit which performs a search operation from at least two dimensions, and the search operation of each dimension is related to at least one search keyword;
  • the generating unit generates a search result set, and the comprehensive search result information contained in the search result set is determined jointly by the search operations of the at least two dimensions.
  • FIG. 1 is a schematic structural diagram of a search system according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a search method according to an exemplary embodiment.
  • FIG. 3 is a schematic diagram of a search interface according to an exemplary embodiment.
  • FIG. 4 is a schematic diagram of another search interface according to an exemplary embodiment.
  • FIG. 5 is a schematic diagram of still another search interface according to an exemplary embodiment.
  • FIG. 6 is a schematic diagram showing a search result set provided by an exemplary embodiment.
  • FIG. 7 is a schematic structural diagram of a device according to an exemplary embodiment.
  • FIG. 8 is a block diagram of a search apparatus according to an exemplary embodiment.
  • the steps of the corresponding method are not necessarily performed in the order shown and described in this specification.
  • the method may include more or fewer steps than described in this specification.
  • a single step described in this specification may be divided into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for other embodiments. description.
  • the search solution of this specification may be applied to electronic devices.
  • the electronic devices may include mobile phones, tablet devices, notebook computers, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, Smart watches, etc.), this manual does not limit this.
  • the electronic device can obtain the search keywords entered by the user through human-computer interaction with the user, and implement corresponding search operations based on the search keywords, and provide the obtained search result set and other information to the user. Show.
  • FIG. 1 is a schematic structural diagram of a search system according to an exemplary embodiment.
  • the system may include a server 11, a network 12, and several electronic devices, such as a mobile phone 13, a mobile phone 14, and a mobile phone 15.
  • the server 11 may be a physical server including an independent host, or the server 11 may be a virtual server carried by a host cluster. In the running process, the server 11 may run a server-side program of an application to be implemented as a server of the application.
  • Mobile phones 13-15 are just one type of electronic device that users can use.
  • users can also use electronic devices such as the following types: tablet devices, notebook computers, PDAs, wearable devices (such as smart glasses, smart watches, etc.), etc., which are not addressed in one or more embodiments of this specification.
  • Limitation During the running process, the electronic device can run a client-side program of an application to be implemented as a client of the application.
  • the client application of the above application can be pre-installed on the electronic device, so that the client can be started and run on the electronic device; of course, when using an online "client” such as HTML5 technology , You can get and run the client without installing the corresponding application on the electronic device.
  • the network 12 for interaction between the mobile phones 13-15 and the server 11 may include various types of wired or wireless networks.
  • the network 12 may include a public switched telephone network (Public Switched Telephone Network, PSTN) and the Internet.
  • PSTN Public Switched Telephone Network
  • the mobile phone 13-15 can be used to implement human-computer interaction with the user to obtain search keywords entered by the user based on the mobile phone 13-15.
  • the mobile phone 13-15 can exchange data with the server 11 through the network 12.
  • the mobile phone 13-15 can inform the server 11 of the search keywords and trigger the server 11 to perform corresponding search operations; on the other hand, the mobile phone 13-15 can Information such as the search result set returned by the server 11 is acquired and provided to the user.
  • FIG. 2 is a flowchart of a search method according to an exemplary embodiment. As shown in FIG. 2, the method is applied to an electronic device (such as the mobile phones 13 to 15 shown in FIG. 1), and may include the following steps:
  • Step 202 Acquire multiple search keywords input by a user.
  • the electronic device may interact with the user in any manner to determine the search keywords the user wishes to enter, which is not limited in this specification.
  • an electronic device can provide an input box to a user so that the user can fill in search keywords into the input box; for another example, the electronic device can collect the voice input by the user and parse the search keywords contained in the voice; for example, electronic The device may provide the user with alternative search keywords, and use the selected alternative search keywords as the search keywords entered by the user, where the alternative search keywords may include search keywords entered in the user ’s history, The most popular search keywords (such as the number of input times, the frequency of inputting the most, etc.) obtained by statistically searching all search keywords entered by users within a period of time.
  • the most popular search keywords such as the number of input times, the frequency of inputting the most, etc.
  • the plurality of search keywords may be input by the user without distinction in the same search interface.
  • the electronic device may show a search interface to the user, and the user may enter multiple search keywords through the search box in the search interface without having to enter multiple search keywords in multiple search interfaces,
  • there is no need to actively calibrate the dimensions corresponding to each search keyword when entering search keywords thereby greatly simplifying user operations. Therefore, when the user does not know or is not sure about the dimensions corresponding to each search keyword, the user can be prevented from spending a lot of time to determine the dimension corresponding to the search keyword, and it can also prevent the user from setting wrong dimensions and causing the search results to be inconsistent. The actual needs of the user.
  • a search box may be included in the same search interface, and the multiple search keywords may be input by the user without distinction in the search box; wherein a plurality of search keywords may be separated by spaces. , Semicolons, etc., to distinguish them from each other.
  • the same search interface may include multiple search boxes, and a user may enter one or more search keywords in each search box, and perform a search operation based on the present specification through all the entered search keywords. .
  • Step 204 Implement a search operation from at least two dimensions, and the search operation of each dimension is related to at least one search keyword.
  • a search result that a user may be interested in can be more accurately searched without requiring the user to browse and find from a large number of search results, which helps simplify user operations, Improve search efficiency.
  • a side-by-side search operation can be implemented from the at least two dimensions, that is, a corresponding search operation is implemented from each dimension, for example, these search operations can be started at the same time, which helps reduce the time spent for the search operation ; Then, matching the search results obtained by each search operation implemented in parallel to obtain the comprehensive search result.
  • a serial search operation may be implemented from the at least two dimensions, and a search object of the subsequent search operation is a search result obtained by the previous search operation.
  • a search operation is implemented from three dimensions, First perform the first search operation of the first dimension (the search object at this time is all data), and apply the search results obtained by the first search operation to the second search operation of the second dimension (the search object at this time is the first search Operation search results), apply the search results obtained by the second search operation to the third search operation in the third dimension (the search object at this time is the search results of the second search operation); then, the last search operation performed
  • the search results are used as the comprehensive search results, so that the matching process of the search results of multiple search operations can be omitted.
  • the search object of the search operation may include name information, content information, associated users, type tags, and the like.
  • the name information may be the contact name
  • the content information may be other contact information such as the email address and phone number other than the contact name
  • the associated user is the owner of the contact information.
  • the type tag can be "contact information"; for another example, when the search object is a file, the name information can be the file name, the content information can be the file content, the associated user can be the uploader of the file, and the type tag can be " file”.
  • the name information, content information, associated users, etc. can automatically read the search object; and the "type tag" can automatically analyze and determine the search object, or can be actively added by the user.
  • the search keywords of the first type may be used to match the type tags of the search object, and the search key of the second type may be used.
  • the word is used to match at least one of name information, content information, and associated users of the search object, so as to realize a search operation in two dimensions, so as to achieve a precise search for the corresponding search object.
  • step 206 a search result set is generated, and the comprehensive search result information contained in the search result set is determined by the search operations of the at least two dimensions together.
  • the search object of the search operation may include at least one of the following types: historical communication messages, contact information, group information, files, group management events, etc., which are not limited in this specification; actual Above, any type of data can be searched in this manual.
  • the electronic device can run a client of the instant messaging application, that is, the electronic device is configured as a client device of the instant messaging application.
  • the client device of the instant messaging application can implement the search scheme shown in FIG. 2.
  • a client with a communication application is running on the mobile phone used by the user.
  • the client can obtain the search keywords entered by the user, and the client triggers a search operation based on the search keywords.
  • the client can directly implement The search operation of the search keywords, or the client provides the search keywords to a server running on the server, and the server performs a search operation based on the search keywords.
  • FIG. 3 is a schematic diagram of a search interface according to an exemplary embodiment.
  • the client of the communication application may present the search interface 300 shown in FIG. 3 to the user.
  • the search interface 300 may include an input box 302 for the user to input search keywords in the input box 302, such as the input box in FIG. 3.
  • 302 includes 2 search keywords "Xiao Zhi" and "File".
  • the user can also input search keywords in other ways, such as voice input, which is not limited in this specification.
  • the client of the communication application may trigger a search operation based on the search keywords in the input box 302 to obtain corresponding search results; wherein, when the input box 302 contains two search keywords of "small blog” and "file” , The client can trigger a multi-dimensional search operation based on the two search keywords "Xiaozhi” and "File", and display the obtained search results in the search interface 300.
  • the search keyword "Xiaozhi” is used to trigger a search operation in the "character” dimension. For example, when the search object contains the character “Xiaozhi”, it can be confirmed that it matches the search keyword "Xiaozhi”.
  • the search keyword "file” is used to trigger a search operation of the "type” dimension, and is used to search for a search object whose type is "file”. Among them, for the search keyword "Xiaozhi", characters such as "Xiaozhi" and its related "xiaozhi" (“Hanzhi”) can be directly searched with the name, content, and related information of the search object. Match to use to determine which search object to match.
  • each search object can be marked with a tag of its type in advance, for example, the search object "meeting minutes.doc” can be marked with a "WORD file” tag, and the search object “example.jpg” can be marked “Image” tags, etc., and "File” can be used to match the tags of individual search objects to determine matching search objects.
  • a search operation based on the search keyword "Xiaozhi” and the search keyword "File” may be implemented in sequence. For example, a search operation based on the search keyword "Xiaozhi” may be implemented first to obtain corresponding search results. Then, a search operation based on the search keyword "file” is performed on the search result, and comprehensive search result information matching both search keywords can be obtained.
  • the comprehensive search result information matching the search keyword “Xiaozhi” and the search keyword “file” is determined through the above search operation, and includes the comprehensive search result information 310 and the comprehensive search as shown in FIG. 3.
  • the result information 320 is a WORD file "Meeting minutes.doc" from the user "Xiaozhi", a PPT file "X Project.ppt” from the user "Zhu Xiaozhi”, and so on.
  • the characters matching the search keywords in the comprehensive search result information 310-320 are highlighted in FIG. 3 to indicate to the user; of course, in other embodiments, it is also possible to use Other than the underline, this specification does not limit this.
  • the embodiments of the present specification can also be applied to perform a multi-dimensional precise search on other types of search objects, and the description does not limit the types of search objects.
  • FIG. 4 is a schematic diagram of another search interface provided by an exemplary embodiment.
  • the search keywords entered by the user in the input box 302 are "Xiaozhi", “XX”, and “Address Book”, which can be triggered based on the search keywords "Xiaozhi” and the search keywords "XX "And the search keyword” Address Book ", for example, the search keywords" Xiazhi "and” XX “are used to trigger the search operation of the" Character "dimension, and the search keyword” Address Book "is used to trigger" Contact Information Search operation for the dimension.
  • the comprehensive search result information 410 and the comprehensive search result information 420 that match the search keywords "Xiazhi", "XX", and "Address Book” are finally obtained, where the comprehensive search result information 410 belongs to " The contact information of the user "Xiaozhi” of the "colleague-XX business department-product ", and the comprehensive search result information 420 is the contact information of the user "Zhu Xiaozhi" belonging to the "external contact-XX project group".
  • FIG. 5 is a schematic diagram of still another search interface according to an exemplary embodiment.
  • the search keywords entered by the user in the input box 302 are “group”, “xiaozhi” and “xiaobai”, and the search keywords “group” and search keyword “ Search operations for "Xizhi” and the search keyword "Xiaobai”, such as the search keyword "group” to trigger a search operation of the "session type” dimension, to search for communication sessions belonging to the "group” type
  • the search keywords "Xiaozhi” and "Xiaobai” are used to trigger a search operation in the "character” dimension, and are used to search for search objects containing "Xiaozhi” and "Xiaobai”.
  • the comprehensive search result information 510 and the comprehensive search result information 520 that match the search keywords “group”, “Xizhi” and “Xiaobai” are finally obtained, where the comprehensive search result information 510 is a group The group “IM All Groups” including “Xiaozhi” and “Xiaobai” in the members, and the comprehensive search result information 520 is a group “Search Team” including "Xiaozhi” and "Xiaobai” in the chat history.
  • the search result set may further include search result information obtained by a single-dimensional search operation that matches all search keywords.
  • FIG. 6 is a schematic diagram of displaying a search result set according to an exemplary embodiment.
  • the embodiment shown in FIG. 6 may further include search result information 610 to 630, and the search result information 610 to 630. It is obtained through a search operation based on the "character" dimension for the search keywords "Xiazhi" and "File".
  • the search result information 610 is a single-chat communication session corresponding to the user "Xiaozhi” and the historical communication message contains the character "file”
  • the search result information 620 is a group chat communication session and group corresponding to the group "IM All Members Group”
  • the historical communication message sent by the group member "Xizhi” contains the character "file”
  • the search result information 630 is a task event initiated by the user "Xizhi", and the subject of the task event contains the character "file”.
  • FIG. 7 is a schematic structural diagram of a device according to an exemplary embodiment. Please refer to FIG. 7.
  • the device includes a processor 702, an internal bus 704, a network interface 706, a memory 708, and a non-volatile memory 710. Of course, it may also include hardware required by other services.
  • the processor 702 reads the corresponding computer program from the non-volatile memory 710 into the memory 708 and then runs it to form a search device on a logical level.
  • one or more embodiments of this specification do not exclude other implementations, such as a logic device or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each A logic unit can also be a hardware or logic device.
  • the search device may include:
  • the implementation unit 802 performs search operations from at least two dimensions, and the search operation of each dimension is related to at least one search keyword.
  • the generating unit 803 generates a search result set, and the comprehensive search result information included in the search result set is determined by the search operations of the at least two dimensions together.
  • the multiple search keywords are input by the user without distinction in the same search interface.
  • implementation unit 802 is specifically configured to:
  • the search results obtained by the search operations performed in parallel are matched to obtain the comprehensive search results.
  • implementation unit 802 is specifically configured to:
  • the search result of the search operation performed last time is taken as the comprehensive search result.
  • the search object of the search operation includes at least one of the following types:
  • the search object of the search operation includes name information, content information, associated users, and type tags; the implementation unit 802 is specifically configured to:
  • the system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or a product with a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or a combination of any of these devices.
  • a computer includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
  • processors CPUs
  • input / output interfaces output interfaces
  • network interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-persistent, removable and non-removable media.
  • Information storage can be accomplished by any method or technology.
  • Information may be computer-readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic disk storage, quantum memory, graphene-based storage media, or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
  • first, second, third, etc. may be used to describe various information in one or more embodiments of the present specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • word “if” as used herein can be interpreted as “at” or "when” or "in response to determination”.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A search method and device, the method comprising: acquiring a plurality of search keywords inputted by a user (202); separately implementing a search operation from at least two dimensions, the search operation of each dimension being associated with at least one search keyword (204); and generating a search result set, comprehensive search result information comprised in the search result set being collectively determined by the search operations of the at least two dimensions (206).

Description

搜索方法及装置Search method and device
本申请要求2018年06月13日递交的申请号为201810606285.1、发明名称为“搜索方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed on June 13, 2018 with an application number of 201810606285.1 and an invention name of "Search Method and Device", the entire contents of which are incorporated herein by reference.
技术领域Technical field
本说明书一个或多个实施例涉及搜索技术领域,尤其涉及一种搜索方法及装置。One or more embodiments of the present specification relate to the field of search technology, and in particular, to a search method and device.
背景技术Background technique
当面对的数据量较大时,用户可以通过设定搜索关键词,基于搜索技术快速确定出匹配于该搜索关键词的搜索结果信息,从而无需对所有数据进行一一查看。When the amount of data is large, users can set search keywords and quickly determine the search result information that matches the search keywords based on the search technology, so there is no need to check all the data one by one.
搜索关键词与搜索结果信息之间并不一定需要完全相同;实际上,用户往往并不能够准确记住所有数据的信息。因此,用户仅需要记住目标数据的部分信息,即可将该部分信息作为搜索关键词实施搜索操作,而搜索结果信息可以包括与该部分信息相关联的数据,这些数据可能包括上述的目标数据,还可能包括与该目标数据具有一定相似性的其他数据。The search keywords and search result information do not necessarily need to be exactly the same; in fact, users often cannot accurately remember all data information. Therefore, the user only needs to memorize part of the target data, and then perform the search operation using the part of the information as a search keyword, and the search result information may include data associated with the part of the information, and these data may include the above-mentioned target data , May also include other data that has some similarity to the target data.
发明内容Summary of the Invention
有鉴于此,本说明书一个或多个实施例提供一种搜索方法及装置。In view of this, one or more embodiments of the present specification provide a search method and device.
为实现上述目的,本说明书一个或多个实施例提供技术方案如下:To achieve the above purpose, one or more embodiments of the present specification provide technical solutions as follows:
根据本说明书一个或多个实施例的第一方面,提出了一种搜索方法,包括:According to a first aspect of one or more embodiments of the present specification, a search method is provided, including:
获取用户输入的多个搜索关键词;Get multiple search keywords entered by the user;
分别从至少两个维度实施搜索操作,每一维度的搜索操作与至少一个搜索关键词相关;Implement search operations from at least two dimensions, each of which is related to at least one search keyword;
生成搜索结果集合,所述搜索结果集合中包含的综合搜素结果信息由所述至少两个维度的搜索操作共同确定得到。A search result set is generated, and the comprehensive search result information contained in the search result set is determined by the search operations of the at least two dimensions together.
根据本说明书一个或多个实施例的第二方面,提出了一种搜索装置,包括:According to a second aspect of one or more embodiments of the present specification, a search apparatus is provided, including:
获取单元,获取用户输入的多个搜索关键词;An obtaining unit for obtaining a plurality of search keywords input by a user;
实施单元,分别从至少两个维度实施搜索操作,每一维度的搜索操作与至少一个搜索关键词相关;An implementation unit, which performs a search operation from at least two dimensions, and the search operation of each dimension is related to at least one search keyword;
生成单元,生成搜索结果集合,所述搜索结果集合中包含的综合搜素结果信息由所 述至少两个维度的搜索操作共同确定得到。The generating unit generates a search result set, and the comprehensive search result information contained in the search result set is determined jointly by the search operations of the at least two dimensions.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是一示例性实施例提供的一种搜索系统的架构示意图。FIG. 1 is a schematic structural diagram of a search system according to an exemplary embodiment.
图2是一示例性实施例提供的一种搜索方法的流程图。FIG. 2 is a flowchart of a search method according to an exemplary embodiment.
图3是一示例性实施例提供的一种搜索界面的示意图。FIG. 3 is a schematic diagram of a search interface according to an exemplary embodiment.
图4是一示例性实施例提供的另一种搜索界面的示意图。FIG. 4 is a schematic diagram of another search interface according to an exemplary embodiment.
图5是一示例性实施例提供的又一种搜索界面的示意图。FIG. 5 is a schematic diagram of still another search interface according to an exemplary embodiment.
图6是一示例性实施例提供的一种搜索结果集合的展示示意图。FIG. 6 is a schematic diagram showing a search result set provided by an exemplary embodiment.
图7是一示例性实施例提供的一种设备的结构示意图。FIG. 7 is a schematic structural diagram of a device according to an exemplary embodiment.
图8是一示例性实施例提供的一种搜索装置的框图。FIG. 8 is a block diagram of a search apparatus according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail here, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of the specification, as detailed in the appended claims.
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。It should be noted that, in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. In addition, a single step described in this specification may be divided into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for other embodiments. description.
在一实施例中,本说明书的搜索方案可以应用于电子设备中,例如该电子设备可以包括手机、平板设备、笔记本电脑、掌上电脑(PDAs,Personal Digital Assistants)、可穿戴设备(如智能眼镜、智能手表等)等任意类型,本说明书并不对此进行限制。在运行过程中,该电子设备可以通过与用户之间的人机交互,获取用户输入的搜索关键词,并基于该搜索关键词实施相应的搜索操作,将得到的搜索结果集合等信息向用户进行展示。In one embodiment, the search solution of this specification may be applied to electronic devices. For example, the electronic devices may include mobile phones, tablet devices, notebook computers, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, Smart watches, etc.), this manual does not limit this. During operation, the electronic device can obtain the search keywords entered by the user through human-computer interaction with the user, and implement corresponding search operations based on the search keywords, and provide the obtained search result set and other information to the user. Show.
在另一实施例中,图1是一示例性实施例提供的一种搜索系统的架构示意图。如图 1所示,该系统可以包括服务器11、网络12、若干电子设备,比如手机13、手机14和手机15等。In another embodiment, FIG. 1 is a schematic structural diagram of a search system according to an exemplary embodiment. As shown in FIG. 1, the system may include a server 11, a network 12, and several electronic devices, such as a mobile phone 13, a mobile phone 14, and a mobile phone 15.
服务器11可以为包含一独立主机的物理服务器,或者该服务器11可以为主机集群承载的虚拟服务器。在运行过程中,服务器11可以运行某一应用的服务器侧的程序,以实现为该应用的服务端。The server 11 may be a physical server including an independent host, or the server 11 may be a virtual server carried by a host cluster. In the running process, the server 11 may run a server-side program of an application to be implemented as a server of the application.
手机13-15只是用户可以使用的一种类型的电子设备。实际上,用户显然还可以使用诸如下述类型的电子设备:平板设备、笔记本电脑、掌上电脑、可穿戴设备(如智能眼镜、智能手表等)等,本说明书一个或多个实施例并不对此进行限制。在运行过程中,该电子设备可以运行某一应用的客户端侧的程序,以实现为该应用的客户端。需要指出的是:上述应用的客户端的应用程序可以被预先安装在电子设备上,使得该客户端可以在该电子设备上被启动并运行;当然,当采用诸如HTML5技术的在线“客户端”时,无需在电子设备上安装相应的应用程序,即可获得并运行该客户端。Mobile phones 13-15 are just one type of electronic device that users can use. In fact, it is obvious that users can also use electronic devices such as the following types: tablet devices, notebook computers, PDAs, wearable devices (such as smart glasses, smart watches, etc.), etc., which are not addressed in one or more embodiments of this specification. Limitation. During the running process, the electronic device can run a client-side program of an application to be implemented as a client of the application. It should be noted that the client application of the above application can be pre-installed on the electronic device, so that the client can be started and run on the electronic device; of course, when using an online "client" such as HTML5 technology , You can get and run the client without installing the corresponding application on the electronic device.
而对于手机13-15与服务器11之间进行交互的网络12,可以包括多种类型的有线或无线网络。在一实施例中,该网络12可以包括公共交换电话网络(Public Switched Telephone Network,PSTN)和因特网。The network 12 for interaction between the mobile phones 13-15 and the server 11 may include various types of wired or wireless networks. In an embodiment, the network 12 may include a public switched telephone network (Public Switched Telephone Network, PSTN) and the Internet.
在运行过程中,手机13-15可以用于实现与用户之间的人机交互,以获取用户基于该手机13-15输入的搜索关键词。手机13-15可以与服务器11之间通过网络12实现数据交互,从而一方面手机13-15可以将搜索关键词告知服务器11,触发服务器11实施相应的搜索操作,另一方面手机13-15可以获取服务器11返回的搜索结果集合等信息,并提供至上述用户。During operation, the mobile phone 13-15 can be used to implement human-computer interaction with the user to obtain search keywords entered by the user based on the mobile phone 13-15. The mobile phone 13-15 can exchange data with the server 11 through the network 12. Thus, on the one hand, the mobile phone 13-15 can inform the server 11 of the search keywords and trigger the server 11 to perform corresponding search operations; on the other hand, the mobile phone 13-15 can Information such as the search result set returned by the server 11 is acquired and provided to the user.
图2是一示例性实施例提供的一种搜索方法的流程图。如图2所示,该方法应用于电子设备(例如图1所示的手机13~15等),可以包括以下步骤:FIG. 2 is a flowchart of a search method according to an exemplary embodiment. As shown in FIG. 2, the method is applied to an electronic device (such as the mobile phones 13 to 15 shown in FIG. 1), and may include the following steps:
步骤202,获取用户输入的多个搜索关键词。Step 202: Acquire multiple search keywords input by a user.
在一实施例中,电子设备可以通过任意方式与用户实现交互,以确定用户希望输入的搜索关键词,本说明书并不对此进行限制。例如,电子设备可以向用户提供输入框,使得用户可以向该输入框内填写搜索关键词;再例如,电子设备可以采集用户输入的语音,并解析该语音包含的搜索关键词;又例如,电子设备可以向用户提供备选搜索关键词,并将被选中的备选搜索关键词作为该用户输入的搜索关键词,其中备选搜索关键词可以包括该用户历史上输入的搜索关键词、对最近一时间段内所有用户输入的搜索关键词进行统计得到的最热门搜索关键词(比如输入次数最多、输入频率最大等)等。In an embodiment, the electronic device may interact with the user in any manner to determine the search keywords the user wishes to enter, which is not limited in this specification. For example, an electronic device can provide an input box to a user so that the user can fill in search keywords into the input box; for another example, the electronic device can collect the voice input by the user and parse the search keywords contained in the voice; for example, electronic The device may provide the user with alternative search keywords, and use the selected alternative search keywords as the search keywords entered by the user, where the alternative search keywords may include search keywords entered in the user ’s history, The most popular search keywords (such as the number of input times, the frequency of inputting the most, etc.) obtained by statistically searching all search keywords entered by users within a period of time.
在一实施例中,所述多个搜索关键词可以由所述用户在同一搜索界面中无差别地输入。例如,电子设备可以向用户示出一搜索界面,而该用户可以通过该搜索界面中的搜索框输入多个搜索关键词,而并不需要分别在多个搜索界面中输入多个搜索关键词,尤其是不需要在输入搜索关键词时主动标定各个搜索关键词对应的维度,从而极大地简化用户操作。因此,当用户并不清楚或并不确定各个搜索关键词对应的维度时,可以避免用户花费大量时间来确定搜索关键词对应的维度,也可以避免用户对维度设定错误而导致搜索结果不符合用户的实际需求。In an embodiment, the plurality of search keywords may be input by the user without distinction in the same search interface. For example, the electronic device may show a search interface to the user, and the user may enter multiple search keywords through the search box in the search interface without having to enter multiple search keywords in multiple search interfaces, In particular, there is no need to actively calibrate the dimensions corresponding to each search keyword when entering search keywords, thereby greatly simplifying user operations. Therefore, when the user does not know or is not sure about the dimensions corresponding to each search keyword, the user can be prevented from spending a lot of time to determine the dimension corresponding to the search keyword, and it can also prevent the user from setting wrong dimensions and causing the search results to be inconsistent. The actual needs of the user.
在一实施例中,同一搜索界面中可以包含一个搜索框,所述多个搜索关键词可以由所述用户在该搜索框中无差别地输入;其中,多个搜索关键词之间可以通过空格、分号等隔开,以用于相互区分。In an embodiment, a search box may be included in the same search interface, and the multiple search keywords may be input by the user without distinction in the search box; wherein a plurality of search keywords may be separated by spaces. , Semicolons, etc., to distinguish them from each other.
在一实施例中,同一搜索界面中可以包含多个搜索框,用户可以在每个搜索框中输入一个或多个搜索关键词,并通过所有已输入的搜索关键词实施基于本说明书的搜索操作。In an embodiment, the same search interface may include multiple search boxes, and a user may enter one or more search keywords in each search box, and perform a search operation based on the present specification through all the entered search keywords. .
步骤204,分别从至少两个维度实施搜索操作,每一维度的搜索操作与至少一个搜索关键词相关。Step 204: Implement a search operation from at least two dimensions, and the search operation of each dimension is related to at least one search keyword.
在一实施例中,通过从至少两个维度实施搜索操作,可以更加精准地搜索到用户可能感兴趣的搜索结果,无需用户从大量搜索结果中进行翻看和查找,有助于简化用户操作、提升搜索效率。In an embodiment, by implementing a search operation from at least two dimensions, a search result that a user may be interested in can be more accurately searched without requiring the user to browse and find from a large number of search results, which helps simplify user operations, Improve search efficiency.
在一实施例中,可以从所述至少两个维度实施并列的搜索操作,即分别从各个维度实施相应的搜索操作,比如这些搜索操作可以在同一时刻启动,有助于缩短搜索操作的消耗时长;然后,通过对并列实施的各个搜索操作分别得到的搜索结果进行匹配,得到所述综合搜索结果。In an embodiment, a side-by-side search operation can be implemented from the at least two dimensions, that is, a corresponding search operation is implemented from each dimension, for example, these search operations can be started at the same time, which helps reduce the time spent for the search operation ; Then, matching the search results obtained by each search operation implemented in parallel to obtain the comprehensive search result.
在一实施例中,可以从所述至少两个维度实施串行的搜索操作,其中后一搜索操作的搜索对象为前一搜索操作得到的搜索结果,比如从三个维度实施搜索操作时,可以首先实施第一维度的第一搜索操作(此时的搜索对象为全部数据)、将第一搜索操作得到的搜索结果应用于第二维度的第二搜索操作(此时的搜索对象为第一搜索操作的搜索结果)、将第二搜索操作得到的搜索结果应用于第三维度的第三搜索操作(此时的搜索对象为第二搜索操作的搜索结果);然后,将最后一次实施的搜索操作的搜索结果作为所述综合搜索结果,这样可以省去对多次搜索操作的搜索结果的匹配过程。In an embodiment, a serial search operation may be implemented from the at least two dimensions, and a search object of the subsequent search operation is a search result obtained by the previous search operation. For example, when a search operation is implemented from three dimensions, First perform the first search operation of the first dimension (the search object at this time is all data), and apply the search results obtained by the first search operation to the second search operation of the second dimension (the search object at this time is the first search Operation search results), apply the search results obtained by the second search operation to the third search operation in the third dimension (the search object at this time is the search results of the second search operation); then, the last search operation performed The search results are used as the comprehensive search results, so that the matching process of the search results of multiple search operations can be omitted.
在一实施例中,所述搜索操作的搜索对象可以包括名称信息、内容信息、关联用户 和类型标签等。例如,当搜索对象为联系人信息时,名称信息可以为联系人姓名,内容信息可以为联系人姓名之外的邮箱地址、电话号码等其他联系人信息,关联用户为该联系人信息的所有者,类型标签可以为“联系人信息”;再例如,当搜索对象为文件时,名称信息可以为文件名称,内容信息可以为文件内容,关联用户可以为该文件的上传者,类型标签可以为“文件”。其中,名称信息、内容信息、关联用户等可以自动对搜索对象进行读取;而“类型标签”可以自动对搜索对象进行分析确定,也可以由用户主动添加。In an embodiment, the search object of the search operation may include name information, content information, associated users, type tags, and the like. For example, when the search object is contact information, the name information may be the contact name, the content information may be other contact information such as the email address and phone number other than the contact name, and the associated user is the owner of the contact information. , The type tag can be "contact information"; for another example, when the search object is a file, the name information can be the file name, the content information can be the file content, the associated user can be the uploader of the file, and the type tag can be " file". Among them, the name information, content information, associated users, etc. can automatically read the search object; and the "type tag" can automatically analyze and determine the search object, or can be actively added by the user.
在一实施例中,当搜索对象包括名称信息、内容信息和类型标签时,可以将第一类的搜索关键词用于与所述搜索对象的类型标签进行匹配,以及将第二类的搜索关键词用于与所述搜索对象的名称信息、内容信息和关联用户中至少之一进行匹配,从而实现两个维度的搜索操作,以对相应的搜索对象实现精准搜索。In an embodiment, when the search object includes name information, content information, and a type tag, the search keywords of the first type may be used to match the type tags of the search object, and the search key of the second type may be used. The word is used to match at least one of name information, content information, and associated users of the search object, so as to realize a search operation in two dimensions, so as to achieve a precise search for the corresponding search object.
步骤206,生成搜索结果集合,所述搜索结果集合中包含的综合搜素结果信息由所述至少两个维度的搜索操作共同确定得到。In step 206, a search result set is generated, and the comprehensive search result information contained in the search result set is determined by the search operations of the at least two dimensions together.
在一实施例中,所述搜索操作的搜索对象可以包括以下类型中至少之一:历史通讯消息、联系人信息、群组信息、文件、团体管理事件等,本说明书并不对此进行限制;实际上,任何类型的数据均可以作为本说明书中的搜索对象。In an embodiment, the search object of the search operation may include at least one of the following types: historical communication messages, contact information, group information, files, group management events, etc., which are not limited in this specification; actual Above, any type of data can be searched in this manual.
在一实施例中,电子设备可以运行即时通讯应用的客户端,即该电子设备被配置为该即时通讯应用的客户端设备。而通过对该即时通讯应用进行功能改进,使得该即时通讯应用的客户端设备可以实现图2所示的搜索方案。In one embodiment, the electronic device can run a client of the instant messaging application, that is, the electronic device is configured as a client device of the instant messaging application. By improving the function of the instant messaging application, the client device of the instant messaging application can implement the search scheme shown in FIG. 2.
为了便于理解,以通讯应用中的信息搜索为例,对本说明书一个或多个实施例的技术方案进行说明。假定用户使用的手机上运行有通讯应用的客户端,该客户端可以获取用户输入的搜索关键词,并由该客户端触发基于该搜索关键词的搜索操作;其中,上述客户端可以直接实施基于该搜索关键词的搜索操作,或者由该客户端将搜索关键词提供至服务器上运行的服务端、由该服务端实施基于该搜索关键词的搜索操作。In order to facilitate understanding, the technical solution of one or more embodiments of this specification is described by taking information search in a communication application as an example. Assume that a client with a communication application is running on the mobile phone used by the user. The client can obtain the search keywords entered by the user, and the client triggers a search operation based on the search keywords. Among them, the client can directly implement The search operation of the search keywords, or the client provides the search keywords to a server running on the server, and the server performs a search operation based on the search keywords.
图3是一示例性实施例提供的一种搜索界面的示意图。通讯应用的客户端可以向用户呈现如图3所示的搜索界面300,该搜索界面300可以包括输入框302,以供用户在该输入框302中输入搜索关键词,比如图3中的输入框302内包括2个搜索关键词为“小志”和“文件”。当然,除了输入框302之外,用户还可以通过其他方式输入搜索关键词,比如语音输入等,本说明书并不对此进行限制。FIG. 3 is a schematic diagram of a search interface according to an exemplary embodiment. The client of the communication application may present the search interface 300 shown in FIG. 3 to the user. The search interface 300 may include an input box 302 for the user to input search keywords in the input box 302, such as the input box in FIG. 3. 302 includes 2 search keywords "Xiao Zhi" and "File". Of course, in addition to the input box 302, the user can also input search keywords in other ways, such as voice input, which is not limited in this specification.
通讯应用的客户端可以触发基于输入框302中的搜索关键词的搜索操作,以得到相 应的搜索结果;其中,当输入框302中包含“小志”和“文件”这两个搜索关键词时,该客户端可以分别触发基于这两个搜索关键词“小志”和“文件”的多维度搜索操作,并将得到的搜索结果展示于搜索界面300中。The client of the communication application may trigger a search operation based on the search keywords in the input box 302 to obtain corresponding search results; wherein, when the input box 302 contains two search keywords of "small blog" and "file" , The client can trigger a multi-dimensional search operation based on the two search keywords "Xiaozhi" and "File", and display the obtained search results in the search interface 300.
在一实施例中,搜索关键词“小志”用于触发“字符”维度的搜索操作,比如当搜索对象包含字符“小志”时,可以确认为匹配于该搜索关键词“小志”。搜索关键词“文件”用于触发“类型”维度的搜索操作,以用于搜索处类型为“文件”的搜索对象。其中,对于搜索关键词“小志”而言,可以直接将“小志”及其相关的“xiaozhi”(“小志”的汉语拼音)等字符与搜索对象的名称、内容、关联信息等进行匹配,以用于确定匹配的搜索对象。对于搜索关键词“文件”而言,各个搜索对象可以预先标记有所属类型的标签,比如搜索对象“会议纪要.doc”可以被标记“WORD文件”标签、搜索对象“示例.jpg”可以被标记“图片”标签等,而“文件”可以用于与各个搜索对象的标签进行匹配,以确定匹配的搜索对象。In one embodiment, the search keyword "Xiaozhi" is used to trigger a search operation in the "character" dimension. For example, when the search object contains the character "Xiaozhi", it can be confirmed that it matches the search keyword "Xiaozhi". The search keyword "file" is used to trigger a search operation of the "type" dimension, and is used to search for a search object whose type is "file". Among them, for the search keyword "Xiaozhi", characters such as "Xiaozhi" and its related "xiaozhi" ("Hanzhi") can be directly searched with the name, content, and related information of the search object. Match to use to determine which search object to match. For the search keyword "file", each search object can be marked with a tag of its type in advance, for example, the search object "meeting minutes.doc" can be marked with a "WORD file" tag, and the search object "example.jpg" can be marked "Image" tags, etc., and "File" can be used to match the tags of individual search objects to determine matching search objects.
在一种情况下,可以分别实施基于搜索关键词“小志”和搜索关键词“文件”的搜索操作,然后通过对两次搜索操作分别得到的搜索结果进行综合处理,即可得到同时匹配于这两个搜索关键词的综合搜索结果信息。在另一种情况下,可以依次实施基于搜索关键词“小志”和搜索关键词“文件”的搜索操作,比如首先实施基于搜索关键词“小志”的搜索操作,得到相应的搜索结果,然后再针对该搜索结果实施基于搜索关键词“文件”的搜索操作,即可得到同时匹配于这两个搜索关键词的综合搜索结果信息。In one case, you can implement a search operation based on the search keyword "Xiaozhi" and the search keyword "File", and then by comprehensively processing the search results obtained by the two search operations, you can get simultaneous matching Comprehensive search result information for these two search keywords. In another case, a search operation based on the search keyword "Xiaozhi" and a search keyword "File" may be implemented in sequence. For example, a search operation based on the search keyword "Xiaozhi" may be implemented first to obtain corresponding search results. Then, a search operation based on the search keyword "file" is performed on the search result, and comprehensive search result information matching both search keywords can be obtained.
在一实施例中,假定通过上述搜索操作确定出匹配于搜索关键词“小志”和搜索关键词“文件”的综合搜索结果信息,包括如图3所示的综合搜索结果信息310和综合搜索结果信息320,分别为来自用户“小志”的WORD文件“会议纪要.doc”、来自用户“朱小志”的PPT文件“X项目.ppt”等。In an embodiment, it is assumed that the comprehensive search result information matching the search keyword “Xiaozhi” and the search keyword “file” is determined through the above search operation, and includes the comprehensive search result information 310 and the comprehensive search as shown in FIG. 3. The result information 320 is a WORD file "Meeting minutes.doc" from the user "Xiaozhi", a PPT file "X Project.ppt" from the user "Zhu Xiaozhi", and so on.
在一实施例中,对于综合搜索结果信息310-320中匹配于搜索关键词的字符,图3中采用下划线的方式予以突出显示,以向用户进行提示;当然,在其他实施例中还可以采用除下划线之外的其他显示方式,本说明书并不对此进行限制。In one embodiment, the characters matching the search keywords in the comprehensive search result information 310-320 are highlighted in FIG. 3 to indicate to the user; of course, in other embodiments, it is also possible to use Other than the underline, this specification does not limit this.
除了“文件”类型之外,本说明书的实施例还可以应用于对其他类型的搜索对象实施多维度的精准搜索,本说明书并不限制搜索对象的类型。In addition to the "file" type, the embodiments of the present specification can also be applied to perform a multi-dimensional precise search on other types of search objects, and the description does not limit the types of search objects.
例如,图4是一示例性实施例提供的另一种搜索界面的示意图。如图4所示,假定用户在输入框302中输入的搜索关键词为“小志”、“XX”和“通讯录”,可以分别触发基于搜索关键词“小志”、搜索关键词“XX”和搜索关键词“通讯录”的搜索操作, 比如搜索关键词“小志”、“XX”用于触发“字符”维度的搜索操作,搜索关键词“通讯录”用于触发“联系人信息”维度的搜索操作。在一实施例中,假定最终得到匹配于搜索关键词“小志”、“XX”和“通讯录”的综合搜索结果信息410和综合搜索结果信息420,其中综合搜索结果信息410是归属于“同事-XX事业部-产品…”的用户“小志”的联系人信息,综合搜索结果信息420是归属于“外部联系人-XX项目组”的用户“朱小志”的联系人信息。For example, FIG. 4 is a schematic diagram of another search interface provided by an exemplary embodiment. As shown in FIG. 4, it is assumed that the search keywords entered by the user in the input box 302 are "Xiaozhi", "XX", and "Address Book", which can be triggered based on the search keywords "Xiaozhi" and the search keywords "XX "And the search keyword" Address Book ", for example, the search keywords" Xiazhi "and" XX "are used to trigger the search operation of the" Character "dimension, and the search keyword" Address Book "is used to trigger" Contact Information Search operation for the dimension. In an embodiment, it is assumed that the comprehensive search result information 410 and the comprehensive search result information 420 that match the search keywords "Xiazhi", "XX", and "Address Book" are finally obtained, where the comprehensive search result information 410 belongs to " The contact information of the user "Xiaozhi" of the "colleague-XX business department-product ...", and the comprehensive search result information 420 is the contact information of the user "Zhu Xiaozhi" belonging to the "external contact-XX project group".
再例如,图5是一示例性实施例提供的又一种搜索界面的示意图。如图5所示,假定用户在输入框302中输入的搜索关键词为“群组”、“小志”和“小白”,可以分别触发基于搜索关键词“群组”、搜索关键词“小志”和搜索关键词“小白”的搜索操作,比如搜索关键词“群组”用于触发“会话类型”维度的搜索操作、以用于搜索归属于“群组”类型的通讯会话,搜索关键词“小志”、“小白”用于触发“字符”维度的搜索操作、以用于搜索包含“小志”和“小白”的搜索对象。在一实施例中,假定最终得到匹配于搜索关键词“群组”、“小志”和“小白”的综合搜索结果信息510和综合搜索结果信息520,其中综合搜索结果信息510是群组成员中包含“小志”和“小白”的群组“IM全员群”,综合搜索结果信息520是聊天记录中包含“小志”和“小白”的群组“搜索小分队”。For another example, FIG. 5 is a schematic diagram of still another search interface according to an exemplary embodiment. As shown in FIG. 5, it is assumed that the search keywords entered by the user in the input box 302 are “group”, “xiaozhi” and “xiaobai”, and the search keywords “group” and search keyword “ Search operations for "Xizhi" and the search keyword "Xiaobai", such as the search keyword "group" to trigger a search operation of the "session type" dimension, to search for communication sessions belonging to the "group" type, The search keywords "Xiaozhi" and "Xiaobai" are used to trigger a search operation in the "character" dimension, and are used to search for search objects containing "Xiaozhi" and "Xiaobai". In an embodiment, it is assumed that the comprehensive search result information 510 and the comprehensive search result information 520 that match the search keywords “group”, “Xizhi” and “Xiaobai” are finally obtained, where the comprehensive search result information 510 is a group The group "IM All Groups" including "Xiaozhi" and "Xiaobai" in the members, and the comprehensive search result information 520 is a group "Search Team" including "Xiaozhi" and "Xiaobai" in the chat history.
在一实施例中,除了基于多维度的搜索操作得到的综合搜索结果信息,搜索结果集合中还可以包括匹配于所有搜索关键词、基于单个维度的搜索操作得到的搜索结果信息。例如,图6是一示例性实施例提供的一种搜索结果集合的展示示意图。在图3所示实施例的基础上,除了对综合搜索结果信息310-320进行展示之外,图6所示的实施例还可以包括搜索结果信息610~630等,该搜索结果信息610~630是通过基于“字符”维度实施的、针对搜索关键词“小志”和“文件”的搜索操作而得到的。其中,搜索结果信息610为用户“小志”对应的单聊通讯会话且历史通讯消息中包含字符“文件”,搜索结果信息620为群组“IM全员群”对应的群聊通讯会话、群组成员“小志”发送的历史通讯消息中包含字符“文件”,搜索结果信息630为用户“小志”发起的任务事件、该任务事件的主题中包含字符“文件”。In one embodiment, in addition to the comprehensive search result information obtained based on a multi-dimensional search operation, the search result set may further include search result information obtained by a single-dimensional search operation that matches all search keywords. For example, FIG. 6 is a schematic diagram of displaying a search result set according to an exemplary embodiment. On the basis of the embodiment shown in FIG. 3, in addition to displaying the comprehensive search result information 310-320, the embodiment shown in FIG. 6 may further include search result information 610 to 630, and the search result information 610 to 630. It is obtained through a search operation based on the "character" dimension for the search keywords "Xiazhi" and "File". The search result information 610 is a single-chat communication session corresponding to the user "Xiaozhi" and the historical communication message contains the character "file", and the search result information 620 is a group chat communication session and group corresponding to the group "IM All Members Group" The historical communication message sent by the group member "Xizhi" contains the character "file", and the search result information 630 is a task event initiated by the user "Xizhi", and the subject of the task event contains the character "file".
图7是一示例性实施例提供的一种设备的示意结构图。请参考图7,在硬件层面,该设备包括处理器702、内部总线704、网络接口706、内存708以及非易失性存储器710,当然还可能包括其他业务所需要的硬件。处理器702从非易失性存储器710中读取对应的计算机程序到内存708中然后运行,在逻辑层面上形成搜索装置。当然,除了软件实 现方式之外,本说明书一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。FIG. 7 is a schematic structural diagram of a device according to an exemplary embodiment. Please refer to FIG. 7. At the hardware level, the device includes a processor 702, an internal bus 704, a network interface 706, a memory 708, and a non-volatile memory 710. Of course, it may also include hardware required by other services. The processor 702 reads the corresponding computer program from the non-volatile memory 710 into the memory 708 and then runs it to form a search device on a logical level. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as a logic device or a combination of software and hardware, etc., which means that the execution body of the following processing flow is not limited to each A logic unit can also be a hardware or logic device.
请参考图8,在软件实施方式中,该搜索装置可以包括:Please refer to FIG. 8. In a software implementation, the search device may include:
获取单元801,获取用户输入的多个搜索关键词;An obtaining unit 801, obtaining a plurality of search keywords input by a user;
实施单元802,分别从至少两个维度实施搜索操作,每一维度的搜索操作与至少一个搜索关键词相关;The implementation unit 802 performs search operations from at least two dimensions, and the search operation of each dimension is related to at least one search keyword.
生成单元803,生成搜索结果集合,所述搜索结果集合中包含的综合搜素结果信息由所述至少两个维度的搜索操作共同确定得到。The generating unit 803 generates a search result set, and the comprehensive search result information included in the search result set is determined by the search operations of the at least two dimensions together.
可选的,所述多个搜索关键词由所述用户在同一搜索界面中无差别地输入。Optionally, the multiple search keywords are input by the user without distinction in the same search interface.
可选的,所述实施单元802具体用于:Optionally, the implementation unit 802 is specifically configured to:
从所述至少两个维度实施并列的搜索操作;Performing a side-by-side search operation from the at least two dimensions;
对并列实施的各个搜索操作分别得到的搜索结果进行匹配,得到所述综合搜索结果。The search results obtained by the search operations performed in parallel are matched to obtain the comprehensive search results.
可选的,所述实施单元802具体用于:Optionally, the implementation unit 802 is specifically configured to:
从所述至少两个维度实施串行的搜索操作,其中后一搜索操作的搜索对象为前一搜索操作得到的搜索结果;Implementing a serial search operation from the at least two dimensions, wherein a search object of the subsequent search operation is a search result obtained by the previous search operation;
将最后一次实施的搜索操作的搜索结果作为所述综合搜索结果。The search result of the search operation performed last time is taken as the comprehensive search result.
可选的,所述搜索操作的搜索对象包括以下类型中至少之一:Optionally, the search object of the search operation includes at least one of the following types:
历史通讯消息、联系人信息、群组信息、文件、团体管理事件。Historical communication messages, contact information, group information, files, group management events.
可选的,所述搜索操作的搜索对象包括名称信息、内容信息、关联用户和类型标签;所述实施单元802具体用于:Optionally, the search object of the search operation includes name information, content information, associated users, and type tags; the implementation unit 802 is specifically configured to:
将第一类的搜索关键词用于与所述搜索对象的类型标签进行匹配,以及将第二类的搜索关键词用于与所述搜索对象的名称信息、内容信息和关联用户中至少之一进行匹配。Using a search keyword of the first type for matching with a type tag of the search object, and using a search keyword of the second type for at least one of name information, content information, and an associated user of the search object Make a match.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or a product with a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or a combination of any of these devices.
在一个典型的配置中,计算机包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computer includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带、磁盘存储、量子存储器、基于石墨烯的存储介质或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-persistent, removable and non-removable media. Information storage can be accomplished by any method or technology. Information may be computer-readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic disk storage, quantum memory, graphene-based storage media, or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined herein, computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "including", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product, or device that includes a series of elements includes not only those elements, but also Other elements not explicitly listed, or those that are inherent to such a process, method, product, or device. Without more restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, product or equipment including the elements.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The specific embodiments of the present specification have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and the desired result may still be achieved. In addition, the processes depicted in the figures do not necessarily require the particular order shown or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在本说明书一个或多个实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only, and is not intended to limit one or more embodiments of this specification. The singular forms "a," "the," and "the" as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
应当理解,尽管在本说明书一个或多个实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一信息也可以被 称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of the present specification, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present specification, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "at" or "when" or "in response to determination".
以上所述仅为本说明书一个或多个实施例的较佳实施例而已,并不用以限制本说明书一个或多个实施例,凡在本说明书一个或多个实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例保护的范围之内。The above descriptions are merely preferred embodiments of one or more embodiments of the present specification, and are not intended to limit one or more embodiments of the present specification. Wherever within the spirit and principle of one or more embodiments of the present specification, Any modification, equivalent replacement, improvement, etc. should be included in the protection scope of one or more embodiments of the present specification.

Claims (14)

  1. 一种搜索方法,其特征在于,包括:A search method, comprising:
    获取用户输入的多个搜索关键词;Get multiple search keywords entered by the user;
    分别从至少两个维度实施搜索操作,每一维度的搜索操作与至少一个搜索关键词相关;Implement search operations from at least two dimensions, each of which is related to at least one search keyword;
    生成搜索结果集合,所述搜索结果集合中包含的综合搜素结果信息由所述至少两个维度的搜索操作共同确定得到。A search result set is generated, and the comprehensive search result information contained in the search result set is determined by the search operations of the at least two dimensions together.
  2. 根据权利要求1所述的方法,其特征在于,所述多个搜索关键词由所述用户在同一搜索界面中无差别地输入。The method according to claim 1, wherein the plurality of search keywords are input by the user without distinction in the same search interface.
  3. 根据权利要求1所述的方法,其特征在于,所述分别从至少两个维度实施搜索操作,包括:The method according to claim 1, wherein the performing a search operation from at least two dimensions comprises:
    从所述至少两个维度实施并列的搜索操作;Performing a side-by-side search operation from the at least two dimensions;
    对并列实施的各个搜索操作分别得到的搜索结果进行匹配,得到所述综合搜索结果。The search results obtained by the search operations performed in parallel are matched to obtain the comprehensive search results.
  4. 根据权利要求1所述的方法,其特征在于,所述分别从至少两个维度实施搜索操作,包括:The method according to claim 1, wherein the performing a search operation from at least two dimensions comprises:
    从所述至少两个维度实施串行的搜索操作,其中后一搜索操作的搜索对象为前一搜索操作得到的搜索结果;Implementing a serial search operation from the at least two dimensions, wherein a search object of the subsequent search operation is a search result obtained by the previous search operation;
    将最后一次实施的搜索操作的搜索结果作为所述综合搜索结果。The search result of the search operation performed last time is taken as the comprehensive search result.
  5. 根据权利要求1所述的方法,其特征在于,所述搜索操作的搜索对象包括以下类型中至少之一:The method according to claim 1, wherein the search object of the search operation includes at least one of the following types:
    历史通讯消息、联系人信息、群组信息、文件、团体管理事件。Historical communication messages, contact information, group information, files, group management events.
  6. 根据权利要求1所述的方法,其特征在于,所述搜索操作的搜索对象包括名称信息、内容信息、关联用户和类型标签;所述分别从至少两个维度实施搜索操作,包括:The method according to claim 1, wherein the search object of the search operation includes name information, content information, associated users, and type tags; and implementing the search operation from at least two dimensions, respectively:
    将第一类的搜索关键词用于与所述搜索对象的类型标签进行匹配,以及将第二类的搜索关键词用于与所述搜索对象的名称信息、内容信息和关联用户中至少之一进行匹配。Using a search keyword of the first type for matching with a type tag of the search object, and using a search keyword of the second type for at least one of name information, content information, and an associated user of the search object Make a match.
  7. 根据权利要求1所述的方法,其特征在于,所述方法应用于即时通讯应用的客户端设备。The method according to claim 1, wherein the method is applied to a client device of an instant messaging application.
  8. 一种搜索装置,其特征在于,包括:A search device, comprising:
    获取单元,获取用户输入的多个搜索关键词;An obtaining unit for obtaining a plurality of search keywords input by a user;
    实施单元,分别从至少两个维度实施搜索操作,每一维度的搜索操作与至少一个搜索关键词相关;An implementation unit, which performs a search operation from at least two dimensions, and the search operation of each dimension is related to at least one search keyword;
    生成单元,生成搜索结果集合,所述搜索结果集合中包含的综合搜素结果信息由所述至少两个维度的搜索操作共同确定得到。The generating unit generates a search result set, and the comprehensive search result information contained in the search result set is determined by the search operations of the at least two dimensions together.
  9. 根据权利要求8所述的装置,其特征在于,所述多个搜索关键词由所述用户在同一搜索界面中无差别地输入。The device according to claim 8, wherein the plurality of search keywords are input by the user without distinction in the same search interface.
  10. 根据权利要求8所述的装置,其特征在于,所述实施单元具体用于:The apparatus according to claim 8, wherein the implementation unit is specifically configured to:
    从所述至少两个维度实施并列的搜索操作;Performing a side-by-side search operation from the at least two dimensions;
    对并列实施的各个搜索操作分别得到的搜索结果进行匹配,得到所述综合搜索结果。The search results obtained by the search operations performed in parallel are matched to obtain the comprehensive search results.
  11. 根据权利要求8所述的装置,其特征在于,所述实施单元具体用于:The apparatus according to claim 8, wherein the implementation unit is specifically configured to:
    从所述至少两个维度实施串行的搜索操作,其中后一搜索操作的搜索对象为前一搜索操作得到的搜索结果;Implementing a serial search operation from the at least two dimensions, wherein a search object of the subsequent search operation is a search result obtained by the previous search operation;
    将最后一次实施的搜索操作的搜索结果作为所述综合搜索结果。The search result of the search operation performed last time is taken as the comprehensive search result.
  12. 根据权利要求8所述的装置,其特征在于,所述搜索操作的搜索对象包括以下类型中至少之一:The device according to claim 8, wherein the search object of the search operation includes at least one of the following types:
    历史通讯消息、联系人信息、群组信息、文件、团体管理事件。Historical communication messages, contact information, group information, files, group management events.
  13. 根据权利要求8所述的装置,其特征在于,所述搜索操作的搜索对象包括名称信息、内容信息、关联用户和类型标签;所述实施单元具体用于:The device according to claim 8, wherein the search object of the search operation includes name information, content information, associated users, and type tags; and the implementation unit is specifically configured to:
    将第一类的搜索关键词用于与所述搜索对象的类型标签进行匹配,以及将第二类的搜索关键词用于与所述搜索对象的名称信息、内容信息和关联用户中至少之一进行匹配。Using a search keyword of the first type for matching with a type tag of the search object, and using a search keyword of the second type for at least one of name information, content information, and an associated user of the search object Make a match.
  14. 根据权利要求8所述的装置,其特征在于,所述装置应用于即时通讯应用的客户端设备。The apparatus according to claim 8, wherein the apparatus is applied to a client device of an instant messaging application.
PCT/CN2019/089436 2018-06-13 2019-05-31 Search method and device WO2019237949A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810606285.1A CN110659353A (en) 2018-06-13 2018-06-13 Searching method and device
CN201810606285.1 2018-06-13

Publications (1)

Publication Number Publication Date
WO2019237949A1 true WO2019237949A1 (en) 2019-12-19

Family

ID=68841913

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089436 WO2019237949A1 (en) 2018-06-13 2019-05-31 Search method and device

Country Status (2)

Country Link
CN (1) CN110659353A (en)
WO (1) WO2019237949A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702261B (en) * 2020-12-30 2023-05-26 维沃移动通信有限公司 Information display method and device and electronic equipment
CN114117253A (en) * 2021-11-19 2022-03-01 北京达佳互联信息技术有限公司 Group search method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179472A (en) * 2007-05-31 2008-05-14 腾讯科技(深圳)有限公司 Network resource searching method and searching system
CN102955798A (en) * 2011-08-25 2013-03-06 腾讯科技(深圳)有限公司 Search engine based search method and search server
CN103136272A (en) * 2011-12-02 2013-06-05 腾讯科技(深圳)有限公司 Searching method and device based on network community searching
CN104239454A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Searching method and device
CN105718487A (en) * 2014-12-04 2016-06-29 东莞宇龙通信科技有限公司 Special contact person searching method and searching system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512150A (en) * 2014-10-16 2016-04-20 腾讯科技(深圳)有限公司 Method and device for information search
CN107480162B (en) * 2017-06-15 2021-09-21 北京百度网讯科技有限公司 Search method, device and equipment based on artificial intelligence and computer readable storage medium
CN107992545A (en) * 2017-11-27 2018-05-04 珠海市魅族科技有限公司 A kind of searching method, device, terminal and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179472A (en) * 2007-05-31 2008-05-14 腾讯科技(深圳)有限公司 Network resource searching method and searching system
CN102955798A (en) * 2011-08-25 2013-03-06 腾讯科技(深圳)有限公司 Search engine based search method and search server
CN103136272A (en) * 2011-12-02 2013-06-05 腾讯科技(深圳)有限公司 Searching method and device based on network community searching
CN104239454A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Searching method and device
CN105718487A (en) * 2014-12-04 2016-06-29 东莞宇龙通信科技有限公司 Special contact person searching method and searching system

Also Published As

Publication number Publication date
CN110659353A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
US10108726B2 (en) Scenario-adaptive input method editor
US10210243B2 (en) Method and system for enhanced query term suggestion
US10824608B2 (en) Feature generation and storage in a multi-tenant environment
US20140156743A1 (en) Tagging Content Within a Networking Environment Based Upon Recipients Receiving the Content
CN107103011B (en) Method and device for realizing terminal data search
US11687794B2 (en) User-centric artificial intelligence knowledge base
WO2017031894A1 (en) Data searching method, device and terminal
WO2019237949A1 (en) Search method and device
EP3387556B1 (en) Providing automated hashtag suggestions to categorize communication
US20170193051A1 (en) Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content
US9996622B2 (en) Browser new tab page generation for enterprise environments
CN109756348B (en) Batch calling method and device
US10725618B2 (en) Populating contact information
US9965558B2 (en) Cross-channel social search
WO2020024824A1 (en) Method and device for determining user status identifier
CN110659406B (en) Searching method and device
US10831845B2 (en) Generation of enhanced search results
US11720554B2 (en) Iterative query expansion for document discovery
US10423629B2 (en) Intelligent tabular big data presentation in search environment based on prior human input configuration
US20220100785A1 (en) Entity search system
US20170330236A1 (en) Enhancing contact card based on knowledge graph
CN110807089B (en) Question answering method and device and electronic equipment
EP4359960A1 (en) Search engine with efficient content refind and discovery
CN114154072A (en) Search method, search device, electronic device, and storage medium
WO2021050082A1 (en) Text entry recommendations based on stored search results

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19818672

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19818672

Country of ref document: EP

Kind code of ref document: A1