CN111078998A - Information retrieval method, information retrieval device, storage medium and server - Google Patents

Information retrieval method, information retrieval device, storage medium and server Download PDF

Info

Publication number
CN111078998A
CN111078998A CN201911137073.4A CN201911137073A CN111078998A CN 111078998 A CN111078998 A CN 111078998A CN 201911137073 A CN201911137073 A CN 201911137073A CN 111078998 A CN111078998 A CN 111078998A
Authority
CN
China
Prior art keywords
information
retrieval
target information
retrieved
entry
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.)
Granted
Application number
CN201911137073.4A
Other languages
Chinese (zh)
Other versions
CN111078998B (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201911137073.4A priority Critical patent/CN111078998B/en
Publication of CN111078998A publication Critical patent/CN111078998A/en
Application granted granted Critical
Publication of CN111078998B publication Critical patent/CN111078998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 discloses an information retrieval method, an information retrieval device, a storage medium and a server, wherein the information retrieval method comprises the following steps: receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a to-be-retrieved entry and a user portrait; performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved; sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information; and returning the first sequencing information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sequencing information. According to the information retrieval scheme provided by the embodiment, the terminal displays a plurality of pieces of target information according to the first sequence information, the target information more fitting the retrieval intention of the terminal user can be displayed in advance, the terminal user can acquire required information quickly, and therefore the quality of information retrieval is improved.

Description

Information retrieval method, information retrieval device, storage medium and server
Technical Field
The present application belongs to the field of information technology, and in particular, to an information retrieval method, apparatus, storage medium, and server.
Background
With the continuous development of networks, information query based on a retrieval website has become a common retrieval mode for people.
In the related art, a user inquires information based on a retrieval website, and finally obtained retrieval information is not necessarily all information required by the user, such as junk information carrying product sales promotion and the like in the retrieval information. Therefore, it takes much time for the user to screen the retrieved information to obtain the information required by the user.
Disclosure of Invention
The embodiment of the application provides an information retrieval method, an information retrieval device, a storage medium and a server, which are beneficial for a user to quickly acquire required information from a plurality of target information.
In a first aspect, an embodiment of the present application provides an information retrieval method, including:
receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a to-be-retrieved entry and a user portrait;
performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved;
sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information;
and returning the first sequencing information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
In a second aspect, an embodiment of the present application provides an information retrieval apparatus, including:
the retrieval system comprises a receiving module, a retrieval module and a retrieval module, wherein the receiving module is used for receiving a retrieval request sent by a terminal, and the retrieval request comprises a to-be-retrieved entry and a user portrait;
the acquisition module is used for carrying out retrieval processing on the basis of the entry to be retrieved and acquiring a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved;
the first sequencing module is used for sequencing the plurality of pieces of target information according to the user portrait to obtain first sequencing information;
and the returning module is used for returning the first sequencing information to the terminal so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
In a third aspect, a storage medium is provided in this application, and a computer program is stored thereon, and when the computer program runs on a computer, the computer is caused to execute the information retrieval method provided in any embodiment of this application.
In a fourth aspect, a server provided in this embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the information retrieval method provided in any embodiment of the present application by calling the computer program.
According to the information retrieval scheme provided by the embodiment of the application, the first sequencing information can be formulated for different users, so that the terminal displays a plurality of pieces of target information according to the first sequencing information, the target information which is more suitable for the retrieval intention of the terminal user can be displayed in advance, and the terminal user can acquire needed information from the plurality of pieces of target information quickly.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic view of a first scenario of an information retrieval method according to an embodiment of the present application.
Fig. 2 is a first flowchart of an information retrieval method according to an embodiment of the present application.
Fig. 3 is a second flowchart of the information retrieval method according to the embodiment of the present application.
Fig. 4 is a schematic diagram of a second scenario of an information retrieval method according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a third scenario of an information retrieval method according to an embodiment of the present application.
Fig. 6 is a third flow diagram of an information retrieval method according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an information retrieval device according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a first structure of a server according to an embodiment of the present application.
Fig. 9 is a second schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein. The term "module" as used herein may be considered a software object executing on the computing system. The various modules, engines, and services herein may be considered as objects of implementation on the computing system.
The embodiment of the present application provides an information retrieval method, where an execution subject of the information retrieval method may be an information retrieval device provided in the embodiment of the present application, or a server integrated with the information retrieval device, where the information retrieval device may be implemented in a hardware or software manner.
The embodiment of the application provides an information retrieval system, which comprises a terminal and a server, wherein the server is used for retrieving according to a term to be retrieved to obtain a plurality of pieces of target information corresponding to the term to be retrieved; and ordering the target information, wherein the server is also used for web filtering, namely limiting the category of the entry to be searched and limiting the category of the target information.
The implementation manner of the server may be one independent server, or a server cluster formed by a plurality of servers.
Referring to fig. 1, fig. 1 is a first scene schematic diagram of an information retrieval method according to an embodiment of the present application. The information retrieval system comprises a terminal and a server cluster, wherein the server cluster comprises a first server and a second server. The first server is mainly used for retrieving according to the entry to be retrieved to obtain a plurality of pieces of target information corresponding to the entry to be retrieved. The second server mainly sequences the target information and filters the world wide web, namely, the category of the vocabulary entry to be retrieved sent to the first server is limited, and the category of the target information returned by the first server is limited. The information retrieval means may be integrated in the second server.
In addition, the client in the application is installed in the terminal, and here, the terminal can be a mobile phone, a tablet computer and other devices.
When the client needs the first server to provide the target information for display, the client sends a retrieval request to the second server through the terminal. The second server receives the retrieval request sent by the terminal, obtains the entry to be retrieved, the user portrait and the like by analyzing the retrieval request, and sends the entry to be retrieved to the first server. After receiving the entry to be retrieved sent by the second server, the first server retrieves in the information base according to the entry to be retrieved to obtain a retrieval result, and returns the retrieval result to the second server, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved. And after receiving the retrieval result returned by the first server, the second server sorts the plurality of pieces of target information in the retrieval result according to the user image to obtain first sorting information, and returns the first sorting information to the terminal. And after receiving the first sequencing information returned by the second server, the terminal displays a plurality of pieces of target information on the display interface according to the first sequencing information. Therefore, the terminal user can quickly acquire the information required by the user from the multi-item label information. For convenience of description, the first server is referred to as a retrieval server, and the second server is referred to as a filtering server.
Referring to fig. 2, fig. 2 is a first flowchart of an information retrieval method according to an embodiment of the present disclosure, where the information retrieval method includes:
101. and receiving a retrieval request sent by a terminal, wherein the retrieval request comprises the entry to be retrieved and the user portrait.
For example, when the terminal needs the server to provide the target information for display, the terminal generates a retrieval request and transmits the retrieval request to the server. The server receives a retrieval request sent by the terminal. It should be noted that the search request includes the entry to be searched and the user representation.
The term to be retrieved is obtained by expanding the terminal according to the retrieval formula input by the user, and the term to be retrieved can be one or more. For example, the terminal detects that the search formula input by the user is 'sorghum rice', and the terminal expands according to the search formula 'sorghum rice', so that a plurality of terms to be retrieved, such as 'science popularization knowledge of sorghum rice', 'sorghum rice practice completion', 'sorghum rice commodity recommendation' and the like, are obtained. For another example, the terminal detects that the search formula input by the user is "XX and YY marriage officer announcement", and the terminal performs expansion according to the search formula "XX and YY marriage officer announcement" to obtain a to-be-searched entry still in the search formula "XX and YY marriage officer announcement".
The user portrait is an effective tool for outlining the user and connecting the user appeal and the design direction. The terminal can collect the data of the user, tag the data, and embody the user image through the tag, thereby obtaining the user portrait. A user may have one portrait of one type, or a plurality of portraits of different types, such as basic portraits including basic data of age, sex, occupation, academic calendar, behavior characteristics portraits including behavior data of application, trip, etc. The type of data constituting the image tag differs, and the type of image obtained differs.
In some embodiments, the terminal generates a user representation from the collected data each time the collected data reaches a target amount, and clears the statistical amount of the collected data to enable the terminal to re-count the amount of the collected data.
In some embodiments, the terminal obtains a new user portrait according to the target data, using the data collected within a preset time as the target data, so as to replace the original user portrait, thereby implementing the updating of the user portrait. For example, if the terminal collects data a as target data within a preset time (1 month 10 days to 2 months 9 days) in 2 months 10 days, and obtains a user portrait a based on the target data, the terminal takes the user portrait a as the portrait of the terminal user in 2 months 10 days to 3 months 9 days. And collecting data B as target data within a preset time (from 2 month 10 to 3 month 9) in 3 month 10, and obtaining a user portrait B according to the target data, wherein the terminal uses the user portrait B as a portrait of a terminal user in 2 month 10 to 3 month 9, and the like.
102. And performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved.
For example, after receiving the entry to be retrieved, the server performs retrieval processing according to the entry to be retrieved to obtain a retrieval result. The retrieval result comprises a plurality of pieces of target information corresponding to the entries to be retrieved.
103. And sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information.
For example, after obtaining the search result, the server may sort the plurality of pieces of target information in the search result according to the user profile in the search request, to obtain the first sort information. In the scheme, the user portrait is an effective tool for delineating the appeal and the design direction of the user and contacting the appeal and the design direction of the user, so that a plurality of pieces of target information are sequenced according to the user portrait, and the obtained first sequencing information can be formulated for different users.
For example, the end user "zhang san" and the end user "li si" both communicate the entry to be retrieved including "am" to the server. And the server performs retrieval processing according to the entries to be retrieved at morning to obtain retrieval results. The pieces of target information in the search result are denoted by "target information E1, target information E2, target information E3, target information E4, and target information E5". After the server obtains the search result, the 5 item label information is sorted according to the user picture of Zhang III to obtain first sorting information Y1, and the 5 item label information is sorted according to the user picture of Liquan to obtain first sorting information Y2. Since the user figures of different users are different, i.e., the user figure of "zhang san" is different from the user figure of "lie san si", the server gets the first ranking information Y1 different from the first ranking information Y2.
In addition, if the user images included in the search request transmitted from the terminal to the server are a plurality of images, the server may sort the plurality of pieces of object information by integrating the plurality of images or may sort the plurality of pieces of object information by selecting one image from the plurality of images when sorting the plurality of pieces of object information according to the user images.
For example, the first ordering information may also be represented by adding a sequence number to the back of each target information, such as "\ ②". The first ordering information may also be represented by the placement order of the target information, and the like.
104. And returning the first sequencing information to the terminal so that the terminal displays a plurality of pieces of target information according to the first sequencing information.
For example, after the plurality of pieces of target information are sorted according to the user image to obtain first sorting information, the server may return the first sorting information to the terminal. And after receiving the first sequencing information returned by the server, the terminal displays a plurality of pieces of target information on the display interface by taking the first sequencing information as a display sequence.
As can be seen from the above, in the embodiment of the application, after receiving a retrieval request sent by a terminal, a server may perform retrieval processing based on a to-be-retrieved entry to obtain a retrieval result, where the retrieval result includes a plurality of pieces of target information corresponding to the to-be-retrieved entry, then sort the plurality of pieces of target information according to a user image to obtain first sort information, and finally return the first sort information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sort information. In the scheme, the first sequencing information returned by the server can be formulated for different users, so that the terminal displays a plurality of pieces of target information according to the first sequencing information, the target information which is more suitable for the retrieval intention of the terminal user can be displayed in advance, the terminal user can acquire required information quickly, and the quality of information retrieval is improved.
Referring to fig. 3, fig. 3 is a second flow chart of the information retrieval method according to the embodiment of the present application.
201. And receiving a retrieval request sent by a terminal, wherein the retrieval request comprises the entry to be retrieved and the user portrait.
For example, when the terminal needs the search server to provide the target information for display, the terminal generates a search request and transmits the search request to the filter server. And the filtering server receives a retrieval request sent by the terminal. It should be noted that the search request includes the entry to be searched and the user representation.
The term to be retrieved is obtained by expanding the terminal according to the retrieval formula input by the user, and the term to be retrieved can be one or more. For example, the terminal detects that the search formula input by the user is 'sorghum rice', and the terminal expands according to the search formula 'sorghum rice', so that a plurality of terms to be retrieved, such as 'science popularization knowledge of sorghum rice', 'sorghum rice practice completion', 'sorghum rice commodity recommendation' and the like, are obtained. For another example, the terminal detects that the search formula input by the user is "XX and YY marriage officer announcement", and the terminal performs expansion according to the search formula "XX and YY marriage officer announcement" to obtain a to-be-searched entry still in the search formula "XX and YY marriage officer announcement".
The user portrait is an effective tool for outlining the user and connecting the user appeal and the design direction. The terminal can collect the data of the user, tag the data, and embody the user image through the tag, thereby obtaining the user portrait. A user may have one portrait of one type, or a plurality of portraits of different types, such as basic portraits including basic data of age, sex, occupation, academic calendar, behavior characteristics portraits including behavior data of application, trip, etc. The type of data constituting the image tag differs, and the type of image obtained differs.
In some embodiments, the retrieval request further includes terminal parameters as well as server parameters. The terminal parameters are mainly used for informing the objects returned by the filtering server, and the server parameters are mainly used for informing the objects sent by the filtering server, so that information retrieval errors caused by object transmission errors can be reduced.
The server parameters comprise parameters for characterizing the server identity, and the parameters for characterizing the server identity can be one or more. For example, the parameter characterizing the identity of the server may be the name of the server, etc.
In this scheme, the terminal parameters include a parameter characterizing the terminal identity, and the parameter characterizing the terminal identity may be one or more. For example, the parameter characterizing the terminal identity may be a terminal identifier, a client user name, a mobile phone number, a user mailbox, and the like. The terminal Identifier may be represented by an International Mobile Equipment Identity (IMEI) or a Mobile Equipment Identity (MEID).
202. And sending the entry to be retrieved to a retrieval server, and indicating the retrieval server to retrieve according to the entry to be retrieved.
For example, after receiving a retrieval request sent by the terminal, the filtering server may send a term to be retrieved in the retrieval request to the retrieval server, and instruct the retrieval server to perform retrieval in the information base according to the term to be retrieved.
Wherein the retrieval server stores a large amount of information in the information base. The retrieval server can perform updating processing, adding processing and deleting processing on the information in the information base so as to ensure timeliness of the information in the information base. In addition, the embodiment of the present application is not particularly limited to the information sources in the information base. For example, the information in the information repository may originate from a plurality of terminals connected to the search server, the information in the information repository may originate from another server connected to the search server, and so on.
In some embodiments, when retrieving is performed in the information base according to the entry to be retrieved, the retrieval server may obtain a matching value between the entry to be retrieved and each piece of information in the information base, use the information whose matching value is greater than the first preset threshold as a plurality of pieces of target information corresponding to the entry to be retrieved, and generate a retrieval result according to the plurality of pieces of target information.
In some embodiments, when retrieving is performed in the information base according to the entry to be retrieved, the retrieval server may obtain a matching value between the entry to be retrieved and a tag in the information base, use the tag whose matching value is greater than a second preset threshold as a target tag, use information in the information base having the target tag as a plurality of pieces of target information corresponding to the entry to be retrieved, and generate a retrieval result according to the plurality of pieces of target information. Wherein, each information in the information base is correspondingly provided with a label. The labels of any two messages may be the same or different.
It is understood that the target information matched with one entry in the information base may be a plurality of pieces. For example, the retrieval server obtains a matching value between each piece of information in the information base and a to-be-retrieved entry of 'sorghum rice practice to completion', takes the information of which the matching value is greater than a first preset threshold value as target information corresponding to the to-be-retrieved entry of 'sorghum rice practice to completion', and obtains 4 items of label information which are marked as target information D1, target information D2, target information D3 and target information D4. The target information D1 is a sorghum porridge cooking method, the target information D2 is a sorghum rice cooking method, the target information D3 is a coarse cereal pancake cooking method, and the target information D4 is a sorghum steamed corn bread cooking method.
In some embodiments, when the retrieval server generates the retrieval result according to the plurality of pieces of target information, the retrieval server may combine the plurality of pieces of target information according to the order of searching to generate the retrieval result. But this scheme does not formulate different combination orders for different end users. For example, both the end user "plum" and the end user "leaflet" transmit the term to be retrieved including "mid-autumn" to the retrieval server through the filtering server, and the retrieval server retrieves according to the term to be retrieved including "mid-autumn". And sequentially obtaining the target information C1, the target information C2, the target information C3, the target information C4 and the target information C5 according to the retrieval sequence. In this case, the search server transmits the search result of the end user "duet" or the search result of the end user "duet" to the search server in the same order of combining the target information in both the search results, that is, the target information C1, the target information C2, the target information C3, the target information C4, and the target information C5.
In some embodiments, the method further includes, before sending the entry to be retrieved to the retrieval server, that the entry to be retrieved is multiple:
deleting the entries to be retrieved which meet a fourth preset condition from the plurality of entries to be retrieved;
sending the entry to be retrieved to a retrieval server, comprising:
and sending at least one entry to be retrieved after deleting the entry to be retrieved meeting the fourth preset condition to a retrieval server.
In the scheme, before the filter server sends the entry to be retrieved to the retrieval server, the filter server can match the entry to be retrieved with the preset entry, if the matching is successful, the entry to be retrieved is judged to meet a fourth preset condition, and if the matching is unsuccessful, the entry to be retrieved is judged not to meet the fourth preset condition. And then deleting the entries to be retrieved meeting the fourth preset condition, and sending at least one deleted entry to be retrieved to a retrieval server.
The preset entries are preset in the filtering server, and the preset entries mainly comprise the following entries of preset categories: any one or more of spam, product promotions, platform content, phishing websites. It can be understood that, in general, the information retrieved by the retrieval server according to the preset vocabulary entry is unlikely to be the content of interest to the user.
It should be noted that, in the scheme, before the entry to be retrieved is sent to the retrieval server, the entry to be retrieved meeting the fourth preset condition is deleted, so that the retrieval server obtains less spam content in the retrieval result, and the retrieval quality is improved.
203. And receiving a retrieval result returned by the retrieval server, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the vocabulary entry to be retrieved.
For example, after the retrieval server performs retrieval according to the entry to be retrieved and returns the retrieval result to the filtering server, the filtering server receives the retrieval result returned by the retrieval server. The retrieval result comprises a plurality of pieces of target information corresponding to the entries to be retrieved.
204. And scoring each target information according to the plurality of images to obtain a recommendation score of each target information.
For example, a user representation in a search request includes multiple representations having different types. After receiving the search result returned by the search server, the filtering server may score each piece of target information according to a plurality of figures in the search request, to obtain a recommendation score for each piece of target information.
In some embodiments, when scoring each target information according to a plurality of images to obtain a recommendation score of each target information, the filtering server may score each target information according to each image to obtain a plurality of score values; and according to the weight corresponding to each image, carrying out weighted summation on the plurality of score values to obtain the recommendation score of each target information.
For example, assuming that the user representation includes 5 representations of different types, which are respectively denoted as a first representation, a second representation, a third representation, a fourth representation, and a fifth representation, the recommendation score of each piece of target information can be expressed as:
P=k1p1+k2p2+k3p3+k4p4+k5p5
where P denotes a recommendation score for each piece of target information, P1Representing a first value of credit, p, for each piece of object information based on the first representation2Representing a second value of credit, p, for each piece of object information based on a second representation3Representing a third value of credit, p, for each piece of object information based on a third portrait4Representing a fourth value of credit, p, obtained for each piece of object information based on a fourth representation5Indicating a fifth value of credit, k, based on a fifth image for each piece of object information1Represents a first weight value, k2Represents a second weight value, k3Represents a first weight value, k4Represents a second weight value, k5Representing a second weight value.
It can be understood that k1、k2、k3、k4And k is5The sum of (1) is 1, i.e., the sum of the first weight value, the second weight value, the third weight value, the fourth weight value and the fifth weight value is 1.
In some embodiments, the first representation may be a base representation of the user including base data of the user's age, gender, occupation, academic calendar, income, and the like. The second image may be a behavior feature representation of the user, which includes behavior data of the user, such as an application installed on the terminal by the user, a travel track of the user, and the like. The third imagery may be an interest imagery of the user including content types that are most uncommon for the user to use. The fourth imagery may be social representation of the user, the social representation including a chain of friends of the user. The fifth portrayal can be a mental value portrayal of the user, wherein the mental value portrayal comprises payment data of the user on each application. In this embodiment, the third image is used as the most important adjustment basis, and the third weight value is set to be the largest of the 5 weight values. For example, the third weight value is set to 50%, and the other weight values are set to 12.5%.
205. And sequencing the plurality of pieces of target information according to the recommendation scores to obtain first sequencing information.
For example, after obtaining the recommendation score of each target information, the filtering server may sort the plurality of target information according to the recommendation score of each target information from high to low, to obtain the first sort information.
For example, the first ordering information may also be represented by adding a sequence number to the back of each target information, such as "\ ②". The first ordering information may also be represented by the placement order of the target information, and the like.
For example, please refer to fig. 4, fig. 4 is a schematic diagram of a second scenario of an information retrieval method according to an embodiment of the present application. Assume that the filtering server receives 6 items of tag information sent by the search server, which are denoted as target information L1, target information L2, target information L3, target information L4, target information L5, and target information L6, as shown in fig. 4. The filter server obtains the recommendation score of 6 items of logo information according to the user portrait: target information L1(86 points), target information L2(77 points), target information L3(75 points), target information L4(99 points), target information L5(71 points) and target information L6(80 points), wherein the 6 items of target information are sorted according to the recommended scores to obtain first sorting information, and the first sorting information is as follows: target information L4, target information L1, target information L6, target information L2, target information L3, and target information L5, as shown in fig. 4. It should be noted that, for the target information shown in the middle of fig. 4, the probability of interest to the user is greater the earlier the first order, that is, the probability of interest to the user is the greatest for the target information L4, the probability of interest to the user is the next to the target information L1, and so on.
206. And taking the target information which does not meet the first preset condition as first target information, and taking the target information which meets the first preset condition as second target information.
For example, after obtaining the first ranking information, the filtering server may classify the plurality of target information, that is, the target information that does not satisfy the first preset condition is used as the first target information, and the target information that satisfies the first preset condition is used as the second target information.
The first preset condition is information belonging to a preset category, and the preset category comprises any one or more of junk advertisements, product promotion, platform contents and phishing websites. It is understood that the information satisfying the first preset condition is unlikely to be the content in which the user is interested in general.
In some embodiments, when target information that does not satisfy the first preset condition is used as the first target information and target information that satisfies the first preset condition is used as the second target information, the filtering server may determine whether each target information belongs to any one of preset categories, if so, determine that the target information satisfies the first preset condition and use the target information that satisfies the first preset condition as the second target information, and if not, determine that the target information does not satisfy the first preset condition and use the target information that does not satisfy the first preset condition as the first target information.
For example, please refer to fig. 5, fig. 5 is a third scenario diagram of an information retrieval method according to an embodiment of the present application. The filtering server classifies 6 items of target information, that is, target information satisfying a first preset condition as second target information (target information L4, target information L1, target information L2, target information L5), and target information not satisfying the first preset condition as first target information (target information L6, target information L3).
207. And adjusting the first ordering information according to the priority of the ordering of the first target information over the ordering of the second target information to obtain second ordering information.
For example, after the target information that does not satisfy the first preset condition is used as the first target information, such as the target information L6 and the target information L3 in fig. 5, and the target information that satisfies the first preset condition is used as the second target information, such as the target information L4, the target information L1, the target information L2 and the target information L5 in fig. 5, the filter server may adjust the first ranking information in such a way that the ranking of the first target information is prior to the ranking of the second target information, so as to obtain the second ranking information. As shown in fig. 5, the first ordering information will be prioritized over the second ordering information according to the ordering of the first target information: the target information L4, the target information L1, the target information L6, the target information L2, the target information L3, and the target information L5 are adjusted to obtain second ranking information: target information L4, target information L1, target information L2, target information L5, target information L6, and target information L3.
For example, assume that the first ordering information is: the target information D5, the target information D2, the target information D1, the target information D3 and the target information D4, wherein the target information D2 is product promotion and the target information D3 is spam. Then, the filtering server classifies the 5 pieces of target information to obtain first target information: the object information D5, the object information D1, and the object information D4, and the second object information: object information D2 and object information D3. The filtering server adjusts the first ordering information according to the priority of the ordering of the first target information over the ordering of the second target information, and the obtained second ordering information is: target information D5, target information D1, target information D4, target information D2, and target information D3.
208. And returning the second sorting information to the terminal, so that the terminal displays a plurality of pieces of target information according to the second sorting information.
For example, after the first ranking information is adjusted to obtain the second ranking information, the filtering server may return the second ranking information to the terminal. And after receiving second sorting information returned by the filtering server, the terminal displays a plurality of pieces of target information on the display interface by taking the second sorting information as a display sequence.
It should be noted that, in general, the information satisfying the first preset condition is unlikely to be the content in which the user is interested. In a special case, the information meeting the first preset condition may also be content in which the user is interested, and if some user wants to search, the product is promoted, so deleting the information meeting the first preset condition easily results in that the user cannot obtain the required information. In the scheme, on the premise of not deleting any information, the user is interested in the previous display and is not interested in the subsequent display, so that any useful things can be prevented from being missed, the user experience can be improved, and the quality of information retrieval is improved.
Referring to fig. 6, fig. 6 is a third flow chart of the information retrieval method according to the embodiment of the present application.
301. And receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a plurality of terms to be retrieved and a user portrait.
For example, when the terminal needs the search server to provide the target information for display, the terminal generates a search request and transmits the search request to the filter server. The filtering server receives a retrieval request sent by a terminal, wherein the retrieval request comprises a plurality of terms to be retrieved and a user portrait.
302. And taking the entry to be retrieved which does not meet the third preset condition as a first entry, and taking the entry to be retrieved which meets the third preset condition as a second entry.
For example, after receiving a retrieval request sent by the terminal, the filtering server may classify a plurality of entries to be retrieved, that is, the entries to be retrieved that do not satisfy the third preset condition are used as the first entries, and the entries to be retrieved that satisfy the third preset condition are used as the second entries.
The term to be retrieved belonging to a preset category is the term meeting the third preset condition, and the preset category comprises any one or more of junk advertisements, product promotion, platform contents and phishing websites. It can be understood that, in general, the information obtained by searching according to the entry to be searched meeting the third preset condition is unlikely to be the content in which the user is interested.
In some embodiments, when an entry that does not satisfy a third preset condition is used as the first entry and an entry that satisfies the third preset condition is used as the second entry, the filtering server may determine whether each entry to be retrieved belongs to any one of preset categories, if so, determine that the entry satisfies the third preset condition, and use the entry to be retrieved that satisfies the third preset condition as the second entry, otherwise, determine that the entry to be retrieved does not satisfy the third preset condition, and use the entry to be retrieved that does not satisfy the third preset condition as the first entry.
303. And sequencing the plurality of entries to be retrieved according to the priority of the sequencing of the first entry to the sequencing of the second entry to obtain third sequencing information.
For example, after the entry to be retrieved that does not satisfy the third preset condition is used as the first entry and the entry to be retrieved that satisfies the third preset condition is used as the second entry, the filtering server may sort the plurality of entries to be retrieved in accordance with the order of the first entry being prior to the order of the second entry, so as to obtain third sorting information.
For example, assume that the entry to be retrieved in the retrieval request is: the system comprises an entry E1 to be retrieved, an entry E2 to be retrieved, an entry E3 to be retrieved, an entry E4 to be retrieved and an entry E5 to be retrieved, wherein the entry E2 to be retrieved is a product promotion, and the entry E3 to be retrieved is a garbage advertisement. Then, the filtering server classifies the 5 entries to be retrieved to obtain a first entry: an entry to be retrieved E5, an entry to be retrieved E1, an entry to be retrieved E4, and a second entry: an entry to be retrieved E2 and an entry to be retrieved E3. The filtering server adjusts the first ordering information according to the priority of the ordering of the first entry over the ordering of the second entry, and the obtained second ordering information is: the retrieval system comprises an entry E5 to be retrieved, an entry E1 to be retrieved, an entry E4 to be retrieved, an entry E2 to be retrieved and an entry E3 to be retrieved.
304. And sending the vocabulary entries to be retrieved and the third ordering information to a retrieval server, and indicating the retrieval server to retrieve according to the vocabulary entries to be retrieved by taking the third ordering information as a retrieval sequence.
For example, after the third sorting information is obtained, the filtering server sends the entry to be retrieved and the third sorting information to the retrieval server. And after receiving the entries to be retrieved and the third ordering information, the retrieval server takes the third ordering information as a retrieval sequence and retrieves according to the entries to be retrieved.
305. And receiving a retrieval result returned by the retrieval server, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the vocabulary entry to be retrieved.
For example, after the retrieval server takes the third sorting information as the retrieval sequence, retrieves according to the entry to be retrieved, and returns the retrieval result to the filtering server, the filtering server receives the retrieval result returned by the retrieval server. The retrieval result comprises a plurality of pieces of target information corresponding to the entries to be retrieved.
306. And sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information.
For example, after receiving the search result returned by the search server, the filter server may sort a plurality of pieces of target information in the search result according to the user image in the search request, to obtain first sort information. In the scheme, the user portrait is an effective tool for delineating the appeal and the design direction of the user and contacting the appeal and the design direction of the user, so that a plurality of pieces of target information are sequenced according to the user portrait, and the obtained first sequencing information can be formulated for different users.
307. And deleting the target information meeting the second preset condition in the plurality of pieces of target information.
For example, after obtaining the first ranking information, the filtering server may delete target information that satisfies a second preset condition from the plurality of pieces of target information. The second preset condition is information belonging to a preset category, and the preset category comprises any one or more of junk advertisements, product promotion, platform contents and phishing websites. It is understood that the information satisfying the second preset condition is unlikely to be the content in which the user is interested in general.
In some embodiments, the filtering server may delete target information satisfying a second preset condition from the plurality of pieces of target information, and then sort the plurality of pieces of target information according to the user image to obtain first sorted information.
308. And returning the at least one piece of target information and the first sequencing information after the target information meeting the second preset condition is deleted to the terminal, so that the terminal displays the at least one piece of target information after the target information meeting the second preset condition is deleted according to the first sequencing information.
For example, after deleting target information satisfying a second preset condition from the plurality of pieces of target information, the filtering server may return at least one piece of target information and the first sort information after deleting the target information satisfying the second preset condition to the terminal. And after receiving at least one piece of target information and the first sequencing information which are returned by the filtering server and satisfy the second preset condition after the target information and the first sequencing information are deleted, the terminal takes the first sequencing information as a display sequence and displays a plurality of pieces of target information on a display interface after the target information satisfying the second preset condition is deleted.
It should be noted that, because some target information related in the first ordering information has been deleted, in this scheme, the filtering server needs to return not only the first ordering information to the terminal, but also return at least one piece of target information from which target information satisfying the second preset condition is deleted to the terminal, so as to instruct the terminal to display only the target information in the at least one piece of target information when displaying according to the first ordering information.
For example, suppose that the terminal receives at least one piece of target information, namely, target information Q1, target information Q2 and target information Q3, and receives first ordering information, namely, target information Q1- ①, target information Q2- ③, target information Q3- ② and target information Q4- ④, when the terminal displays the first ordering information, the terminal only needs to display the target information Q1, the target information Q2 and the target information Q3, namely, the target information Q1, the target information Q3 and the target information Q2 are arranged on the display interface from top to bottom for display.
Fig. 7 is a schematic structural diagram of an information retrieval apparatus provided in an embodiment of the present application, which is used for executing the information retrieval method provided in the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 7, the information retrieval apparatus 400 specifically includes: a receiving module 401, an obtaining module 402, a first ordering module 403, and a returning module 404, wherein:
a receiving module 401, configured to receive a retrieval request sent by a terminal, where the retrieval request includes a to-be-retrieved entry and a user portrait;
an obtaining module 402, configured to perform retrieval processing based on the entry to be retrieved, and obtain a retrieval result, where the retrieval result includes multiple pieces of target information corresponding to the entry to be retrieved;
a first sorting module 403, configured to sort the plurality of pieces of target information according to the user portrait to obtain first sorting information;
a returning module 404, configured to return the first sorting information to the terminal, so that the terminal displays the pieces of target information according to the first sorting information.
In some embodiments, the user representation includes a plurality of representations having different types, and when sorting the plurality of pieces of target information based on the user representation results in first sorting information, first sorting module 403 is further configured to:
according to the plurality of images, scoring each target information to obtain a recommendation score of each target information;
and sequencing the plurality of pieces of target information according to the recommendation scores to obtain first sequencing information.
In some embodiments, when scoring each target information according to the plurality of images to obtain a recommendation score for each target information, the first ranking module 403 is further configured to:
for each target information, scoring according to each portrait respectively to obtain a plurality of scoring values;
and according to the weight corresponding to each image, carrying out weighted summation on the plurality of score values to obtain the recommendation score of each target information.
In some embodiments, before returning the first sorting information to the terminal, the information retrieval apparatus 400 further includes a first classification module and an adjustment module;
the first classification module is used for taking the target information which does not meet a first preset condition as first target information and taking the target information which meets the first preset condition as second target information;
the adjusting module is configured to adjust the first ordering information according to a priority of the ordering of the first target information over the ordering of the second target information, so as to obtain second ordering information;
when the first sorting information is returned to the terminal so that the terminal displays the pieces of target information according to the first sorting information, the returning module 404 is further configured to:
and returning the second sorting information to the terminal, so that the terminal displays the plurality of pieces of target information according to the second sorting information.
In some embodiments, before returning the first ranking information to the terminal, the information retrieval apparatus 400 further comprises a first deletion module;
the first deleting module is used for deleting target information meeting a second preset condition in the plurality of pieces of target information;
when the first sorting information is returned to the terminal so that the terminal displays the pieces of target information according to the first sorting information, the returning module 404 is further configured to:
and returning at least one piece of target information after the target information meeting the second preset condition is deleted and the first sequencing information to the terminal, so that the terminal displays at least one piece of target information after the target information meeting the second preset condition is deleted according to the first sequencing information.
In some embodiments, when performing retrieval processing based on the entry to be retrieved and obtaining a retrieval result, the obtaining module 402 may further be configured to:
sending the entry to be retrieved to a retrieval server, and indicating the retrieval server to retrieve according to the entry to be retrieved;
and receiving a retrieval result returned by the retrieval server.
In some embodiments, the number of the entries to be retrieved is multiple, and before the entries to be retrieved are sent to a retrieval server to instruct the retrieval server to perform retrieval according to the entries to be retrieved, the information retrieval apparatus 400 further includes a second classification module and a second sorting module;
the second classification module is used for taking the entry to be retrieved which does not meet a third preset condition as a first entry and taking the entry to be retrieved which meets the third preset condition as a second entry;
the second sorting module is used for sorting the plurality of entries to be retrieved according to the priority of the sorting of the first entry over the sorting of the second entry to obtain third sorting information;
when the to-be-retrieved entry is sent to a retrieval server and the retrieval server is instructed to retrieve according to the to-be-retrieved entry, the sending module is further configured to:
and sending the vocabulary entries to be retrieved and the third ordering information to a retrieval server, and indicating the retrieval server to retrieve according to the vocabulary entries to be retrieved by taking the third ordering information as a retrieval sequence.
In some embodiments, the entry to be retrieved is multiple, and before sending the entry to be retrieved to the retrieval server, the information retrieval apparatus 400 further includes a second deletion module;
the second deleting module is used for deleting the entry to be retrieved which meets a fourth preset condition from the plurality of entries to be retrieved;
when the entry to be retrieved is sent to the retrieval server, the sending module is further configured to:
and sending at least one entry to be retrieved after deleting the entry to be retrieved meeting the fourth preset condition to a retrieval server.
As can be seen from the above, in the information retrieval device provided in this embodiment of the application, the receiving module 401 receives a retrieval request sent by a terminal, where the retrieval request includes a to-be-retrieved entry and a user portrait, the obtaining module 402 performs retrieval processing based on the to-be-retrieved entry, and obtains a retrieval result, where the retrieval result includes multiple pieces of target information corresponding to the to-be-retrieved entry, the first sorting module 403 sorts the multiple pieces of target information according to the user portrait to obtain first sorting information, and the returning module 404 returns the first sorting information to the terminal, so that the terminal displays the multiple pieces of target information according to the first sorting information. The target information more fitting the retrieval intention of the terminal user can be displayed in advance, and the terminal user can acquire required information quickly, so that the quality of information retrieval is improved.
It should be noted that the information retrieval device provided in the embodiment of the present application and the information retrieval method in the foregoing embodiments belong to the same concept, and any method provided in the embodiment of the information retrieval method can be run on the information retrieval device, and the specific implementation process thereof is described in detail in the embodiment of the information retrieval method and is not described herein again.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the stored computer program is executed on a computer, the computer is caused to execute the steps in the information retrieval method provided by the embodiment of the present application. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
Referring to fig. 8, a server 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the server 500, connects various parts of the entire server using various interfaces and lines, performs various functions of the server 500 and processes data by running or loading a computer program stored in the memory 502, and calling data stored in the memory 502.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like.
Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
In this embodiment of the application, the processor 501 in the server 500 loads instructions corresponding to one or more processes of the computer program into the memory 502, and the processor 501 runs the computer program stored in the memory 502, so as to implement various functions as follows:
receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a to-be-retrieved entry and a user portrait;
performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved;
sorting the plurality of pieces of target information according to the user portrait to obtain first sorting information;
and returning the first sequencing information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
Referring to fig. 9, fig. 9 is a second schematic structural diagram of a server according to an embodiment of the present application, and the difference from the server shown in fig. 8 is that the server further includes: a display component 603, radio frequency circuitry 604, and a power supply 605. The display element 603, the rf circuit 604 and the power supply 605 are electrically connected to the processor 601, respectively.
The display component 603 may be used to display information entered by or provided to a user as well as various graphical user interfaces that may be composed of graphics, text, icons, video, and any combination thereof.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other server via wireless communication, and for transceiving signals with the network device or other server.
The power supply 605 may be used to power the various components of the server 600. In some embodiments, the power supply 605 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown, the server may further include an input unit and the like, which will not be described in detail herein.
In this embodiment of the application, the processor 601 in the server 600 loads instructions corresponding to one or more processes of the computer program into the memory 602, and the processor 601 executes the computer program stored in the memory 602, thereby implementing various functions as follows:
receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a to-be-retrieved entry and a user portrait;
performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved;
sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information;
and returning the first sequencing information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
In some embodiments, the user representation includes a plurality of representations having different types, and when sorting the plurality of pieces of target information according to the user representation to obtain first sorting information, processor 601 may perform:
according to the plurality of images, scoring each target information to obtain a recommendation score of each target information;
and sequencing the plurality of pieces of target information according to the recommendation scores to obtain first sequencing information.
In some embodiments, when scoring each target information according to the plurality of images to obtain a recommendation score of each target information, the processor 601 may perform:
for each target information, scoring according to each portrait respectively to obtain a plurality of scoring values;
and according to the weight corresponding to each image, carrying out weighted summation on the plurality of score values to obtain the recommendation score of each target information.
In some embodiments, before returning the first ordering information to the terminal, processor 601 may perform:
target information which does not meet a first preset condition is used as first target information, and target information which meets the first preset condition is used as second target information;
adjusting the first ordering information according to the priority of the ordering of the first target information over the ordering of the second target information to obtain second ordering information;
when the first sorting information is returned to the terminal so that the terminal displays the pieces of target information according to the first sorting information, the processor 601 may perform:
and returning the second sorting information to the terminal, so that the terminal displays the plurality of pieces of target information according to the second sorting information.
In some embodiments, before returning the first ordering information to the terminal, processor 601 may perform:
deleting target information meeting a second preset condition in the plurality of pieces of target information;
when the first sorting information is returned to the terminal so that the terminal displays the pieces of target information according to the first sorting information, the processor 601 may perform:
and returning at least one piece of target information after the target information meeting the second preset condition is deleted and the first sequencing information to the terminal, so that the terminal displays at least one piece of target information after the target information meeting the second preset condition is deleted according to the first sequencing information.
In some embodiments, before receiving the search result returned by the search server, the processor 601 may further perform:
sending the entry to be retrieved to a retrieval server, and indicating the retrieval server to retrieve according to the entry to be retrieved;
and receiving a retrieval result returned by the retrieval server.
In some embodiments, the to-be-retrieved term is multiple, and before sending the to-be-retrieved term to a retrieval server to instruct the retrieval server to retrieve according to the to-be-retrieved term, the processor 601 may perform:
taking the entry to be retrieved which does not meet a third preset condition as a first entry, and taking the entry to be retrieved which meets the third preset condition as a second entry;
sequencing the plurality of entries to be retrieved according to the priority of the first entry over the second entry to obtain third sequencing information;
when the to-be-retrieved entry is sent to a retrieval server and the retrieval server is instructed to retrieve according to the to-be-retrieved entry, the processor 601 may execute:
and sending the vocabulary entries to be retrieved and the third ordering information to a retrieval server, and indicating the retrieval server to retrieve according to the vocabulary entries to be retrieved by taking the third ordering information as a retrieval sequence.
In some embodiments, the term to be retrieved is multiple, and before sending the term to be retrieved to the retrieval server, the processor 601 may perform:
deleting the entries to be retrieved which meet a fourth preset condition from the plurality of entries to be retrieved;
when the entry to be retrieved is sent to the retrieval server, the processor 601 may perform:
and sending at least one entry to be retrieved after deleting the entry to be retrieved meeting the fourth preset condition to a retrieval server.
As can be seen from the above, in the server provided in the embodiment of the application, after receiving the retrieval request sent by the terminal, the retrieval processing is performed based on the entry to be retrieved, the retrieval result is obtained, where the retrieval result includes a plurality of pieces of target information corresponding to the entry to be retrieved, then the plurality of pieces of target information are sorted according to the user image, so as to obtain first sorting information, and finally the first sorting information is returned to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sorting information. The target information more fitting the retrieval intention of the terminal user can be displayed in advance, and the terminal user can acquire required information quickly, so that the quality of information retrieval is improved.
An embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the information retrieval method in any one of the above embodiments, for example: receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a to-be-retrieved entry and a user portrait; performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved; sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information; and returning the first sequencing information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It should be noted that, for the information retrieval method of the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the information retrieval method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, the computer program can be stored in a computer readable storage medium, such as a memory of a server, and executed by at least one processor in the server, and the process of executing the computer program can include the process of the embodiment of the information retrieval method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the information retrieval device according to the embodiment of the present application, each functional module may be integrated into one processing chip, each module may exist alone physically, or two or more modules may be integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing detailed description is directed to an information retrieval method, an information retrieval apparatus, a storage medium, and a server provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and embodiments of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. An information retrieval method, comprising:
receiving a retrieval request sent by a terminal, wherein the retrieval request comprises a to-be-retrieved entry and a user portrait;
performing retrieval processing based on the entry to be retrieved to obtain a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved;
sequencing the plurality of pieces of target information according to the user image to obtain first sequencing information;
and returning the first sequencing information to the terminal, so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
2. The information retrieval method of claim 1, wherein the user representation includes a plurality of representations having different types, and the sorting the plurality of pieces of target information according to the user representation to obtain first sorted information includes:
according to the plurality of images, scoring each target information to obtain a recommendation score of each target information;
and sequencing the plurality of pieces of target information according to the recommendation scores to obtain first sequencing information.
3. The information retrieval method of claim 2, wherein the scoring each target information based on the plurality of images to obtain a recommendation score for each target information comprises:
for each target information, scoring according to each portrait respectively to obtain a plurality of scoring values;
and according to the weight corresponding to each image, carrying out weighted summation on the plurality of score values to obtain the recommendation score of each target information.
4. The information retrieval method according to claim 1, wherein before returning the first ranking information to the terminal, further comprising:
target information which does not meet a first preset condition is used as first target information, and target information which meets the first preset condition is used as second target information;
adjusting the first ordering information according to the priority of the ordering of the first target information over the ordering of the second target information to obtain second ordering information;
the returning the first sorting information to the terminal so that the terminal displays the plurality of pieces of target information according to the first sorting information includes:
and returning the second sorting information to the terminal, so that the terminal displays the plurality of pieces of target information according to the second sorting information.
5. The information retrieval method according to claim 1, wherein before returning the first ranking information to the terminal, further comprising:
deleting target information meeting a second preset condition in the plurality of pieces of target information;
the returning the first sorting information to the terminal so that the terminal displays the plurality of pieces of target information according to the first sorting information includes:
and returning at least one piece of target information after the target information meeting the second preset condition is deleted and the first sequencing information to the terminal, so that the terminal displays at least one piece of target information after the target information meeting the second preset condition is deleted according to the first sequencing information.
6. The information retrieval method according to any one of claims 1 to 5, wherein the performing retrieval processing based on the entry to be retrieved to obtain a retrieval result includes:
sending the entry to be retrieved to a retrieval server, and indicating the retrieval server to retrieve according to the entry to be retrieved;
and receiving a retrieval result returned by the retrieval server.
7. The information retrieval method according to claim 6, wherein the entry to be retrieved is plural, and before the entry to be retrieved is sent to a retrieval server to instruct the retrieval server to perform retrieval according to the entry to be retrieved, the method further comprises:
taking the entry to be retrieved which does not meet a third preset condition as a first entry, and taking the entry to be retrieved which meets the third preset condition as a second entry;
sequencing the plurality of entries to be retrieved according to the priority of the first entry over the second entry to obtain third sequencing information;
the sending the entry to be retrieved to a retrieval server, instructing the retrieval server to retrieve according to the entry to be retrieved, includes:
and sending the vocabulary entries to be retrieved and the third ordering information to a retrieval server, and indicating the retrieval server to retrieve according to the vocabulary entries to be retrieved by taking the third ordering information as a retrieval sequence.
8. The information retrieval method according to claim 6, wherein the entry to be retrieved is plural, and before the entry to be retrieved is sent to the retrieval server, the method further comprises:
deleting the entries to be retrieved which meet a fourth preset condition from the plurality of entries to be retrieved;
the sending the entry to be retrieved to a retrieval server includes:
and sending at least one entry to be retrieved after deleting the entry to be retrieved meeting the fourth preset condition to a retrieval server.
9. An information retrieval apparatus, characterized by comprising:
the retrieval system comprises a receiving module, a retrieval module and a retrieval module, wherein the receiving module is used for receiving a retrieval request sent by a terminal, and the retrieval request comprises a to-be-retrieved entry and a user portrait;
the acquisition module is used for carrying out retrieval processing on the basis of the entry to be retrieved and acquiring a retrieval result, wherein the retrieval result comprises a plurality of pieces of target information corresponding to the entry to be retrieved;
the first sequencing module is used for sequencing the plurality of pieces of target information according to the user portrait to obtain first sequencing information;
and the returning module is used for returning the first sequencing information to the terminal so that the terminal displays the plurality of pieces of target information according to the first sequencing information.
10. A storage medium having stored thereon a computer program, characterized in that, when the computer program runs on a computer, it causes the computer to execute an information retrieval method according to any one of claims 1 to 8.
11. A server comprising a processor, a memory, said memory having a computer program, wherein said processor is adapted to perform the information retrieval method of any of claims 1 to 8 by invoking said computer program.
CN201911137073.4A 2019-11-19 2019-11-19 Information retrieval method, device, storage medium and server Active CN111078998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911137073.4A CN111078998B (en) 2019-11-19 2019-11-19 Information retrieval method, device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911137073.4A CN111078998B (en) 2019-11-19 2019-11-19 Information retrieval method, device, storage medium and server

Publications (2)

Publication Number Publication Date
CN111078998A true CN111078998A (en) 2020-04-28
CN111078998B CN111078998B (en) 2024-03-12

Family

ID=70311096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911137073.4A Active CN111078998B (en) 2019-11-19 2019-11-19 Information retrieval method, device, storage medium and server

Country Status (1)

Country Link
CN (1) CN111078998B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625706A (en) * 2020-05-22 2020-09-04 北京百度网讯科技有限公司 Information retrieval method, device, equipment and storage medium
CN111639257A (en) * 2020-05-09 2020-09-08 北京三快在线科技有限公司 Information display method, information display device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259416A (en) * 2001-03-06 2002-09-13 Kazuhiko Akamine Medium with information acquisition program recorded thereon, information transmission device, medium with preservation term management program recorded thereon, character information display structure, commodity retrieval device, charge for delivery calculation device, introduction device
JP2004152178A (en) * 2002-10-31 2004-05-27 Tokai Univ Method and device for information retrieval, information retrieval program, and computer-readable storage medium storing program thereof
CN101620625A (en) * 2009-07-30 2010-01-06 腾讯科技(深圳)有限公司 Method, device and search engine for sequencing searching keywords
CN103886063A (en) * 2014-03-18 2014-06-25 国家电网公司 Text retrieval method and device
CN105930429A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Music recommendation method and apparatus
CN107784092A (en) * 2017-10-11 2018-03-09 深圳市金立通信设备有限公司 A kind of method, server and computer-readable medium for recommending hot word
CN107885889A (en) * 2017-12-13 2018-04-06 聚好看科技股份有限公司 Feedback method, methods of exhibiting and the device of search result
KR20180088153A (en) * 2017-01-26 2018-08-03 주식회사 마이셀럽스 Sentence completion type search system and method that recommends words of high interest as search words
CN110245289A (en) * 2019-05-20 2019-09-17 中国平安财产保险股份有限公司 A kind of information search method and relevant device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259416A (en) * 2001-03-06 2002-09-13 Kazuhiko Akamine Medium with information acquisition program recorded thereon, information transmission device, medium with preservation term management program recorded thereon, character information display structure, commodity retrieval device, charge for delivery calculation device, introduction device
JP2004152178A (en) * 2002-10-31 2004-05-27 Tokai Univ Method and device for information retrieval, information retrieval program, and computer-readable storage medium storing program thereof
CN101620625A (en) * 2009-07-30 2010-01-06 腾讯科技(深圳)有限公司 Method, device and search engine for sequencing searching keywords
CN103886063A (en) * 2014-03-18 2014-06-25 国家电网公司 Text retrieval method and device
CN105930429A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Music recommendation method and apparatus
KR20180088153A (en) * 2017-01-26 2018-08-03 주식회사 마이셀럽스 Sentence completion type search system and method that recommends words of high interest as search words
CN107784092A (en) * 2017-10-11 2018-03-09 深圳市金立通信设备有限公司 A kind of method, server and computer-readable medium for recommending hot word
CN107885889A (en) * 2017-12-13 2018-04-06 聚好看科技股份有限公司 Feedback method, methods of exhibiting and the device of search result
CN110245289A (en) * 2019-05-20 2019-09-17 中国平安财产保险股份有限公司 A kind of information search method and relevant device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李振星, 徐泽平, 唐卫清, 唐荣锡: "基于兴趣模型的WEB信息预测采集过滤方法", 计算机工程与应用, no. 05, 11 February 2003 (2003-02-11), pages 3 - 5 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639257A (en) * 2020-05-09 2020-09-08 北京三快在线科技有限公司 Information display method, information display device, storage medium and electronic equipment
CN111625706A (en) * 2020-05-22 2020-09-04 北京百度网讯科技有限公司 Information retrieval method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111078998B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN111079022B (en) Personalized recommendation method, device, equipment and medium based on federal learning
KR101208799B1 (en) Clustered search processing
CN111177563B (en) Information recommendation method and device, electronic equipment and storage medium
CN102073699B (en) For improving the method for Search Results, device and equipment based on user behavior
US9208202B1 (en) Systems and methods for determining interest in an item or category of items
CN105074687A (en) Re-ranking story content
CN104239535A (en) Method and system for matching pictures with characters, server and terminal
US20110040630A1 (en) Method and system for matching borrowers and lenders
CN111738785A (en) Product selection method, system and storage medium
CN113793182B (en) Commodity object recommendation method and device, equipment, medium and product thereof
CN105577815A (en) Delivery method and delivery system of reading precise delivery system and processor
US20160239533A1 (en) Identity workflow that utilizes multiple storage engines to support various lifecycles
CN111078998B (en) Information retrieval method, device, storage medium and server
CN110196833B (en) Application searching method, device, terminal and storage medium
CN111159553A (en) Information pushing method and device, computer equipment and storage medium
CN103020141B (en) It is a kind of for the method and apparatus of Search Results is provided
CN109408714A (en) A kind of recommender system and method for multi-model fusion
GB2559314A (en) Data retrieval system
CN114430504B (en) Recommendation method and related device for media content
CN108415996A (en) A kind of news information method for pushing, device and electronic equipment
CN111193598B (en) Group chat session recommendation method and device
CN113220954A (en) Information display method and device and projection equipment
CN114969493A (en) Content recommendation method and related device
CN111581505A (en) Flight recommendation method and system based on combined recommendation
CN107257312B (en) A kind of data processing method and device

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
GR01 Patent grant
GR01 Patent grant