CN115599814A - Searching method, searching device and computer readable storage medium - Google Patents

Searching method, searching device and computer readable storage medium Download PDF

Info

Publication number
CN115599814A
CN115599814A CN202110780912.5A CN202110780912A CN115599814A CN 115599814 A CN115599814 A CN 115599814A CN 202110780912 A CN202110780912 A CN 202110780912A CN 115599814 A CN115599814 A CN 115599814A
Authority
CN
China
Prior art keywords
search
historical
record
records
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110780912.5A
Other languages
Chinese (zh)
Inventor
黄铁鸣
张龙飞
黄诗洋
林莉
李斌
文孝木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110780912.5A priority Critical patent/CN115599814A/en
Publication of CN115599814A publication Critical patent/CN115599814A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs

Abstract

The embodiment of the application discloses a searching method, a searching device and a computer readable storage medium, wherein the searching method comprises the following steps: acquiring an operation instruction of a search function entry aiming at the instant messaging application; responding to the operation instruction, displaying a search record page in the instant messaging application, wherein the search record page comprises one or more historical search records in a search record set, the historical search records comprise one or two of historical search keywords and historical search results, and the historical search results comprise one or more of contacts, groups, applications, mails, collections and chatting records in the instant messaging application; and responding to a trigger instruction aiming at a target historical search record in one or more historical search records, acquiring a first search result corresponding to the target historical search record, and displaying a content page corresponding to the first search result. By the embodiment of the application, various historical search records in instant messaging application can be quickly accessed, and the search efficiency is effectively improved.

Description

Searching method, searching device and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a search method, an apparatus, and a computer-readable storage medium.
Background
In the era of explosion of information quantity, people want to quickly and conveniently acquire information wanted by themselves, and the search function is not left, and searching input keyword search by using a search engine such as a browser is a very common search mode, and similar applications are available in various instant messaging applications, so that a content search function in the instant messaging applications is provided for users, and the users are helped to search the information more quickly. However, the search efficiency of this search method is not high because the search keyword needs to be repeatedly input for the search request of the user with high frequency repetition, so how to improve the search efficiency in the instant messaging application is a problem worth discussing.
Disclosure of Invention
The embodiment of the application provides a searching method, a searching device and a computer readable storage medium, which can realize quick access to various historical searching records in instant messaging application and effectively improve the searching efficiency.
An aspect of the present embodiment provides a search method, including:
acquiring an operation instruction of a search function entry aiming at the instant messaging application;
responding to the operation instruction, displaying a search record page in the instant messaging application, wherein the search record page comprises one or more historical search records in a search record set, the historical search records comprise one or two of historical search keywords and historical search results, and the historical search results comprise one or more of contacts, groups, applications, mails, collections and chat records in the instant messaging application;
responding to a trigger instruction aiming at a target historical search record in one or more historical search records, acquiring a first search result corresponding to the target historical search record, and displaying a content page corresponding to the first search result, wherein the first search result is a historical search result included in the target historical search record or a search result determined according to a historical search keyword included in the target historical search record.
An aspect of an embodiment of the present application provides a search apparatus, including:
the acquisition module is used for acquiring an operation instruction of a search function entry aiming at the instant messaging application;
the display module is used for responding to the operation instruction and displaying a search record page in the instant messaging application, wherein the search record page comprises one or more historical search records in a search record set, the historical search records comprise one or two of historical search keywords and historical search results, and the historical search results comprise one or more of contacts, groups, applications, mails, collections and chat records in the instant messaging application;
the display module is further configured to, in response to a trigger instruction for a target historical search record in the one or more historical search records, obtain a first search result corresponding to the target historical search record, and display a content page corresponding to the first search result, where the first search result is a historical search result included in the target historical search record or a search result determined according to a historical search keyword included in the target historical search record.
An aspect of an embodiment of the present application provides a terminal device, including: a processor, a memory, a network interface, an input device, and an output device; the processor is coupled to the memory, the network interface for providing network communication functions, the memory for storing program code, the input device for receiving user input instructions to generate signal inputs related to user settings and function control of the terminal device, the output device for outputting data information, and the output device for invoking the program code to perform the search method in the embodiments of the present application.
An aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by a processor, the computer program executes a search method in the embodiments of the present application.
Accordingly, embodiments of the present application provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the searching method provided in the embodiment of the application.
In the embodiment of the application, the historical search records are displayed on the search record interface of the instant messaging application, the historical search keywords and the historical search results are supported to be displayed as the historical search records, an access entry for quick search is provided for a user, and when the terminal equipment responds to a trigger instruction aiming at the target historical search records, the search can be directly initiated and the corresponding real-time search results can be obtained. As a convenient and fast searching mode, the method can greatly improve the searching efficiency and save the time cost of searching by the user.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the embodiments or technical solutions in the prior art are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is an architecture diagram of a search system provided by an embodiment of the present application;
fig. 2a is a schematic flowchart of a search method provided in an embodiment of the present application;
FIG. 2b is a schematic diagram of a search function interface provided by an embodiment of the present application;
FIG. 2c is a schematic diagram of another search function interface provided by an embodiment of the present application;
FIG. 3a is a schematic diagram of a session page provided in an embodiment of the present application;
FIG. 3b is a schematic diagram of a content page provided by an embodiment of the present application;
fig. 4 is a schematic flowchart of a search method provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a search results page provided by an embodiment of the present application;
fig. 6 is a schematic flowchart of a search method provided in an embodiment of the present application;
FIG. 7a is a schematic diagram of updating a historical search record by sliding up and down according to an embodiment of the present disclosure;
FIG. 7b is a schematic diagram illustrating an effect of sliding down to update a historical search record according to an embodiment of the present application;
FIG. 7c is a diagram illustrating an example of updating a historical search record by turning pages up and down according to an embodiment of the present disclosure;
FIG. 7d is a diagram illustrating a left-right page turning update history search record according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of a search method provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a search apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, an architecture diagram of a search system according to an embodiment of the present application is provided, where the architecture diagram includes a user terminal 101 and a server 102, and the user terminal 101 and the server 102 are connected in a wired or wireless manner.
The user terminal 101 may be a smart phone, a tablet computer, a smart wearable device, a personal computer, and the like, in which an application client, such as an instant messaging application, may be run, and the instant messaging application may be an enterprise office application. The user terminal 101 may display a search record page in the user terminal 101 in response to an operation instruction input by the user, display a history search record on the search record page, and select a target history search record in response to a corresponding trigger instruction, where the target history search record may be a search keyword (i.e., a history search keyword) input before or a search result (i.e., a history search result) selected and checked by the user before. If the target historical search record is a search result selected to be checked by a previous user, a content page corresponding to the historical search result may be directly displayed in the user terminal 101, for example, a contact displayed on the search record page is a historical search result, and the contact is clicked to directly enter a page related to the contact chat. The user terminal 101 may also cache historical search records and present them to the user when initiating the search process to provide a quick search entry.
The server 102 may provide background support for the instant messaging application running in the user terminal 101, and store data generated when the user terminal 101 uses a related function module of the instant messaging application, such as a chat record, an address book, a cloud document uploaded by a user, and the like, so that when the user terminal 101 searches for related content using a search function portal, the user terminal 101 may request data matching a history search keyword from the server 102 to obtain a search result. The server 102 can also backup the historical search records displayed on the search record page of the user terminal 101, so that the historical search records cannot be displayed under the condition of data loss or damage, and the function of rapid search is comprehensively guaranteed. The server 102 may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server that provides basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform.
The historical search records of the user are recorded through the user terminal 101, the display of the historical search records is supported, when the previous search records need to be used, only clicking in the displayed historical search records is needed, the historical search records are directly multiplexed, the search request is automatically initiated, and the search result is obtained from the server 102, so that the whole search process is more efficient.
The search method provided by the embodiment of the present application is described with a terminal device (such as the user terminal shown in fig. 1) as an execution subject, and optionally, the terminal device may be a smart phone, a tablet computer, a smart wearable device, a personal computer, and the like. The flow chart of the search method provided by each of the embodiments described below may be a search method provided based on the architecture diagram shown in fig. 1.
Referring to fig. 2a, fig. 2a is a schematic flowchart of a searching method according to an embodiment of the present disclosure. The searching method at least comprises the following steps S201 to S203:
s201, obtaining an operation instruction of a search function entry aiming at the instant messaging application.
In one embodiment, the instant messaging application is software which is based on the internet and realizes online chat and communication through instant messaging technology, can be operated in a terminal device as an application client, and has various functional modules, such as sending and receiving mails, browsing articles, collecting texts, storing cloud documents and the like. Searching is one of important functions in instant messaging applications, existing contents in the instant messaging applications can be quickly acquired through searching, and usually a user can directly start searching or start searching after executing preparation work of searching by operating at a searching function entry. The searching function entry is a searching main entry of the instant messaging application, so that the contents in all the function modules in the instant messaging application can be searched through the searching main entry, and comprehensive searching is realized. In this embodiment, the operation instruction for the search function entry may be generated by clicking the search function entry or waking up the search function in a voice manner, and the terminal device can acquire the operation instruction and then execute the subsequent processing content. The content and the obtaining manner of the operation instruction are not limited herein.
S202, responding to the operation instruction, and displaying a search record page in the instant messaging application.
In an embodiment, the search record page includes one or more historical search records in the search record set, the historical search records including one or both of historical search keywords and historical search results. Optionally, the historical search results include one or more of contacts, groups, applications, emails, favorites, and chat records in the instant messaging application. The historical search records in the search record set can be determined according to the relevant rules, because some parts may be invalid for the content searched by the user, for example, the user inputs a search keyword to initiate a first search, but there is no desired search result or the search result is empty, the search keyword is re-input to initiate a search, the first search is actually an invalid search, and the previously input search keyword is not added as a historical search record to the search record set, so that the usefulness of the historical search records can be ensured, and the redundancy of the historical search records in the search record set is reduced. It should be noted that the application in the instant messaging application may refer to a collection of some conventional tools and management functions, such as receiving and paying, cloud meeting, screen projection, printing, and the like, and is not limited herein.
Each historical search record displayed in the search record page can be a historical search keyword or a historical search result, and is an effective search recorded by the user before the search function is started. The terminal device responds to an operation instruction aiming at the search function inlet, displays a search record page in the instant messaging application, and displays one or more historical search records in the search record page, wherein the one or more historical search records belong to part or all of the content in the search record set. The history search records may be history search records stored in the local storage space or history search records backed up by the server, and when the history search records need to be acquired, the history search records may be preferentially read from the local storage space, and if the history search records do not exist in the local storage space, the history search records may be acquired from the server.
In an embodiment, for any historical search record included in the search record page, if any historical search record is a historical search result, where the historical search result includes a contact or a group in an address book of the instant messaging application, the search record page includes a name and an indication icon of the contact, or a name, an indication icon, and a number of members of the group. The history search records displayed on the search record page may include two types, one is a history search keyword, the other is a history search result, and the history search result may be a search result clicked by the user. In this embodiment, a group, that is, a group chat, exists in an address book of an instant messaging application used by a user, and a contact, that is, a friend in the address book, displays content including a name and an indication icon when a history search record displayed on a search record page is a contact, where the name of the contact may be matched with a history search keyword, and the indication icon of the contact may be a head portrait used by the contact. The historical search records displayed on the search record page are group chats, and the number of people in the group chats can be displayed besides the names and the head portraits of the group chats. In addition, if any one history search record is a history search keyword, the search record page directly shows the history search keyword.
Please refer to fig. 2b, which is a schematic diagram of a search function interface provided in an embodiment of the present application, as shown in fig. 2b, the search function interface displayed in the smart phone includes a data input area 201 and a search record display area 202, where the data input area 201 corresponds to the search function entry, the search record display area 202 is a search record page, and a user can input an operation instruction in the data input area 201 to display the search record display area 202 and the data input area 201 together on a screen of the terminal device. In the search log display area 202, a history search log is formed by a contact, a group and some history search keywords, it can be found that the display of the contact and the group includes a corresponding name and an icon, the group also includes the number of members, and the history search keywords are a pure text display. Please refer to fig. 2c, which is a schematic diagram of another search function interface provided in an embodiment of the present application, the search function interface is presented in an instant messenger application of a personal computer device, and is presented in a slightly different manner compared with the search function interface shown in fig. 2b, the search function interface is only a part of a content interface presented by the instant messenger application, and besides, the search function interface further includes a message receiving area 203b, a session window area 204b, and the like.
S203, responding to a trigger instruction aiming at a target historical search record in one or more historical search records, acquiring a first search result corresponding to the target historical search record, and displaying a content page corresponding to the first search result.
In an embodiment, the first search result is a historical search result included in the target historical search record or a search result determined according to a historical search keyword included in the target historical search record. Since the target historical search record is any one of one or more historical search records displayed on the search record page, accordingly, the target historical search record may include any one of a historical search keyword or a historical search result, the first search result may be a search result determined according to the historical search keyword included in the target historical search record, and may include a plurality of search result cards, or when the target historical search record includes the historical search result, the historical search result is a current search result, and may be considered as a uniquely determined search result card. For example, the user may click any one of the history search records shown in the search record page shown in fig. 2b or fig. 2c, generate a trigger instruction, and the terminal device, in response to the trigger instruction, initiates a search based on the history search record, obtains a first search result corresponding to the target history search record, where the first search result is a search result determined according to the history search keyword if the target history search record is the history search keyword, and the history search result is used as the first search result if the target history search record is the history search result. When a first search result corresponding to the target historical search record is acquired in response to a trigger instruction for the target historical search record and a content page corresponding to the first search result is displayed in the terminal device, the content page can be distinguished according to different target historical search records.
It can be found that the history search records provided for the user are a very convenient search mode, because when the user needs to use the records before searching again in the following, the corresponding history search records only need to be clicked in one or more history search records in the search record display page, the client of the instant messaging application can automatically initiate the corresponding search request, and the starting speed of the search process is improved. And for a complex search request, such as a search with a long search keyword, the user only needs to input the search manually once, and the search can be initiated by clicking the reusable historical search keyword when the search is used again, so that the search time is saved for the user, and the search efficiency is improved.
Optionally, the target historical search record may also be a historical search keyword or a historical search result, and an implementation manner of displaying the content page corresponding to the first search result includes: judging whether the target historical search record is a historical search result, wherein the historical search result comprises contacts or groups in an address book of the instant messaging application; if so, displaying a conversation page of the contact person or the group; and if not, displaying the content page of the first search result. Since the target historical search record may be a historical search result or a historical search keyword, when the target historical search record is a historical search result, optionally, the historical search result may be a contact or a group in an address book of the instant messaging application, and for the display form of the historical search record such as the contact and the group, reference may be made to the foregoing example content, which is not described herein again. Further, when it is determined that the target history search record is the history search result, a session page of a contact or a group chat may be displayed, where the session page is a content page corresponding to the first search result, please refer to fig. 3a, which is a schematic diagram of a session page provided in an embodiment of the present application, as shown in fig. 3a, a user selects a history search record of "zhang san" of a contact from the search record page, that is, the target history search record is also the history search result, and the corresponding first search result is zhang san, which directly displays a session window of zhang san to the terminal and serves as the session page.
If the target historical search record is not a historical search result, namely the target historical search record is indicated to be other historical search keywords except for contacts and groups, namely the historical search keywords are reused by the user, a content page corresponding to the first search result determined according to the historical search keywords is displayed in the terminal equipment. The content page includes one or more search results that match the multiplexed historical search keywords, such as search results from an application in an instant messaging application, chat logs, favorites, email, dynamic, etc. modules. The user can select the required search results from the content page, and the number of the user selections and the presentation form of the content page are not limited herein. Referring to fig. 3b, which is a schematic diagram of a content page provided in an embodiment of the present application, as shown in fig. 3b, a user selects a historical search record "product plan" from a search record page, which belongs to a historical search keyword, uses the historical search record as a target historical search record, obtains a corresponding first search result, that is, a plurality of real-time search results matched with the "product plan", and displays the real-time search result in a content page, where the content page is also a search result page obtained by multiplexing the historical search keyword this time and initiating a search by a terminal device.
In summary, the embodiments of the present application have at least the following advantages:
in a search scene of the instant messaging application, the historical search records are displayed according to the historical search records or search habits of a user, the historical search records are displayed in the instant messaging application, a convenient and quick search entry is provided for the user, particularly, for a large number of search requests which are repeated for many times and at high frequency, the repeated input of search keywords by the user is avoided, the request can be directly initiated by multiplexing the historical search keywords through executing simple trigger operation (such as clicking), and then the request is jumped to a content page corresponding to a search result, so that the convenience degree and the speed of searching in the instant messaging application are improved, and the searching of the user is more efficient.
Referring to fig. 4, fig. 4 is a schematic flowchart of a searching method provided in the embodiment of the present application, where the searching method at least includes the following steps S401 to S403:
s401, acquiring the input search keyword, and acquiring one or more search results corresponding to the search keyword.
In an embodiment, a user may input a search keyword at a search function entry of an instant messaging application, optionally, the search keyword may be input by voice or manually, the terminal device obtains the input search keyword, may match a corresponding search result according to the search keyword, and the search result may be one or more search results or may be null. The content of the search keyword, the input method, and the number of search results are not limited herein. The terminal device can acquire the input search keyword at any time, for example, if the search record set cached in the instant messaging application is empty, that is, when no history search record is displayed on the terminal device, the user wants to use the search function, and can not access the terminal device quickly through the display of the history search record, but needs to input the search keyword. Of course, even if the history search record is presented in the terminal device, the user may select to input the search keyword in the corresponding data input area. It should be noted that the input search keyword is not acquired from the history search record, and on the contrary, the history search record needs to be created according to the search keyword, so that the search keyword related to the following, that is, the input search keyword acquired in this step, may alternatively be taken as the history keyword or a search result corresponding to the input keyword as the history search result when the input keyword is determined to be a valid search. The determination on the effective search may be performed by combining the search results with the operation behavior of the user, or may adopt another manner, for example, if the number of the search results is greater than a set threshold, the search is regarded as an effective search, which is not limited herein.
In one embodiment, obtaining one or more search results corresponding to the search keyword may include: searching a target contact corresponding to the search keyword from an address book of the instant messaging application; if the target contact person corresponding to the search keyword is inquired, inquiring a first group comprising the target contact person from an address book of the instant messaging application; inquiring a second group corresponding to the search keyword from the address book of the instant messaging application; and taking the target contact, the first group and the second group as search results corresponding to the search keywords. When the terminal acquires the input search keyword, whether a contact name corresponding to the search keyword exists in an address book of the instant messaging application can be preferentially inquired, if the target contact can be inquired, a first group where the target contact is located in the instant messaging application can be further inquired, meanwhile, a second group corresponding to the input search keyword can be inquired according to the input search keyword, namely whether the group name comprises the search keyword or is consistent with the search keyword is checked, and if the group name and the search keyword can be inquired, the first group, the second group and the target contact are obtained and serve as search results.
In addition, if the corresponding contact or group cannot be queried in the address book of the instant messaging application according to the input search keyword, search results matched with the search keyword can be queried in other modules of the instant messaging application, such as chat records, favorites, mails, information and the like.
It should be noted that the terminal device may automatically initiate a search on the search result page according to the input search keyword, to quickly obtain the search result corresponding to the search keyword, or may manually initiate a search by the user, for example, after the search keyword is input, the enter identifier is clicked to initiate a search, and then the search result corresponding to the search keyword is obtained, where a search starting manner is not limited.
S402, displaying one or more search results through the search result page.
In an embodiment, a search result obtained according to an input search keyword may be displayed in a search result page. If one or more search results are divided according to the function modules to which the instant messaging application belongs, the search results may also include one or more search results, for example, please refer to fig. 5, which is a schematic diagram of a search result page provided in the embodiment of the present application, as shown in fig. 5, the search result page includes a plurality of search results corresponding to the input search keyword "product plan", and the plurality of search results respectively relate to search results of several function modules, such as a contact, a group, a chat log, a favorite, an email, and information. Of course, this does not mean that the instant messaging application only includes these function modules, the display of the search result is to indicate that there is corresponding content in these function modules, and apart from these, the instant messaging application may also include application functions, document storage, and the like, which is not limited herein.
And S403, responding to a trigger instruction for a second search result in the one or more search results, determining a historical search record corresponding to the search keyword according to the search keyword or the second search result, and adding the historical search record corresponding to the search keyword into the search record set.
In an embodiment, the user may select a desired search result, that is, a second search result, from one or more search results presented in the search result page, and further, on the premise that the search result page presents at least two search results corresponding to the input search keyword, the second search result may be multiple, and the number of search results selected by the user at one time is not limited herein. The terminal device responds to a trigger instruction for the second search result, such as a single click, a double click or a long press, and the generation mode of the trigger instruction is not limited, so that the historical search record can be determined according to the input search keyword and the search result selected by the user, that is, as long as the user selects any search result from the search result page displayed according to the input search keyword in a certain mode, the search result is determined as an effective search, and the determined effective search can be regarded as the historical search record and added to the search record set. Optionally, the history search record corresponding to the search keyword input this time may be determined according to the second search result selected by the user, in other words, the history search record is generated according to the second search result, that is, the selected second search result is included in the search record set as the history search result, and in addition, the history search record corresponding to the search keyword input this time may also be determined according to the search keyword, that is, the search keyword input this time is used as the history search keyword, and the history search keyword is included in the search record set as the determined history search record. It should be noted that the search record set may be stored in a local storage space, and may also be sent to a server for backup, when it needs to be used, the historical search record is preferentially read from the local storage space, if the local storage space does not exist, the historical search record is obtained from the server, if neither the server nor the local storage space has the historical search record, the user is required to input a search keyword, step S401 is executed, and when the historical search record is determined according to the search keyword, the historical search record is stored or backed up in a corresponding storage device.
Further, an optional implementation manner of determining the historical search record corresponding to the search keyword according to the search keyword or the second search result may include: judging whether the second search result is one of a contact person corresponding to the search keyword in the address book of the instant messaging application, a group comprising the contact person and a group corresponding to the search keyword; if so, taking the second search result as a historical search record corresponding to the search keyword; and if not, determining the search keyword as a historical search record corresponding to the search keyword. Generally, if a search keyword input by a user is identification information such as a name of a contact in an address book of an instant messaging application or an ID identifying the contact, a search result may show the contact and a group in which the contact is located. When the user selects the second search result from the search results corresponding to the input search keyword, if the second search result corresponds to any one of a contact, a group including the contact and a group corresponding to the search keyword, the second search result may be used as a history search record, in short, the related information of the contact or the group is used as the history search record, the history search record may be the same as the input search keyword, or may be a record including the input search keyword but different from the input search keyword, for example, the input search keyword is "zhang", the search entry may display the search result related to the search keyword in real time and intelligently according to the search keyword input by the user, for example, the search result includes "zhang san", "zhang", a chat record "\\ 8230", a picture "," zhang 8230 ", a chat group of" open-word courtesy matters ", etc., at this time, the search result required by the user appears, the input of the search keyword is stopped, and the user selects" plain-word group ", and the history search result may include only a history search keyword icon, but not a history search keyword input icon. If the second search result is a search result in the instant messaging application except for the contact and the group, the search keyword is directly used as the historical search record, and the historical search record can be exactly the same as the input search keyword. A plurality of second search results in the one or more search results may be triggered at the same time, that is, when a plurality of selected second search results are selected, a plurality of historical search records may be generated at the same time, and if 3 different contacts are clicked, the 3 contacts are taken as 3 historical search records at the same time.
Still taking the search keyword input by the user as "product plan" as an example for explanation, the search result displayed on the search page includes the search results of several modules, namely, the contact, the group (including the group where the contact is located and the group including the search keyword), the chat log, the collection, the mail and the information, if the user clicks any one search result in the contact or the group, the related information of the contact or the group is used as the history search log, for example, the "product plan-week" search result is clicked, the "product plan-week" is used as the history search log to be added to the search log set, and the search is reused when waiting for the next search. If the user clicks any one search result of the chat records, the collections, the mails and the information, the search keyword 'product plan' is used as a historical search record and is recorded in the search record set.
In some cases, the search keyword is recorded instead of the search result, so that the user can be prevented from repeatedly inputting the search keyword for many times, but the search keyword is accessed through a quick entry of the historical search record, the search time and the search cost are saved, and when the historical search record is the historical search keyword, the search result corresponding to the historical search record can be changed and updated in real time, for example, only 3 search results are searched in the current search, then 4 search results or 2 search results can be searched in the next time of reusing the historical search record, and the update of the search result can be added or deleted according to the operation of the user in the instant messaging application without limitation.
It should be noted that the scheme provided in this embodiment may be executed before the embodiment S201 corresponding to fig. 2a, or may be executed after the embodiment S203 corresponding to fig. 2a, and the order of execution in combination with other embodiments is not limited herein.
In summary, the embodiments of the present application have at least the following advantages:
the historical search records can be determined according to the search results corresponding to the input search keywords, and the historical search records can be reused by the user through recording the historical search records, so that quick access can be realized by using the historical search records, and the search cost is reduced. Optionally, according to whether the search result selected by the user is a contact or a group in the instant messaging application address list, whether the search result is used as a historical search record or an input search keyword is directly recorded is determined, and the priority of quick access of the contact or the group in a specific scene is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart of a searching method provided in the embodiment of the present application, where the searching method at least includes the following steps S601 to S604:
s601, obtaining an operation instruction of a search function entry aiming at the instant messaging application.
The specific content of this step can be referred to as S201 in the corresponding embodiment of fig. 2a, which is not described herein again.
S602, responding to the operation instruction, acquiring a search record set, and determining the number of historical search records in the search record set.
In an embodiment, when a user inputs an operation instruction in a terminal device, the terminal device first acquires a search record set by responding to the operation instruction, and determines how many historical search records are included in the search record set, that is, the number of the historical search records, where the number is mainly used to determine how many historical search records in the search record set are shown to a search record page. It should be noted that the search record set is effectively searched and determined according to the input search keyword, so as to be updated in real time, and the currently acquired search record set can be considered to be the latest statistics before the time point of issuing the operation instruction.
S603, if the number of the historical search records in the search record set is greater than or equal to a first preset number, determining a first search record subset from the search record set according to the adding time of each historical search record in the search record set.
In an embodiment, the first subset of search records includes a first preset number of historical search records. The first preset number may be determined by limiting the number of rows of the historical search records displayed on the search record page and the number of characters of each historical search record, for example, the search record page displays at most 3 rows of the historical search records, each historical search record displays at most 8 characters (numbers, letters or Chinese characters), and "\8230;" is used instead, and the first preset number is not limited herein. Comparing the number of the historical search records in the search record set with the first preset number, if the number is greater than or equal to the first preset number, arranging the historical search records in a reverse order according to the time of adding the historical search records into the search set, wherein the reverse order refers to the order from the nearest adding time to the farthest adding time, in other words, the intervals between the adding time of the historical search records and the current time point are arranged from small to large. Assuming that the first preset number is N, where N is a positive integer, N historical search records before arrangement are used as the first search record subset, of course, the first search record subset may also be obtained by arranging the addition time from far to near, the addition time for the historical search records is compared under a unified standard, the unit of the addition time may be the minimum statistical unit of time, such as second, and the unit of the addition time is not limited herein.
And S604, displaying a search record page in the instant messaging application, and displaying the historical search records included in the first search record subset in the search record page.
In an embodiment, the obtained first subset of search records is displayed on a search record page of the instant messaging application, such as the historical search records displayed in the search record page shown in fig. 2b or fig. 2c, which may be regarded as a first subset of search records. The historical search records with the first preset number in the first search record subset can enable a user to pay attention to a plurality of current recent historical search records, and some historical search records with slightly long search time can be hidden to a next page or selected not to be displayed, so that the simplicity of an interface can be improved, the latest historical search records can be quickly reused, and the search efficiency is improved.
Further expanding the display of the search record page, the method may further include: in response to an update instruction for the historical search records displayed in the search record interface, determining a second search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the second search record subset comprises a second preset number of historical search records; and displaying the historical search records included in the second subset of search records in the search record page. Alternatively, the update instruction for the historical search record may be triggered by up-down sliding, up-down page turning, and left-right page turning buttons on the search record interface. When the terminal device responds to the update instruction, and the first search record subset is determined to be similar, the second search record subset may be determined according to the adding time of the historical search records, for example, the historical search records of the second preset number are selected according to the arrangement of the adding time from the current time point from small to large, optionally, the second preset number may be different from or the same as the first preset number, and is not limited herein. Please refer to fig. 7a, which is a schematic diagram of sliding up and down to update historical search records according to an embodiment of the present application, wherein the displayed historical search records are a first search record subset, and a user can update the historical search content currently displayed on a search record page by pulling an up-down slider, as shown in fig. 7b, the historical search records different from fig. 7a are displayed in the search record page, and these historical search records are a second search record subset. Please refer to fig. 7c, which is a schematic diagram of updating a history search record by page turning up and down, fig. 7d is a schematic diagram of updating a history search record by page turning left and right, which is provided by the embodiment of the present application, and by clicking a button for page turning up and down or page turning left and right, all history search records currently displayed on a search record page can be replaced, so as to achieve faster display of the history search record, and a corresponding effect diagram may refer to the content shown in fig. 7b, which is not described herein again. In addition, if the number of the historical search records in the search record set is less than the first preset number, all the historical search records in the search record set can be displayed on the search record page without determining the first search record subset or the second search record subset from the search record page, that is, one search record page displays all the historical search records without hiding or turning pages.
In summary, the embodiments of the present application have at least the following advantages:
the switching or replacement of the historical search records is supported on the search record page, the historical search records with longer recording time lines are provided for the user without being limited to part of the historical search record display with the preset number, the comprehensiveness of the historical search records is guaranteed, the convenience of the user in the process of searching for the repeated historical search records is further improved, and the search efficiency is improved.
Please refer to fig. 8, which is a schematic flow chart of a search method according to an embodiment of the present application based on the search scheme provided in the foregoing embodiment.
Firstly, in instant messaging application, a user opens a home page search interface, and enters a comprehensive search entry each time, a search history record (namely a historical search record) is preferentially acquired, namely whether the search history record exists in the local of a query terminal device is inquired, if no search history record exists, a default empty page is displayed, namely the search record page does not have the historical search record; if the search history exists, the search history can be displayed for the user to quickly select.
Then, when the history search record is displayed in the terminal device, whether the user clicks the history search record is judged, wherein the history search record is clicked as a result of one branch, and further judgment is needed in the branch to obtain a final result of the search, including three judgments on the history search record. Optionally, the sequence or relationship of the three determinations may be that whether a contact is clicked is determined, if yes, a single chat session is entered, that is, a session page related to the contact is displayed in the terminal device, if no, a judgment whether a group chat is clicked is entered, next, if a group chat is clicked, a group chat session is entered, that is, a session page related to the group chat is displayed in the terminal device, if no group chat is clicked, a judgment whether other items are clicked is entered, if other items are clicked, a search result page is entered, and if no other items are clicked, the search is ended, where the other items are history search records other than the contact and the group chat, for example, chat records, applications, and collections corresponding to history search keywords may be referred to as items, and a search result corresponding to a history search record "product policy" in fig. 5 includes a plurality of items, including a contact, a group, a mail, and the like. The order or relationship of the three determinations of whether to click on the contact, click on the group chat, and click on another item is not limited to the order shown in the figure.
Another branch result is that the historical search record is not clicked, that is, the user does not select to reuse the existing historical search record to initiate a search, but selects to manually input a search keyword to initiate a search, so that the historical search record can be determined according to the search keyword input by the user and the click behavior.
Then, after a search is initiated according to the manually input search keyword and a search result is obtained, it is necessary to determine what kind of search result is clicked. Whether a contact is clicked or not can be judged, if yes, an effective historical search record (namely an effective search history) is generated according to contact information, if not, judgment of whether group chat is clicked or not is carried out, if the group chat is clicked, the effective historical search record can be generated according to the group chat information, if not, other items are continuously judged to be clicked, if yes, the effective historical search record is generated according to input search keywords, and if not, the search is ended. Likewise, the order or relationship of the three determinations of whether to click on a contact, click on a group chat, and click on another item is not limited to the order shown in the figures.
For the comprehensive home page search scenario, after a user initiates a search, when the user clicks contents in a search result list, it is determined that a currently clicked item is a contact, a group chat or others. If the contact person is the contact person, storing the contact person information into a history search record; if the group chat is performed, storing the group chat information into a historical search record; if the search keyword is of other types, the currently input search keyword is stored in the historical search record. Therefore, when the method is used, the method can further judge which item the clicked historical search record is, so that the method jumps to a corresponding page, such as a conversation page corresponding to group chat or a contact, and the other pages are pop-up search result pages. In the instant messaging application with high search frequency and complex search scenes, based on the convenient and fast search mode, not only can the accurate and effective search results be ensured, but also the search efficiency can be higher.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a search apparatus according to an embodiment of the present disclosure. The search means may be a computer program (including program code) running on a computer device, for example, the search means is an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. As shown in fig. 9, the search device 90 may include: an obtaining module 901 and a displaying module 902, wherein:
an obtaining module 901, configured to obtain an operation instruction of a search function entry for an instant messaging application;
a display module 902, configured to display a search record page in the instant messaging application in response to an operation instruction, where the search record page includes one or more historical search records in a search record set, the historical search records include one or two of a historical search keyword and a historical search result, and the historical search result includes one or more of a contact, a group, an application, an email, a collection, and a chat record in the instant messaging application;
the displaying module 902 is further configured to, in response to a trigger instruction for a target history search record in one or more history search records, obtain a first search result corresponding to the target history search record, and display a content page corresponding to the first search result, where the first search result is a history search result included in the target history search record or a search result determined according to a history search keyword included in the target history search record.
In one embodiment, the search apparatus 90 further comprises a determining module 903 and an adding module 904, wherein:
the obtaining module 901 is further configured to obtain an input search keyword, and obtain one or more search results corresponding to the search keyword;
a presentation module 902, further configured to present one or more search results through a search results page;
the determining module 903 is further configured to, in response to a trigger instruction for a second search result in the one or more search results, determine, according to the search keyword or the second search result, a historical search record corresponding to the search keyword;
and an adding module 904, configured to add the historical search record corresponding to the search keyword to the search record set.
In an embodiment, the obtaining module 901 is specifically configured to: inquiring a target contact corresponding to the search keyword from an address book of the instant messaging application; if the target contact person corresponding to the search keyword is inquired, inquiring a first group comprising the target contact person from an address book of the instant messaging application; inquiring a second group corresponding to the search keyword from the address book of the instant messaging application; and taking the target contact, the first group and the second group as search results corresponding to the search keywords.
In an embodiment, the determining module 903 is specifically configured to: judging whether the second search result is one of a contact person corresponding to the search keyword in the address book of the instant messaging application, a group comprising the contact person and a group corresponding to the search keyword; if so, taking the second search result as a historical search record corresponding to the search keyword; and if not, determining the search keyword as a historical search record corresponding to the search keyword.
In one embodiment, display module 902 is specifically configured to: responding to the operation instruction to obtain a search record set, and determining the number of historical search records in the search record set; if the number of the historical search records in the search record set is larger than or equal to a first preset number, determining a first search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the first search record subset comprises the historical search records with the first preset number; and displaying a search record page in the instant messaging application, and displaying the historical search records included in the first search record subset in the search record page.
In an embodiment, the determining module 903 is further configured to: in response to an update instruction for the historical search records displayed in the search record interface, determining a second search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the second search record subset comprises a second preset number of historical search records; historical search records included in the second subset of search records are presented in a search records page.
In one embodiment, the display module 902 is specifically configured to: judging whether the target historical search record is a historical search result, wherein the historical search result comprises contacts or groups in an address book of the instant messaging application; if so, displaying a conversation page of the contact person or the group; and if not, displaying the content page of the first search result.
In an embodiment, presentation module 902 is further configured to: for any history search record included in the search record page, if any history search record is a history search result, wherein the history search result includes a contact or a group in an address book of the instant messaging application, the search record page includes a name and an indication icon of the contact, or a name, an indication icon and the number of members of the group.
It can be understood that the functions of the functional modules of the search apparatus described in the embodiment of the present application may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the description related to the foregoing method embodiment, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 10, the computer device may include an input device 1001, an output device 1002, a processor 1003, a memory 1004, a network interface 1005, and at least one communication bus 1006. Wherein:
the processor 1003 may be a Central Processing Unit (CPU). The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like.
Memory 1004 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 1004 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 1004 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 1004 may optionally be at least one storage device located remotely from the processor 1003. The memory 1004 may also include a combination of the above types of memory. As shown in fig. 10, the memory 1004, which is a type of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
The network interface 1005 may include a standard wired interface, a wireless interface (e.g., WI-FI interface) for providing data communication functionality; the communication bus 1006 is responsible for connecting the various communication elements; the input device 1001 receives an instruction input by a user to generate a signal input related to user setting and function control of the terminal device, and in one embodiment, the input device 1001 includes but is not limited to one or more of a touch panel, a physical or virtual Keyboard (Keyboard), a function key, a mouse, and the like; the output device 1002 is configured to output data information, in this embodiment of the present application, the historical search record, the search result, and the like are correspondingly displayed, and the output device 1002 may include a Display screen (Display) or other Display devices; the processor 1003 is a control center of the terminal device, connects various parts of the entire terminal device by various interfaces and lines, and executes various functions by scheduling and running the computer programs stored in the memory 1004.
Among other things, the processor 1003 may be configured to call a computer program in the memory to perform the following operations:
acquiring an operation instruction of a search function entry aiming at the instant messaging application;
responding to the operation instruction, and displaying a search record page in the instant messaging application, wherein the search record page comprises one or more historical search records in a search record set, the historical search records comprise one or two of historical search keywords and historical search results, and the historical search results comprise one or more of contacts, groups, applications, mails, collections and chat records in the instant messaging application;
responding to a trigger instruction aiming at a target historical search record in one or more historical search records, obtaining a first search result corresponding to the target historical search record, and displaying a content page corresponding to the first search result, wherein the first search result is a historical search result included in the target historical search record or a search result determined according to a historical search keyword included in the target historical search record.
In an embodiment, the processor 1003 is further configured to: acquiring an input search keyword, and acquiring one or more search results corresponding to the search keyword; presenting one or more search results through a search results page; and responding to a trigger instruction aiming at a second search result in the one or more search results, determining a historical search record corresponding to the search keyword according to the search keyword or the second search result, and adding the historical search record corresponding to the search keyword into the search record set.
In an embodiment, the processor 1003 is specifically configured to: inquiring a target contact corresponding to the search keyword from an address book of the instant messaging application; if the target contact person corresponding to the search keyword is inquired, inquiring a first group comprising the target contact person from an address book of the instant messaging application; inquiring a second group corresponding to the search keyword from the address book of the instant messaging application; and taking the target contact, the first group and the second group as search results corresponding to the search keywords.
In an embodiment, the processor 1003 is specifically configured to: judging whether the second search result is one of a contact person corresponding to the search keyword in the address book of the instant messaging application, a group comprising the contact person and a group corresponding to the search keyword; if so, taking the second search result as a historical search record corresponding to the search keyword; and if not, determining the search keyword as a historical search record corresponding to the search keyword.
In an embodiment, the processor 1003 is specifically configured to: responding to the operation instruction to obtain a search record set, and determining the number of historical search records in the search record set; if the number of the historical search records in the search record set is larger than or equal to a first preset number, determining a first search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the first search record subset comprises the historical search records of the first preset number; and displaying a search record page in the instant messaging application, and displaying the historical search records included in the first search record subset in the search record page.
In an embodiment, the processor 1003 is further configured to: in response to an update instruction for the historical search records displayed in the search record interface, determining a second search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the second search record subset comprises a second preset number of historical search records; historical search records included in the second subset of search records are presented in a search records page.
In an embodiment, the processor 1003 is specifically configured to: judging whether the target historical search record is a historical search result, wherein the historical search result comprises contacts or groups in an address book of the instant messaging application; if so, displaying a conversation page of the contact person or the group; and if not, displaying the content page of the first search result.
In an embodiment, the processor 1003 is further configured to: for any history search record included in the search record page, if any history search record is a history search result, wherein the history search result includes a contact or a group in an address book of the instant messaging application, the search record page includes a name and an indication icon of the contact, or a name, an indication icon and the number of members of the group.
It should be understood that the terminal device 1000 described in this embodiment may perform the description of the searching method in the embodiment corresponding to fig. 2a, and may also perform the description of the searching apparatus 90 in the embodiment corresponding to fig. 9, which are not described herein again. In addition, the beneficial effects of the same method are not described in detail.
In addition, it should be further noted that, in this embodiment of the present application, a storage medium is further provided, where the storage medium stores a computer program of the foregoing search method, where the computer program includes program instructions, and when one or more processors load and execute the program instructions, the description of the search method in the embodiment may be implemented, which is not described herein again, and beneficial effects of using the same method are also described herein without details. It will be understood that the program instructions may be deployed to be executed on one computer device or on multiple computer devices that are capable of communicating with each other.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps performed in the embodiments of the methods described above.
Finally, it should be further noted that the terms in the description and claims of the present application and the above-described drawings, such as first and second, etc., are merely used to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and should not be taken as limiting the scope of the present application, so that the present application will be covered by the appended claims.

Claims (10)

1. A method of searching, the method comprising:
acquiring an operation instruction of a search function entry aiming at the instant messaging application;
displaying a search record page in the instant messaging application in response to the operation instruction, wherein the search record page comprises one or more historical search records in a search record set, the historical search records comprise one or two of historical search keywords and historical search results, and the historical search results comprise one or more of contacts, groups, applications, mails, collections and chat records in the instant messaging application;
responding to a trigger instruction aiming at a target historical search record in the one or more historical search records, acquiring a first search result corresponding to the target historical search record, and displaying a content page corresponding to the first search result, wherein the first search result is a historical search result included in the target historical search record or a search result determined according to a historical search keyword included in the target historical search record.
2. The method of claim 1, wherein the method further comprises:
acquiring an input search keyword, and acquiring one or more search results corresponding to the search keyword;
presenting the one or more search results through a search results page;
responding to a trigger instruction for a second search result in the one or more search results, determining a historical search record corresponding to the search keyword according to the search keyword or the second search result, and adding the historical search record corresponding to the search keyword into the search record set.
3. The method of claim 2, wherein the obtaining one or more search results corresponding to the search keyword comprises:
inquiring a target contact corresponding to the search keyword from the address book of the instant messaging application;
if the target contact person corresponding to the search keyword is inquired, inquiring a first group comprising the target contact person from the address book of the instant messaging application;
inquiring a second group corresponding to the search keyword from the address book of the instant messaging application;
and taking the target contact, the first group and the second group as search results corresponding to the search keywords.
4. The method of claim 2, wherein the determining the historical search record corresponding to the search keyword according to the search keyword or the second search result comprises:
judging whether the second search result is one of a contact corresponding to the search keyword in the address book of the instant messaging application, a group comprising the contact and a group corresponding to the search keyword;
if so, taking the second search result as a historical search record corresponding to the search keyword;
if not, determining the search keyword as a historical search record corresponding to the search keyword.
5. The method according to any one of claims 1 to 4, wherein the displaying a search record page in the instant messaging application in response to the operation instruction comprises:
responding to the operation instruction to obtain a search record set, and determining the number of historical search records in the search record set;
if the number of the historical search records in the search record set is greater than or equal to a first preset number, determining a first search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the first search record subset comprises the historical search records with the first preset number;
and displaying a search record page in the instant messaging application, and displaying the historical search records included in the first search record subset in the search record page.
6. The method of claim 5, wherein after displaying a search records page in the instant messaging application and presenting historical search records included in the first subset of search records in the search records page, further comprising:
in response to an update instruction for the historical search records displayed in the search record interface, determining a second search record subset from the search record set according to the adding time of each historical search record in the search record set, wherein the second search record subset comprises a second preset number of historical search records;
and displaying the historical search records included by the second search record subset in the search record page.
7. The method according to any one of claims 1 to 4, wherein the displaying the content page corresponding to the first search result comprises:
judging whether the target historical search record is a historical search result, wherein the historical search result comprises a contact or a group in an address book of the instant messaging application;
if so, displaying the conversation page of the contact or the group;
and if not, displaying the content page of the first search result.
8. The method of claim 1, wherein the method further comprises:
for any historical search record included in the search record page, if the historical search record is a historical search result, wherein the historical search result includes a contact or a group in the address book of the instant messaging application, the search record page includes the name and an indication icon of the contact, or the name, the indication icon and the number of members of the group.
9. A search apparatus, comprising:
the acquisition module is used for acquiring an operation instruction of a search function entry aiming at the instant messaging application;
the display module is used for responding to the operation instruction to display a search record page in the instant messaging application, wherein the search record page comprises one or more historical search records in a search record set, the historical search records comprise one or two of historical search keywords and historical search results, and the historical search results comprise one or more of contacts, groups, applications, mails, collections and chat records in the instant messaging application;
the display module is further configured to, in response to a trigger instruction for a target historical search record in the one or more historical search records, obtain a first search result corresponding to the target historical search record, and display a content page corresponding to the first search result, where the first search result is a historical search result included in the target historical search record or a search result determined according to a historical search keyword included in the target historical search record.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, perform the search method according to any one of claims 1 to 8.
CN202110780912.5A 2021-07-09 2021-07-09 Searching method, searching device and computer readable storage medium Pending CN115599814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110780912.5A CN115599814A (en) 2021-07-09 2021-07-09 Searching method, searching device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110780912.5A CN115599814A (en) 2021-07-09 2021-07-09 Searching method, searching device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115599814A true CN115599814A (en) 2023-01-13

Family

ID=84840627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110780912.5A Pending CN115599814A (en) 2021-07-09 2021-07-09 Searching method, searching device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115599814A (en)

Similar Documents

Publication Publication Date Title
CN109873745B (en) Communication control method, communication control device and storage medium
US10754905B2 (en) Search method, apparatus, and electronic device
AU2011261662B2 (en) Providing content items selected based on context
US9838345B2 (en) Generating a relationship history
US9087323B2 (en) Systems and methods to automatically generate a signature block
US8145791B2 (en) Systems and methods to provide assistance during address input
US8521732B2 (en) Presentation of an extracted artifact based on an indexing technique
US10331688B2 (en) Systems and methods for searching content from multiple sources
CN107168599B (en) Instant messaging method and device
US20120215786A1 (en) Server-Side Search Of Email Attachments
US11836169B2 (en) Methods, systems and techniques for providing search query suggestions based on non-personal data and user personal data according to availability of user personal data
CN111510439A (en) Session reminding method and device, computer equipment and storage medium
CN102946346A (en) Method, client and system for presetting browser in instant messaging interactive interface
CN113127653B (en) Information display method and device
CN115599814A (en) Searching method, searching device and computer readable storage medium
JP2022106948A (en) Information display method, device, electronic apparatus, storage media, and computer program
CN112882789A (en) Information display method and device, electronic equipment and storage medium
CN112307273A (en) Information query method and device and electronic equipment
WO2023035893A1 (en) Search processing method and apparatus, and device, medium and program product
CN112199215B (en) Message processing method, device, equipment and storage medium
CN112989178B (en) Searching method, searching device, searching equipment and storage medium
CN114579528B (en) File quick look-up management system based on pre-caching
CN117289828A (en) Information processing method and device
CN116155845A (en) Group message processing method, group message processing device, storage medium and computer program product
CN114020384A (en) Message display method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination