CN114722291A - Target searching method and device - Google Patents

Target searching method and device Download PDF

Info

Publication number
CN114722291A
CN114722291A CN202210397778.5A CN202210397778A CN114722291A CN 114722291 A CN114722291 A CN 114722291A CN 202210397778 A CN202210397778 A CN 202210397778A CN 114722291 A CN114722291 A CN 114722291A
Authority
CN
China
Prior art keywords
search
target
search result
information
request
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
CN202210397778.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.)
Shell Housing Network Beijing Information Technology Co Ltd
Original Assignee
Shell Housing Network Beijing Information Technology 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 Shell Housing Network Beijing Information Technology Co Ltd filed Critical Shell Housing Network Beijing Information Technology Co Ltd
Priority to CN202210397778.5A priority Critical patent/CN114722291A/en
Publication of CN114722291A publication Critical patent/CN114722291A/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

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

Abstract

The application provides a target searching method and a device, and the method comprises the following steps: receiving a target search request for acquiring target information; acquiring first information, and adjusting a target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; determining the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.

Description

Target searching method and device
Technical Field
The present application relates to the field of search, and in particular, to a target search method and apparatus.
Background
With the development of internet technology, not only various conveniences are provided for people's daily life, but also network platforms providing different services, such as shopping platforms, life platforms, etc., are emerging. Because the amount of information contained in the network platform is huge, the requirement of the user for obtaining the information cannot be met only by classifying the information, therefore, the network platform also provides a search function, and the user can conveniently inquire the required information.
In the related art, when a user searches for information through a keyword, a search engine retrieves a result matched with user characteristic information according to the current user characteristic information, and displays the result to the user. However, since the user characteristic information used by the search engine may be different at different times, the user may have a problem that the presented search result is duplicated with the previous search result or the search result is missed when viewing more search results.
Disclosure of Invention
The application aims to provide a target searching method and device, which are used for searching and removing duplication and reducing the probability of mistaken damage of a search engine.
The application provides a target search method, which comprises the following steps:
receiving a target search request for acquiring target information; acquiring first information, and adjusting a target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; determining the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
Optionally, before the obtaining the first information, the method further includes: receiving a first search request for acquiring the first information at a first time; generating the first search result corresponding to the first search request; generating the first information based on a first number of search results with highest priority among the first search results; and the first search result is obtained based on the characteristic information corresponding to the first time.
Optionally, the first search result and the target search result each contain a target number of search results; adjusting the target search result according to the intersection of the first information and the target search result, including: generating the target search result corresponding to the target search request; according to the intersection of the first information and the target search result, performing deduplication operation on the target search result, and removing the search result which is the same as the first information in the target search result; determining the adjusted target search result as the target information includes: generating the target information based on a second number of search results with the highest priority in the target search results after the deduplication operation is performed; wherein a sum of the first number and the second number is less than or equal to the target number; the target search result is a search result obtained based on the characteristic information corresponding to the second time; the second time is a time after the first time.
Optionally, before the obtaining the first information, the method further includes: receiving a second search request for acquiring second information; generating the second search result corresponding to the second search request; generating the second information based on a third number of search results with highest priority in the second search results; wherein the second search request is a search request received before the first search request is received, and the second search request is identical to the search content of the first search request; the third number is the same as the first number, or the third number is the same as the second number.
Optionally, after generating the second information based on a third number of search results with highest priority in the second search results, the method further includes: according to the intersection of the second information and a first search result, performing duplication elimination operation on the first search result, and eliminating the search result which is the same as the second information in the target search result; the generating the first information based on a first number of search results with highest priority among the first search results includes: generating the first information based on the first number of search results with the highest priority in the first search results after the deduplication operation is performed.
Optionally, after generating the target information based on a second number of search results with a highest priority in the target search results after performing the deduplication operation, the method further includes: receiving a third search request; the search content of the third search request is the same as the search content of the first search request; under the condition that the number of the search results contained in the target search results after the deduplication operation is executed is the same as the second number, splicing the search results contained in the target search results to serve as input parameters of the target search engine, so that the search results of the target search engine do not include the search results contained in the target search results; and the target search engine generates a search result according to the search content of the third search request.
The present application also provides a target search apparatus, including:
the receiving module is used for receiving a target searching request for acquiring target information; the acquisition module is used for acquiring first information; the adjusting module is used for adjusting the target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; the determining module is used for determining the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
Optionally, the apparatus further comprises: a generating module; the receiving module is further configured to receive a first search request for obtaining the first information at a first time; the generating module is used for generating the first search result corresponding to the first search request; the generating module is further configured to generate the first information based on a first number of search results with a highest priority in the first search results.
Optionally, the first search result and the target search result each include a target number of search results; the generating module is further configured to generate the target search result corresponding to the target search request; the adjusting module is specifically configured to perform a deduplication operation on the target search result according to an intersection of the first information and the target search result, and remove a search result that is the same as the first information in the target search result; the determining module is specifically configured to generate the target information based on a second number of search results with a highest priority in the target search results after the deduplication operation is performed; wherein a sum of the first number and the second number is less than or equal to the target number; the target search result is a search result obtained based on the characteristic information corresponding to the second time; the second time is a time after the first time.
Optionally, the receiving module is further configured to receive a second search request for obtaining second information; generating the second search result corresponding to the second search request; the generating module is further configured to generate the second information based on a third number of search results with a highest priority in the second search results; wherein the second search request is a search request received before the first search request is received, and the second search request is identical to the search content of the first search request; the third number is the same as the first number, or the third number is the same as the second number.
Optionally, the adjusting module is further configured to perform a deduplication operation on the first search result according to an intersection of the second information and the first search result, and remove a search result that is the same as the second information in the target search result; the generating module is specifically configured to generate the first information based on the first number of search results with the highest priority in the first search results after the deduplication operation is performed.
Optionally, the apparatus further comprises: a search module; the receiving module is further configured to receive a third search request; the search content of the third search request is the same as the search content of the first search request; the search module is configured to, in a case that the number of search results included in the target search result after the deduplication operation is performed is the same as the second number, splice the search results included in the target search result and use the spliced search results as input parameters of the target search engine, so that the search result of the target search engine does not include the search result included in the target search result; the search module is further configured to generate a search result by the target search engine according to the search content of the third search request.
The present application also provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the object search method as described in any of the above.
The present application further provides an electronic device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of any of the above object searching methods when executing the program.
The present application also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the object search method as described in any of the above.
According to the target searching method and device, after the searching request sent by the client is obtained, the preset number of searching results sent by the last searching request server corresponding to the identification are obtained based on the coherent operation identification carried by the searching request, and the preset number of searching results are sent to the client after the searching results of the last time are subjected to de-duplication and re-sequencing based on the searching results of the last time, so that the searching results inquired by the client each time are not repeated and omitted.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a target search method provided herein;
FIG. 2 is a schematic flow chart illustrating a process for obtaining search results based on a search request sent by a client according to the present application;
FIG. 3 is a schematic structural diagram of a target search apparatus provided in the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are some, but not all 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the related art, when a user searches for information through a keyword, a search engine retrieves a result matched with user characteristic information according to the current user characteristic information, and displays the result to the user. The characteristic information may include real-time characteristics of the user and a user representation.
However, since the user characteristic information used by the search engine may be different at different times, the user may have a problem that the presented search result is duplicated with the previous search result or the search result is missed when viewing more search results.
For example, taking the case of searching for a house source on a house property trading platform, a user searches for the house source through a keyword, and the server returns 180 pieces of house source information based on the keyword, the current characteristics of the user and the user portrait. And each display page can only display 20 house source information due to the limitation of the number of the display pages for displaying information. For example, the first page shows the 20 pieces of house source information with the highest priority, and if the user wants to view more house source information, the user can view the house source information of the next page or the designated page. Since the 180 pieces of house source information are not cached locally, when the user views the house source information of the next page, the above steps are still needed to be repeated, the server obtains the search result generated based on the current time keyword, the current characteristics of the user and the user portrait, and displays the house source information of 21 st to 40 th sites in the priority sequence.
Because the current characteristics of the users and the user figures at different times are possibly different, the search results are also possibly different, so that the ranking of the first search result is possibly different from the ranking of the second search result, and further, the room source information displayed for the second time and the room source information displayed for the first time have the same room source information, or a certain room source information is positioned outside the top 20 in the first search result and positioned within the top 20 in the second search result, and further, the room source information is not displayed in the two search results.
Aiming at the problems of search result repetition or mistaken damage of the search results in the related art, the embodiment of the application provides a target search method for searching and removing the duplicate and reducing the mistaken damage probability of a search engine.
The target search method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an object search method provided in an embodiment of the present application may include the following steps 101 to 103:
step 101, receiving a target search request for acquiring target information.
It should be noted that the target search method provided by the embodiment of the present application is applied to a server. And the server receives a target search request for acquiring target information sent by the client. The target search request carries a search key.
And after receiving the target search request, the server searches through a search engine based on the keywords and the relevant characteristic information of the user and generates a target search result.
For example, as shown in fig. 2, taking the case of searching for a house source on a house trading platform as an example, when a user searches for house source information through a keyword at a client, the client initiates a search request to a server to request 20 house source information displayed on a first page. After receiving the search request, the server retrieves 180 nearest house sources from the distributed database, performs priority ordering on the 180 house sources according to an algorithm model, and sends corresponding 20 house source information to the client according to the page number selected by the user and the priority order.
It is understood that the target search request is a page-turning search request or a search request with a specified number of pages, because the repeated and accidental search results occur in the returned results of the search request after the first search request.
Step 102, acquiring first information, and adjusting a target search result according to an intersection of the first information and the target search result.
Wherein the first information comprises: at least one search result with the highest priority among the first search results. The target search result is a search result obtained based on the target search request. The first search result and the target search result are search results obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
It is to be understood that the at least one search result with the highest priority in the first search results may include one or more search results with the same priority and the highest priority, and may also include one or more search results with the highest priority after being sorted by priority.
Illustratively, the first information is information in a search result obtained by the server based on the first search request before the target search request. The first information may be the display information of the first page, or the display information of other display pages except the first page, and meanwhile, in a voice search scene, the display may not be performed.
For example, when the first information is not information displayed in the initial search, the first information may be display information adjusted based on display information of other search results.
It can be understood that, in order to facilitate the client to display the search result of the server, the server needs to generate corresponding information based on the search result, for example, the first information. The information also comprises the ranking of each search result, and the information is mainly used for the client to display the search results according to the ranking of each search result.
Illustratively, the first information is cached at the server based on the coherency operation identification key. When a user searches in a search box of a client, generating the coherent operation identifier key; when the user searches for pages at the client, the key value carried by each search request sent by the client is unchanged. When the user searches again in the search box of the client, the search request sent by the client is updated. After receiving the search request sent by the client, the server may obtain, based on the coherency operation identifier key carried in the search request, cache content associated with the key, for example, the first information, from the cache.
It should be noted that the first information and the corresponding coherence operation identifier key are cached in the server, and when the client does not send a search request carrying the coherence operation identifier key within a preset time, the server automatically clears the coherence operation identifier key and the cached data corresponding to the coherence operation identifier key.
For example, after the first information is acquired and the target search result is generated according to the target search request, the target search result may be adjusted according to the first information.
Specifically, an intersection of the first information and the target search result may be obtained, where the intersection includes: the user-presented search result is generated based on the first search request and appears in the target search result again.
And step 103, determining the adjusted target search result as the target information.
For example, the server may remove the search result included in the first information in the target search result, then reorder the target search results after deduplication, and generate the target data according to at least one search result with the highest priority in the target search results after deduplication. The target data is used for displaying at least one search result with the highest priority in the target search results after the duplication removal in the client.
For example, as shown in fig. 2, when the client sends a search request for 20 house sources on the second page of the user's request to the server, the server obtains 180 house source information again and compares the house source information with 20 house source information sent to the client before. If the 180 house source information includes partial information in 20 house sources which have already been sent, then the house sources which repeatedly appear in the 20 house sources are removed from the 180 house sources. And then, sequencing the rest house sources in the 180 house source information, and sending the 20 house source information with the highest priority to the client.
For example, before the first information is acquired in step 102, the step of generating the first information may specifically include the following steps 104 to 106:
step 104, receiving a first search request for obtaining the first information at a first time.
And 105, generating the first search result corresponding to the first search request.
And 106, generating the first information based on a first number of search results with highest priority in the first search results.
The first search result is obtained based on the characteristic information corresponding to the first time.
For example, since the user characteristic information corresponding to different times may be different, and the search results thereof may also be different, the first search request is a search request sent by the client at a first time before the target search request is sent.
Illustratively, after receiving the first search request, the server generates a first search result corresponding to the first search request. And then, obtaining the first information based on a first number of search results with highest priority in the first search results. The first information is used for displaying a first number of search results with the highest priority in the first search results in the client.
Illustratively, the first search result and the target search result each contain a target number of search results. I.e., all search results generated by the server based on the same search key contain the same number of searched results.
For example, in the step 102, the target search result may be specifically adjusted through the following steps 102a1 and 102a 2:
step 102a1, generating the target search result corresponding to the target search request.
Step 102a2, according to the intersection of the first information and the target search result, performing a deduplication operation on the target search result, and removing a search result in the target search result that is the same as the first information.
Illustratively, the step 103 may generate the target information by the following step 103 a:
and 103a, generating the target information based on a second number of search results with highest priority in the target search results after the deduplication operation is performed.
Wherein a sum of the first number and the second number is less than or equal to the target number; the target search result is a search result obtained based on the characteristic information corresponding to the second time; the second time is a time after the first time.
Illustratively, after receiving a target search request sent by the client, the server generates a target search result based on the search request. Thereafter, search results that have been previously presented at the client based on the first search request are filtered out.
Illustratively, after the deduplication operation is performed on the target search results, a second number of search results with the highest priority in the deduplicated target search results is used as the presentation information of the client.
It can be understood that, since there may be a case that the number of search results retrieved by the server according to the search request is insufficient, and the number of search results displayed on the last page of the client is different from the number of search results displayed on the previous page, the second number may be the same as or different from the first number.
In a possible implementation manner, a second search request exists before the first search request, that is, the first information is adjusted information.
For example, before the step 102, the target search method provided in the embodiment of the present application may further include the following steps 107 to 109:
step 107, receiving a second search request for obtaining second information.
And 108, generating a second search result corresponding to the second search request.
Step 109, generating the second information based on the third number of search results with the highest priority in the second search results.
Wherein the second search request is a search request received before the first search request is received, and the second search request is identical to the search content of the first search request; the third number is the same as the first number, or the third number is the same as the second number.
It is to be understood that the second search request may be a search request for specifying a page by the user, for example, a search request for specifying a last page, or a search request for any other page. In this case, the number of search results included in the second information returned by the server based on the second search request may be the same as the number of search results included in the first information, or may be the same as the number of search results included in the second information.
After the second information is obtained, the first search result may be adjusted based on the following steps, so as to obtain the first information.
After step 109, the target search method provided in the embodiment of the present application may further include the following step 110:
and step 110, according to the intersection of the second information and the first search result, executing a duplicate removal operation on the first search result, and removing the search result which is the same as the second information in the target search result.
Illustratively, based on the deduplicated first search result, the step 106 may specifically include the following step 106 a:
step 106a, generating the first information based on the first number of search results with the highest priority in the first search results after the deduplication operation is performed.
It should be noted that, in a case where a second search request identical to the consecutive operation identifier key carried in the first search request exists before the first search request, a generation method of the first information is similar to a generation method of the target information, and a description about the generation method of the target information may be referred to. To avoid repetition, it will not be described herein.
For example, specific steps of the server after receiving the target search request may be described based on the following examples:
optionally, in this embodiment of the present application, for the search results after the above-mentioned target number, it may not be necessary to consider whether duplication or accidental injury occurs in the search results.
For example, after the step 103a, the target search method provided in the embodiment of the present application may further include the following steps 111 to 113:
and step 111, receiving a third search request.
Wherein the search content of the third search request is the same as the search content of the first search request.
Illustratively, the first search request, the second search request and the target search request are all search requests sent based on the same coherent operation identifier.
And 112, under the condition that the number of the search results contained in the target search results after the deduplication operation is performed is the same as the second number, splicing the search results contained in the target search results to be used as input parameters of the target search engine, so that the search results of the target search engine do not include the search results contained in the target search results.
It is understood that, when the number of search results included in the target search result after the deduplication operation is performed is the same as the second number, the search result included in the target information is the search result shown in the last page of the target search result. If other search results are required to be obtained, the other search results can be obtained through the target search engine.
And 113, generating a search result by the target search engine according to the search content of the third search request.
For example, after the search results included in the target search result are spliced, the spliced search results are used as input parameters of a target search engine, so that the target search engine does not retrieve the search results included in the target search result when retrieving.
Illustratively, the target search engine may be an Elasticsearch search engine.
It should be noted that, by analyzing the user behavior through data statistics, the number of the user retrieval depth larger than 5 pages is relatively small, that is, most users only see the first 100 pieces of data, and by the scheme, the use problem of most users can be solved. Based on this, for the data after the target number, the search result which is shown before can be avoided to be retrieved through the steps, and the deduplication operation is not needed to be carried out each time.
According to the target searching method provided by the embodiment of the application, after the searching request sent by the client is obtained, the preset number of searching results sent by the last searching request server corresponding to the identification are obtained based on the coherent operation identification carried by the searching request, and the preset number of searching results are sent to the client after the searching results of the current time are subjected to duplication elimination and reordering based on the last searching result, so that the searching results inquired by the client each time are not repeated and omitted.
It should be noted that, in the target search method provided in the embodiment of the present application, the execution main body may be a target search apparatus, or a control module in the target search apparatus for executing the target search method. In the embodiment of the present application, a target search method executed by a target search apparatus is taken as an example, and the target search apparatus provided in the embodiment of the present application is described.
In the embodiments of the present application, the above-described methods are illustrated in the drawings. The target search method is exemplified by referring to a drawing in the embodiments of the present application. In specific implementation, the target search method shown in each method drawing may also be implemented by combining any other drawing which may be combined and is illustrated in the above embodiments, and details are not described here again.
The object searching apparatus provided in the present application is described below, and the object searching method described below and the object searching method described above may be referred to in correspondence with each other.
Fig. 3 is a schematic structural diagram of a target search apparatus according to an embodiment of the present application, and as shown in fig. 3, the target search apparatus specifically includes:
a receiving module 301, configured to receive a target search request for obtaining target information; an obtaining module 302, configured to obtain first information; an adjusting module 303, configured to adjust the target search result according to an intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; a determining module 304, configured to determine the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
Optionally, the apparatus further comprises: a generation module 305; the receiving module 301 is further configured to receive a first search request for obtaining the first information at a first time; the generating module 305 is configured to generate the first search result corresponding to the first search request; the generating module 305 is further configured to generate the first information based on a first number of search results with highest priority in the first search results.
Optionally, the first search result and the target search result each include a target number of search results; the generating module 305 is further configured to generate the target search result corresponding to the target search request; the adjusting module 303 is specifically configured to perform a deduplication operation on the target search result according to an intersection of the first information and the target search result, and remove a search result that is the same as the first information in the target search result; the determining module 304 is specifically configured to generate the target information based on a second number of search results with a highest priority in the target search results after the deduplication operation is performed; wherein a sum of the first number and the second number is less than or equal to the target number; the target search result is a search result obtained based on the characteristic information corresponding to the second time; the second time is a time after the first time.
Optionally, the receiving module 301 is further configured to receive a second search request for obtaining second information; generating the second search result corresponding to the second search request; the generating module 305 is further configured to generate the second information based on a third number of search results with highest priority in the second search results; wherein the second search request is a search request received before the first search request is received, and the second search request and the first search request have the same search content; the third number is the same as the first number, or the third number is the same as the second number.
Optionally, the adjusting module 303 is further configured to perform a deduplication operation on a first search result according to an intersection of the second information and the first search result, and remove a search result that is the same as the second information in the target search result; the generating module 305 is specifically configured to generate the first information based on the first number of search results with the highest priority in the first search results after the deduplication operation is performed.
Optionally, the apparatus further comprises: a search module 306; the receiving module 301 is further configured to receive a third search request; the search content of the third search request is the same as the search content of the first search request; the search module 306 is configured to, in a case that the number of search results included in the target search result after the deduplication operation is performed is the same as the second number, splice the search results included in the target search result and use the spliced search results as input parameters of the target search engine, so that the search result of the target search engine does not include the search result included in the target search result; the search module 306 is further configured to generate a search result by the target search engine according to the search content of the third search request.
According to the target searching device, after the searching request sent by the client is obtained, the preset number of searching results sent by the last searching request server corresponding to the identification are obtained based on the coherent operation identification carried by the searching request, and the preset number of searching results are sent to the client after the searching results are subjected to de-duplication and re-sequencing based on the last searching result, so that the searching results inquired by the client at each time can not be duplicated and omitted.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a target search method comprising: receiving a target search request for acquiring target information; acquiring first information, and adjusting a target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; determining the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the object search method provided by the above methods, the method comprising: receiving a target search request for acquiring target information; acquiring first information, and adjusting a target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; determining the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
In yet another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program that, when executed by a processor, is implemented to perform the object search method provided above, the method comprising: receiving a target search request for acquiring target information; acquiring first information, and adjusting a target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request; determining the adjusted target search result as the target information; the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method of searching for an object, comprising:
receiving a target search request for acquiring target information;
acquiring first information, and adjusting a target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority among the first search results; the target search result is a search result obtained based on the target search request;
determining the adjusted target search result as the target information;
the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
2. The method of claim 1, wherein prior to obtaining the first information, the method further comprises:
receiving a first search request for acquiring the first information at a first time;
generating the first search result corresponding to the first search request;
generating the first information based on a first number of search results with highest priority among the first search results;
the first search result is obtained based on the characteristic information corresponding to the first time.
3. The method of claim 2, wherein the first search result and the target search result each comprise a target number of search results;
adjusting the target search result according to the intersection of the first information and the target search result, including:
generating the target search result corresponding to the target search request;
according to the intersection of the first information and the target search result, performing deduplication operation on the target search result, and removing the search result which is the same as the first information in the target search result;
the determining the adjusted target search result as the target information includes:
generating the target information based on a second number of search results with the highest priority in the target search results after the deduplication operation is performed;
wherein a sum of the first number and the second number is less than or equal to the target number; the target search result is a search result obtained based on the characteristic information corresponding to the second time; the second time is a time after the first time.
4. The method of claim 3, wherein prior to obtaining the first information, the method further comprises:
receiving a second search request for acquiring second information;
generating the second search result corresponding to the second search request;
generating the second information based on a third number of search results with highest priority in the second search results;
wherein the second search request is a search request received before the first search request is received, and the second search request is identical to the search content of the first search request; the third number is the same as the first number, or the third number is the same as the second number.
5. The method of claim 4, wherein after generating the second information based on a third number of search results with highest priority in the second search results, the method further comprises:
according to the intersection of the second information and a first search result, performing duplication elimination operation on the first search result, and eliminating the search result which is the same as the second information in the target search result;
the generating the first information based on a first number of search results with highest priority among the first search results includes:
generating the first information based on the first number of search results with the highest priority in the first search results after the deduplication operation is performed.
6. The method of claim 3, wherein after generating the target information based on a second number of search results with highest priority among the target search results after performing the deduplication operation, the method further comprises:
receiving a third search request; the search content of the third search request is the same as the search content of the first search request;
under the condition that the number of the search results contained in the target search results after the deduplication operation is executed is the same as the second number, splicing the search results contained in the target search results and using the spliced search results as input parameters of the target search engine, so that the search results of the target search engine do not include the search results contained in the target search results;
and the target search engine generates a search result according to the search content of the third search request.
7. An object search apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a target searching request for acquiring target information;
the acquisition module is used for acquiring first information;
the adjusting module is used for adjusting the target search result according to the intersection of the first information and the target search result; the first information includes: at least one search result with the highest priority in the first search results; the target search result is a search result obtained based on the target search request;
the determining module is used for determining the adjusted target search result as the target information;
the first search result and the target search result are obtained based on the same search content and the characteristic information corresponding to the search request at different time; the first search result is a search result obtained before the target search result based on the same search content.
8. The apparatus of claim 7, further comprising: a generation module;
the receiving module is further configured to receive a first search request for obtaining the first information at a first time;
the generating module is configured to generate the first search result corresponding to the first search request;
the generating module is further configured to generate the first information based on a first number of search results with a highest priority in the first search results.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the object search method according to any of claims 1 to 6 are implemented when the processor executes the program.
10. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the steps of the object search method of any of claims 1 to 6.
CN202210397778.5A 2022-04-15 2022-04-15 Target searching method and device Pending CN114722291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210397778.5A CN114722291A (en) 2022-04-15 2022-04-15 Target searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210397778.5A CN114722291A (en) 2022-04-15 2022-04-15 Target searching method and device

Publications (1)

Publication Number Publication Date
CN114722291A true CN114722291A (en) 2022-07-08

Family

ID=82244469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210397778.5A Pending CN114722291A (en) 2022-04-15 2022-04-15 Target searching method and device

Country Status (1)

Country Link
CN (1) CN114722291A (en)

Similar Documents

Publication Publication Date Title
US11580168B2 (en) Method and system for providing context based query suggestions
RU2460131C2 (en) Equipping user interface with search query expansion
KR101644817B1 (en) Generating search results
CN106796608B (en) Contextual search character string synonym automatically generates
JP2007183864A (en) File retrieval method and system therefor
US10268655B2 (en) Method, device, server and storage medium of searching a group based on social network
JP5705114B2 (en) Information processing apparatus, information processing method, program, and web system
EP2741220A1 (en) Apparatus and method for indexing electronic content
CN111913954B (en) Intelligent data standard catalog generation method and device
CN114936301B (en) Intelligent household building material data management method, device, equipment and storage medium
WO2016171709A1 (en) Text restructuring
CN112000871A (en) Method, device and equipment for determining search result list and storage medium
US8548999B1 (en) Query expansion
CN107085615B (en) Text duplicate elimination system, method, server and computer storage medium
CN110008396B (en) Object information pushing method, device, equipment and computer readable storage medium
CN114756570A (en) Vertical search method, device and system for purchase scene
CN114722291A (en) Target searching method and device
CN108363707B (en) Method and device for generating webpage
CN113032436B (en) Searching method and device based on article content and title
US20190114372A1 (en) System and method for determining contact names that may identify the same person
US20190114371A1 (en) System and method for managing contact names that identify the same person
CN116881199A (en) File management method, device, equipment and medium
JP3084804B2 (en) Information retrieval device
CN118277588A (en) Query request processing method, electronic device and storage medium
CN111008330A (en) Expert recommendation method and system based on multiple data sources

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