Information retrieval method and device

By determining the recall collection of intimate objects in historical data in the terminal device for information retrieval, and optimizing the display of local and server results, it solves the problem of low database retrieval efficiency and result accuracy, and achieves efficient and accurate information retrieval and user experience improvement. .

CN113254766BActive Publication Date: 2024-09-10BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110554353.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-20
Publication Date
2024-09-10
Estimated Expiration
2041-05-20

AI Technical Summary

Technical Problem

When performing information retrieval in a database with a huge amount of data, traditional methods are often time-consuming, inefficient, and difficult to accurately identify objects close to the user, affecting the accuracy of the retrieval results.

Method used

By determining the intimate object recall set in historical data in the terminal device, the retrieval results are filtered and sorted, the intimacy model and communication parameters are used to optimize the display order of the retrieval results, and the local and server retrieval results are combined for display.

Benefits of technology

It effectively shortens the retrieval process, improves retrieval efficiency, improves the possibility of retrieval results clicked by users, and enhances the accuracy of retrieval results and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113254766B
    Figure CN113254766B
Patent Text Reader

Abstract

The present disclosure provides a method and device for retrieving information, and relates to the field of computer technology, and specifically to the field of artificial intelligence technology including information retrieval. A specific implementation method includes: in response to receiving a search term, determining a recall set of historical data of a login account in a communication application, wherein the recall set includes close objects of the login account in the historical data; in the recall set, determining a retrieval result; and displaying the retrieval result. The present disclosure can avoid long-term retrieval in a database with a large amount of data, and instead perform retrieval in a recall set with a smaller number, which can effectively shorten the retrieval process and improve retrieval efficiency. In addition, through close objects, objects in the communication application that have a close relationship with the user can be determined, thereby increasing the possibility that the retrieval result is the retrieval result that the user wants to click.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, specifically to the field of artificial intelligence technology including information retrieval, and more particularly to a method and device for information retrieval. Background Art

[0002] In order to better promote the flow of information and coordinate personnel organization, modern enterprises often meet such needs by using enterprise communication tools.

[0003] These tools are integrated with search engine capabilities that can retrieve contacts, groups, documents, message records, etc., greatly improving users' search and office efficiency. Summary of the invention

[0004] Provided are an information retrieval method, device, electronic device and storage medium.

[0005] According to a first aspect, there is provided a method for retrieving information for a communication application of a terminal, comprising: in response to receiving a search term, determining a recall set of historical data of a login account of the communication application, wherein the recall set includes close objects of the login account in the historical data; in the recall set, determining a retrieval result; and displaying the retrieval result.

[0006] According to a second aspect, there is provided an information retrieval device for a communication application of a terminal, comprising: a determination unit, configured to determine a recall set of historical data of a login account of the communication application in response to receiving a search term, wherein the recall set includes close objects of the login account in the historical data; a generation unit, configured to determine a retrieval result in the recall set; and a display unit, configured to display the retrieval result.

[0007] According to a third aspect, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of any embodiment of the information retrieval method.

[0008] According to a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to execute a method according to any embodiment of the information retrieval method.

[0009] According to a fifth aspect, a computer program product is provided, comprising a computer program, which implements the method according to any embodiment of the information retrieval method when executed by a processor.

[0010] According to the scheme disclosed in the present invention, it is possible to avoid long-term retrieval in a database with a large amount of data, and instead to perform retrieval in a smaller recall set, which can effectively shorten the retrieval process and improve retrieval efficiency. In addition, through close objects, objects with close relationships with the user in the communication application can be determined, thereby increasing the possibility that the retrieval result is the retrieval result that the user wants to click. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0012] Figure 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;

[0013] Figure 2 is a flow chart of an embodiment of a method for retrieving information according to the present disclosure;

[0014] Figure 3 is a schematic diagram of an application scenario of the information retrieval method according to the present disclosure;

[0015] Figure 4 is a flowchart of an embodiment of the recall set generation step according to the present disclosure;

[0016] Figure 5 is a schematic structural diagram of an embodiment of an information retrieval device according to the present disclosure;

[0017] Figure 6 The present invention is a block diagram of an electronic device for implementing the information retrieval method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0019] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.

[0020] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0021] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the information retrieval method or information retrieval device of the present disclosure can be applied.

[0022] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0023] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as video applications, live broadcast applications, instant messaging tools, email clients, social platform software, etc.

[0024] The terminal devices 101, 102, 103 here can be hardware or software. When the terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers and desktop computers, etc. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0025] The server 105 may be a server that provides various services, such as a background server that provides support for the terminal devices 101, 102, and 103. The background server may analyze and process the received search terms and other data, and feed back the processing results (such as search results) to the terminal device.

[0026] It should be noted that the information retrieval method provided in the embodiment of the present disclosure may be executed by the terminal devices 101 , 102 , 103 , and accordingly, the information retrieval device may be provided in the terminal devices 101 , 102 , 103 .

[0027] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0028] Continue to refer Figure 2, shows a process 200 of an embodiment of a method for retrieving information according to the present disclosure. The method for retrieving information is applied to a communication application of a terminal, such as an instant messaging (IM) application, and the method may include the following steps:

[0029] Step 201 , in response to receiving a search term, determining a recall set of historical data of a login account of a communication application, wherein the recall set includes close objects of the login account in the historical data.

[0030] In this embodiment, the information retrieval method runs on the execution subject (for example Figure 1 The terminal device shown in the figure can determine (i.e. locate) the recall set required for the search when receiving the search term (query). Specifically, the user can enter the search term in the above terminal, so that the terminal can receive the search term, thereby realizing the search process in the terminal. The intimate objects of the logged-in account are the intimate objects of the user who currently logs in to the account.

[0031] The recall set includes the close objects in the historical data. The objects here can be various information related to the account, that is, information related to the user of the account, such as users, groups, mobile phone numbers, departments, etc.

[0032] Historical data refers to various behavioral information related to the currently logged-in user of the terminal. The behavior indicated by the behavioral information here may refer to contact, retrieval and / or click, and the contact here may refer to conversation communication, email communication, meeting invitation, report, etc. Intimacy in intimate objects may indicate that the intimacy between two objects in a communication application is higher than a threshold. The intimacy here can be determined in various ways, such as using a correspondence table for determining intimacy. The correspondence table is used to indicate the correspondence between each behavior and intimacy. The maximum intimacy among the intimacy corresponding to each behavior can be used as the final intimacy.

[0033] Step 202: Determine the search result in the recall set.

[0034] In this embodiment, the execution subject can determine the search result in the recall set of historical data of the terminal. In practice, the search process at the terminal in this embodiment is performed in the recall set. That is, the search result obtained by the search performed at the terminal is in the recall set.

[0035] The method provided by the above embodiment of the present disclosure can avoid long-term retrieval in a database with a large amount of data, and instead perform retrieval in a recall set with a smaller number, which can effectively shorten the retrieval process and improve retrieval efficiency. In addition, through the intimate objects, objects with close relationships with the user in the communication application can be determined, thereby increasing the possibility that the retrieval result is the retrieval result that the user wants to click.

[0036] Step 203: Display the search results.

[0037] In this embodiment, the execution entity can display the search results to the user.

[0038] Continue to see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an application scenario of the information retrieval method according to this embodiment. Figure 3 In the application scenario, the execution subject 301 determines a recall set 303 of historical data of a login account of a communication application in response to receiving a search term 302, wherein the recall set includes close objects of the login account in the historical data. The execution subject 301 determines a search result 304 in the recall set 303 and displays the search result 304.

[0039] In some optional implementations of any embodiment of the present disclosure,

[0040] Before displaying the search results, the method may further include: sorting the search results based on at least one of the following: the relevance of the search results to the search terms, the intimacy between the login account and the objects in the search results, and the objects in the search results whose generation time and current time do not exceed a preset time; wherein the intimacy is determined based on the communication parameters between the objects in the search results and the login account, and the communication parameters include at least one of the following: frequency, and the proximity of the communication time to the current time.

[0041] In these optional implementations, the execution entity may sort the search results based on various parameters. Specifically, the parameter may be at least one item. The communication parameter may include the proximity of the communication time to the current time, which may be expressed in various forms, such as the reciprocal of the duration between the communication time and the current time, or the result obtained by inputting the duration into a specified proximity prediction model (such as a deep neural network) and outputted from the model. After sorting, the execution entity may display the sorted search results.

[0042] In practice, sorting can be determined using a linear regression model. For example, the above-mentioned execution entity can input at least one of the above into the linear regression model to obtain a sorting result. During the sorting process, the higher the sorting score, the more prior the sorting position, that is, the more forward.

[0043] The relevance between the retrieval result and the retrieval term can include the relevance to the retrieval term itself and the relevance to the hit domain of the retrieval term. For example, when the domain refers to the employee name, if the retrieval term is "Zhang" and the domain is "Zhang San", then this domain is the hit domain of this retrieval term. The greater this relevance, the higher the sorting score.

[0044] Among the intimacy between the user who logs in to the account and the object in the retrieval result, the intimacy can be determined by the frequency of communication and the newness degree of the communication time, that is, the proximity degree. For example, an execution entity can input at least one of the frequency and the proximity degree into the intimacy model and obtain the intimacy output from this model. Specifically, the higher the frequency of communication and the greater the proximity degree, the higher the intimacy. The higher this intimacy, the higher the sorting score.

[0045] For an object whose duration between the generation time and the current time in the retrieval result does not exceed the preset duration, the generation time can be the creation time of the group as the object (or the last update time of the group members), or the registration time of the user as the object (such as the employment time). Specifically, during the sorting process, the above-mentioned execution entity can increase its sorting score for this object, such as increasing the score by a preset value. Or, the smaller the duration between this generation time and the current time, the higher the sorting score.

[0046] These optional implementation manners can accurately determine the intimacy between users through the communication parameters between users, thereby improving the accuracy of the sorting result. Specifically, newly generated objects often lack historical data. To make up for this problem, this embodiment makes a treatment for new objects during the sorting process, so as to further improve the accuracy of sorting.

[0047] In some optional implementation manners of any embodiment of the present disclosure, the above method may further include: uploading the retrieval term to the server and receiving the retrieval result returned by the server; and after displaying the retrieval result, the method further includes: arranging the generated retrieval result at the first display position, generating a page including at least one of the generated retrieval result and the retrieval result returned by the server, and displaying the page.

[0048] In these optional implementations, the above-mentioned execution subject can display based on both the local search results and the search results returned by the server. Specifically, the above-mentioned execution subject can upload the search words to the server and receive the search results returned by the server. The above-mentioned execution subject can display the search results first in response to the search results generated locally. The search results are short in time and can be displayed quickly. The time when the server's search results are returned is often after the local search results are obtained. Once the server's search results are returned, the above-mentioned execution subject can also display the server's search results locally. And when displaying, the above-mentioned execution subject arranges the locally generated search results in the first display position, such as displaying them as the first few entries, and arranges the search results returned by the server in the position after the locally generated search results for display. In practice, the above-mentioned execution subject can perform deduplication processing before displaying the search results returned by the server, that is, remove the search results in the search results returned by the server that are repeated with the locally generated search results.

[0049] These implementations can combine local search results with server search results, so that local search can improve efficiency and accuracy while also displaying server search results to ensure comprehensiveness of displayed content.

[0050] In some optional implementations of any embodiment of the present disclosure, there is a corresponding evaluation step for the generated search results, and the evaluation step includes: determining the proportion of the search results that are arranged in the first display position among the generated search results and are clicked in the historical data; determining the comparison number of the generated search results relative to the control search results, wherein the comparison number includes a superior number, an equivalent number and an inferior number; and determining the evaluation result based on the proportion and the comparison number.

[0051] In these optional implementations, the above-mentioned execution entity or other electronic devices (such as a server) can determine the proportion of search results that are ranked first among the search results clicked by users in the historical data (ie, the top 1 proportion).

[0052] The comparison number is g sb( g The indexes "good, same, bad" refer to the numerical values ​​of the search results generated by the strategy disclosed in the present invention, which are better, equal to (i.e., equivalent to), or worse than the search results of the control strategy. For example, the good number, equivalent number, and bad number are 508, 47, and 21 respectively.

[0053] The above-mentioned execution subject may adopt various methods to determine the evaluation result according to the proportion and the comparison number. For example, the above-mentioned execution subject may set a corresponding threshold value for the proportion, and set a corresponding numerical range for each comparison number. When the proportion exceeds the corresponding threshold value, and each comparison number is within its corresponding numerical range, the above-mentioned execution subject may determine that the evaluation result is qualified. If the proportion does not exceed the corresponding threshold value, and / or any comparison number is not within the corresponding numerical range, the above-mentioned execution subject may determine that the evaluation result is unqualified. In addition, the above-mentioned execution subject may determine the evaluation result through a preset model. For example, the above-mentioned execution subject may input the proportion and the comparison number into the preset model, and obtain the evaluation result output from the preset model, which may be qualified or unqualified.

[0054] These implementations can accurately evaluate the search results through the above-mentioned proportions and comparison numbers.

[0055] Further references Figure 4 , which shows a process 400 of an embodiment of the steps of generating a recall set. The process 400 includes the following steps:

[0056] Step 401, in the historical data, determine at least one of the following as a recall object: the latest click object, the latest communication object, and the intimate object, wherein the number of recall objects in each of the at least one item is at least one.

[0057] In this embodiment, the information retrieval method runs on the execution subject (for example Figure 1 The terminal device shown in the figure can determine at least one item in the above historical data as a recall object. Among the determined recall objects, the number of any one item is at least one.

[0058] In practice, the number of the latest clicked objects, the latest communication objects, and the number of close objects can be at least one. The latest clicked object can be the object clicked by the logged-in user within the latest preset duration. For example, the object clicked in the search results within 1 month. The latest communication object can be the object that the logged-in user has communicated with within the latest specified historical duration, and the number of such objects does not exceed the preset object threshold. For example, the objects that have been communicated with within 1 year, and the number of objects does not exceed 300. In practice, if the determined recall objects include at least two items, each recall object can be deduplicated to obtain the deduplicated recall object.

[0059] Step 402: Add the recalled object to the recalled set.

[0060] In this embodiment, the execution subject may add the determined recall object to the recall set.

[0061] These optional implementations may use objects that are more likely to be retrieved by the user as recalled objects, thereby increasing the probability of retrieving accurate results in the recalled set.

[0062] Optionally, the intimate objects are predicted by an intimacy model; the step of determining the intimate objects includes: for two objects having a one-hop relationship in the historical data, determining the similarity between the vectors indicated by the two objects as the intimacy through the intimacy model; if the intimacy reaches an intimacy threshold, determining that the two objects are intimate objects.

[0063] In these optional implementations, other electronic devices (such as servers) or the above-mentioned execution entities can predict intimate objects through intimacy models. Intimacy models can be used to predict the intimacy between objects, that is, the similarity of vectors. Specifically, taking the above-mentioned other electronic devices as an example, the execution entity can use the intimacy model to build a relationship graph model using the user's communication data, email data, meeting invitation data, reporting relationship and other information, map each object into a vector (such as through Node2Vec technology), and calculate the similarity between the object and the object that has a one-hop relationship with it.

[0064] In this embodiment, for an object, an object with a one-hop relationship with it refers to an object with a direct connection. For example, if the object is a user, it can refer to a relationship with the user such as direct communication data, email data, meeting invitation data, reporting relationship, etc. For example, if A sends an email to B and C, and C sends an email to D, then B and C are A's one-hop users, and D is A's two-hop user. In addition, it can also be a group to which the user belongs.

[0065] These optional implementations can utilize the intimacy model to accurately determine the similarity between objects, thereby improving the accuracy of determining intimate objects.

[0066] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information retrieval device, and the device embodiment is Figure 2 Corresponding to the method embodiment shown in FIG. 1 , in addition to the features described below, the device embodiment may also include Figure 2 The device can be applied to various electronic devices.

[0067] like Figure 5As shown, the information retrieval device 500 of this embodiment is used for the communication application of the terminal, and includes: a determination unit 501, a generation unit 502 and a display unit 503. Among them, the determination unit 501 is configured to determine the recall set of historical data of the login account of the communication application in response to receiving the search term, wherein the recall set includes the close objects of the login account in the historical data; the generation unit 502 is configured to determine the retrieval result in the recall set; and the display unit 503 is configured to display the retrieval result.

[0068] In this embodiment, the specific processing of the determination unit 501, the generation unit 502 and the display unit 503 of the information retrieval device 500 and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of step 201, step 202 and step 203 in the corresponding embodiment are not repeated here.

[0069] In some optional implementations of this embodiment, the step of generating a recall set includes: in the historical data, determining at least one of the following as a recall object: the latest click object, the latest communication object, and the intimate object, wherein the quantity of each item in at least one item is at least one; adding the recall object to the recall set.

[0070] In some optional implementations of the present embodiment, intimate objects are predicted by an intimacy model; the step of determining intimate objects includes: for two objects that have a one-hop relationship in historical data, determining the similarity between the vectors indicated by the two objects as intimacy through the intimacy model; if the intimacy reaches an intimacy threshold, determining that the two objects are intimate objects.

[0071] In some optional implementations of this embodiment, the device also includes: a sorting unit, configured to sort each search result before displaying the search results based on at least one of the following: the relevance of the search results to the search terms, the intimacy between the login account and the object in the search results, and the objects in the search results whose generation time and current time do not exceed a preset time; wherein the intimacy is determined based on the communication parameters between the object in the search results and the login account, and the communication parameters include at least one of the following: frequency, and the proximity of the communication time to the current time.

[0072] In some optional implementations of this embodiment, the device also includes: a communication unit, configured to upload the search terms to the server and receive the search results returned by the server; and the device also includes: a display unit, configured to arrange the generated search results in the first display position after displaying the search results, generate a page including the generated search results and at least one of the search results returned by the server, and display the page.

[0073] In some optional implementations of the present embodiment, there are corresponding evaluation steps for the generated search results, and the evaluation steps include: determining the proportion of the search results that are arranged in the first display position among the generated search results and are clicked in the historical data; determining the comparison number of the generated search results relative to the control search results, wherein the comparison number includes a superior number, an equivalent number and an inferior number; and determining the evaluation result based on the proportion and the comparison number.

[0074] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0075] like Figure 6 , is a block diagram of an electronic device according to a method for retrieving information of an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0076] like Figure 6 As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.

[0077] The memory 602 is a non-transitory computer-readable storage medium provided by the present disclosure. The memory stores instructions executable by at least one processor to enable at least one processor to perform the information retrieval method provided by the present disclosure. The non-transitory computer-readable storage medium of the present disclosure stores computer instructions, which are used to enable a computer to perform the information retrieval method provided by the present disclosure.

[0078] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the information retrieval method in the embodiment of the present disclosure (for example, the attached Figure 5 The processor 601 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, implements the information retrieval method in the above method embodiment.

[0079] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the information retrieval electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the information retrieval electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0080] The electronic device of the information retrieval method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0081] The input device 603 can receive input digital or character information, and generate key signal input related to user settings and function control of the information retrieval electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0082] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0083] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0084] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0085] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0086] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs that run on the corresponding computers and have a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server for a distributed system, or a server combined with a blockchain.

[0087] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0088] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a determination unit, a generation unit, and a display unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the display unit may also be described as "a unit for displaying the search results".

[0089] As another aspect, the present disclosure further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the device: in response to receiving a search term, determines a recall set of historical data of a login account of a communication application, wherein the recall set includes close objects of the login account in the historical data; in the recall set, determines the search results; and displays the search results.

[0090] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

Claims

1. A method for retrieving information, used in a communication application of a terminal, the method include: In response to receiving the search term, determining the recalled objects related to the login account in the historical data of the communication application and generating a recalled set, wherein the recalled objects at least include the close objects and the latest clicked objects of the login account in the historical data, wherein the latest clicked objects represent the objects clicked by the login account in the search results within the latest first preset historical time period; In the recalled set, determining a first search result based on the search term; Uploading the search term to the server, and receiving a second search result returned by the server; The duplicated parts of the second search results are removed to obtain the second search results after deduplication processing, and the second search results after deduplication processing are displayed after displaying a predetermined number of the first search results.

2. The method according to claim 1, in, The recalled objects also include the latest communication objects, which represent objects that the logged-in user has communicated with within the latest second preset historical duration, and the number of the objects does not exceed a preset object threshold.

3. The method according to claim 2, in, The intimate object is predicted by an intimacy model; The step of determining the intimate object comprises: For two objects in the historical data that have a one-hop relationship, the similarity between the vectors indicated by the two objects is determined as the intimacy through the intimacy model; If the intimacy reaches an intimacy threshold, the two objects are determined to be close objects.

4. The method according to any one of claims 1 to 3, in, Before displaying the search results, the method further includes: The search results are sorted based on at least one of the following: The relevance of the search results to the search terms, the intimacy between the login account and the search results, and the objects in the search results whose generation time and current time do not exceed a preset time; The intimacy is determined based on communication parameters between the object in the search result and the login account, and the communication parameters include at least one of the following: frequency, and proximity of communication time to the current time.

5. The method according to any one of claims 1 to 3, in, The generated search results have corresponding evaluation steps, and the evaluation steps include: Determine the proportion of the search results that are arranged in the first displayed position among the generated search results among the search results that have been clicked in the historical data; Determine the comparison number of the generated search results relative to the control search results, wherein the comparison number includes a superior number, an equivalent number, and an inferior number; An evaluation result is determined according to the proportion and the comparison number.

6. An information retrieval device for a communication application of a terminal, the device include: a determination unit configured to, in response to receiving a search term, determine recall objects related to the login account in the history data of the communication application and generate a recall set, wherein the recall objects at least include close objects and latest clicked objects of the login account in the history data, wherein the latest clicked objects represent objects clicked by the login account in the search results within the latest first preset history time period; a generating unit configured to determine a first search result in the recalled set based on the search term; a communication unit, configured to upload the search term to a server and receive a second search result returned by the server; The display unit is configured to remove the portion of the second search result that is repeated with the first search result to obtain the second search result after deduplication processing, and display the second search result after deduplication processing after displaying a predetermined number of the first search results.

7. The device according to claim 6, in, The recalled objects also include the latest communication objects, which represent objects that the logged-in user has communicated with within the latest second preset historical duration, and the number of the objects does not exceed a preset object threshold.

8. The device according to claim 7, in, The intimate object is predicted by an intimacy model; The step of determining the intimate object comprises: For two objects in the historical data that have a one-hop relationship, the similarity between the vectors indicated by the two objects is determined as the intimacy through the intimacy model; If the intimacy reaches an intimacy threshold, the two objects are determined to be close objects.

9. The device according to any one of claims 6 to 8, in, The device also includes: The sorting unit is configured to sort each of the search results based on at least one of the following before displaying the search results: The relevance of the search results to the search terms, the intimacy between the login account and the search results, and the objects in the search results whose generation time and current time do not exceed a preset time; The intimacy is determined based on communication parameters between the object in the search result and the login account, and the communication parameters include at least one of the following: frequency, and proximity of communication time to the current time.

10. The device according to any one of claims 6 to 8, in, The generated search results have corresponding evaluation steps, and the evaluation steps include: Determine the proportion of the search results that are arranged in the first displayed position among the generated search results among the search results that have been clicked in the historical data; Determine the comparison number of the generated search results relative to the control search results, wherein the comparison number includes a superior number, an equivalent number, and an inferior number; An evaluation result is determined according to the proportion and the comparison number.

11. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.