WO2013016993A1 - 一种搜索方法、系统和装置 - Google Patents

一种搜索方法、系统和装置 Download PDF

Info

Publication number
WO2013016993A1
WO2013016993A1 PCT/CN2012/077684 CN2012077684W WO2013016993A1 WO 2013016993 A1 WO2013016993 A1 WO 2013016993A1 CN 2012077684 W CN2012077684 W CN 2012077684W WO 2013016993 A1 WO2013016993 A1 WO 2013016993A1
Authority
WO
WIPO (PCT)
Prior art keywords
user account
list
information
keyword
user
Prior art date
Application number
PCT/CN2012/077684
Other languages
English (en)
French (fr)
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 腾讯科技(深圳)有限公司
Priority to EP12819556.7A priority Critical patent/EP2741219A4/en
Priority to JP2014523176A priority patent/JP5829750B2/ja
Publication of WO2013016993A1 publication Critical patent/WO2013016993A1/zh
Priority to US14/165,481 priority patent/US9477765B2/en

Links

Classifications

    • 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
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/3331Query processing
    • 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/335Filtering based on additional data, e.g. user or group profiles

Definitions

  • the present invention relates to Internet technologies, and in particular, to a search method, system and apparatus. Background of the invention
  • the search engine is more and more powerful, and users can search for a large amount of information by means of a search engine. For example, after the user inputs the keyword "Lijiang", a large amount of information about Lijiang can be obtained. However, spam and false information are likely to exist in this information. That is to say, the practicability and reliability of the information cannot be guaranteed. This not only affects the user's correct access to the information, but also may lead to the user being deceived. Summary of the invention
  • the present invention provides a search method, system and apparatus capable of improving the practicability and reliability of information.
  • a search method including:
  • Searching and obtaining the information published in each user account in the user account list The information corresponding to the keyword obtained, the search result is obtained, and the search result is displayed.
  • a search system including:
  • a search device configured to acquire a keyword input by the user, a relationship chain category, and a user account; and obtain a user account list that belongs to the acquired relationship chain category corresponding to the acquired user account; Searching for information corresponding to the obtained keyword in the information published by each user account in the middle, obtaining a search result, and displaying the search result.
  • a search device comprising:
  • a first processing module configured to acquire a keyword input by the user, a relationship chain category, and a user account, and send the message to the second processing module;
  • the second processing module is configured to obtain a user account list that belongs to the acquired relationship chain category corresponding to the acquired user account, and send the obtained keyword and the user account list. Searching for the information corresponding to the obtained keyword in the search module; obtaining the search result, and displaying the search result.
  • the search range can be set, that is, only the information published by the user account in a certain relationship chain category is searched, and the relationship chain category can be friends, classmates,
  • the users and users in Weibo reduce the possibility of spam and false information, and improve the practicability and reliability of the information.
  • 1 is a flow chart of an embodiment of a search method of the present invention
  • 2 is a schematic diagram of a process of establishing an index database in the present invention
  • FIG. 3 is a schematic structural diagram of an embodiment of a search system according to the present invention.
  • FIG. 4 is a schematic structural diagram of an embodiment of a search device according to the present invention. Mode for carrying out the invention
  • the search range can be set. That is, only the information published by the user account in a certain relationship chain category is searched, and the relationship chain category may be a friend, a classmate, a user concerned in the microblog, and the like.
  • FIG. 1 is a flow chart of an embodiment of a search method of the present invention. As shown in Figure 1, the following steps are included:
  • Step 101 Obtain keywords input by the user A, relationship chain category B, and user account
  • keyword A the key words, relationship chain categories, and user accounts entered by the user in this step
  • relationship chain category B the key words, relationship chain categories, and user accounts entered by the user in this step
  • user account C the key words, relationship chain categories, and user accounts entered by the user in this step
  • the first processing module can present a search interface for the user to input keywords, and can list several relationship chain categories, such as friends, classmates, users in the microblog, etc. for the user to select. After the user inputs the keyword A and selects the relationship chain category B, the first processing module sends the key A, the relationship chain category B, and the user account C acquired according to the existing manner to the second processing module.
  • Step 102 Obtain a user account list belonging to the relationship chain category B corresponding to the user account C.
  • a storage server may be configured to be distinguished from a subsequent storage server, which is referred to as a first storage server, where a user account list belonging to a different relationship chain category corresponding to each user account may be pre-stored.
  • the first storage server may store a list of user accounts that are in a friend relationship with the user X, a list of user accounts that are related to the user X, and a list of user accounts that the user X is interested in in the microblog. , how to generate each list is not limited.
  • the second processing module After receiving the keyword A, the relationship chain category B, and the user account C sent by the first processing module, the second processing module finds the relationship chain corresponding to the user account C from each user account list saved by the first storage server. A list of user accounts of category B, and sends the keyword A and the found user account list to the search module.
  • Step 103 Search for information corresponding to the keyword A in the information published by each user account in the obtained user account list, obtain a search result, and display the search result.
  • the predetermined rule may be: classifying information published by the same user account into the same information list, and classifying information corresponding to the same keyword into the same information list. It should be noted that the foregoing predetermined rules are only one possible implementation manner, and are not intended to limit the technical solutions of the present invention.
  • the search module After receiving the keyword A and the user account list, the search module searches the index database for information corresponding to the keyword A in the information published by each user account in the user account list, and obtains the search result, and displays the result through the first processing module. user.
  • the specific implementation of the search process can be:
  • the block is displayed by the first processing module to the user; or, the information list corresponding to the keyword A and the information list corresponding to each user account in the user account list are obtained, and the obtained information list corresponding to each user account is merged, and The merged information list and the obtained information list corresponding to the keyword A are taken as an intersection, and the result of the intersection is sent to the second processing module, and the second processing module further sends the result to the first processing module, where the first processing is performed.
  • the module is displayed to the user.
  • the data in the index database can be stored on the second storage server.
  • the second storage server mentioned here may refer to a server or a group of servers. For example, if the amount of data in the index database is too large and one server is not enough to store so much data, then more settings can be set. Servers, each server corresponds to an index module.
  • FIG. 2 is a schematic diagram of a process of establishing an index database in the present invention.
  • server A corresponds to index module A
  • server B corresponds to index module B.
  • the information processing module follows some routing rules. If the user account of the information is obtained by the message digest algorithm 5 (MD5) value, and then modulo, if the modulo result is an odd number, the information is sent to the index module A, and if it is an even number, the information is sent to the index.
  • Module B; index module A or index module B adds the received information to the list of information published by the corresponding user account; at the same time, server A and server B also need to store different information lists corresponding to different keywords.
  • MD5 message digest algorithm 5
  • server A stores the information list published by the user account 1 and the user account 3
  • server B stores the information list published by the user account 2 and the user account 4
  • server A It is also necessary to store the information list corresponding to "Lijiang” in server B, but the difference is that the information list corresponding to "Lijiang” stored in server A is composed of information published by user account 1 and user account 3, and server B is included.
  • the stored information list of "Lijiang” is composed of information published by user account 2 and user account 4. If there are multiple index modules, the search module also needs to be multiple, and there is a one-to-one correspondence between the two, and the number is the same.
  • the second processing module further needs to perform segmentation on the obtained user account list to obtain multiple sub-lists, for example, performing the following processing on each user account in the user account list: taking the MD5 value, and then taking
  • the module is composed of a user account with an odd number of modulo, and a sub-list 1 is formed by a user account whose modulo result is an even number, and the sub-list 1 and the keyword A are sent to the search module A (with the index module A).
  • the sub-list 2 and the keyword A are sent to the search module B (corresponding to the index module B).
  • the search module A and the search module B can be processed according to the following methods: obtaining a list of information corresponding to the keyword A and a list of information corresponding to each user account in the sub-list, and respectively obtaining the information list corresponding to each user account.
  • the information list corresponding to the obtained keyword A is taken as an intersection, and the result of each intersection is merged and sent to the second processing module, and the second processing module combines the received two-way search results, and the merged
  • the result is the search result.
  • the second storage server is composed of multiple servers, what information is specifically stored on each server may be determined according to actual needs, and is not limited to that shown in FIG. 2.
  • the information published by each user account before 2011 may be stored in the server A
  • the information published by each user account after 2011 may be stored in the server B
  • the same user account is also followed in each server.
  • the published information is classified into the same information list, and the information corresponding to the same keyword is classified into the same information list.
  • the second processing module does not need to re-acquire the obtained user account list. The segmentation is performed, and the specific implementation will not be described again.
  • the number of the second storage servers is one or more, it has no substantial impact on the solution of the present invention, and is assumed to be one for the description.
  • “Lijiang” and the relationship chain category are sent to the second processing module;
  • the second processing module acquires the user account list List-X composed of the user accounts of the user X's microblog, and sends it together with the keyword "Lijiang” Search module;
  • the search module finds the information list corresponding to the keyword "Lijiang” and the information list corresponding to each user account in List-X, assuming that the list-X includes three user accounts, then the three user accounts are corresponding.
  • the information list is respectively intersected with the information list corresponding to the keyword "Lijiang”, and the results of the three intersections are merged as the final search result, or the information lists corresponding to the three user accounts are merged into one large information list. Then, the information list corresponding to the keyword "Lijiang” is taken as an intersection, and the intersection result is taken as the final search result.
  • the search range may be set, that is, only the information published by the user account in a certain relationship chain category is searched, and the relationship chain category may be a friend, a classmate, or the like.
  • FIG. 3 is a schematic structural diagram of an embodiment of a search system according to the present invention. As shown in Figure 3, it includes:
  • the search device 31 is configured to obtain a keyword input by the user, a relationship chain category, and a user account; obtain a user account list that belongs to the acquired relationship chain category corresponding to the obtained user account; and each user account in the user account list
  • the published information searches for information corresponding to the obtained keyword, obtains the search result, and displays the search result.
  • the system shown in Figure 3 can further include:
  • the first storage server 32 is configured to save a user account list belonging to different relationship chain categories corresponding to each user account;
  • the search device 31 acquires, from the first storage server 32, a list of user accounts belonging to the acquired relationship chain category corresponding to the acquired user account.
  • the system shown in FIG. 3 may further include:
  • the second storage server 33 is configured to save data in the established index database, where the index database stores information published by each user account classified according to a predetermined rule; the searching device 31 searches for a user account in the index database. The information corresponding to the obtained keyword in the information published by each user account in the list obtains the search result.
  • the predetermined rule includes: classifying the information published by the same user account into the same information list, and classifying the information corresponding to the same keyword into the same information list; the searching device 31 acquires the corresponding keyword a list of information corresponding to each user account in the information list and the user account list, respectively, the information list corresponding to each user account is intersected with the information list corresponding to the obtained keyword, and the result after each intersection is merged, The combined results are used as search results;
  • the information list is taken as an intersection, and the result after the intersection is taken as a search result.
  • FIG. 4 is a schematic structural diagram of an embodiment of a search device according to the present invention. As shown in Figure 4, it includes:
  • the first processing module 41 is configured to obtain a keyword input by the user, a relationship chain category, and a user account, and send the data to the second processing module 42.
  • the second processing module 42 is configured to obtain a user account list that belongs to the acquired relationship chain category corresponding to the obtained user account, and send the obtained keyword and user account list to the search module 43;
  • the searching module 43 is configured to search for information published by each user account in the user account list.
  • the information corresponding to the obtained keyword is obtained, the search result is obtained, and the search result is displayed.
  • the second processing module 42 acquires, from the first storage server that stores the user account list of the different relationship chain categories corresponding to each user account, the user that belongs to the acquired relationship chain category corresponding to the obtained user account. Account list.
  • the search module 43 searches for the information corresponding to the obtained keyword in the information published by each user account in the user account list in the second storage server that holds the index database, and obtains the search result; the index database stores the predetermined rule Information published by each user account after categorization.
  • the predetermined rule includes: classifying information published by the same user account into the same information list, and classifying information corresponding to the same keyword into the same information list;
  • the search module 43 obtains the information list corresponding to the obtained keyword and the information list corresponding to each user account in the user account list, and respectively crosses the information list corresponding to each user account with the information list corresponding to the obtained keyword, and The result after each intersection is merged, and the combined result is used as a search result;
  • the information list is taken as an intersection, and the result after the intersection is taken as a search result.
  • the search range may be set, that is, only the information published by the user account in a relationship chain category is searched, and the relationship chain category may be a friend, Classmates, users who are concerned about microblogs, etc., thereby reducing the possibility of spam and false information appearing, thereby improving the practicability and reliability of the information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了搜索方法、系统和装置:获取用户输入的关键词、关系链类别以及用户账号;获取与所述用户账号对应的属于所述关系链类别的用户账号列表;在所述用户账号列表中的各用户账号发表的信息中搜索与所述关键词对应的信息,得到搜索结果,并显示搜索结果。应用本发明所述方案,能够提高信息的实用性和可靠性。

Description

一种搜索方法、 系统和装置 本申请要求于 2011 年 8 月 2 日提交中国专利局、 申请号为 201110219368.3、 发明名称为 "一种搜索方法和系统" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及互联网技术, 特别涉及一种搜索方法、 系统和装置。 发明背景
目前, 搜索引擎的功能越来越强大, 用户可借助于搜索引擎搜索到 大量的信息, 比如, 用户输入关键词 "丽江" 后, 可得到大量关于丽江 的信息。 但这些信息中很可能存在垃圾信息、 虚假信息, 也就是说, 信 息的实用性和可靠性均无法保证, 这不但影响了用户对信息的正确获 取, 而且可能导致出现用户上当受骗等情况。 发明内容
有鉴于此, 本发明提供了一种搜索方法、 系统和装置, 能够提高信 息的实用性和可靠性。
为达到上述目的, 本发明的技术方案是这样实现的:
一种搜索方法, 包括:
获取用户输入的关键词、 关系链类别以及用户账号;
获取与所述获取到的用户账号对应的属于所述获取到的关系链类别 的用户账号列表;
在所述用户账号列表中的各用户账号发表的信息中搜索与所述获取 到的关键词对应的信息, 得到搜索结果, 并显示所述搜索结果。
一种搜索系统, 包括:
搜索装置,用于获取用户输入的关键词、关系链类别以及用户账号; 获取与所述获取到的用户账号对应的属于所述获取到的关系链类别的 用户账号列表; 在所述用户账号列表中的各用户账号发表的信息中搜索 与所述获取到的关键词对应的信息, 得到搜索结果, 并显示所述搜索结 果。
一种搜索装置, 包括:
第一处理模块, 用于获取用户输入的关键词、 关系链类别以及用户 账号, 发送给第二处理模块;
所述第二处理模块, 用于获取与所述获取到的用户账号对应的属于 所述获取到的关系链类别的用户账号列表, 并将所述获取到的关键词和 所述用户账号列表发送给搜索模块; 息中搜索所述获取到的关键词对应的信息, 得到搜索结果, 并显示所述 搜索结果。
可见, 采用本发明所述方案, 当用户进行搜索时, 可设定搜索范围, 即仅对某一关系链类别中的用户账号发表的信息进行搜索, 所述关系链 类别可为朋友、 同学、 微博中所关注的用户等, 从而降低了垃圾信息和 虚假信息出现的可能性, 进而提高了信息的实用性和可靠性。 附图简要说明
下面将通过参照附图详细描述本发明的示例性实施例, 使本领域的 普通技术人员更清楚本发明的上述及其它特征和优点, 附图中:
图 1为本发明搜索方法实施例的流程图; 图 2本发明中建立索引数据库的过程示意图;
图 3为本发明搜索系统实施例的组成结构示意图;
图 4为本发明搜索装置实施例的组成结构示意图。 实施本发明的方式
考虑到用户 "社交圏" 中的人所发表的信息对于用户来说其实用性 和可靠性均比较有保证, 因此, 本发明所述方案中, 当用户进行搜索时, 可设定搜索范围, 即仅对某一关系链类别中的用户账号发表的信息进行 搜索, 所述关系链类别可为朋友、 同学、 微博中所关注的用户等。
为使本发明的技术方案更加清楚、明白,以下参照附图并举实施例, 对本发明所述方案作进一步地详细说明。
图 1为本发明搜索方法实施例的流程图。 如图 1所示, 包括以下步 骤:
步骤 101: 获取用户输入的关键词 A、 关系链类别 B以及用户账号
C。
为了与后续出现的类似表述进行区别, 将本步骤中用户输入的关键 词、 关系链类别以及用户账号分别称为关键词 A、 关系链类别 B和用户 账号 C。
在实际应用中, 第一处理模块可为用户呈现一个搜索界面, 供用户 输入关键词, 并可列举出几种关系链类别, 如朋友、 同学、 微博中所关 注的用户等供用户进行选择; 当用户输入关键词 A并选择好关系链类别 B后, 第一处理模块将关键 A、 关系链类别 B以及按照现有方式获取 到的用户账号 C发送给第二处理模块。
步骤 102: 获取与用户账号 C对应的属于关系链类别 B的用户账号 列表。 在实际应用中, 可设置一个存储服务器, 为与后续出现的存储服务 器进行区别, 称之为第一存储服务器, 其中可预先保存有每个用户账号 分别对应的属于不同关系链类别的用户账号列表。 以用户 X为例, 第一 存储服务器中可保存有与用户 X为朋友关系的用户账号列表、与用户 X 为同学关系的用户账号列表, 以及用户 X在微博中所关注的用户账号列 表等, 各列表如何生成不作限定。
第二处理模块接收到第一处理模块发送来的关键词 A、 关系链类别 B和用户账号 C后, 从第一存储服务器所保存的各用户账号列表中找出 用户账号 C对应的属于关系链类别 B的用户账号列表, 并将关键词 A 和找到的用户账号列表发送给搜索模块。
步骤 103: 在获取到的用户账号列表中的各用户账号发表的信息中 搜索与关键词 A对应的信息, 得到搜索结果, 并显示搜索结果。
为实现本发明所述方案, 需要建立一个索引数据库, 其中保存有按 预定规则进行归类后的各用户账号发表的信息。 所述预定规则可为: 将 同一用户账号发表的信息归类到同一信息列表中, 并将对应同一关键词 的信息归类到同一信息列表中。 需要说明的是, 上述预定规则仅为一种 可能的实现方式, 并不用于限制本发明的技术方案。
搜索模块接收到关键词 A和用户账号列表后,在索引数据库中搜索 用户账号列表中的各用户账号发表的信息中与关键词 A对应的信息,得 到搜索结果, 并通过第一处理模块显示给用户。
搜索过程的具体实现可为:
获取关键词 A对应的信息列表以及用户账号列表中的各用户账号 分别对应的信息列表, 分别将获取到的各用户账号对应的信息列表与获 取到的关键词 A对应的信息列表取交集,将每次取交集后的结果进行合 并, 发送给第二处理模块, 第二处理模块将其进一步发送给第一处理模 块, 由第一处理模块显示给用户; 或者, 获取关键词 A对应的信息列表 以及用户账号列表中的各用户账号对应的信息列表, 将获取到的各用户 账号对应的信息列表进行合并, 将合并后的信息列表与获取到的关键词 A对应的信息列表取交集, 将取交集后的结果发送给第二处理模块, 第 二处理模块将其进一步发送给第一处理模块, 由第一处理模块显示给用 户。
索引数据库中的数据可存储在第二存储服务器上。 这里所提到的第 二存储服务器可以是指一个服务器, 也可以是指一组服务器, 比如, 如 果索引数据库中的数据量过大, 一个服务器不足以存储如此多的数据, 那么则可以设置多个服务器, 每个服务器对应一个索引模块。
图 2本发明中建立索引数据库的过程示意图。 如图 2所示, 假设共 有两个服务器, 分别称之为服务器 A和服务器 B,服务器 A对应索引模 块 A, 服务器 B对应索引模块 B; 针对每条信息, 信息处理模块按照某 种路由规则, 如对该信息的用户账号取消息摘要算法 5 ( MD5 )值, 然 后再取模, 如果取模结果为奇数, 则将该信息发送给索引模块 A, 如果 为偶数, 则将该信息发送给索引模块 B; 索引模块 A或索引模块 B将接 收到的信息加入到对应的用户账号所发表的信息列表中; 同时, 服务器 A和服务器 B中还需要存储不同的关键词分别对应的信息列表。
假设服务器 A中存储了用户账号 1和用户账号 3发表的信息列表, 服务器 B中存储了用户账号 2和用户账号 4发表的信息列表, 那么, 针 对某一关键词, 如 "丽江", 服务器 A和服务器 B中还需要存储 "丽江" 对应的信息列表, 但区别在于, 服务器 A中存储的 "丽江" 对应的信息 列表是由用户账号 1和用户账号 3发表的信息组成的, 而服务器 B中存 储的 "丽江" 对应的信息列表是由用户账号 2和用户账号 4发表的信息 组成的。 如果索引模块为多个, 搜索模块也需要为多个, 两者之间存在一一 对应的关系, 个数相同。
相应地, 步骤 102中, 第二处理模块还需要对获取到的用户账号列 表进行切分, 得到多个子列表, 如对用户账号列表中的各用户账号分别 进行以下处理: 取 MD5值, 再取模, 用取模结果为奇数的用户账号组 成一个子列表 1 , 用取模结果为偶数的用户账号组成一个子列表 2, 将 子列表 1以及关键词 A发送给搜索模块 A (与索引模块 A对应 ), 将子 列表 2以及关键词 A发送给搜索模块 B (与索引模块 B对应)。 后续, 搜索模块 A和搜索模块 B可分别按照以下方式进行处理:获取关键词 A 对应的信息列表以及子列表中的各用户账号对应的信息列表, 分别将获 取到的各用户账号对应的信息列表与获取到的关键词 A对应的信息列 表取交集, 将每次取交集后的结果进行合并, 发送给第二处理模块, 第 二处理模块将接收到的两路搜索结果进行合并, 将合并后的结果作为搜 索结果。
需要说明的是, 当第二存储服务器由多个服务器组成时, 每个服务 器上具体存储哪些信息可根据实际需要而定,并不限于图 2所示。比如, 当存在两个服务器时, 可在服务器 A中存储 2011年之前各用户账号发 表的信息, 在服务器 B中存储 2011年之后各用户账号发表的信息, 每 个服务器中同样遵循将同一用户账号发表的信息归类到同一信息列表 中, 并将对应同一关键词的信息归类到同一信息列表中的原则, 这样, 步骤 102中, 第二处理模块将不需要再对获取到的用户账号列表进行切 分, 具体实现不再赘述。
图 1所示过程可举例说明如下:
由于第二存储服务器的个数为一个还是多个对本发明所述方案并 无实质影响, 为筒化描述, 假设为一个。 当用户 X进行搜索时, 输入关键词 "丽江"、 选择关系链类别为微 博中所关注的用户; 第一处理模块获取用户 X的用户账号, 连同关键词
"丽江" 以及关系链类别一起, 发送给第二处理模块; 第二处理模块获 取用户 X的微博中所关注的用户账号组成的用户账号列表 List-X, 连同 关键词 "丽江" 一起发送给搜索模块; 搜索模块找到关键词 "丽江" 对 应的信息列表以及 List-X中的各用户账号对应的信息列表, 假设 List-X 中包括 3个用户账号, 那么, 将这 3个用户账号对应的信息列表分别与 关键词 "丽江" 对应的信息列表取交集, 将 3个取交集结果进行合并, 作为最终的搜索结果, 或者, 将 3个用户账号对应的信息列表合并成一 个大的信息列表后再与关键词 "丽江" 对应的信息列表取交集, 将取交 集结果作为最终的搜索结果。
至此, 即完成了关于本发明方法实施例的介绍。
采用上述方法实施例所述方案, 当用户进行搜索时, 可设定搜索范 围, 即仅对某一关系链类别中的用户账号发表的信息进行搜索, 所述关 系链类别可为朋友、 同学、 微博中所关注的用户等, 从而降低了垃圾信 息和虚假信息出现的可能性, 进而提高了信息的实用性和可靠性。
基于上述介绍, 图 3为本发明搜索系统实施例的组成结构示意图。 如图 3所示, 包括:
搜索装置 31 , 用于获取用户输入的关键词、 关系链类别以及用户账 号; 获取与获取到的用户账号对应的属于获取到的关系链类别的用户账 号列表; 在用户账号列表中的各用户账号发表的信息中搜索与获取到的 关键词对应的信息, 得到搜索结果, 并显示搜索结果。
图 3所示系统中可进一步包括:
第一存储服务器 32,用于保存每个用户账号分别对应的属于不同关 系链类别的用户账号列表; 搜索装置 31从第一存储服务器 32中获取与获取到的用户账号对应 的属于获取到的关系链类别的用户账号列表。
图 3所示系统中还可进一步包括:
第二存储服务器 33 , 用于保存所建立的索引数据库中的数据, 所述 索引数据库中保存有按预定规则进行归类后的各用户账号发表的信息; 搜索装置 31 在索引数据库中搜索用户账号列表中的各用户账号发 表的信息中与获取到的关键词对应的信息, 得到搜索结果。
其中, 所述预定规则包括: 将同一用户账号发表的信息归类到同一 信息列表中, 并将对应同一关键词的信息归类到同一信息列表中; 搜索装置 31 获取获取到的关键词对应的信息列表以及用户账号列 表中的各用户账号对应的信息列表, 分别将各用户账号对应的信息列表 与获取到的关键词对应的信息列表取交集, 将每次取交集后的结果进行 合并, 将合并后的结果作为搜索结果;
或者, 获取获取到的关键词对应的信息列表以及用户账号列表中的 各用户账号对应的信息列表, 将各用户账号对应的信息列表进行合并, 将合并后的信息列表与获取到的关键词对应的信息列表取交集, 将取交 集后的结果作为搜索结果。
图 4为本发明搜索装置实施例的组成结构示意图。 如图 4所示, 包 括:
第一处理模块 41 , 用于获取用户输入的关键词、 关系链类别以及用 户账号, 发送给第二处理模块 42;
第二处理模块 42,用于获取与获取到的用户账号对应的属于获取到 的关系链类别的用户账号列表, 并将获取到的关键词和用户账号列表发 送给搜索模块 43;
搜索模块 43 ,用于在用户账号列表中的各用户账号发表的信息中搜 索与获取到的关键词对应的信息, 得到搜索结果, 并显示搜索结果。 其中,第二处理模块 42从保存有每个用户账号分别对应的属于不同 关系链类别的用户账号列表的第一存储服务器中获取与获取到的用户 账号对应的属于获取到的关系链类别的用户账号列表。
搜索模块 43 在保存有索引数据库的第二存储服务器中搜索用户账 号列表中的各用户账号发表的信息中与获取到的关键词对应的信息, 得 到搜索结果; 索引数据库中保存有按预定规则进行归类后的各用户账号 发表的信息。
所述预定规则包括: 将同一用户账号发表的信息归类到同一信息列 表中, 并将对应同一关键词的信息归类到同一信息列表中;
搜索模块 43 获取获取到的关键词对应的信息列表以及用户账号列 表中的各用户账号对应的信息列表, 分别将各用户账号对应的信息列表 与获取到的关键词对应的信息列表取交集, 将每次取交集后的结果进行 合并, 将合并后的结果作为搜索结果;
或者, 获取获取到的关键词对应的信息列表以及用户账号列表中的 各用户账号对应的信息列表, 将各用户账号对应的信息列表进行合并, 将合并后的信息列表与获取到的关键词对应的信息列表取交集, 将取交 集后的结果作为搜索结果。
图 3所示系统实施例以及图 4所示装置实施例的具体工作流程请参 照上述方法实施例中的相应说明, 此处不再赘述。
采用上述系统和装置实施例所述方案, 当用户进行搜索时, 可设定 搜索范围, 即仅对某一关系链类别中的用户账号发表的信息进行搜索, 所述关系链类别可为朋友、 同学、 微博中所关注的用户等, 从而降低了 垃圾信息和虚假信息出现的可能性, 进而提高了信息的实用性和可靠 性。 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡 在本发明的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均 应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种搜索方法, 其特征在于, 包括:
获取用户输入的关键词、 关系链类别以及用户账号;
获取与所述获取到的用户账号对应的属于所述获取到的关系链类别 的用户账号列表;
在所述用户账号列表中的各用户账号发表的信息中搜索与所述获取 到的关键词对应的信息, 得到搜索结果, 并显示所述搜索结果。
2、根据权利要求 1所述的方法, 其特征在于, 所述获取与所述获取 到的用户账号对应的属于所述获取到的关系链类别的用户账号列表包 括:
预先保存每个用户账号分别对应的属于不同关系链类别的用户账号 列表;
从所保存的各用户账号列表中找出所述获取到的用户账号对应的属 于所述获取到的关系链类别的用户账号列表。
3、 根据权利要求 1所述的方法, 其特征在于,
所述获取用户输入的关键词、 关系链类别以及用户账号之前, 进一 步包括: 建立索引数据库, 所述索引数据库中保存有按预定规则进行归 类后的各用户账号发表的信息; 获取到的关键词对应的信息, 得到搜索结果包括: 在所述索引数据库中 搜索所述用户账号列表中的各用户账号发表的信息中与所述获取到的 关键词对应的信息, 得到搜索结果。
4、 根据权利要求 3所述的方法, 其特征在于,
所述建立索 )数据库包括: 将同一用户账号发表的信息归类到同一 信息列表中, 并将对应同一关键词的信息归类到同一信息列表中; 获取到的关键词对应的信息, 得到搜索结果包括:
获取所述获取到的关键词对应的信息列表以及所述用户账号列表中 的各用户账号对应的信息列表; 分别将所述各用户账号对应的信息列表 与所述获取到的关键词对应的信息列表取交集, 将每次取交集后的结果 进行合并, 将合并后的结果作为搜索结果;
或者, 获取所述获取到的关键词对应的信息列表以及所述用户账号 列表中的各用户账号对应的信息列表; 将所述各用户账号对应的信息列 表进行合并, 将合并后的信息列表与所述获取到的关键词对应的信息列 表取交集, 将取交集后的结果作为搜索结果。
5、 一种搜索系统, 其特征在于, 包括:
搜索装置,用于获取用户输入的关键词、关系链类别以及用户账号; 获取与所述获取到的用户账号对应的属于所述获取到的关系链类别的 用户账号列表; 在所述用户账号列表中的各用户账号发表的信息中搜索 与所述获取到的关键词对应的信息, 得到搜索结果, 并显示所述搜索结 果。
6、根据权利要求 5所述的系统,其特征在于,该系统中进一步包括: 第一存储服务器, 用于保存每个用户账号分别对应的属于不同关系 链类别的用户账号列表;
所述搜索装置从所述第一存储服务器中获取与所述获取到的用户账 号对应的属于所述获取到的关系链类别的用户账号列表。
7、根据权利要求 5所述的系统,其特征在于,该系统中进一步包括: 第二存储服务器, 用于保存所建立的索引数据库中的数据, 所述索
? I数据库中保存有按预定规则进行归类后的各用户账号发表的信息; 所述搜索装置在所述索引数据库中搜索所述用户账号列表中的各用 户账号发表的信息中与所述获取到的关键词对应的信息, 得到搜索结 果。
8、 根据权利要求 7所述的系统, 其特征在于, 所述预定规则包括: 将同一用户账号发表的信息归类到同一信息列表中, 并将对应同一关键 词的信息归类到同一信息列表中;
所述搜索装置获取所述获取到的关键词对应的信息列表以及所述用 户账号列表中的各用户账号对应的信息列表, 分别将所述各用户账号对 应的信息列表与所述获取到的关键词对应的信息列表取交集, 将每次取 交集后的结果进行合并, 将合并后的结果作为搜索结果;
或者, 获取所述获取到的关键词对应的信息列表以及所述用户账号 列表中的各用户账号对应的信息列表, 将所述各用户账号对应的信息列 表进行合并, 将合并后的信息列表与所述获取到的关键词对应的信息列 表取交集, 将取交集后的结果作为搜索结果。
9、 一种搜索装置, 其特征在于, 包括:
第一处理模块, 用于获取用户输入的关键词、 关系链类别以及用户 账号, 发送给第二处理模块;
所述第二处理模块, 用于获取与所述获取到的用户账号对应的属于 所述获取到的关系链类别的用户账号列表, 并将所述获取到的关键词和 所述用户账号列表发送给搜索模块; 息中搜索与所述获取到的关键词对应的信息, 得到搜索结果, 并显示所 述搜索结果。
10、 根据权利要求 9所述的装置, 其特征在于,
所述第二处理模块从保存有每个用户账号分别对应的属于不同关系 链类别的用户账号列表的第一存储服务器中获取与所述获取到的用户 账号对应的属于所述获取到的关系链类别的用户账号列表。
11、 根据权利要求 9所述的装置, 其特征在于,
所述搜索模块在保存有索引数据库的第二存储服务器中搜索所述用 户账号列表中的各用户账号发表的信息中与所述获取到的关键词对应 的信息, 得到搜索结果; 所述索引数据库中保存有按预定规则进行归类 后的各用户账号发表的信息。
12、 根据权利要求 11所述的装置, 其特征在于,
所述预定规则包括: 将同一用户账号发表的信息归类到同一信息列 表中, 并将对应同一关键词的信息归类到同一信息列表中;
所述搜索模块获取所述获取到的关键词对应的信息列表以及所述用 户账号列表中的各用户账号对应的信息列表, 分别将所述各用户账号对 应的信息列表与所述获取到的关键词对应的信息列表取交集, 将每次取 交集后的结果进行合并, 将合并后的结果作为搜索结果;
或者, 获取所述获取到的关键词对应的信息列表以及所述用户账号 列表中的各用户账号对应的信息列表, 将所述各用户账号对应的信息列 表进行合并, 将合并后的信息列表与所述获取到的关键词对应的信息列 表取交集, 将取交集后的结果作为搜索结果。
PCT/CN2012/077684 2011-08-02 2012-06-28 一种搜索方法、系统和装置 WO2013016993A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP12819556.7A EP2741219A4 (en) 2011-08-02 2012-06-28 SEARCH, SYSTEM AND DEVICE
JP2014523176A JP5829750B2 (ja) 2011-08-02 2012-06-28 検索方法、システム、およびデバイス
US14/165,481 US9477765B2 (en) 2011-08-02 2014-01-27 Search method, system and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110219368.3 2011-08-02
CN201110219368.3A CN102915306B (zh) 2011-08-02 2011-08-02 一种搜索方法和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/165,481 Continuation US9477765B2 (en) 2011-08-02 2014-01-27 Search method, system and device

Publications (1)

Publication Number Publication Date
WO2013016993A1 true WO2013016993A1 (zh) 2013-02-07

Family

ID=47613677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077684 WO2013016993A1 (zh) 2011-08-02 2012-06-28 一种搜索方法、系统和装置

Country Status (5)

Country Link
US (1) US9477765B2 (zh)
EP (1) EP2741219A4 (zh)
JP (1) JP5829750B2 (zh)
CN (1) CN102915306B (zh)
WO (1) WO2013016993A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426661A (zh) * 2013-09-05 2015-03-18 腾讯科技(深圳)有限公司 用户账号匹配方法及装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636368B (zh) * 2013-11-11 2019-06-04 腾讯科技(深圳)有限公司 数据检索方法、装置及服务器
CN104750718B (zh) * 2013-12-29 2018-06-12 中国移动通信集团公司 一种数据信息的搜索方法和设备
CN105574028B (zh) * 2014-10-15 2020-08-11 腾讯科技(深圳)有限公司 信息检索方法和装置
CN104462340B (zh) * 2014-12-04 2018-06-19 华为技术有限公司 目标物信息搜索方法和装置
CN108304422B (zh) * 2017-03-08 2021-12-17 腾讯科技(深圳)有限公司 一种媒体搜索词推送方法和装置
US10749086B2 (en) 2017-07-21 2020-08-18 Maven Optronics Co., Ltd. Asymmetrically shaped light-emitting device, backlight module using the same, and method for manufacturing the same
CN107748773A (zh) * 2017-10-12 2018-03-02 深圳盈诺德信息技术有限公司 基于企业资源计划的数据搜索方法、装置和存储介质
CN110134831B (zh) * 2019-04-03 2021-08-10 广州朗国电子科技有限公司 一种基于云端服务器的树形结构节点检索显示方法及装置
CN110309235B (zh) * 2019-06-28 2022-01-07 京东科技控股股份有限公司 一种数据处理方法、装置、设备及介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317173A (zh) * 2004-09-29 2008-12-03 萨卡尔公司 用于通信和合作的系统
CN101329674A (zh) * 2007-06-18 2008-12-24 北京搜狗科技发展有限公司 一种提供个性化搜索的系统和方法

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236165A (ja) * 2005-02-28 2006-09-07 Hitachi Ltd 口コミ情報共有装置
US8843481B1 (en) * 2005-09-30 2014-09-23 Yongyong Xu System and method of forming action based virtual communities and related search mechanisms
US7783592B2 (en) * 2006-01-10 2010-08-24 Aol Inc. Indicating recent content publication activity by a user
US20080059455A1 (en) * 2006-08-31 2008-03-06 Canoy Michael-David N Method and apparatus of obtaining or providing search results using user-based biases
CN101226528A (zh) * 2007-01-17 2008-07-23 高鹏 基于搜索查询显示即时通讯系统用户的联系人发布的广告
US20080183694A1 (en) * 2007-01-31 2008-07-31 Daniel Cane Method and system presenting search results using relationship information
US7860852B2 (en) * 2007-03-27 2010-12-28 Brunner Josie C Systems and apparatuses for seamless integration of user, contextual, and socially aware search utilizing layered approach
US8244721B2 (en) * 2008-02-13 2012-08-14 Microsoft Corporation Using related users data to enhance web search
JP5054593B2 (ja) * 2008-03-27 2012-10-24 日本電信電話株式会社 情報検索装置及びプログラム
US20090271374A1 (en) * 2008-04-29 2009-10-29 Microsoft Corporation Social network powered query refinement and recommendations
CN101571864A (zh) * 2008-04-29 2009-11-04 高鹏 一种社会网络广告
CN101571942A (zh) * 2008-04-30 2009-11-04 高鹏 一种可信广告
WO2009138755A1 (en) * 2008-05-16 2009-11-19 Aubert Park Ventures Ltd. Community search system with relational ranking
US9104737B2 (en) * 2009-10-08 2015-08-11 Microsoft Technology Licensing, Llc Social distance based search result order adjustment
US8732171B2 (en) * 2010-01-28 2014-05-20 Microsoft Corporation Providing query suggestions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317173A (zh) * 2004-09-29 2008-12-03 萨卡尔公司 用于通信和合作的系统
CN101329674A (zh) * 2007-06-18 2008-12-24 北京搜狗科技发展有限公司 一种提供个性化搜索的系统和方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426661A (zh) * 2013-09-05 2015-03-18 腾讯科技(深圳)有限公司 用户账号匹配方法及装置
CN104426661B (zh) * 2013-09-05 2018-12-18 腾讯科技(深圳)有限公司 用户账号匹配方法及装置

Also Published As

Publication number Publication date
EP2741219A4 (en) 2015-05-27
EP2741219A1 (en) 2014-06-11
JP2014522046A (ja) 2014-08-28
JP5829750B2 (ja) 2015-12-09
US9477765B2 (en) 2016-10-25
CN102915306A (zh) 2013-02-06
US20140143246A1 (en) 2014-05-22
CN102915306B (zh) 2016-08-03

Similar Documents

Publication Publication Date Title
WO2013016993A1 (zh) 一种搜索方法、系统和装置
US10142351B1 (en) Retrieving contact information based on image recognition searches
US10701010B2 (en) Claiming conversations between users and non-users of a social networking system
US9137194B1 (en) Tools for micro-communities
US9258264B1 (en) Processing socially networked entities
EP2965472B1 (en) Document classification using multiscale text fingerprints
US9225676B1 (en) Social network exploration systems and methods
JP5902871B2 (ja) 構造化された検索クエリのための文法モデル
WO2013026325A1 (zh) 一种人物搜索方法、装置及存储介质
CN108984650B (zh) 计算机可读记录介质及计算机设备
EP3420473A1 (en) Expert detection in social networks
US9454750B2 (en) Techniques for estimating distance between members of a social network service
WO2013020424A1 (zh) 一种搜索方法、装置和系统
WO2015187560A1 (en) Populating user contact entries
US20170359433A1 (en) Scalable management of composite data collected with varied identifiers
US20140236979A1 (en) Information searching method and device, and computer storage medium
WO2013094361A1 (ja) ソーシャル・メデイアにおけるコミュニティを検出する方法、コンピュータ・プログラム、コンピュータ
WO2022100945A1 (en) Merkle proof entity
WO2013034043A1 (zh) 一种社区用户的搜索排序方法及系统
CN103646034A (zh) 一种基于内容可信的Web搜索引擎系统及搜索方法
US10733667B1 (en) Online social media network analyzer
CN115689202B (zh) 一种基于区块链的三维数字数据处理方法
US9971829B1 (en) Inferring membership in a group
WO2024015700A1 (en) Identity-aware data management
WO2014040533A1 (zh) 通讯录获取的方法、装置和服务器

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014523176

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE