Content search method, apparatus, device, computer readable storage medium and product

CN122838593APending Publication Date: 2026-09-29BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510380276.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2026-09-29

AI Technical Summary

Technical Problem

[0004]本公开实施例提供一种内容搜索方法、装置、设备、计算机可读存储介质及产品,用于解决在存在多个名称相似的会话群组时,无法准确地进行会话群组的搜索的技术问题

Benefits of technology

[0020]本实施例提供的内容搜索方法、装置、设备、计算机可读存储介质及产品,通过在获取用户输入的用于搜索会话群组的搜索文本,在搜索文本满足预设拆分条件时,将该搜索文本拆分为分别与会话群组以及会话成员相关的至少两个关键词。故可以基于搜索文本以及至少两个关键词分别在预设的至少一个会话对象数据库内进行数据搜索操作,以获得搜索文本对应的第一队列,以及各关键词对应的第二队列。可以基于预设的抽取条件对第一队列以及至少两个第二队列内的搜索结果进行抽取操作。进而可以基于至少一次搜索操作得到的待输出搜索结果进行组装等操作,获得待展示会话群组。从而能够基于用户输入的搜索文本以及搜索文本对应的拆分关键词综合地在不同会话对象数据库中进行搜索操作,基于会话群组名称以及会话成员名称相结合实现会话群组的搜索操作。此外,通过将第一队列、第二队列的搜索结果数量以及、最终输出的待展示会话群组的数量进行限制,从而能够有效地降低内容搜索过程中的计算量,故能够在客户端本地实现内容检索操作。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122838593A_ABST
    Figure CN122838593A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a content search method, device, equipment, computer readable storage medium and product, the method comprises: obtaining a search text, in response to the search text satisfying a preset splitting condition, performing a splitting operation on the search text to obtain at least two keywords; based on the search text, performing a search operation in at least one preset session object database to obtain a first queue, and based on each keyword, performing a search operation in the at least one session object database to obtain a second queue corresponding to each keyword; extracting a to-be-output search result in the first queue and each second queue in turn, determining a to-be-displayed session group based on at least one to-be-output search result; and displaying a second number of to-be-displayed session groups on a front-end display interface. Thus, the search operation of the session group can be realized based on the combination of the session group name and the session member name. Moreover, the content retrieval operation can be realized locally on the client.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and in particular to a content search method, apparatus, device, computer-readable storage medium, and product. Background Technology

[0002] In internet products, the search function is a crucial feature. It helps users quickly locate content of interest, enhancing the user experience. For example, internet products typically offer instant messaging functionality; the search function can quickly locate chat groups and friends in instant messaging scenarios, facilitating quick and easy initiation of conversations.

[0003] In related technologies, users can input a single search text according to their actual needs. Search results can be obtained from conversation groups and pre-added friends whose identifiers include that search text. However, users may be associated with multiple conversation groups, and these groups may have similar names. Therefore, how to achieve more accurate searching of conversation groups has become a pressing issue. Summary of the Invention

[0004] This disclosure provides a content search method, apparatus, device, computer-readable storage medium, and product to solve the technical problem of being unable to accurately search for session groups when multiple session groups with similar names exist.

[0005] In a first aspect, embodiments of this disclosure provide a content search method, including:

[0006] Obtain search text, and in response to the search text meeting preset splitting conditions, perform a splitting operation on the search text to obtain at least two keywords. The search text is used to search for conversation groups. The keywords include keywords associated with conversation object identifiers. The conversation object includes any conversation group and at least one conversation member in any conversation group.

[0007] Based on the search text, a search operation is performed in at least one preset session object database to obtain a first queue. Based on each keyword, a search operation is performed in the at least one session object database to obtain a second queue corresponding to each keyword. The first queue and the second queue each include a first number of search results.

[0008] According to the preset extraction conditions, the search results to be output are extracted sequentially from the first queue and the second queue corresponding to each keyword, and the session group to be displayed is determined based on the search results to be output obtained from at least one search operation.

[0009] In response to the number of the session groups to be displayed reaching a preset second number, the second number of session groups to be displayed are displayed on the front-end display interface.

[0010] Secondly, embodiments of this disclosure provide a content search device, including:

[0011] The splitting module is used to obtain search text. In response to the search text meeting the preset splitting conditions, the module performs a splitting operation on the search text to obtain at least two keywords. The search text is used to search for a session group. The keywords include keywords associated with a session object identifier. The session object includes any session group and at least one session member in any session group.

[0012] The search module is used to perform a search operation in at least one preset session object database based on the search text to obtain a first queue, and to perform a search operation in the at least one session object database based on each keyword to obtain a second queue corresponding to each keyword. The first queue and the second queue each include a first number of search results.

[0013] An assembly module is used to sequentially extract search results to be output from the first queue and the second queue corresponding to each keyword according to preset extraction conditions, and to determine the session group to be displayed based on the search results to be output obtained from at least one search operation.

[0014] The display module is used to display the second number of session groups to be displayed on the front-end display interface in response to the number of the number of session groups to be displayed reaching a preset second number.

[0015] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;

[0016] The memory stores computer-executed instructions;

[0017] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the content search method as described in the first aspect and various possible designs of the first aspect.

[0018] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the content search method described in the first aspect and various possible designs of the first aspect.

[0019] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the content search method described in the first aspect and various possible designs of the first aspect.

[0020] The content search method, apparatus, device, computer-readable storage medium, and product provided in this embodiment obtain user-input search text for searching session groups. When the search text meets preset splitting conditions, it splits the search text into at least two keywords related to the session group and session members, respectively. Therefore, data search operations can be performed in at least one preset session object database based on the search text and at least two keywords to obtain a first queue corresponding to the search text and a second queue corresponding to each keyword. Search results in the first queue and at least two second queues can be extracted based on preset extraction conditions. Furthermore, operations such as assembly can be performed on the search results obtained from at least one search operation to obtain the session groups to be displayed. Thus, it is possible to perform comprehensive search operations in different session object databases based on user-input search text and the corresponding split keywords, and to achieve session group search operations based on a combination of session group names and session member names. In addition, by limiting the number of search results in the first and second queues and the final number of session groups to be displayed, the computational load in the content search process can be effectively reduced, thus enabling content retrieval operations to be performed locally on the client side. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A flowchart illustrating the content search method provided in this embodiment of the disclosure;

[0023] Figure 2 This is a schematic diagram of the interface interaction provided in the embodiments of this disclosure;

[0024] Figure 3 This is a schematic diagram illustrating an application scenario provided by an embodiment of this disclosure;

[0025] Figure 4 This is a schematic diagram illustrating another application scenario provided by an embodiment of the present disclosure;

[0026] Figure 5 This is a schematic diagram of the structure of the content search system provided in this disclosure;

[0027] Figure 6 A schematic diagram of the structure of the content search device provided in the embodiments of this disclosure;

[0028] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0030] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0031] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0032] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0033] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0034] In related technologies, searching for conversational objects in instant messaging functions is only supported based on a single search text. For example, when a user enters "Zhang San" as the search text, only users and / or group chats whose names contain "Zhang San" can be found based on that search text.

[0035] However, a user may be associated with multiple group chats, and these group chats may have similar names. For example, a user may create multiple study-related conversation groups, with names such as Study Group 1, Study Group 2, Study Group 3, etc. When a user wants to search for group chats, if they only enter "study group" as the search text, multiple search results may appear simultaneously. The user will then need to filter the groups among the multiple search results according to their actual needs.

[0036] Optionally, the members in different conversation groups may differ. Therefore, to more accurately locate conversation groups, both the group name and member names can be entered as search text. For example, a user can use "study group" and "Zhang San" as search text. How to implement conversation group search based on group name and member name locally on the client side is a problem that urgently needs to be solved.

[0037] In some implementations, after obtaining the user-input search text, the search text can be split into at least two keywords. Based on the search text and the at least two keywords, a search operation is performed in a preset session object database to obtain a first queue corresponding to the search text and a second queue corresponding to each keyword.

[0038] The system can then extract search results from the first queue and at least two second queues according to a preset extraction order. These search results can be output directly, or combined with search results extracted by other extraction operations. This enables a more comprehensive session group search operation based on group name and member name.

[0039] Furthermore, by limiting the number of search results in the first and second queues, as well as the number of session groups to be displayed in the final output, the computational load during the content search process can be effectively reduced, thus enabling content retrieval operations to be performed locally on the client side.

[0040] To address the technical problem of inaccurate session group searches when multiple session groups with similar names exist, this disclosure provides a content search method, apparatus, device, computer-readable storage medium, and product.

[0041] It should be noted that the content search methods, devices, equipment, computer-readable storage media and products provided in this disclosure can be applied to any scenario of group chat search based on group name and the names of friends in the group.

[0042] Figure 1 This is a flowchart illustrating the content search method provided in an embodiment of the present disclosure, such as... Figure 1 As shown, the method includes:

[0043] Step 101: Obtain search text. In response to the search text meeting the preset splitting conditions, perform a splitting operation on the search text to obtain at least two keywords. The search text is used to search for conversation groups. The keywords include keywords associated with conversation object identifiers. The conversation object includes any conversation group and at least one conversation member in any conversation group.

[0044] In this embodiment, the execution entity is a content search device, which can be coupled locally to the client, which can be installed on a terminal device. This enables a more comprehensive session group search operation based on the user-inputted group name and member names on the client's local machine.

[0045] In this implementation, the user can trigger a content search operation within the client and enter the search text.

[0046] Optionally, users can perform content search by entering only the session group name or the session member names, or they can search for the entire session group by entering both the session group name and the session member names. Therefore, to accurately perform content search, it can be determined whether the search text meets preset splitting conditions. These preset splitting conditions include, but are not limited to, the search text containing any preset character or the search text exceeding a preset character count threshold. This disclosure does not impose any limitations on these conditions.

[0047] Furthermore, when the current search text meets the preset splitting conditions, the search text can be split into at least two keywords. For example, the current search text could be "learning group Zhang San". Since the search text includes preset space characters, it can be split to obtain the two keywords "learning group" and "Zhang San".

[0048] It should be noted that keywords include keywords associated with the session object identifier, and the session object includes any session group and at least one session member in any session group.

[0049] Step 102: Perform a search operation on at least one preset session object database based on the search text to obtain a first queue; perform a search operation on the at least one session object database based on each keyword to obtain a second queue corresponding to each keyword; the first queue and the second queue each include a first number of search results.

[0050] In this embodiment, to enable more comprehensive searching of conversation groups based on user-input search text, at least one conversation object database can be pre-set. Different conversation object databases store identification information with different attributes. These attributes include, but are not limited to, conversation group attributes, conversation member attributes, and nickname attributes associated with conversation members.

[0051] Optionally, the session object database includes at least one of the following: a session group-associated identifier database, a session member name database, a session member remarks identifier database, and a session member identifier database.

[0052] Furthermore, after obtaining the search text and at least two keywords, a search operation can be performed based on the search text in at least one pre-defined session object database to obtain a first queue. For example, the current search text could be "Study Group Zhang San". Based on this search text, content search operations can be performed in the session group-related identifier database, session member name database, session member note identifier database, and session member identifier database to determine whether any identifier contains the search text "Study Group Zhang San". If it exists, it can be added to the first queue as a search result.

[0053] Optionally, searches can be performed separately in at least one session object database based on each keyword to obtain a second queue corresponding to each keyword. Continuing the previous example, the search text "Study Group Zhang San" can be split into two keywords: "Study Group" and "Zhang San". A content search can be performed based on the keyword "Study Group" in the session group's associated identifier database, session member name database, session member note identifier database, and session member identifier database to determine if any identifier contains the keyword "Study Group", thus obtaining a search result. This search result can then be added to the second queue associated with "Study Group".

[0054] It should be noted that, due to the limited local computing power of the client, in order to implement a more comprehensive session group search operation based on the group name and member name entered by the user on the client, the number of search results in the first queue and the second queue can be limited.

[0055] For example, for a search text, the first 100 search results can be added to the first queue within each session object database. Therefore, after completing the search operation within each session object database, the first queue can contain 4 * 100 search results.

[0056] Step 103: Extract the search results to be output from the first queue and the second queue corresponding to each keyword in sequence according to the preset extraction conditions, and determine the session group to be displayed based on the search results to be output obtained from at least one search operation.

[0057] In this embodiment, after obtaining the first queue corresponding to the search text and the second queue corresponding to each keyword, the search results in the first queue and at least two second queues can be extracted based on preset extraction conditions to obtain the search results to be output.

[0058] Optionally, the queue includes a first queue corresponding to the search text and a second queue corresponding to each keyword. The first queue is constructed by searching the entire search text input by the user in at least one session object database, and each search result in the first queue includes the entire content of the search text. The search results in the second queue are constructed by searching any split keyword in at least one session object database; therefore, the search results in the second queue only include the portion of the content associated with the search text.

[0059] Therefore, if the currently extracted search result to be output is drawn from the first queue, since it includes all the content of the search text, the search text to be output can be directly identified as the session group to be displayed. That is, the session group to be displayed can be determined based on the search result to be output obtained from a single extraction operation.

[0060] If the currently extracted search result to be output is extracted from the second queue, since the search result to be output only includes the part of the content associated with the search text, it needs to be assembled with the search results associated with other keywords in order to determine the session group to be displayed.

[0061] Step 104: In response to the number of the session groups to be displayed reaching a preset second number, display the second number of session groups to be displayed on the front-end display interface.

[0062] In this embodiment, after determining the session group to be displayed based on the search results obtained from at least one search operation, the session group to be displayed can be displayed in the front-end display interface so that users can view the session group to be displayed based on the search text more intuitively.

[0063] Optionally, due to the low local computing power of the client, a second number can be preset in order to enable content search operations on the client's local machine. During the assembly and / or output of the session groups to be displayed, when the number of session groups to be displayed reaches the preset second number, the second number of session groups to be displayed are displayed on the front-end display interface.

[0064] For example, the second number may be 100, and the session groups to be displayed may be determined based on the to-be-output search results obtained from at least one search operation. When the currently output session groups to be displayed reach 100, the extraction operation for search results is stopped, and the 100 session groups to be displayed are directly displayed in the front-end display interface.

[0065] As an implementable mode, if the user does not find an interested session group among the second number of session groups to be displayed, a loading operation can also be triggered. In response to the loading operation, the search operation for session groups to be displayed is continued, and the 101st to 200th session groups to be displayed are searched and displayed.

[0066] Figure 2 it is a schematic diagram of interface interaction provided by the embodiments of the present disclosure, as Figure 2 shown, the user can input search text into the search box 21, for example, the search text may be "dining team dining captain". Therefore, after the search text is obtained, a splitting operation can be performed on the search text to obtain the keywords "dining team" and "dining captain". Further, a content search operation can be performed based on "dining team dining captain", "dining team" and "dining captain". Therefore, the session groups to be displayed 23 can be displayed in the front-end display interface 22. Wherein, the session groups to be displayed 23 may be session groups whose group names include "dining team dining captain", or alternatively, the session groups to be displayed 23 may also be session groups whose name is "dining team" and include a session member whose name is "dining captain", or alternatively, the session groups to be displayed 23 may also be session groups whose name is "dining captain" and include a session member whose name is "dining team", etc.

[0067] The content search method provided in this embodiment obtains search text input by the user for searching session groups. When the search text meets preset splitting conditions, it splits the search text into at least two keywords related to the session group and session members, respectively. Therefore, data search operations can be performed in at least one preset session object database based on the search text and at least two keywords to obtain a first queue corresponding to the search text and a second queue corresponding to each keyword. Search results in the first queue and at least two second queues can be extracted based on preset extraction conditions. Furthermore, operations such as assembly can be performed on the search results obtained from at least one search operation to obtain the session groups to be displayed. Thus, it is possible to perform comprehensive search operations in different session object databases based on the user-input search text and the corresponding split keywords, and to achieve session group search operations based on a combination of session group names and session member names. In addition, by limiting the number of search results in the first queue, the second queue, and the final number of session groups to be displayed, the computational load in the content search process can be effectively reduced, thus enabling content retrieval operations to be performed locally on the client side.

[0068] Optionally, based on any of the above embodiments, step 101 includes:

[0069] If the search text contains any preset character, and / or if the number of characters in the search text is greater than a preset character threshold, then the search text is split.

[0070] In this embodiment, the user can search for content by entering only the session group name or the session member names, or the user can search for the session group by entering both the session group name and the session member names. Therefore, after obtaining the search text determined by the user, it is first necessary to determine whether the search text needs to be split.

[0071] Optionally, after obtaining the search text, it can be determined whether the search text contains any preset character. This preset character can be a space character, a comma character, a semicolon character, etc., and this disclosure does not impose any restrictions on it. If it is determined that the search text contains any preset character, it indicates that a search operation for the session group needs to be performed based on a combination of the session group name and the session member name. Therefore, the search text can be split.

[0072] Optionally, after obtaining the search text, the word count of the search text can be determined. If the word count of the search text is greater than a preset word count threshold, it indicates that the current search operation for conversation groups needs to be implemented based on the combination of the conversation group name and the conversation member name, so the search text can be split. For example, the split operation is performed when the word count of the search text is greater than six, and the user can set the word count threshold according to actual requirements, which is not limited in the present disclosure.

[0073] The content search method provided in this embodiment splits the search text when it is determined that the search text includes any preset character and / or the word count of the search text is greater than the preset word count threshold, so that the keyword corresponding to the search text can be accurately determined, and then finer-grained content search operations can be performed based on the keyword.

[0074] Further, based on any of the above embodiments, step 101 includes at least one of the following:

[0075] taking the preset characters in the search text as separators, splitting the search text to obtain at least two keywords.

[0076] performing a semantic analysis operation on the search text, and splitting the search text based on a semantic analysis result to obtain at least two keywords.

[0077] splitting the search text according to a preset number of separating words to obtain at least two keywords.

[0078] In this embodiment, if there is a preset character in the search text, the preset character in the search text can be used as a separator to split the search text to obtain at least two keywords. For example, the search text may be "eating squad eating captain". The search text includes a space character, so the search text can be split into two keywords "eating squad" and "eating captain" based on the space character.

[0079] It should be noted that when a user uses the group search function based on the combination of the conversation group name and the conversation member name for the first time, in order to enable the user to more intuitively determine the input method of the search text associated with the search function, preset prompt content may be displayed on the display interface. The user is prompted to separate the conversation group name and the conversation member name with preset characters, so as to facilitate the subsequent keyword splitting operation.

[0080] Optionally, when the preset characters are not present in the search text, semantic analysis can be performed on the search text, and the search text can be split based on the speech analysis results to obtain at least two keywords. Alternatively, the search text can be split according to a preset number of separator characters to obtain at least two keywords. For example, splitting every four characters. Users can set the number of separator characters according to their actual needs, and this disclosure does not impose any restrictions on this.

[0081] The content search method provided in this embodiment can perform search text splitting operations more flexibly according to actual scenarios by pre-setting multiple different text splitting methods, thereby improving the accuracy and precision of search text splitting.

[0082] Furthermore, based on any of the above embodiments, the session object database includes the last session time associated with each session object. The search results include a first search result corresponding to the search text and a second search result corresponding to the keyword.

[0083] Step 102 includes:

[0084] For each session object database, multiple session objects that match the search text are searched in the session object database to obtain multiple first search results.

[0085] The multiple first search results are sorted in ascending order of the last session time associated with each first search result to obtain multiple sorted first search results.

[0086] The first queue is constructed based on the first N first search results among the sorted first search results corresponding to the at least one session object database, wherein the product of N and the number of session object databases is the first quantity.

[0087] And / or, step 102 includes:

[0088] For each keyword, multiple session objects matching the keyword are searched in each session object database to obtain multiple second search results.

[0089] Sort the multiple second search results in order of the latest to the earliest last session time associated with each second search result, and obtain the sorted second search results.

[0090] The second queue is constructed based on the first N first search results among the sorted plurality of second search results corresponding to at least one session object database, wherein the product of N and the number of session object databases is the first quantity.

[0091] In this embodiment, a data search operation can be performed in at least one preset session object database based on the search text and at least two keywords to obtain a first queue corresponding to the search text and a second queue corresponding to each keyword.

[0092] For each session object database, multiple session objects matching the search text are searched within the database to obtain multiple first search results. For example, multiple session objects matching the search text can be searched separately in the identifier database associated with the session group, the session member name database, the session member note identifier database, and the session member identifier database to obtain multiple first search results for each session object database.

[0093] Optionally, in order to reduce the computational load during the content search process and to implement the search operation of the session group based on the combination of the session group name and the session member name locally on the client, the number of first search results associated with the search text can be limited.

[0094] Therefore, it is possible to prioritize outputting at least one session group of the user's most recent sessions, and to sort multiple first search results in order of the last session time associated with each first search result from latest to earliest, thereby obtaining multiple sorted first search results.

[0095] Furthermore, a first queue can be constructed based on the first N first search results from multiple sorted first search results corresponding to at least one session object database, where N multiplied by the number of session object databases is the first quantity. For example, if N = 100, 100 search results associated with the search text can be searched from the identifier database associated with the session group, the session member name database, the session member note identifier database, and the session member identifier database, respectively. Therefore, the first queue can include 4 * 100 first search results.

[0096] Optionally, for each keyword, a data search operation needs to be performed within at least one pre-defined session object database based on that keyword to obtain a second queue. Therefore, multiple session objects matching the keyword can be searched in each session object database to obtain multiple second search results.

[0097] Optionally, in order to reduce the computational load during the content search process and to enable the search operation of the session group based on the combination of the session group name and the session member name on the client locally, the number of second search results associated with the keywords can be limited.

[0098] Therefore, multiple second search results can be sorted in ascending order of the last session time associated with each second search result to obtain sorted second search results. A second queue is constructed based on the first N first search results among the sorted second search results corresponding to at least one session object database, where N is the product of the number of session object databases and the first quantity.

[0099] For example, if N=100, 100 search results matching the keywords can be found in the identifier database associated with the session group, the session member name database, the session member note identifier database, and the session member identifier database, respectively. Therefore, the second queue can include 4*100 second search results.

[0100] The content search method provided in this embodiment performs data search operations within at least one preset session object database based on the search text and at least two keywords. This yields a first queue corresponding to the search text and a second queue corresponding to each keyword, thereby enabling more refined and comprehensive search results based on the search text and at least two keywords. Furthermore, by assembling and outputting the search results, more accurate content retrieval operations can be achieved.

[0101] Furthermore, based on any of the above embodiments, step 103 includes:

[0102] The search results to be output are extracted sequentially according to the last session time associated with each search result in the first queue and the second queue, from latest to earliest.

[0103] In this embodiment, the session object database includes the last session time associated with each session object. Therefore, after a content search is completed, each search result is associated with its last session time.

[0104] To facilitate users' search operations on recent conversation groups, at least one conversation group from the user's most recent conversations can be output first. Therefore, after obtaining the search text and at least two keyword-associated queues, the search results to be output can be extracted sequentially according to the latest to earliest last conversation time associated with each search result in the first and second queues.

[0105] Therefore, during the subsequent output and assembly of search results, the conversation groups of recent conversations can be output first.

[0106] The content search method provided in this embodiment extracts content in chronological order, thereby prioritizing the output of at least one conversation group from the user's most recent conversations, making it easier for the user to search for conversation groups from recent conversations.

[0107] Furthermore, based on any of the above embodiments, the first queue and each of the second queues are respectively associated with identification information. The method further includes:

[0108] The search results are named according to a preset naming protocol to obtain the naming information associated with the search results.

[0109] The naming protocol includes at least the identifier information of the queue to which the search result belongs and the identifier of the session group associated with the search result.

[0110] In this embodiment, to facilitate the subsequent assembly and output of the search results, the search results can be named according to a preset naming protocol to obtain the naming information associated with the search results.

[0111] The naming protocol includes at least the identifier of the queue to which the search result belongs and the identifier of the session group associated with the search result. Based on this naming information, it is possible to more intuitively determine the session group to which the currently extracted search result belongs, as well as the identifier of the queue to which the search result belongs, that is, which keyword the search result was obtained from.

[0112] Optionally, the naming protocol may also include unique identification information such as the tag number of each search result.

[0113] The content search method provided in this embodiment names the search results in the first queue and the second queue, adding the identifier of the queue to which the search results belong and the identifier of the session group associated with the search results to the name. This allows for more accurate assembly of the search results to be output based on the naming information.

[0114] Furthermore, based on any of the above embodiments, step 103 includes:

[0115] Based on the naming information associated with the search results to be output, the identification information of the queue to which the search results to be output belong is determined.

[0116] The search results to be output are processed using a processing method that matches the queue to which the search results to be output belong, thereby obtaining the session group to be displayed.

[0117] In this embodiment, for each search result, the identifier information of the queue to which it belongs can be determined based on its associated naming information.

[0118] For the first queue, since it is a queue constructed by searching at least one session object database based on the complete search text input by the user, each search result in the first queue includes the entire content of the search text. Therefore, the search results to be output extracted from the first queue can be directly output.

[0119] For any second queue, since the search results in this queue are constructed based on searches of at least one session object database using any split keyword, the search results in this second queue only include a portion of the content associated with the search text. Therefore, for each session group, it is necessary to assemble the search results corresponding to all keywords to obtain the final session group to be displayed.

[0120] Therefore, different processing methods can be used to process the search results to be output from different queues to obtain the session group to be displayed.

[0121] The content search method provided in this embodiment processes the search results to be output from different queues using different processing methods, thereby enabling more accurate content search operations.

[0122] Furthermore, based on any of the above embodiments, the step of processing the search results to be output using a processing method matching the queue to which the search results to be output belong, to obtain the session group to be displayed, includes:

[0123] If the queue to which the search results to be output belong is the first queue, then the search results to be output are determined as the session group to be displayed.

[0124] If the queue to which the search result to be output belongs is any second queue, then the associated session group identifier is determined based on the naming information associated with the search result to be output, and the keywords associated with the search result to be output are determined.

[0125] Determine whether the preset cache area includes historical cached content that matches the search result to be output. The historical cached content includes multiple cached search results. The multiple cached search results are associated with the same session group identifier as the search result to be output, and the multiple cached search results belong to different queues. The total number of queues associated with the multiple cached search results and the search result to be output is consistent with the total number of the search text and the at least two keywords.

[0126] If the preset cache area includes the historical cache content, then the search result to be output is concatenated with the historical cache content, and the concatenation result is determined as the session group to be displayed.

[0127] If the historical cached content is not included in the preset cache area, the search results to be output will be stored in the preset cache area.

[0128] In this embodiment, different processing methods can be used to process the search results to be output in different queues.

[0129] Optionally, if the queue to which the search results to be output belong is the first queue, since the first queue is a queue constructed based on searching at least one session object database with all the search text entered by the user, each search result in the first queue includes the entire content of the search text. Therefore, the search results to be output can be directly determined as the session group to be displayed.

[0130] Optionally, if the queue to which the search results to be output belongs is any second queue, since the search results in this second queue are constructed based on searches of at least one session object database using any split keyword, the search results in this second queue only include the content associated with the search text. Therefore, for each session group, it is necessary to assemble the search results corresponding to all keywords to obtain the final session group to be displayed.

[0131] Furthermore, a preset cache area can be pre-set to temporarily store search results extracted from the second queue. Therefore, after obtaining the search results to be output, the associated session group identifier and the associated keywords can be determined based on the naming information associated with the search results. It is determined whether the preset cache area includes historical cached content matching the search results to be output. This historical cached content includes multiple cached search results, all of which share the same session group identifier with the search results to be output, belong to different queues, and the total number of queues associated with all cached search results and the total number of search texts and at least two keywords is consistent.

[0132] Therefore, when the preset cache area includes historical cached content that matches the search result to be output, the search result to be output can be concatenated with the historical cached content, and the concatenated result can be determined as the session group to be displayed. Conversely, it indicates that the search result to be output is currently incomplete and needs to be temporarily stored in the preset cache area, waiting to be assembled with other search results to be displayed before being output.

[0133] For example, the search text may be "rice-eating team, rice-eating captain". Two keywords "rice-eating team" and "rice-eating captain" are obtained by splitting based on the search text. A content search operation may be performed in at least one conversation object database based on "rice-eating team rice-eating captain" and "rice-eating captain", to obtain a first queue corresponding to "rice-eating team rice-eating captain", a second queue corresponding to "rice-eating team", and a second queue corresponding to "rice-eating captain".

[0134] When it is determined that the currently extracted search result to be output is a search result within the second queue corresponding to "rice-eating team", it may be determined whether the preset cache area caches historical cached content that belongs to the same conversation group as the search result to be output and is extracted from the second queue corresponding to "rice-eating captain". If yes, a splicing operation may be performed on the search result to be output and the historical cached content, and the spliced result is determined as the conversation group to be displayed.

[0135] In the content search method provided in this embodiment, by directly outputting the search results to be output in the first queue, a conversation group fitting the search text can be output. By assembling the search results to be output in the second queue, a conversation group including keyword-associated conversation members can be output more accurately. The search operation for the conversation group is implemented more accurately based on the combination of the conversation group name and the conversation member name.

[0136] Further, on the basis of any one of the foregoing embodiments, after step 103, the method further includes:

[0137] determining a conversation group identifier associated with the conversation group to be displayed, and storing the conversation group identifier to a preset storage path.

[0138] The method further includes:

[0139] determining a conversation group identifier associated with the currently extracted search result to be output.

[0140] determining whether the preset storage path includes a conversation group identifier matching the currently extracted search result to be output.

[0141] if the preset storage path includes the conversation group identifier associated with the currently extracted search result to be output, discarding the currently extracted search result to be output.

[0142] if the preset storage path does not include the conversation group identifier associated with the currently extracted search result to be output, determining the conversation group to be displayed based on the search result to be output obtained by at least one search operation.

[0143] In this embodiment, to avoid repeatedly outputting the same session group, after determining the session group to be displayed based on the search results corresponding to at least one search operation, the session group identifier associated with that session group can be stored. Therefore, when a search result with the same session group identifier is subsequently extracted, that search result can be discarded directly.

[0144] Optionally, after determining the session group to be displayed based on the search results corresponding to at least one search operation, a session group identifier associated with the session group to be displayed can be determined and stored in a preset storage path. This preset storage path can be a preset identifier cache area.

[0145] Furthermore, in the subsequent search result extraction process, after extracting the search result to be output, the session group identifier associated with the currently extracted search result can be determined. It is then determined whether the preset storage path includes a session group identifier that matches the currently extracted search result. That is, it is determined whether a session group matching the session group identifier has already been output for display.

[0146] If a session group matching the session group identifier has been identified as being displayed, the currently extracted search result can be discarded to avoid duplicate output of the same session group. Otherwise, the session group to be displayed can be determined based on the search results obtained from at least one search operation.

[0147] Figure 3 This is a schematic diagram illustrating an application scenario provided by an embodiment of this disclosure, such as... Figure 3 As shown, after performing a content search in at least one session object database based on the search text and two keywords, a first queue 31 corresponding to the search text and a second queue 32 corresponding to each keyword can be obtained. The search results in the first queue 31 and the second queue 32 are displayed sequentially from latest to earliest according to the session time.

[0148] Furthermore, the search result 33 with the latest session time can be selected from the three queues for extraction. If it is determined that the search result 33 is a search result in the first queue 31, the search result 33 can be directly output, that is, it can be temporarily stored in the preset output buffer 34.

[0149] Furthermore, to prevent the same session group from being output repeatedly, the identifier information 35 of the session group associated with the search result 33 to be output can be temporarily stored in the output identifier buffer 36. This allows the search results associated with the session group to be discarded directly when they are subsequently retrieved from any queue.

[0150] Figure 4This is a schematic diagram illustrating another application scenario provided by an embodiment of this disclosure, such as... Figure 4 As shown, after performing a content search in at least one session object database based on the search text and two keywords, a first queue 41 corresponding to the search text and a second queue 42 corresponding to each keyword can be obtained. The search results in the first queue 41 and the second queue 42 are displayed sequentially from latest to earliest according to the session time.

[0151] Furthermore, the search result 43 with the latest session time can be extracted from the three queues. If it is determined that the search result 43 is a search result in any of the second queues, it can be determined whether the assembly buffer 44 contains historical cached content 45 that matches the search result 45. If it exists, the search result 43 and the historical cached content 45 can be assembled, and the assembled result 46 can be output, that is, temporarily stored in the preset output buffer 47.

[0152] The content search method provided in this embodiment avoids repeatedly outputting the same session group by pre-storing the session group identifier associated with the confirmed output search results, thereby making the final displayed session groups more diverse.

[0153] Furthermore, based on any of the above embodiments, the method further includes:

[0154] If the number of the session groups to be displayed does not reach the second number, and the search results in any queue associated with the search text and the at least one keyword have been extracted, then a supplementary search operation is performed in the at least one session object database based on the search text or keywords associated with the extracted queues.

[0155] In this embodiment, when extracting search results for the second queue from the first queue, the extraction is performed based on the last session time associated with each search result. Therefore, during the extraction process, it is possible that one queue finishes extraction before the others. In this case, to ensure that richer and more comprehensive search content is provided to the user, it can be determined whether the number of currently output session groups to be displayed has reached a preset second number.

[0156] If the target is not reached, it indicates that the current content search operation has not yet ended. In this case, to improve the accuracy of the content search, a supplementary search operation can be performed in at least one session object database based on the search text or keywords associated with the extracted queue.

[0157] Taking a practical application as an example, the search text may be "rice-eating team, rice-eating captain". Therefore, after the search text is obtained, a splitting operation may be performed on the search text to obtain the keywords "rice-eating team" and "rice-eating captain". Content search operation can be performed in at least one conversation object database based on "rice-eating team rice-eating captain", "rice-eating team" and "rice-eating captain", so as to obtain a first queue and two second queues. Wherein, each queue comprises 100 search results sorted from latest to earliest according to the last conversation time. In the extraction process, if the search results in the second queue associated with "rice-eating team" have been completely extracted, in order to ensure the accuracy and comprehensiveness of content search, a supplementary search operation can be performed based on the keyword "rice-eating team". For example, the 101st to 200th search results sorted from latest to earliest according to the last conversation time can be added to the second queue associated with "rice-eating team" to continue the content extraction operation.

[0158] The content search method provided in this embodiment performs a supplementary queue retrieval operation when the number of conversation groups to be displayed does not reach the second threshold, and the search results in any queue associated with the search text and at least one keyword have been completely extracted, thereby ensuring that a single search operation can accurately output the second number of conversation groups to be displayed, and can guarantee the content quality of the output conversation groups to be displayed.

[0159] Figure 5 is a structural schematic diagram of the content search system provided by the present disclosure, as Figure 5 shown in the figure, the content search system comprises a search interface 51, a service management layer 52, a database interaction layer 53 and a database management layer 54.

[0160] Wherein, a user can trigger a content search operation through the search interface 51 and input a search text. The service management layer 52 respectively comprises a splitting module 55, a query initiating module 56 and a result assembling module 57, wherein the splitting module 55 is configured to perform a splitting operation on the search text, the query initiating module 56 is configured to perform a content search operation in the conversation object database based on the search text and the split keywords. The result assembling module 57 is configured to output or assemble the to-be-output search results extracted sequentially according to extraction conditions. The database interaction layer 53 comprises a database query interface, so the query initiating module 56 can call the database query interface to perform the content search operation. The database management layer 54 comprises at least one conversation object database 58, a data query logic 59 and a preset naming protocol.

[0161] Based on the above system architecture, after obtaining the user-input search text through search interface 51, the search text can be split into at least two keywords using splitting module 55. Then, by initiating query module 56, a database query interface is called to perform a search operation based on the search text and at least two keywords in the preset session object database within database management layer 54, using data query logic 59. This yields a first queue corresponding to the search text and a second queue corresponding to each keyword.

[0162] The system can then extract search results from the first queue and at least two second queues according to a preset extraction order. The assembly result module 57 can then directly output the search results, or combine them with search results extracted by other extraction operations. This enables a more comprehensive session group search operation based on group name and member name.

[0163] Figure 6 This is a schematic diagram of the structure of the content search device provided in the embodiments of this disclosure, such as... Figure 6 As shown, the device includes: a splitting module 61, a search module 62, an assembly module 63, and a display module 64. The splitting module 61 is used to acquire search text and, in response to the search text meeting preset splitting conditions, split the search text to obtain at least two keywords. The search text is used to search for conversation groups, and the keywords include keywords associated with conversation object identifiers. The conversation objects include any conversation group and at least one conversation member within any conversation group. The search module 62 is used to perform a search operation based on the search text in at least one preset conversation object database to obtain a first queue, and then perform a search operation based on each keyword in the at least one conversation object database to obtain a second queue corresponding to each keyword. The first queue and the second queue each include a first number of search results. The assembly module 63 is used to sequentially extract search results to be output from the first queue and the second queue corresponding to each keyword according to preset extraction conditions, and determine the conversation groups to be displayed based on the search results obtained from at least one search operation. The display module 64 is used to display the second number of conversation groups to be displayed on the front-end display interface in response to the number of conversation groups to be displayed reaching a preset second number.

[0164] Furthermore, based on any of the above embodiments, the splitting module is configured to: in response to the search text including any preset character, and / or in response to the number of characters in the search text being greater than a preset character threshold, perform a splitting operation on the search text.

[0165] Further, based on any of the above embodiments, the splitting module is configured to perform at least one of the following: using preset characters in the search text as delimiters to split the search text and obtain at least two keywords; performing semantic analysis on the search text and splitting the search text based on the speech analysis results to obtain at least two keywords; or splitting the search text according to a preset number of delimiters to obtain at least two keywords.

[0166] Furthermore, based on any of the above embodiments, the session object database includes at least one of the following: a session group associated identifier database, a session member name database, a session member remarks identifier database, and a session member identifier database.

[0167] Further, based on any of the above embodiments, the session object database includes the last session time associated with each session object. The search results include a first search result corresponding to the search text and a second search result corresponding to the keyword. The search module is configured to: search for multiple session objects matching the search text in each session object database to obtain multiple first search results; sort the multiple first search results in ascending order of the last session time associated with each first search result to obtain sorted multiple first search results; construct a first queue based on the first N first search results among the sorted multiple first search results corresponding to at least one session object database, wherein the product of N and the number of session object databases is the first quantity. And / or, the search module is configured to: search for multiple session objects matching the keyword in each session object database to obtain multiple second search results; sort the multiple second search results in ascending order of the last session time associated with each second search result to obtain sorted multiple second search results; construct a second queue based on the first N first search results among the sorted multiple second search results corresponding to at least one session object database, wherein the product of N and the number of session object databases is the first quantity.

[0168] Furthermore, based on any of the above embodiments, the assembly module is configured to: sequentially extract the search results to be output in order from latest to earliest, according to the last session time associated with each search result in the first queue and the second queue.

[0169] Furthermore, based on any of the above embodiments, the first queue and each of the second queues are respectively associated with identification information. The device further includes: a naming module, used to perform a naming operation on the search results according to a preset naming protocol to obtain naming information associated with the search results. The naming protocol includes at least the identification information of the queue to which the search results belong and the session group identifier associated with the search results.

[0170] Furthermore, based on any of the above embodiments, the search module is configured to: determine the identifier information of the queue to which the search result to be output belongs based on the naming information associated with the search result to be output; process the search result to be output using a processing method that matches the queue to which the search result to be output belongs, and obtain the session group to be displayed.

[0171] Further, based on any of the above embodiments, the search module is configured to: if the queue to which the search result to be output belongs is the first queue, then determine the search result to be output as the session group to be displayed. If the queue to which the search result to be output belongs is any second queue, then determine the associated session group identifier based on the naming information associated with the search result to be output, and determine the keywords associated with the search result to be output. Determine whether a preset cache area includes historical cached content matching the search result to be output, wherein the historical cached content includes multiple cached search results, the multiple cached search results are associated with the same session group identifier as the search result to be output, and the multiple cached search results belong to different queues, and the total number of queues associated with the multiple cached search results and the search result to be output is consistent with the total number of the search text and the at least two keywords. If the preset cache area includes the historical cached content, then concatenate the search result to be output with the historical cached content, and determine the concatenation result as the session group to be displayed. If the preset cache area does not include the historical cached content, then store the search result to be output in the preset cache area.

[0172] Further, based on any of the above embodiments, the apparatus further includes: a storage module, configured to determine the session group identifier associated with the session group to be displayed, and store the session group identifier in a preset storage path. The apparatus further includes: a determining module, configured to determine the session group identifier associated with the currently extracted search result to be output; a matching module, configured to determine whether the preset storage path includes a session group identifier that matches the currently extracted search result to be output; a first processing module, configured to discard the currently extracted search result to be output if the preset storage path includes a session group identifier associated with the currently extracted search result to be output; and a second processing module, configured to determine the session group to be displayed based on the search result to be output obtained from at least one search operation if the preset storage path does not include a session group identifier associated with the currently extracted search result to be output.

[0173] Furthermore, based on any of the above embodiments, the apparatus further includes: a supplementary search module, configured to perform a supplementary search operation in the at least one session object database based on the extracted search text or keywords associated with the extracted queues, in response to the fact that the number of the session groups to be displayed has not reached the second number, and the search results of the search text and any queue associated with the at least one keyword have been extracted.

[0174] The device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0175] To implement the above embodiments, this disclosure also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the content search method as described in any of the above embodiments.

[0176] To implement the above embodiments, this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the content search method as described in any of the above embodiments.

[0177] To implement the above embodiments, this disclosure also provides an electronic device, including: a processor and a memory;

[0178] The memory stores computer-executed instructions;

[0179] The processor executes computer execution instructions stored in the memory, causing the processor to perform the content search method as described in any of the above embodiments.

[0180] Figure 7This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. The electronic device 700 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0181] like Figure 7 As shown, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 also stores various programs and data required for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0182] Typically, the following devices can be connected to I / O interface 705: input devices 706 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 707 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 708 including, for example, magnetic tapes, hard disks, etc.; and communication devices 709. Communication device 709 allows electronic device 700 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 7 An electronic device 700 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0183] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 709, or installed from storage device 708, or installed from ROM 702. When the computer program is executed by processing device 701, it performs the functions defined in the methods of embodiments of this disclosure.

[0184] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0185] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0186] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.

[0187] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0188] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0189] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".

[0190] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0191] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0192] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0193] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0194] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A content search method, characterized in that, include: Obtain search text, and in response to the search text meeting preset splitting conditions, perform a splitting operation on the search text to obtain at least two keywords. The search text is used to search for conversation groups. The keywords include keywords associated with conversation object identifiers. The conversation object includes any conversation group and at least one conversation member in any conversation group. Based on the search text, a search operation is performed in at least one preset session object database to obtain a first queue. Based on each keyword, a search operation is performed in the at least one session object database to obtain a second queue corresponding to each keyword. The first queue and the second queue each include a first number of search results. According to the preset extraction conditions, the search results to be output are extracted sequentially from the first queue and the second queue corresponding to each keyword, and the session group to be displayed is determined based on the search results to be output obtained from at least one search operation. In response to the number of the session groups to be displayed reaching a preset second number, the second number of session groups to be displayed are displayed on the front-end display interface.

2. The method according to claim 1, characterized in that, The step of splitting the search text in response to the search text meeting preset splitting conditions includes: If the search text contains any preset character, and / or if the number of characters in the search text is greater than a preset character threshold, then the search text is split.

3. The method according to claim 2, characterized in that, The splitting operation of the search text includes at least one of the following: Using preset characters in the search text as delimiters, the search text is split to obtain at least two keywords; Perform semantic analysis on the search text, and split the search text based on the speech analysis results to obtain at least two keywords; The search text is split according to a preset number of delimiters to obtain at least two keywords.

4. The method according to claim 1, characterized in that, The session object database includes at least one of the following: a session group-associated identifier database, a session member name database, a session member remarks identifier database, and a session member identifier database.

5. The method according to claim 4, characterized in that, The session object database includes the last session time associated with each session object; the search results include a first search result corresponding to the search text and a second search result corresponding to the keyword; The step of performing a search operation based on the search text in at least one preset session object database to obtain a first queue includes: For each session object database, multiple session objects that match the search text are searched in the session object database to obtain multiple first search results; The multiple first search results are sorted in order of the last session time associated with each first search result from latest to earliest to obtain multiple sorted first search results. The first queue is constructed based on the first N first search results from a plurality of sorted first search results corresponding to the at least one session object database, wherein the product of N and the number of session object databases is the first quantity; and / or The step of performing a search operation on the at least one session object database based on each of the keywords to obtain a second queue corresponding to each keyword includes: For each keyword, multiple conversation objects matching the keyword are searched in each conversation object database to obtain multiple second search results; Sort the multiple second search results in order of the latest to the earliest last session time associated with each second search result to obtain the sorted second search results. The second queue is constructed based on the first N first search results among the sorted plurality of second search results corresponding to at least one session object database, wherein the product of N and the number of session object databases is the first quantity.

6. The method according to claim 5, characterized in that, The step of sequentially extracting search results to be output from the first queue and the second queue corresponding to each keyword according to preset extraction conditions includes: The search results to be output are extracted sequentially according to the last session time associated with each search result in the first queue and the second queue, from latest to earliest.

7. The method according to claim 1, characterized in that, The first queue and each of the second queues are associated with identification information; the method further includes: The search results are named according to a preset naming protocol to obtain the naming information associated with the search results; The naming protocol includes at least the identifier information of the queue to which the search result belongs and the identifier of the session group associated with the search result.

8. The method according to claim 7, characterized in that, The process of determining the group of sessions to be displayed based on the search results obtained from at least one search operation includes: Based on the naming information associated with the search results to be output, determine the identifier information of the queue to which the search results to be output belong; The search results to be output are processed using a processing method that matches the queue to which the search results to be output belong, thereby obtaining the session group to be displayed.

9. The method according to claim 8, characterized in that, The step of processing the search results to be output using a processing method that matches the queue to which the search results to be output belonges, to obtain the session group to be displayed, includes: If the queue to which the search results to be output belong is the first queue, then the search results to be output are determined as the session group to be displayed; If the queue to which the search result to be output belongs is any second queue, then the associated session group identifier is determined based on the naming information associated with the search result to be output, and the keywords associated with the search result to be output are determined. Determine whether the preset cache area includes historical cached content that matches the search result to be output. The historical cached content includes multiple cached search results. The multiple cached search results are associated with the same session group identifier as the search result to be output, and the multiple cached search results belong to different queues. The total number of queues associated with the multiple cached search results and the search result to be output is consistent with the total number of the search text and the at least two keywords. If the preset cache area includes the historical cache content, then the search result to be output is concatenated with the historical cache content, and the concatenation result is determined as the session group to be displayed. If the historical cached content is not included in the preset cache area, the search results to be output will be stored in the preset cache area.

10. The method according to claim 1, characterized in that, After determining the session group to be displayed based on the search results obtained from at least one search operation, the method further includes: Determine the session group identifier associated with the session group to be displayed, and store the session group identifier in a preset storage path; The method further includes: Determine the session group identifier associated with the currently extracted search result to be output; Determine whether the preset storage path includes a session group identifier that matches the currently extracted search result to be output; If the preset storage path includes a session group identifier associated with the currently extracted search result to be output, then the currently extracted search result to be output is discarded. If the preset storage path does not include a session group identifier associated with the currently extracted search result to be output, then the session group to be displayed is determined based on the search result to be output obtained from at least one search operation.

11. The method according to any one of claims 1-10, characterized in that, The method further includes: If the number of the session groups to be displayed does not reach the second number, and the search results in any queue associated with the search text and the at least one keyword have been extracted, then a supplementary search operation is performed in the at least one session object database based on the search text or keywords associated with the extracted queues.

12. A content search device, characterized in that, include: The splitting module is used to obtain search text. In response to the search text meeting the preset splitting conditions, the module performs a splitting operation on the search text to obtain at least two keywords. The search text is used to search for a session group. The keywords include keywords associated with a session object identifier. The session object includes any session group and at least one session member in any session group. The search module is used to perform a search operation in at least one preset session object database based on the search text to obtain a first queue, and to perform a search operation in the at least one session object database based on each keyword to obtain a second queue corresponding to each keyword. The first queue and the second queue each include a first number of search results. An assembly module is used to sequentially extract search results to be output from the first queue and the second queue corresponding to each keyword according to preset extraction conditions, and to determine the session group to be displayed based on the search results to be output obtained from at least one search operation. The display module is used to display the second number of session groups to be displayed on the front-end display interface in response to the number of the number of session groups to be displayed reaching a preset second number.

13. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the content search method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the content search method as described in any one of claims 1 to 11.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the content search method as described in any one of claims 1 to 11.