CN110674386B - Resource recommendation method, device and storage medium - Google Patents

Resource recommendation method, device and storage medium Download PDF

Info

Publication number
CN110674386B
CN110674386B CN201810614784.5A CN201810614784A CN110674386B CN 110674386 B CN110674386 B CN 110674386B CN 201810614784 A CN201810614784 A CN 201810614784A CN 110674386 B CN110674386 B CN 110674386B
Authority
CN
China
Prior art keywords
link information
user
determining
resource
target
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.)
Active
Application number
CN201810614784.5A
Other languages
Chinese (zh)
Other versions
CN110674386A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810614784.5A priority Critical patent/CN110674386B/en
Publication of CN110674386A publication Critical patent/CN110674386A/en
Application granted granted Critical
Publication of CN110674386B publication Critical patent/CN110674386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a resource recommendation method, a resource recommendation device and a storage medium, wherein the method comprises the following steps: receiving an instruction which is triggered by a first user and used for requesting to acquire resources; acquiring historical searching behavior data of the first user according to the instruction; and determining a target resource according to the historical search behavior data, and recommending the target resource to the first user. The resource recommendation method, the resource recommendation device and the storage medium provided by the invention can recommend resources according to the preference of the user, and improve the accuracy of resource recommendation.

Description

Resource recommendation method, device and storage medium
Technical Field
The present invention relates to computer application technologies, and in particular, to a resource recommendation method, device, and storage medium.
Background
With the rapid development of science and technology, various media information service terminals such as the internet or mobile network and the like generate massive information resources every day and present the information resources in front of users. Therefore, how to select the resources which are interested by the user from the information resources and recommend the resources to the user is a very important problem.
In the prior art, when resource recommendation is performed, resources which are interested by a user are generally judged according to the click rate of the currently recommended resources when the user browses the resources, and the resources are recommended to the user.
However, the resources recommended in the above manner are relatively single, and only the user's preference can be mined from a small number of dimensions, and the desired resources cannot be accurately recommended to the user, so that the result of resource recommendation is inaccurate.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a resource recommendation method, a resource recommendation device and a storage medium, which can recommend resources according to the preference of a user and improve the accuracy of resource recommendation.
In a first aspect, an embodiment of the present invention provides a resource recommendation method, including:
receiving an instruction which is triggered by a first user and used for requesting to acquire resources;
acquiring historical search behavior data of the first user according to the instruction;
and determining a target resource according to the historical search behavior data, and recommending the target resource to the first user.
Optionally, the determining target resources according to the historical search behavior data includes:
determining at least one target keyword searched by the first user before and first link information clicked when each target keyword is searched according to the historical searching behavior data;
determining a target resource field corresponding to the first link information according to a corresponding relation between pre-stored identification information of the resource field and the link information;
and determining target resources in the target resource field according to the at least one target keyword.
Optionally, determining at least one target keyword previously searched by the first user according to the historical search behavior data includes:
and determining at least one keyword of which the search frequency exceeds a first preset value in the historical search behavior data as the target keyword.
Optionally, determining the first link information clicked when searching for each target keyword includes:
and determining link information of which the click times exceed a second preset value as the first link information when the first user searches for each target keyword.
Optionally, determining the first link information clicked when searching for each target keyword includes:
determining whether link information marked by a user exists in the historical search behavior data;
and if the link information marked by the user exists, determining the link information marked by the user as the first link information.
Optionally, before determining the target resource field corresponding to the first link information according to the correspondence between the identifier information and the link information of the pre-stored resource field, the method further includes:
receiving search sentences sent by a plurality of second users, and recording second link information clicked by the second users aiming at the search sentences;
acquiring identification information of the resource field according to each search statement;
and establishing a corresponding relation between the identification information of the resource field and the second link information.
Optionally, the obtaining, according to each search statement, identification information of a resource field includes:
performing word segmentation processing on the search sentence to obtain a word segmentation result;
and acquiring the identification information of the resource field according to the word cutting result.
In a second aspect, an embodiment of the present invention provides a resource recommendation apparatus, including:
the receiving module is used for receiving an instruction which is triggered by a first user and used for requesting to acquire resources;
the acquisition module is used for acquiring historical search behavior data of the first user according to the instruction;
the determining module is used for determining target resources according to the historical searching behavior data;
and the recommending module is used for recommending the target resource to the first user.
Optionally, the determining module is specifically configured to:
determining at least one target keyword searched by the first user before and first link information clicked when each target keyword is searched according to the historical search behavior data;
determining a target resource field corresponding to the first link information according to a corresponding relation between pre-stored identification information of the resource field and the link information;
and determining target resources in the target resource field according to the at least one target keyword.
Optionally, the determining module is specifically configured to:
and determining at least one keyword of which the search frequency exceeds a first preset value in the historical search behavior data as the target keyword.
Optionally, the determining module is specifically configured to:
and determining link information of which the click times exceed a second preset value as the first link information when the first user searches for each target keyword.
Optionally, the determining module is specifically configured to:
determining whether link information marked by a user exists in the historical search behavior data;
and if the link information marked by the user exists, determining the link information marked by the user as the first link information.
Optionally, the apparatus further comprises: establishing a module; wherein the content of the first and second substances,
the receiving module is further configured to receive search statements sent by a plurality of second users, and record second link information clicked by each second user for the search statements;
the acquisition module is further used for acquiring identification information of the resource field according to each search statement;
the establishing module is used for establishing a corresponding relation between the identification information of the resource field and the second link information.
Optionally, the obtaining module is specifically configured to:
performing word segmentation processing on the search sentence to obtain a word segmentation result;
and acquiring the identification information of the resource field according to the word cutting result.
In a third aspect, an embodiment of the present invention provides a terminal, including:
a processor;
a memory; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program causes a terminal to execute the method according to the first aspect.
According to the resource recommendation method, the resource recommendation device and the storage medium, the instruction which is triggered by the first user and used for requesting to acquire the resource is received, the historical search behavior data of the first user is acquired according to the instruction, then the target resource is determined according to the historical search behavior data, and the target resource is recommended to the first user. The terminal can determine the target resource by combining the historical search behavior data of the first user and recommend the target resource to the first user, so that the resource can be recommended to the user according to the preference of the user, and the accuracy of resource recommendation is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an optional application scenario of a resource recommendation method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first embodiment of a resource recommendation method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface for recommending a target resource;
fig. 4 is a schematic structural diagram of a first resource recommendation device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second resource recommendation device according to an embodiment of the present invention;
fig. 6A shows a schematic diagram of a possible structure of the terminal of the present invention;
fig. 6B shows another possible structure diagram of the terminal of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," if any, in the description and claims of the invention and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The resource recommendation method provided by the embodiment of the invention is applied to a scene of recommending resources to a user through a terminal, and particularly applied to a scene of recommending resources to the user by using historical search behavior data of the user. Fig. 1 is a schematic diagram of an optional application scenario of the resource recommendation method according to an embodiment of the present invention, as shown in fig. 1, the scenario may include a terminal 100 and a server 200, and in this embodiment, the terminal 100 may be configured to receive various instructions input by a user, such as voice information or an instruction input through a touch screen, and may further be connected to the server 200 through a network, acquire historical search behavior data of the user from the server 200, and receive a resource sent by the server 200.
In addition, the terminal 100 may provide functions of offline resource search and resource recommendation based on locally stored resources.
In this embodiment, the terminal 100 may be a handheld device, a vehicle-mounted device, a wearable device, a computing device, and various types of devices (UEs) with resource recommendation functions, such as User Equipment (UE).
In this embodiment, after receiving an instruction for requesting to acquire a resource, which is triggered by a first user, a terminal acquires historical search behavior data of the first user according to the instruction, determines a target resource according to the historical search behavior data, and recommends the target resource to the first user. The terminal can recommend the target resource to the user by combining the historical search behavior data of the user, so that the resource can be recommended to the user according to the preference of the user, and the accuracy of resource recommendation can be improved.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a flowchart illustrating a first embodiment of a resource recommendation method according to an embodiment of the present invention, where the method may be executed by any device that executes the resource recommendation method, and the device may be implemented by software and/or hardware. In this embodiment, the apparatus may be integrated in a terminal. As shown in fig. 2, on the basis of the application scenario shown in fig. 1, the resource recommendation method provided in the embodiment of the present invention includes the following steps:
step 201: an instruction triggered by a first user for requesting acquisition of a resource is received.
In this embodiment, when the first user wants to acquire a resource, the first user may trigger an instruction to the terminal, where the first user may trigger the instruction by using a voice manner, for example, "want to acquire XX resource" is input to the terminal, and the first user may also trigger the instruction by clicking an operation interface of the terminal, and of course, the first user may also trigger the instruction by using other manners, for example, triggering the instruction by pulling down the operation interface or pressing a physical key, and the manner of triggering the instruction by the first user is not limited in the embodiment of the present invention.
Step 202: and acquiring historical search behavior data of the first user according to the instruction.
In this embodiment, the historical search behavior data may include keywords that the user searched for within a previous preset time period, and link information clicked when searching for each keyword. The previous preset time period may be set according to actual conditions or experience, for example, the previous preset time period may be within a previous year or within a previous half year, and a specific value of the preset time period is not limited herein.
The terminal acquires the historical search behavior data of the first user after receiving an instruction triggered by the first user, wherein when the terminal locally stores the historical search behavior data of each user, the terminal can directly acquire the historical search behavior data of the first user from the local, and therefore the efficiency of acquiring the historical search behavior data can be improved. When the terminal does not locally store the historical search behavior data of each user, the terminal can acquire the historical search behavior data from the server through the network. Specifically, the terminal may send a request message to the server, where the request message carries identification information of the first user, and the server searches for the historical search behavior data of the first user according to the identification information, and returns the found historical search behavior data to the terminal.
Step 203: and determining the target resource according to the historical search behavior data, and recommending the target resource to the first user.
In this embodiment, after acquiring the historical search behavior data of the first user, the terminal may determine, in combination with previous search behaviors of the user, a target resource that is interested by the user, and recommend the determined target resource to the first user.
In a possible implementation manner, when the terminal determines the target resource according to the historical search behavior data, the following manner may be performed: according to historical search behavior data, at least one target keyword searched by a first user before and first link information clicked when each target keyword is searched are determined, according to the corresponding relation between the pre-stored identification information of the resource field and the link information, a target resource field corresponding to the first link information is determined, and according to at least one target keyword, a target resource is determined in the target resource field.
Specifically, before determining the target resource field corresponding to the first link information, the terminal needs to establish a correspondence between the identification information of the resource field and the link information. In practical application, the terminal receives search sentences sent by a plurality of second users, records second link information clicked by each second user aiming at the search sentences, acquires identification information of the resource field according to each search sentence, and then establishes a corresponding relation between the identification information of the resource field and the second link information.
The resource field generally includes a novel field, a video field, a cartoon field or a news field, and the like, that is, the resource is divided according to the category.
When each second user searches resources through the terminal, the second user usually inputs a search statement to the terminal, and selects a resource which is interested in the second user from the resources recommended by the terminal, so as to click corresponding link information. After the terminal receives the search sentences sent by each second user, second link information clicked by each second user for the search sentences is recorded.
In addition, the terminal needs to obtain the identification information of the resource field according to the search statement input by each second user. In a possible implementation manner, the terminal performs word segmentation processing on the search sentence to obtain a word segmentation result, and obtains the identification information of the resource field according to the word segmentation result.
For example: if the search statement input by the second user is "novel dream of the red mansions", the terminal performs word segmentation processing on the search statement to obtain word segmentation results "novel" and "dream of the red mansions", and the following steps are also included: if the search statement input by the second user is 'drama dream red mansions', the terminal performs word segmentation processing on the search statement to obtain word segmentation results of 'drama' and 'dream red mansions', and the like.
After determining second link information clicked by a second user aiming at the search statement and identification information of the resource field corresponding to the search statement, the terminal establishes a corresponding relation between the identification information of the resource field and the second link information.
For example, if the search statement input by the second user is "novel red mansions", the second link information clicked by the second user for the search statement recorded by the terminal is www.kanshuhaii.com, and the terminal performs word segmentation processing on the "novel red mansions", so that the obtained identification information of the resource field is the novel field, the terminal can establish a corresponding relationship between www.kanshuhaii.com and the novel field.
For another example: if the search statement input by the second user is ' drama manow ', the second link information clicked by the second user for the search statement and recorded by the terminal is www.shipin.com ', and the terminal performs word segmentation processing on the ' drama manow ', the obtained identification information of the resource field is the video field, and the terminal can establish a corresponding relation between www.shipin.com and the video field.
It should be noted that, in practical applications, in order to improve the accuracy of the established correspondence between the identification information of the resource field and the link information, the terminal may count the frequency of the occurrence of each of the second link information and the identification information of the resource field at the same time. And when the frequency of the second link information and the identification information of the resource field exceeding the preset frequency, establishing the corresponding relation between the identification information of the resource field and the link information. The preset frequency is set empirically, for example, may be set to two thousandths or 5000 times, and the specific value of the preset frequency is not limited in this embodiment of the present invention.
Further, after acquiring the historical search behavior data of the first user, the terminal determines at least one target keyword searched by the first user before and first link information clicked by the first user when searching for each target keyword according to the first historical search behavior data. For example, if the terminal can determine that the first user has previously searched for the target keyword "sepiwang", and when searching for "sepiwang", the first user has clicked the link information of www.
Next, a method for determining the target keyword and the first link information by the terminal based on the history search behavior data will be described in detail.
Optionally, in order to better recommend resources to the user according to the preference of the user and improve the accuracy of resource recommendation, the terminal may determine at least one keyword, of which the search frequency exceeds the first preset value, in the historical search behavior data as the target keyword.
The higher the search frequency is, the more interested the user is in the resources corresponding to the keywords, so that the terminal determines the keywords with the search frequency exceeding the first preset value as the target keywords by counting the frequency of searching each keyword by the first user. In addition, the first preset value may be set according to an actual situation, for example, the first preset value may be set to 3 times or 5 times, and the specific value of the first preset value is not limited in this embodiment of the present invention.
In addition, in a possible implementation manner, the first link information clicked when determining to search each target keyword may include the following manner: and determining the link information of which the click times exceed a second preset value as the first link information when the first user searches each target keyword.
Specifically, when a user searches for a certain resource, in order to meet the requirements of the user, the terminal will generally recommend resources with similar or similar contents to the user, so that the user can select the resource in which the user is most interested. In addition, the more times that the user clicks on a certain link information, the more interested the user is in the resource, so that in order to better recommend the resource to the user according to the preference of the user and improve the accuracy of resource recommendation, the terminal will generally determine the link information of which the click times exceed the second preset value when the first user searches for each target keyword as the first link information. The second preset value may be set according to an actual situation, for example, may be set to 2 times or 3 times, and the specific value of the second preset value is not limited in this embodiment of the present invention.
In another possible implementation manner, the first link information clicked when searching for each target keyword may also be determined as follows: and determining whether the link information marked by the user exists in the historical search behavior data, and if the link information marked by the user exists, determining the link information marked by the user as the first link information.
Specifically, when the user is interested in a resource corresponding to a certain link information, the link information may be marked, for example, the link information is added to a collection or paid attention. When determining the first link information, the terminal may search whether link information marked by the first user, such as link information collected or paid attention by the first user, exists in the historical search behavior data of the first user, and if so, directly determine the link information marked by the user as the first link information. Therefore, the efficiency of determining the first linking information can be improved, and the first linking information can be determined according to the preference of the user, so that the accuracy of determining the resource can be improved.
Because the corresponding relation between the identification information and the link information of the resource field is stored in the terminal in advance, after the terminal determines the first link information clicked by the user, the identification information of the resource field corresponding to the first link information can be determined, and therefore the target resource field can be determined. For example: if the pre-stored identification information of the resource field corresponding to www.shinin.com is a video, when the terminal determines that the first link information is www.shinin.com, the terminal can determine that the corresponding target resource field is the video field.
Further, after the terminal determines the target resource field, the target resource may be determined in the target resource field according to at least one target keyword searched by the user. For example: fig. 3 is an interface schematic diagram of recommending a target resource, and as shown in fig. 3, if the terminal determines that the user has searched for the "sepia king" before and determines that the target resource field is the comic field according to the first link information clicked when the user searches for the "sepia king", the terminal may search for relevant information of the sepia king in the comic field and recommend the searched target resource to the first user.
After the target resource field corresponding to the first link information is determined, the target resource can be determined in the target resource field, so that the problem that when the same resource name corresponds to different resource fields, for example, a sea-horse can be a video or a cartoon, a terminal cannot determine which field of resource is recommended to a user can be solved, and the accuracy of resource recommendation can be improved.
According to the resource recommendation method provided by the embodiment of the invention, the instruction which is triggered by the first user and used for requesting to acquire the resource is received, the historical search behavior data of the first user is acquired according to the instruction, then the target resource is determined according to the historical search behavior data, and the target resource is recommended to the first user. The terminal can determine the target resource by combining the historical search behavior data of the first user and recommend the target resource to the first user, so that the resource can be recommended to the user according to the preference of the user, and the accuracy of resource recommendation is improved.
Fig. 4 is a schematic structural diagram of a resource recommendation device according to a first embodiment of the present invention. The resource recommendation device can be an independent terminal or a device integrated in the terminal, and the device can be realized in a software, hardware or software and hardware combination mode. As shown in fig. 4, the apparatus includes:
the receiving module 11 is configured to receive an instruction triggered by a first user and used for requesting to acquire a resource;
the obtaining module 12 is configured to obtain historical search behavior data of the first user according to the instruction;
the determining module 13 is configured to determine a target resource according to the historical search behavior data;
the recommending module 14 is used for recommending the target resource to the first user.
The resource recommendation device provided by the embodiment of the invention can execute the corresponding method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
Optionally, the determining module 13 is specifically configured to:
determining at least one target keyword searched by the first user before and first link information clicked when each target keyword is searched according to the historical search behavior data;
determining a target resource field corresponding to the first link information according to a corresponding relation between pre-stored identification information of the resource field and the link information;
and determining target resources in the target resource field according to the at least one target keyword.
Optionally, the determining module 13 is specifically configured to:
and determining at least one keyword of which the search frequency exceeds a first preset value in the historical search behavior data as the target keyword.
Optionally, the determining module 13 is specifically configured to:
and determining link information of which the click times exceed a second preset value as the first link information when the first user searches for each target keyword.
Optionally, the determining module 13 is specifically configured to:
determining whether link information marked by a user exists in the historical search behavior data;
and if the link information marked by the user exists, determining the link information marked by the user as the first link information.
Fig. 5 is a schematic structural diagram of a second resource recommendation device according to an embodiment of the present invention. On the basis of the apparatus shown in fig. 4, the apparatus further comprises a setup module 15.
The receiving module 11 is further configured to receive search statements sent by a plurality of second users, and record second link information clicked by each second user for the search statements;
the obtaining module 12 is further configured to obtain identification information of the resource field according to each search statement;
the establishing module 15 is configured to establish a corresponding relationship between the identification information of the resource field and the second link information.
Optionally, the obtaining module 12 is specifically configured to:
performing word segmentation processing on the search sentence to obtain a word segmentation result;
and acquiring the identification information of the resource field according to the word cutting result.
The resource recommendation device provided by the embodiment of the invention can execute the corresponding method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
Fig. 6A shows a schematic diagram of a possible structure of the terminal of the present invention. The terminal 100 includes: a processing unit 102 and a communication unit 103. The processing unit 102 is configured to control and manage actions of the terminal 100, for example, the processing unit 102 is configured to support the terminal 100 to execute steps 202 and 203 of fig. 2 and/or other processes for the techniques described herein. The communication unit 103 is used to support communication of the terminal 100 with other network entities, for example, with a server shown in fig. 1. The terminal 100 may further comprise a memory unit 101 for storing computer program codes and data of the terminal 100.
The processing unit 102 may be a processor or a controller, such as a CPU, a general-purpose processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, and the like. The communication unit 103 may be a communication interface, a transceiver, a transceiving circuit, etc., wherein the communication interface is a generic term and may comprise one or more interfaces. The storage unit 101 may be a memory.
When the processing unit 102 is a processor, the communication unit 103 is a communication interface, and the storage unit 101 is a memory, the terminal according to the present invention may be a server shown in fig. 6B.
Referring to fig. 6B, the terminal 110 includes: a processor 112, a communication interface 113, and a memory 111. Optionally, terminal 110 may also include a bus 114. Wherein, the communication interface 113, the processor 112 and the memory 111 may be connected to each other by a bus 114; the bus 114 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 114 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6B, but this is not intended to represent only one bus or type of bus.
In addition, a computer program is stored in the memory 111 and configured to be executed by the processor 112, the computer program comprising instructions for performing the method as described above for the embodiment shown in fig. 2.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program enables a terminal to execute the resource recommendation method provided in the embodiment shown in fig. 2. The readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A method for resource recommendation, comprising:
receiving an instruction which is triggered by a first user and used for requesting to acquire resources;
according to the instruction, historical search behavior data of the first user are obtained, wherein the historical search behavior data comprise: the method comprises the steps that a first user searches for a keyword in a preset time period and link information clicked when the keyword is searched;
determining at least one target keyword searched by the first user before and first link information clicked when each target keyword is searched according to the historical searching behavior data;
determining a target resource field corresponding to the first link information according to a corresponding relation between pre-stored identification information of the resource field and the link information; the corresponding relation is obtained by establishing a relation between the identification information of the resource field and the link information when the frequency of the link information and the identification information of the resource field appearing simultaneously exceeds a preset frequency;
determining a target resource in the target resource field according to the at least one target keyword, and recommending the target resource to the first user;
determining at least one target keyword previously searched by the first user according to the historical search behavior data, including:
and determining at least one keyword of which the search frequency exceeds a first preset value in the historical search behavior data as the target keyword.
2. The method of claim 1, wherein determining first link information clicked when searching for each of the target keywords comprises:
and determining link information of which the click times exceed a second preset value as the first link information when the first user searches for each target keyword.
3. The method of claim 1, wherein determining first link information clicked when searching for each of the target keywords comprises:
determining whether link information marked by a user exists in the historical search behavior data;
and if the link information marked by the user exists, determining the link information marked by the user as the first link information.
4. The method according to claim 1, wherein before determining the target resource domain corresponding to the first link information according to the correspondence between the pre-stored identification information of the resource domain and the link information, the method further comprises:
receiving search sentences sent by a plurality of second users, and recording second link information clicked by the second users aiming at the search sentences;
acquiring identification information of a resource field according to each search statement;
and establishing a corresponding relation between the identification information of the resource field and the second link information.
5. The method of claim 4, wherein the obtaining identification information of the resource domain according to each search statement comprises:
performing word segmentation processing on the search sentence to obtain a word segmentation result;
and acquiring the identification information of the resource field according to the word cutting result.
6. A resource recommendation device, comprising:
the receiving module is used for receiving an instruction which is triggered by a first user and used for requesting to acquire resources;
an obtaining module, configured to obtain historical search behavior data of the first user according to the instruction, where the historical search behavior data includes: the method comprises the steps that a first user searches for a keyword in a preset time period and link information clicked when the keyword is searched;
the determining module is used for determining target resources according to the historical search behavior data;
a recommending module for recommending the target resource to the first user;
the determining module is specifically configured to:
determining at least one target keyword searched by the first user before and first link information clicked when each target keyword is searched according to the historical search behavior data;
determining a target resource field corresponding to the first link information according to a corresponding relation between pre-stored identification information of the resource field and the link information; the corresponding relation is obtained by establishing a relation between the identification information of the resource field and the link information when the frequency of the link information and the identification information of the resource field appearing simultaneously exceeds a preset frequency;
determining a target resource in the target resource field according to the at least one target keyword;
and determining at least one keyword of which the search frequency exceeds a first preset value in the historical search behavior data as the target keyword.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
and determining link information of which the click times exceed a second preset value as the first link information when the first user searches for each target keyword.
8. The apparatus of claim 6, wherein the determining module is specifically configured to:
determining whether link information marked by a user exists in the historical search behavior data;
and if the link information marked by the user exists, determining the link information marked by the user as the first link information.
9. The apparatus of claim 6, further comprising: establishing a module; wherein the content of the first and second substances,
the receiving module is further configured to receive search statements sent by a plurality of second users, and record second link information clicked by each second user for the search statements;
the acquisition module is further used for acquiring identification information of the resource field according to each search statement;
the establishing module is used for establishing a corresponding relation between the identification information of the resource field and the second link information.
10. The apparatus of claim 9, wherein the obtaining module is specifically configured to:
performing word segmentation processing on the search sentence to obtain a word segmentation result;
and acquiring the identification information of the resource field according to the word cutting result.
11. A terminal, comprising:
a processor;
a memory; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of any of claims 1-5.
12. A computer-readable storage medium, characterized in that it stores a computer program that causes a terminal to perform the method of any one of claims 1-5.
CN201810614784.5A 2018-06-14 2018-06-14 Resource recommendation method, device and storage medium Active CN110674386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810614784.5A CN110674386B (en) 2018-06-14 2018-06-14 Resource recommendation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810614784.5A CN110674386B (en) 2018-06-14 2018-06-14 Resource recommendation method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110674386A CN110674386A (en) 2020-01-10
CN110674386B true CN110674386B (en) 2022-11-01

Family

ID=69065914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810614784.5A Active CN110674386B (en) 2018-06-14 2018-06-14 Resource recommendation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110674386B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611490A (en) * 2020-05-25 2020-09-01 北京达佳互联信息技术有限公司 Resource searching method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491205A (en) * 2013-09-30 2014-01-01 北京奇虎科技有限公司 Related resource address push method and device based on video retrieval
CN105005564A (en) * 2014-04-17 2015-10-28 北京搜狗科技发展有限公司 Data processing method and apparatus based on question-and-answer platform
CN105320706A (en) * 2014-08-05 2016-02-10 阿里巴巴集团控股有限公司 Processing method and device of search result
CN107066582A (en) * 2017-04-14 2017-08-18 聚好看科技股份有限公司 Realize the method and device that virtual resource is recommended
CN108073613A (en) * 2016-11-14 2018-05-25 腾讯科技(深圳)有限公司 Method for sending information and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7752201B2 (en) * 2007-05-10 2010-07-06 Microsoft Corporation Recommendation of related electronic assets based on user search behavior
CN102693223A (en) * 2011-03-21 2012-09-26 潘燕辉 Search method
US20140108445A1 (en) * 2011-05-05 2014-04-17 Google Inc. System and Method for Personalizing Query Suggestions Based on User Interest Profile
CN103942279B (en) * 2014-04-01 2018-07-10 百度(中国)有限公司 Search result shows method and apparatus
CN105138702B (en) * 2015-09-30 2019-12-10 北京奇虎科技有限公司 Network searching method based on search engine and electronic equipment
CN105956161B (en) * 2016-05-17 2019-07-02 北京奇虎科技有限公司 A kind of information recommendation method and device
CN107423296B (en) * 2016-05-23 2021-04-20 北京搜狗科技发展有限公司 Searching method and device for searching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491205A (en) * 2013-09-30 2014-01-01 北京奇虎科技有限公司 Related resource address push method and device based on video retrieval
CN105005564A (en) * 2014-04-17 2015-10-28 北京搜狗科技发展有限公司 Data processing method and apparatus based on question-and-answer platform
CN105320706A (en) * 2014-08-05 2016-02-10 阿里巴巴集团控股有限公司 Processing method and device of search result
CN108073613A (en) * 2016-11-14 2018-05-25 腾讯科技(深圳)有限公司 Method for sending information and device
CN107066582A (en) * 2017-04-14 2017-08-18 聚好看科技股份有限公司 Realize the method and device that virtual resource is recommended

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于维基百科的短文本相关度计算;荆琪 等;《计算机工程 》;20180215;第44卷(第2期);197-202 *
面向动态数字出版的信息技术领域主题分类规范研究;冉从敬 等;《 图书馆论坛》;20160505;60-64 *

Also Published As

Publication number Publication date
CN110674386A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN106919635B (en) Group chat record query method and device and electronic equipment
CN108874289B (en) Application history record viewing method and device and electronic equipment
EP3873065B1 (en) Content recommendation method, mobile terminal, and server
CN114417197A (en) Access record processing method and device and storage medium
CN110209700B (en) Data stream association method and device, electronic equipment and storage medium
CN110674345A (en) Video searching method and device and server
CN107748772B (en) Trademark identification method and device
CN109885729B (en) Method, device and system for displaying data
CN109213782B (en) Search interface configuration and display method and device and communication equipment
CN110929129B (en) Information detection method, equipment and machine-readable storage medium
CN110674386B (en) Resource recommendation method, device and storage medium
CN112307386A (en) Information monitoring method, system, electronic device and computer readable storage medium
CN114611039B (en) Analysis method and device of asynchronous loading rule, storage medium and electronic equipment
CN110020166B (en) Data analysis method and related equipment
CN110634024A (en) User attribute marking method and device, electronic equipment and storage medium
CN113505272B (en) Control method and device based on behavior habit, electronic equipment and storage medium
CN110674330B (en) Expression management method and device, electronic equipment and storage medium
CN110717109B (en) Method, device, electronic equipment and storage medium for recommending data
CN113656731A (en) Advertisement page processing method and device, electronic equipment and storage medium
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
CN108804195B (en) Page display method and device, server and client
CN112966029A (en) Information display and sending method, device, equipment and readable medium
CN111367703A (en) Troubleshooting method and device
CN111666522A (en) Information processing method, device, equipment and storage medium
CN111625721A (en) Content recommendation 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