CN110321474B - Recommendation method and device based on search terms, terminal equipment and storage medium - Google Patents

Recommendation method and device based on search terms, terminal equipment and storage medium Download PDF

Info

Publication number
CN110321474B
CN110321474B CN201910425131.7A CN201910425131A CN110321474B CN 110321474 B CN110321474 B CN 110321474B CN 201910425131 A CN201910425131 A CN 201910425131A CN 110321474 B CN110321474 B CN 110321474B
Authority
CN
China
Prior art keywords
search
data
search data
matching degree
piece
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
CN201910425131.7A
Other languages
Chinese (zh)
Other versions
CN110321474A (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910425131.7A priority Critical patent/CN110321474B/en
Publication of CN110321474A publication Critical patent/CN110321474A/en
Application granted granted Critical
Publication of CN110321474B publication Critical patent/CN110321474B/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

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 relates to a recommendation method, a recommendation device, terminal equipment and a storage medium based on search terms, wherein the method comprises the following steps: receiving a search request, and extracting account identification and search words carried in the search request; acquiring at least one piece of search data corresponding to the search word, wherein each piece of search data has a unique data identifier and at least one data tag; acquiring at least one user tag corresponding to the account identifier; determining the matching degree of the label corresponding to each search data according to each user label and the data label; acquiring historical operation information of each piece of search data, and calculating the search matching degree of each piece of search data and the search word according to the historical operation information and the label matching degree; and determining search data to be recommended from at least one search data according to the search matching degree. According to the method and the device, the search data which best meet the user interest points can be quickly screened out, so that the recommendation requirements of the user are met, the user experience is improved, and the APP utilization rate is improved.

Description

Recommendation method and device based on search terms, terminal equipment and storage medium
Technical Field
The present application relates to the field of terminals, and in particular, to a recommendation method and apparatus based on search terms, a terminal device, and a storage medium.
Background
With the development of the internet or mobile terminals, it is more and more convenient for users to use search functions in various APPs.
When a user inputs a search word, the search can be matched with a plurality of search data related to the search word input by the user, the user needs to screen out interesting data from the plurality of search data one by one, various APPs pay more and more attention to how to acquire the potential recommendation requirements of the user, the user experience is improved by meeting the potential recommendation requirements of the user, and therefore the using amount of the APPs is increased.
For a user, the interest points of the user can be obtained by analyzing the historical data searched by the user to meet the potential recommendation needs of the user, and therefore, how to meet the recommendation needs of the user by using the searched historical data is a problem to be solved currently.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a recommendation method, apparatus, terminal device and storage medium based on search terms.
In a first aspect, the present application provides a recommendation method based on search terms, the method comprising the steps of:
receiving a search request, and extracting account identification and search words carried in the search request;
acquiring at least one piece of search data corresponding to the search word, wherein each piece of search data has a unique data identifier and at least one data tag;
acquiring at least one user tag corresponding to the account identifier;
determining the matching degree of the label corresponding to each piece of search data according to each user label and the data label;
obtaining historical operation information of each piece of search data, and calculating the search matching degree of each piece of search data and the search word according to the historical operation information and the label matching degree;
and determining search data to be recommended from at least one piece of search data according to the search matching degree.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the obtaining historical operation information of each piece of search data includes:
acquiring historical click times of the account identification on each piece of search data and the total historical click times of all accounts on each piece of search data;
the calculating the search matching degree of each search data and the search word according to the historical operation information and the label matching degree comprises:
Tid=αAid+βBid+γCid
wherein T is the search matching degree; a is the total number of the historical clicks; b is the historical click frequency; c is the matching degree of the label; alpha is a value of a first weight corresponding to the total number of the historical clicks; beta is a value of a second weight corresponding to the historical click times; gamma is the value of a third weight corresponding to the label matching degree; id is the serial number of the search matching degree, and the value range is 1, 2, 3.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the determining, according to the search matching degree, search data to be recommended from at least one of the search data includes:
according to the size of each search matching degree, sequencing each search data from high to low;
selecting a preset number of search data as search data to be recommended according to the sequencing order;
displaying a preset number of search data to be recommended on a display interface according to the sequencing order.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
generating a message prompt box on the display interface, wherein a loading option corresponding to the search data to be recommended with the highest order is arranged in the message prompt box;
and receiving a trigger request of the loading option, and executing loading operation of the search data to be recommended with the highest order corresponding to the trigger request.
In a second aspect, the present application provides a recommendation apparatus based on search terms, the apparatus comprising:
the receiving unit is configured to receive a search request and extract an account identifier and a search word carried in the search request;
a first obtaining unit configured to obtain at least one search data corresponding to the search term, wherein each search data has a unique data identifier and at least one data tag;
the second acquisition unit is configured to acquire at least one user tag corresponding to the account identifier;
the first determining unit is used for determining the matching degree of the label corresponding to each piece of search data according to each user label and the data label;
the calculation unit is configured to acquire historical operation information of each piece of search data and calculate the search matching degree of each piece of search data and the search word according to the historical operation information and the tag matching degree;
and the second determining unit is configured to determine search data to be recommended from at least one piece of search data according to the search matching degree.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the computing unit includes:
the acquisition subunit is configured to acquire the historical click times of the account identifier on each piece of search data, and the total historical click times of all accounts on each piece of search data; the calculation unit may be represented as:
Tid=αAid+βBid+γCid
wherein T is the search matching degree; a is the total number of the historical clicks; b is the historical click frequency; c is the matching degree of the label; alpha is a value of a first weight corresponding to the total number of the historical clicks; beta is a value of a second weight corresponding to the historical click times; gamma is the value of a third weight corresponding to the label matching degree; id is the serial number of the search matching degree, and the value range is 1, 2, 3.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the second determining unit includes:
the sorting subunit is configured to sort each piece of search data from high to low according to the size of each search matching degree;
the selecting subunit is configured to select a preset number of search data as the search data to be recommended according to the sorting order;
and the display subunit is configured to display a preset number of search data to be recommended on the display interface according to the sequencing order.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the apparatus further includes:
the generating unit is configured to generate a message prompt box on the display interface, and a loading option corresponding to the search data to be recommended with the highest order is arranged in the message prompt box;
and the receiving unit is configured to receive a trigger request of the loading option and execute loading operation of search data to be recommended, which corresponds to the trigger request and has the highest order.
In a third aspect, the present application provides a terminal device, including: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is configured to perform the steps of the search term based recommendation method according to the first aspect by calling a program or instructions stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium having a search term-based recommendation program stored thereon, which when executed by a processor implements the steps of the search term-based recommendation method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the recommendation method and device based on the search terms, the terminal device and the storage medium provided by the embodiment of the application, the search request is received, and the account identification and the search terms carried in the search request are extracted; acquiring at least one piece of search data corresponding to the search word, wherein each piece of search data has a unique data identifier and at least one data tag; acquiring at least one user tag corresponding to the account identifier, and determining the tag matching degree corresponding to each search data according to each user tag and the data tag; obtaining historical operation information of each piece of search data, and calculating the search matching degree of each piece of search data and the search word according to the historical operation information and the label matching degree; and determining search data to be recommended from the at least one search data according to the search matching degree. Through the historical operation information of each search data corresponding to the search word input by the user and the search matching degree calculated by the label matching degree of the user label and the data label, the search data which most accord with the interest point of the user can be rapidly screened from each search data and recommended to the user, so that the recommendation requirement of the user is met, the user experience is improved, the utilization rate of the APP is improved, and the user population of the APP is increased.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
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 for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a mobile terminal according to various embodiments of the present application;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a schematic front view of a mobile phone according to various embodiments of the present application;
FIG. 4 is a schematic rear view of a handset according to various embodiments of the present application;
fig. 5 is a schematic flowchart of a recommendation method based on search terms according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a recommendation device based on search terms according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application 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 (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
FIG. 3 is a schematic front view of a mobile phone according to various embodiments of the present application; fig. 4 is a schematic rear view of a mobile phone according to various embodiments of the present application.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Referring to fig. 5, fig. 5 illustrates a recommendation method based on search terms according to an embodiment of the present invention, which may include the following steps S501 to S505:
s501, receiving a search request, and extracting an account identifier and a search word carried in the search request.
The embodiment of the application is applied to the field of data searching, for example, data are searched in a client APP, a user inputs a search word in the client APP to obtain at least one piece of search data corresponding to the search word, the search data which the user is interested in is screened from the at least one piece of search data, and the search data which the user is interested in is preferentially displayed in a search data list and recommended to the user, so that the user can quickly obtain the interested search data from a plurality of pieces of search data.
The method comprises the steps that a user inputs search words on a search interface of a client APP, a search request is sent to a server, and after the server receives the search request, an account identification of the user and the search words input by the user, which are carried in the search request, are extracted. The account identification is used for uniquely identifying a login user of a current client APP, the account identification includes but is not limited to characters, character strings, numbers or a combination form of the character strings, the numbers and the characters, and the search terms include but is not limited to the numbers, the characters or letters and the like, for example, the search terms are: movies, television shows, novel stories, please answer 1997, head characters D, etc., which are not limited in the embodiments of the present application.
S502, at least one piece of search data corresponding to the search word is obtained, wherein each piece of search data has a unique data identification and at least one data label.
The method comprises the steps that a server side obtains one or more search data corresponding to a search word according to the search word input by a user, each search data has a unique data identification used for identifying the search data, and the data identification comprises but is not limited to characters, character strings, numbers or a combination form of the character strings and the numbers and the characters; each search datum also has one or more data tags of different types for identifying attributes of the search datum, including but not limited to movies, novels, science fiction, suspicion, modern, drama, etc. For example, the search word is the name of a tv series, "please answer 1997", the corresponding search data is "please answer the introduction of the drama of 1997", "please answer the postbloc of 1997", "please answer the dominant performance of 1997", "please answer the release meeting of 1997", etc., and the search data "please answer the introduction of the drama of 1997" has two tags of tv series and tv series drama.
S503, at least one user label corresponding to the account identification is obtained, and the label matching degree corresponding to each search datum is determined according to each user label and the data label.
For example, if the user tag includes three tags of a movie, a child, and science fiction, the data tag includes three tags of a movie, a science fiction, and a suspicion, and the tag matching the user tag and the data tag includes two tags of a movie and a science fiction, the tag matching degree may be set to 2.
The user tags are obtained by calculating the historical click times of the user on the client APP, and data corresponding to the historical click times are not limited to search data obtained by inputting search words by the user and data on a display interface of the client APP. For example, the historical click times of the user on the client APP is 100 times, wherein the click times of the search data obtained by the user by inputting the "movie" search word is 65 times, the click times of the children's drama related data of the user on the display interface of the client APP is 20 times, and the click times of the science fiction related data of the user on the display interface of the client APP is 15 times, and according to the above statistical result, the user tag may include a movie, or include two tags, namely a movie and a child.
S504, obtaining historical operation information of each search data, and calculating the search matching degree of each search data and the search word according to the historical operation information and the label matching degree.
In the embodiment of the present application, the obtaining of the historical operation information of each search data includes:
and acquiring historical click times of the account identification on each search datum, and the total historical click times of all accounts on each search datum.
In the embodiment of the present application, calculating the search matching degree of each search data and the search term according to the historical operation information and the tag matching degree includes:
Tid=αAid+βBid+γCid; (1)
wherein T is the search matching degree; a is the total number of historical clicks; b is historical click times; c is the matching degree of the label; alpha is a value of a first weight corresponding to the total number of historical clicks; beta is a value of a second weight corresponding to the historical click times; gamma is the value of the third weight corresponding to the matching degree of the label; id is the serial number of the search matching degree, and the value range is 1, 2, 3.
For example, α, β and γ take values of 0.00002, 0.5 and 0.3, respectively;
when id is 1, let A110000 (unit: number), B1(iii) 5 (unit: number), C1The search matching degree T is calculated by substituting the data into equation (1) at 3 (unit: number)1=3.6;
When id is 2, let A230000 (unit: number), B24 (unit: number), C2Substituting the data into equation (1) to obtain search matching degree T2=3.2;
Due to search matching degree T1Greater than search match T2Then, the matching degree T of the user pair search is indicated1The corresponding search data is more interesting, and the search matching degree T is1And taking the corresponding search data as the search data to be recommended.
And S505, determining search data to be recommended from at least one piece of search data according to the search matching degree.
In another embodiment of the application, each search data is sorted from high to low according to the size of each search matching degree; and selecting a preset number of search data as the search data to be recommended according to the sorting order, and displaying the selected preset number of search data, namely the search data to be recommended on a display interface according to the sorting order.
In another embodiment of the present application, the recommendation method further includes: generating a message prompt box on a display interface, wherein a loading option corresponding to search data to be recommended with the highest order is arranged in the message prompt box; and receiving a trigger request for loading options, and executing loading operation of the search data to be recommended with the highest order corresponding to the trigger request.
For example, according to the sequence, 5 search data are selected as the search data to be recommended, and the selected 5 search data are displayed on the display interface of the terminal APP according to the sequence, that is, the search data to be recommended with the highest sequence (the search data with the largest search matching degree) is displayed at the top, so that the user can conveniently and quickly screen out the interested data. Preferably, a message prompt box may be generated on the display interface to prompt a user whether to directly play the search data to be recommended with the highest order, and if it is detected that the user clicks a loading option in the message prompt box, the search data to be recommended with the highest order is loaded. If the search data which is most interesting to the user is a certain movie, setting the movie data at the top of a display interface of a client APP, and prompting the user whether to directly play the movie data; if the data in which the user is most interested is a certain star circle, the star circle is set on the display interface of the client APP, and the user is prompted whether to directly enter the star circle; and if the data which is most thanked by the user is a certain novel, setting the novel data on the display interface of the client APP and prompting the user whether to directly read.
According to the embodiment of the application, the search data which most accords with the interest points of the user can be screened out from all the search data quickly and recommended to the user through the historical operation information of each search data corresponding to the search word input by the user and the search matching degree of each search data calculated according to the tag matching degree of each search data determined by each user tag and each data tag, so that the recommendation requirement of the user is met, the user experience is improved, the utilization rate of the APP is improved, and the user population of the APP is increased.
Referring to fig. 6, an embodiment of the present application further provides a recommendation apparatus based on a search term, where the apparatus includes:
the receiving unit 11 is configured to receive a search request, and extract an account identifier and a search term carried in the search request;
a first obtaining unit 12 configured to obtain at least one search data corresponding to a search word, each search data having a unique data identifier and at least one data tag;
a second obtaining unit 13, configured to obtain at least one user tag corresponding to the account identifier;
a first determining unit 14, configured to determine, according to each user tag and data tag, a tag matching degree corresponding to each search data;
the calculating unit 15 is configured to acquire historical operation information of each piece of search data, and calculate a search matching degree of each piece of search data and a search word according to the historical operation information and the tag matching degree;
the second determining unit 16 is configured to determine search data to be recommended from the at least one search data according to the search matching degree.
In another embodiment of the present application, the calculation unit 15 includes:
the acquisition subunit is configured to acquire the historical click times of the account identifier on each piece of search data and the total historical click times of all accounts on each piece of search data; the calculation unit may be represented as:
Tid=αAid+βBid+γCid
wherein T is the search matching degree; a is the total number of the historical clicks; b is the historical click frequency; c is the matching degree of the label; alpha is a value of a first weight corresponding to the total number of the historical clicks; beta is a value of a second weight corresponding to the historical click times; gamma is the value of a third weight corresponding to the label matching degree; id is the serial number of the search matching degree, and the value range is 1, 2, 3.
In another embodiment of the present application, the second determination unit 16 includes:
the sorting subunit is configured to sort each piece of search data from high to low according to the size of each search matching degree;
the selecting subunit is configured to select a preset number of search data as the search data to be recommended according to the sorting order;
and the display subunit is configured to display a preset number of search data to be recommended on the display interface according to the sequencing order.
In another embodiment of the present application, the apparatus further includes:
the generating unit is configured to generate a message prompt box on the display interface, and a loading option corresponding to the search data to be recommended with the highest order is arranged in the message prompt box;
and the receiving unit is configured to receive a trigger request of the loading option and execute loading operation of search data to be recommended, which corresponds to the trigger request and has the highest order.
An embodiment of the present invention further provides a computer-readable storage medium, where a search word-based recommendation program is stored in the computer-readable storage medium, and when being executed by a processor, the search word-based recommendation program implements the method steps provided in the method embodiments, where the method includes:
receiving a search request, and extracting account identification and search words carried in the search request;
acquiring at least one piece of search data corresponding to the search term, wherein each piece of search data has a unique data identifier and at least one data tag;
acquiring at least one user tag corresponding to the account identifier;
determining the matching degree of the label corresponding to each search data according to each user label and each data label;
acquiring historical operation information of each piece of search data, and calculating the search matching degree of each piece of search data and a search word according to the historical operation information and the tag matching degree;
and determining search data to be recommended from at least one search data according to the search matching degree.
Fig. 7 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 700 shown in fig. 7 includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in the mobile terminal 400 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM ), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 402 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the processor 701 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 402, specifically, a program or an instruction stored in the application 7022, for example, and includes:
receiving a search request, and extracting account identification and search words carried in the search request;
acquiring at least one piece of search data corresponding to the search term, wherein each piece of search data has a unique data identifier and at least one data tag;
acquiring at least one user tag corresponding to the account identifier;
determining the matching degree of the label corresponding to each search data according to each user label and each data label;
acquiring historical operation information of each piece of search data, and calculating the search matching degree of each piece of search data and a search word according to the historical operation information and the tag matching degree;
and determining search data to be recommended from at least one search data according to the search matching degree.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The processor 701 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A recommendation method based on search terms, the method comprising the steps of:
receiving a search request, and extracting account identification and search words carried in the search request;
acquiring at least one piece of search data corresponding to the search word, wherein each piece of search data has a unique data identifier and at least one data tag;
acquiring at least one user tag corresponding to the account identifier;
determining the matching degree of the label corresponding to each piece of search data according to each user label and the data label;
obtaining historical operation information of each piece of search data, and calculating the search matching degree of each piece of search data and the search word according to the historical operation information and the label matching degree;
and determining search data to be recommended from at least one piece of search data according to the search matching degree.
2. The recommendation method according to claim 1, wherein the obtaining of the historical operation information of each of the search data comprises:
acquiring historical click times of the account identification on each piece of search data and the total historical click times of all accounts on each piece of search data;
the calculating the search matching degree of each search data and the search word according to the historical operation information and the label matching degree comprises:
Tid=αAid+βBid+γCid
wherein T is the search matching degree; a is the total number of the historical clicks; b is the historical click frequency; c is the matching degree of the label; alpha is a value of a first weight corresponding to the total number of the historical clicks; beta is a value of a second weight corresponding to the historical click times; gamma is the value of a third weight corresponding to the label matching degree; id is the serial number of the search matching degree, and the value range is 1, 2, 3.
3. The recommendation method according to claim 1, wherein the determining search data to be recommended from at least one of the search data according to the search matching degree comprises:
according to the size of each search matching degree, sequencing each search data from high to low;
selecting a preset number of search data as search data to be recommended according to the sequencing order;
displaying a preset number of search data to be recommended on a display interface according to the sequencing order.
4. The recommendation method according to claim 3, further comprising:
generating a message prompt box on the display interface, wherein a loading option corresponding to the search data to be recommended with the highest order is arranged in the message prompt box;
and receiving a trigger request of the loading option, and executing loading operation of the search data to be recommended with the highest order corresponding to the trigger request.
5. A recommendation device based on search terms, the device comprising:
the receiving unit is configured to receive a search request and extract an account identifier and a search word carried in the search request;
a first obtaining unit configured to obtain at least one search data corresponding to the search term, wherein each search data has a unique data identifier and at least one data tag;
the second acquisition unit is configured to acquire at least one user tag corresponding to the account identifier;
the first determining unit is used for determining the matching degree of the label corresponding to each piece of search data according to each user label and the data label;
the calculation unit is configured to acquire historical operation information of each piece of search data and calculate the search matching degree of each piece of search data and the search word according to the historical operation information and the tag matching degree;
and the second determining unit is configured to determine search data to be recommended from at least one piece of search data according to the search matching degree.
6. The recommendation device according to claim 5, wherein the calculation unit comprises:
the acquisition subunit is configured to acquire the historical click times of the account identifier on each piece of search data, and the total historical click times of all accounts on each piece of search data; the calculation unit may be represented as:
Tid=αAid+βBid+γCid
wherein T is the search matching degree; a is the total number of the historical clicks; b is the historical click frequency; c is the matching degree of the label; alpha is a value of a first weight corresponding to the total number of the historical clicks; beta is a value of a second weight corresponding to the historical click times; gamma is the value of a third weight corresponding to the label matching degree; id is the serial number of the search matching degree, and the value range is 1, 2, 3.
7. The recommendation device according to claim 5, wherein the second determination unit includes:
the sorting subunit is configured to sort each piece of search data from high to low according to the size of each search matching degree;
the selecting subunit is configured to select a preset number of search data as the search data to be recommended according to the sorting order;
and the display subunit is configured to display a preset number of search data to be recommended on the display interface according to the sequencing order.
8. The recommendation device of claim 7, further comprising:
the generating unit is configured to generate a message prompt box on the display interface, and a loading option corresponding to the search data to be recommended with the highest order is arranged in the message prompt box;
and the receiving unit is configured to receive a trigger request of the loading option and execute loading operation of search data to be recommended, which corresponds to the trigger request and has the highest order.
9. A terminal device, characterized in that the terminal device comprises: at least one processor, memory, at least one network interface, and a user interface;
the at least one processor, memory, at least one network interface, and user interface are coupled together by a bus system;
the processor is used for executing the steps of the search term based recommendation method according to any one of claims 1 to 4 by calling the program or the instructions stored in the memory.
10. A computer-readable storage medium, wherein a search term-based recommendation program is stored on the computer-readable storage medium, and when executed by a processor, implements the steps of the search term-based recommendation method according to any one of claims 1 to 4.
CN201910425131.7A 2019-05-21 2019-05-21 Recommendation method and device based on search terms, terminal equipment and storage medium Active CN110321474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910425131.7A CN110321474B (en) 2019-05-21 2019-05-21 Recommendation method and device based on search terms, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910425131.7A CN110321474B (en) 2019-05-21 2019-05-21 Recommendation method and device based on search terms, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110321474A CN110321474A (en) 2019-10-11
CN110321474B true CN110321474B (en) 2022-01-11

Family

ID=68113230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910425131.7A Active CN110321474B (en) 2019-05-21 2019-05-21 Recommendation method and device based on search terms, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110321474B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125544A (en) * 2019-12-20 2020-05-08 腾讯数码(天津)有限公司 User recommendation method and device
CN111638789A (en) * 2020-05-29 2020-09-08 广东小天才科技有限公司 Data output method and terminal equipment
CN111797308B (en) * 2020-06-16 2023-11-28 北京达佳互联信息技术有限公司 Resource recommendation method and device, electronic equipment and medium
CN111753199B (en) * 2020-06-22 2024-05-10 北京百度网讯科技有限公司 User portrait construction method and device, electronic device and medium
CN111858688B (en) * 2020-07-20 2024-05-24 海尔优家智能科技(北京)有限公司 Textile material, color card recommendation method and device and storage medium
CN112000871A (en) * 2020-08-21 2020-11-27 北京三快在线科技有限公司 Method, device and equipment for determining search result list and storage medium
CN112818262B (en) * 2021-01-28 2023-07-21 上海博泰悦臻网络技术服务有限公司 Map POI searching method, system, equipment and medium based on user data
CN113641718B (en) * 2021-08-12 2024-06-07 北京百度网讯科技有限公司 Model generation method, search recommendation method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930425A (en) * 2016-04-18 2016-09-07 乐视控股(北京)有限公司 Personalized video recommendation method and apparatus
CN106897369A (en) * 2017-01-17 2017-06-27 成都视达科信息技术有限公司 A kind of content-data recommends method and system
CN109189904A (en) * 2018-08-10 2019-01-11 上海中彦信息科技股份有限公司 Individuation search method and system
CN109284417A (en) * 2018-08-27 2019-01-29 广州飞磨科技有限公司 Video pushing method, device, computer equipment and storage medium
CN109657138A (en) * 2018-12-10 2019-04-19 深圳墨世科技有限公司 A kind of video recommendation method, device, electronic equipment and storage medium
CN109740068A (en) * 2019-01-29 2019-05-10 腾讯科技(北京)有限公司 Media data recommended method, device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693223A (en) * 2011-03-21 2012-09-26 潘燕辉 Search method
US20150262069A1 (en) * 2014-03-11 2015-09-17 Delvv, Inc. Automatic topic and interest based content recommendation system for mobile devices
US20180308100A1 (en) * 2017-04-19 2018-10-25 Risto Haukioja System and method of client recognition for service provider transactions
CN109446412B (en) * 2018-09-25 2023-07-21 中国平安人寿保险股份有限公司 Product data pushing method, device, equipment and medium based on webpage label

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930425A (en) * 2016-04-18 2016-09-07 乐视控股(北京)有限公司 Personalized video recommendation method and apparatus
CN106897369A (en) * 2017-01-17 2017-06-27 成都视达科信息技术有限公司 A kind of content-data recommends method and system
CN109189904A (en) * 2018-08-10 2019-01-11 上海中彦信息科技股份有限公司 Individuation search method and system
CN109284417A (en) * 2018-08-27 2019-01-29 广州飞磨科技有限公司 Video pushing method, device, computer equipment and storage medium
CN109657138A (en) * 2018-12-10 2019-04-19 深圳墨世科技有限公司 A kind of video recommendation method, device, electronic equipment and storage medium
CN109740068A (en) * 2019-01-29 2019-05-10 腾讯科技(北京)有限公司 Media data recommended method, device and storage medium

Also Published As

Publication number Publication date
CN110321474A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN110321474B (en) Recommendation method and device based on search terms, terminal equipment and storage medium
CN108334539B (en) Object recommendation method, mobile terminal and computer-readable storage medium
CN108572764B (en) Character input control method and device and computer readable storage medium
CN109040445B (en) Information display method, dual-screen mobile terminal and computer readable storage medium
CN109701266B (en) Game vibration method, device, mobile terminal and computer readable storage medium
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN108600325B (en) Push content determining method, server and computer readable storage medium
CN107273035B (en) Application program recommendation method and mobile terminal
CN107547741B (en) Information processing method and device and computer readable storage medium
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN108848273B (en) New message processing method, mobile terminal and storage medium
CN107256239B (en) Method and device for recommending candidate words
CN109840444B (en) Code scanning identification method, equipment and computer readable storage medium
CN109151216B (en) Application starting method, mobile terminal, server and computer readable storage medium
CN107577726B (en) Searching method, server and computer readable storage medium
CN109739414B (en) Picture processing method, mobile terminal and computer readable storage medium
CN109495376B (en) Group message screening method, mobile terminal and computer readable storage medium
CN108322611B (en) Screen locking information pushing method and device and computer readable storage medium
CN111931155A (en) Verification code input method, verification code input equipment and storage medium
CN109639898B (en) Multi-screen display method and device and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN107766544B (en) Information management method, terminal and computer readable storage medium
CN107613109B (en) Input method of mobile terminal, mobile terminal and computer storage medium
CN110275667B (en) Content display method, mobile terminal, and computer-readable storage medium
CN109743452B (en) Call record classification method, device and computer readable storage medium

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