WO2021120875A1 - Search method and apparatus, terminal device and storage medium - Google Patents

Search method and apparatus, terminal device and storage medium Download PDF

Info

Publication number
WO2021120875A1
WO2021120875A1 PCT/CN2020/124762 CN2020124762W WO2021120875A1 WO 2021120875 A1 WO2021120875 A1 WO 2021120875A1 CN 2020124762 W CN2020124762 W CN 2020124762W WO 2021120875 A1 WO2021120875 A1 WO 2021120875A1
Authority
WO
WIPO (PCT)
Prior art keywords
search
keyword
initial
log information
behavior
Prior art date
Application number
PCT/CN2020/124762
Other languages
French (fr)
Chinese (zh)
Inventor
彭璐
赵安
于超
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021120875A1 publication Critical patent/WO2021120875A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of computer technology, and in particular to a search method, device, terminal device, and storage medium based on artificial intelligence (AI).
  • AI artificial intelligence
  • the existing terminal device recommends search results for the user after the user enters the search keyword, thereby facilitating the user to quickly find the corresponding service.
  • the existing search methods mainly return search results according to the degree of matching between the name of the search object and the search keyword entered by the user. For some search objects whose names do not match the search keywords, accurate recommendations cannot be made. Therefore, the existing The search method cannot accurately determine the user’s true search intent.
  • the embodiments of the present application provide a search method, device, terminal device, and storage medium to accurately determine the user's real search intention.
  • an embodiment of the present application provides a search method, including:
  • the target search object is displayed.
  • the mapping relationship list between search objects and search keywords is established based on historical search behaviors and operation behaviors after historical search behaviors. Since the operation behaviors after historical search behaviors reflect the user’s real search intentions, the terminal device When obtaining search keywords, determining the target search object according to the mapping relationship list between the search object and the search keyword can recommend more accurate objects for the user and improve the user experience.
  • mapping relationship list between search objects and search keywords is established in the following manner:
  • search behavior log information and operation behavior log information of the user where the search behavior log information includes historical search behaviors, and the operation behavior log information includes historical operation behaviors.
  • the search keyword is obtained from the search behavior log information, the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the operation behavior log information, and the operation object corresponding to the operation behavior is obtained As an initial search object; calculate the confidence score of the initial search object, where the confidence score reflects the degree of association between the initial search object and the search keyword, and establish the search object and the search keyword according to the confidence score of the initial search object
  • the mapping relationship list of the search keywords thereby recommending the initial search objects with high relevance to the search keywords to the user, and improving the accuracy of the recommendation.
  • the calculating the confidence score of the initial search object includes:
  • the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the use times of the initial search object Accounted for.
  • the initial search object's value is calculated by the behavior feature value and the preset weight coefficient corresponding to each behavior feature value.
  • the confidence score reflects the user's intention of the initial search object when searching.
  • the calculating the confidence score of the initial search object includes:
  • the confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the
  • the search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms.
  • the preset prediction model can be used repeatedly, and the preset prediction model is used to calculate the confidence score of the initial search object to ensure the stability of the calculation result.
  • the establishing a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object includes:
  • a mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword. It can be understood that each search object corresponds to multiple search keywords, different search objects may have the same search keyword, and different search keywords may have different weight values for different search objects.
  • the calculating the weight value of the search keyword according to the confidence score of the initial search object includes:
  • the confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
  • the search keyword corresponding to each search object is sorted in descending order according to the weight value of the search keyword, and then a preset number of records are taken to obtain the search object and the search key A list of word mapping relations.
  • the determining the target search object corresponding to the search keyword includes:
  • the search object corresponding to the search keyword with the weight value greater than the preset weight threshold is used as the target search object, for example, the search objects are arranged in descending order according to the weight value, and the search objects after the arrangement are displayed on the terminal device.
  • the method before the obtaining the search keyword from the search behavior log information, the method further includes:
  • obtaining search keywords from the search behavior log information, and obtaining operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information includes:
  • the search keywords are obtained from the target search behavior log information, and the operation behaviors within the preset time interval after the user inputs the search keywords are obtained from the target operation behavior log information, so as to obtain effective log information and ensure Accuracy of calculation results.
  • the method further includes:
  • using the operation object corresponding to the operation behavior as the initial search object includes:
  • the operation object corresponding to the effective operation behavior is used as the initial search object, thereby preventing interference of high-frequency operation and low-frequency operation on the calculation result, and ensuring the accuracy of the calculation result.
  • an embodiment of the present application provides a search device, including:
  • the determining module is used to determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on historical search Behaviors and operational behaviors after the historical search behavior;
  • the display module is used to display the target search object.
  • the search device further includes a mapping relationship establishment module, and the mapping relationship establishment module includes:
  • the obtaining unit is used to obtain the user's search behavior log information and operation behavior log information;
  • the extraction unit is configured to obtain search keywords from the search behavior log information, obtain operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information, and combine the operations
  • the operation object corresponding to the behavior is used as the initial search object;
  • the establishment unit is configured to establish a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object.
  • the calculation unit is specifically configured to:
  • the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the proportion of the use times of the initial search object.
  • the calculation unit is specifically configured to:
  • the confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the
  • the search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms.
  • the establishing unit is specifically configured to:
  • a mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword.
  • the establishing unit is further configured to:
  • the confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
  • the determining module is specifically configured to:
  • the search object corresponding to the search keyword whose weight value is greater than the preset weight threshold is taken as the target search object.
  • mapping relationship establishment module further includes a preprocessing unit for:
  • the extraction unit is specifically used for:
  • the search keyword is obtained from the target search behavior log information, and the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the target operation behavior log information.
  • mapping relationship establishment module further includes a filtering unit, configured to:
  • the extraction unit is specifically used for:
  • the operation object corresponding to the effective operation behavior is used as the initial search object.
  • an embodiment of the present application provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program When realizing the search method of the first aspect mentioned above.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the search method as in the first aspect described above is implemented.
  • embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the search method of the first aspect described above.
  • Fig. 1 is a structural block diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of the search method provided by the first embodiment of the present application.
  • FIG. 3 is an application scenario diagram of the search method provided by an embodiment of the present application.
  • FIG. 4 is another application scenario diagram of the search method provided by the embodiment of the present application.
  • FIG. 5 is another application scenario diagram of the search method provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of an operating environment of a search method provided by an embodiment of the present application.
  • Fig. 7 is a schematic flowchart of a method for establishing a mapping relationship list between search objects and search keywords provided by the first embodiment of the present application;
  • FIG. 8 is a schematic flowchart of a method for establishing a mapping relationship list between search objects and search keywords provided by the second embodiment of the present application;
  • Fig. 9 is a schematic structural diagram of a search device provided by an embodiment of the present application.
  • the term “if” can be construed as “when” or “once” or “in response to determination” or “in response to detecting “.
  • the phrase “if determined” or “if detected [described condition or event]” can be interpreted as meaning “once determined” or “in response to determination” or “once detected [described condition or event]” depending on the context ]” or “in response to detection of [condition or event described]”.
  • the search method provided in the embodiments of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and ultra-mobile personal computers ( Ultra-mobile personal computer (UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and other terminal devices, can also be applied to smart home appliances such as speakers, TVs, washing machines, etc.
  • the embodiments of this application are specific to terminal devices. There are no restrictions on the type.
  • Fig. 1 shows a block diagram of a part of the structure of a mobile phone provided by an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, and a processor 180 , And power supply 190 and other components.
  • RF radio frequency
  • the structure of the mobile phone shown in FIG. 1 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of some components, or different component arrangements.
  • the RF circuit 110 can be used for receiving and sending signals during information transmission or communication. In particular, after receiving the downlink information of the base station, it is processed by the processor 180; in addition, the designed uplink data is sent to the base station.
  • the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 110 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • SMS Short Messaging Service
  • the memory 120 may be used to store software programs and modules.
  • the processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 130 may be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the mobile phone.
  • the input unit 130 may include a touch panel 131 and other input devices 132.
  • the touch panel 131 also known as a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 131 or near the touch panel 131. Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 180, and can receive and execute the commands sent by the processor 180.
  • the touch panel 131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 130 may also include other input devices 132.
  • the other input device 132 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick. For example, the user enters a search keyword through the input interface to search.
  • the display unit 140 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • the touch panel 131 can cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it transmits it to the processor 180 to determine the type of the touch event, and then the processor 180 responds to the touch event. The type provides corresponding visual output on the display panel 141.
  • the touch panel 131 and the display panel 141 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the touch panel 131 and the display panel 141 can be integrated. Realize the input and output functions of the mobile phone.
  • the mobile phone may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 141 and/or when the mobile phone is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is then output by the audio circuit 160. After being received, it is converted into audio data, and then processed by the audio data output processor 180, and then sent to, for example, another mobile phone via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • the microphone 162 converts the collected sound signals into electrical signals, which are received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180, and the processor 180 performs corresponding searches based on the audio data.
  • WiFi is a short-distance wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access.
  • FIG. 1 shows the WiFi module 170, it is understandable that it is not a necessary component of a mobile phone, and can be omitted as needed without changing the essence of the invention.
  • the processor 180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120. Various functions and processing data of the mobile phone can be used to monitor the mobile phone as a whole.
  • the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
  • the mobile phone also includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through a power management system, so that functions such as charging, discharging, and power management can be managed through the power management system.
  • the mobile phone may also include a camera.
  • the position of the camera on the mobile phone may be front-mounted or rear-mounted, which is not limited in the embodiment of the present application.
  • a mobile phone scans a two-dimensional code through a camera, and performs a corresponding search based on the scanned two-dimensional code.
  • the mobile phone may include a single camera, a dual camera, or a triple camera, etc., which is not limited in the embodiment of the present application.
  • a mobile phone may include three cameras, of which one is a main camera, one is a wide-angle camera, and one is a telephoto camera.
  • the multiple cameras may be all front-mounted, or all rear-mounted, or partly front-mounted and another part rear-mounted, which is not limited in the embodiment of the present application.
  • the mobile phone may also include a Bluetooth module, etc., which will not be repeated here.
  • the search method provided by the embodiment of the present application will be described below with reference to FIG. 1. As shown in Figure 2, the search method provided by the embodiment of the present application includes:
  • a user when a user needs to search, he enters a voice, enters a character string, or scans a two-dimensional code on the search interface of the terminal device, and the terminal device extracts search keywords from the user input information.
  • the terminal device needs to recommend information for the user, such as recommending videos, products, services, etc.
  • the user’s preferences can be obtained according to the user’s historical operation behavior, such as shopping records, video viewing records, etc. Like to get search keywords.
  • the user enters "I want to take a taxi" on the application search interface to perform an application search, and the extracted search keyword is "take a taxi”.
  • the user enters the voice "payment” through the voice assistant on the terminal device, and the terminal device recognizes the "payment” from the input voice and displays it in the search bar of the application.
  • the search keyword for is "payment”.
  • the user enters "I want to see strong bald head” in the video search interface, and the search keyword extracted by the video application is "bald head strong”.
  • S102 Determine the target search object corresponding to the search keyword according to the pre-established mapping relationship list between the search object and the search keyword; wherein, the mapping relationship list between the search object and the search keyword is based on historical search behaviors and search results. The operation behavior after the historical search behavior is established.
  • the search object can be applications, music, videos, news, web pages, and so on.
  • the list of mapping relations between search objects and search keywords may be established by the terminal device counting the historical search behavior of the current user and the operation behavior after the historical search behavior; it may also be the server counting the historical search behavior and the history of all users.
  • the operation behavior after the search behavior is established, and the established mapping relationship list is sent to the terminal device; it can also be that the server collects the historical search behaviors of all users and the operation behaviors after the historical search behavior, and the historical search behaviors and operations
  • the behavior is sent to the terminal device, which is established by the terminal device's statistics of historical search behavior and operation behavior.
  • the terminal device 1 is in communication connection with the server 2, where the server 2 may be a server, or a server cluster composed of several servers, or a cloud computing service center.
  • the server counts the historical search behaviors and operation behaviors of all terminal devices that are in communication with the server, and establishes a list of mapping relationships between search objects and search keywords.
  • the terminal device 1 obtains the search keyword, it obtains the mapping relationship list between the search object and the search keyword sent by the server.
  • one search keyword can correspond to multiple search objects, and the terminal device can regard all the multiple search objects corresponding to the search keywords as the target search objects, or combine the search objects with the search keywords. Part of the search object or one search object corresponding to the keyword is used as the target search object.
  • the target search objects corresponding to "Taxi” are “Didi Dache”, “Quaigou Dache”, “High German Map” and “Didi Dache”. "Shenzhou Special Vehicle”, the terminal device displays the above application list according to the mapping relationship list between the search object and the search keyword.
  • the target search objects corresponding to "Pay” are "Alipay”, “Wallet”, “WeChat” and “Cloud QuickPass”.
  • the list of mapping relationships with search keywords displays the above application list.
  • the terminal device displays the above-mentioned video list according to the list of the mapping relationship between the search object and the search keyword.
  • the search objects can reflect the real intention of the user after inputting the search keywords.
  • the target search object corresponding to the search keyword is determined according to the mapping relationship list between the search object and the search keyword, which can recommend more accurate search objects for the user.
  • the method for establishing a mapping relationship list between search objects and search keywords includes:
  • S201 Acquire search behavior log information and operation behavior log information of the user.
  • the search behavior log information stores the user's historical search behavior
  • the search behavior log information includes any one or more of the user ID, search time, original search string, search exposure list, search click list, and the like.
  • the search exposure list stores the search objects recommended by the terminal device for the user according to the extracted search keywords, for example, a list of application programs recommended for the user according to the search keywords.
  • the search click list stores: the search object clicked by the user from the search exposure list. When the user does not select the search object from the search exposure list, the record of the corresponding search click list is empty.
  • the operation behavior log information stores the user's historical operation behavior.
  • the operation behavior log information includes one of the user ID, the time when the operation behavior occurred, the name of the search object corresponding to the operation behavior, the category of the search object, the tag of the search object, etc. Or multiple.
  • the category of the search object and the label of the search object are generated according to the characteristics of the search object. For example, when the search object is the application "WeChat", the category of the search object is chat, and the tags of the search object are social, communication, scan, voice, etc.
  • search behavior log information and operation behavior log information of all terminal devices connected to the server can be acquired.
  • a user searches for an application program
  • a user enters the original search string "I want to take a taxi" on the application search interface of a terminal device.
  • the recommended applications on the terminal device are Kuaigou taxi driver version, Kuaigou taxi, Kuaigou Taxi (Quick App)
  • the application recommended on the terminal device forms a search exposure list
  • the user does not click the application from the exposure list
  • the corresponding click list is empty.
  • Record the time when the search is started search the corresponding user ID, search the exposure list, search the click list, and get the first record in Table 1.
  • each search record of each user ID is recorded in turn, and the search behavior log information of the application program as shown in Table 1 is obtained.
  • S202 Preprocessing the search behavior log information and the operation behavior log information to obtain target search behavior log information and target operation behavior log information.
  • data cleaning or feature engineering processing is performed on the acquired search behavior log information and operation behavior log information, including removing error data, duplicate data, and abnormal data, etc., to obtain target search behavior log information and target operation behavior log information. For example, remove data records with incomplete fields, records with contradictory time records, and records with missing fields.
  • S203 Extract search keywords from the target search behavior log information, obtain operation behaviors within a preset time interval after the user enters the search keywords from the target operation behavior log information, and use the operation object corresponding to the operation behavior as Initial search object.
  • the search time is extracted from the target search behavior log information, and the search keywords are extracted from the original search string input by the user.
  • the keyword extracted from "I want to take a taxi” is "Taxi”
  • the keyword extracted from "Order for Me” is “Order”
  • the keyword extracted from "What's news today” is "News”, etc.
  • extract the time of the operation behavior, the duration of the operation behavior and the name of the operation object from the target operation behavior log information. For example, for the behavior of searching for applications, the name of the application opened by the user and the time when the application was started to be used are extracted from the log information of the target operation behavior.
  • the operation objects corresponding to the operation behavior after the user input the original search string are counted each time, and the operation objects corresponding to all the operation behaviors within the preset time interval after the original search string is input As the initial search object.
  • the application program used within a preset time interval after the user inputs the original search string is counted, and the calculated application program is used as the application program corresponding to the search keyword. For example, if the time interval is set to 30 seconds, the original search string entered by a user is "I want to take a taxi", the search time is "20190620 15:00:00", and the extracted search keyword is "take a taxi”, then Count the applications used in the time period "20190620 15:00:00 to 20190620 15:00:30" on the terminal device, and the applications in this time period are the initial search objects.
  • each search keyword corresponds to the initial search object, and the same search keyword of all users corresponds to the same
  • the initial search objects of are merged, so that each search keyword corresponds to multiple initial search objects. For example, for the operation behavior of using the application, if the search keyword extracted from the user's original search string is "Taxi", the application used by the user within 30 seconds after the search is recorded; the search keyword for all users is For "Taxi”, the applications used within 30 seconds after the search are counted, and the same applications are merged, and the statistical results shown in Table 3 are obtained.
  • the high-frequency application programs that are used frequently by the user and the low-frequency application programs that are used less frequently are removed.
  • the top 5 applications corresponding to "Taxi” in Table 3 are "WeChat”, “Didi Travel”, “Alipay”, “High German Map”, and "Today's Toutiao”, among which "WeChat” and “Toutiao” "Alipay” and “Today's Toutiao” are high-frequency applications.
  • S204 Acquire at least one behavior characteristic value of the initial search object.
  • the behavior characteristic value is obtained after statistics of the initial search objects corresponding to the search keywords of all users.
  • the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, whether the initial search object is selected when displayed in the search exposure list, and/or the proportion of the use times of the initial search object.
  • the behavior feature values include the number of times the "High German Map” is used, the average duration of using the "High German Map”, and whether there is "in the recommended list” when the search keyword is "Taxi”. "High German Map”, whether users clicked on “High German Map” from the recommended list, the percentage of usage of "High German Map", etc.
  • the user behavior wide table is obtained. For example, as shown in Table 4, in the application search, the search keyword is "Taxi".
  • the search keyword is "Taxi”
  • count the applications used by all users within 30 seconds after the search and calculate Corresponding to the "average duration of use", “number of times of use” and “proportion of times of use” of the corresponding application, the application width table corresponding to the search keyword "Taxi" is obtained.
  • S205 Calculate the confidence score of the initial search object according to the at least one behavior feature value and a preset weight coefficient corresponding to each behavior feature value.
  • each behavior feature value and the corresponding preset weight coefficient is summed to obtain the confidence score of the corresponding initial search object.
  • the behavioral characteristic value for calculating the confidence score of the initial search object includes the use times of the initial search object, the average use time of the initial search object, and the proportion of the use times of the initial search object.
  • a certain search keyword corresponds to an initial search.
  • the weighting coefficients of the number of use of the initial search object, the average use time of the initial search object, and the percentage of use of the initial search object are 0.4, 0.3, and 0.3, respectively.
  • the behavior feature value for calculating the confidence score includes the proportion of the use times of the initial search object, and the confidence score is calculated according to the proportion of the use times of the initial search object.
  • the confidence score is calculated according to the proportion of the use times of the initial search object.
  • the confidence score of the initial search object is converted into the confidence score of the search keyword, and the confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword .
  • the confidence score of the initial search object "Alipay” corresponding to the search keyword "Pay” is 0.35
  • the confidence score of "Pay” in the search keyword corresponding to "Alipay” is 0.35
  • the corresponding search keywords include "ordering", "takeaway” and so on.
  • the confidence scores of the initial search objects corresponding to the search keywords are sequentially converted into the confidence scores of the search keywords corresponding to the initial search objects.
  • each initial search object For each initial search object, sort the search keywords in descending order according to the corresponding confidence score, and use the confidence score in the record with the confidence score greater than the preset confidence threshold as the weight value, and each weight value corresponds to a record , Get a list of mapping relations between search objects and search keywords. That is, in the mapping relationship list between search objects and search keywords, each initial search object corresponds to multiple search keywords, and each search keyword corresponds to a weight value.
  • the confidence score of the application in Table 5 is converted into the confidence score of the search keyword, and after the confidence score is sorted in descending order, the confidence score in the top 5 records is the search
  • the weight value of the keywords are ("DiDi", 0.9), ("Travel", 0.56), ("Taxi", 0.53 ), ("Driving", 0.45), ("Takeaway", 0.25), the search keyword is the intent tag.
  • the weight value of each search keyword corresponding to each application is calculated, and the mapping relationship list between the application and the search keyword shown in Table 6 is obtained.
  • the search keyword is extracted from the original search string, and the search corresponding to the record whose weight value of the search keyword is greater than the preset weight threshold according to the mapping relationship list between the search object and the search keyword
  • the object is the target search object and recommended to the user. For example, when the user enters "Taxi" to search for applications, the applications corresponding to "Taxi” are sorted according to the weight value, and the applications corresponding to the top 5 records after sorting are recommended to the user.
  • the operation behavior within a preset time interval after the search keyword is input is extracted from the log information, and the operation object corresponding to the operation behavior is taken as
  • the confidence score of the initial search object is calculated according to at least one behavior characteristic value of the initial search object and a preset weight coefficient corresponding to each behavior characteristic value. Since the behavior characteristic value represents the characteristic information of the initial search object, the confidence score calculated according to the behavior characteristic value represents the user's intention to operate the initial search object.
  • the mapping relationship list between the search object and the search keyword is established, which can accurately reflect the user's real search intention.
  • the list of the mapping relationship between the search object and the search keyword can be the user Recommend more accurate services.
  • the search method provided by the second embodiment of the present application includes:
  • S301 Acquire search behavior log information and operation behavior log information of the user.
  • S302 Preprocessing the search behavior log information and the operation behavior log information to obtain the target search behavior log information and the target operation behavior log information.
  • S303 Extract search keywords from the target search behavior log information, obtain operation behaviors within a preset time interval after the user enters the search keywords from the target operation behavior log information, and use the operation object corresponding to the operation behavior as Initial search object.
  • S301-S303 are the same as S201-S203, and will not be repeated here.
  • S304 Calculate the confidence score of the initial search object according to the search keyword, the initial search object, and a preset prediction model.
  • the preset prediction model is obtained by using search keywords, initial search objects corresponding to the search keywords, and confidence scores as training samples, and training the learning model using machine learning or deep learning algorithms.
  • the search keyword and the initial search object corresponding to the search keyword are input to the learning model, the characteristics of the search keyword, the characteristics of the initial search object, and the characteristics of the operation behavior corresponding to the search keyword are extracted, and the corresponding confidence score is output
  • the search keyword feature is any one or more of the popularity of the keyword, the total number of searches, the proportion of the number of searches, the word2vec word vector corresponding to the search keyword, and the characteristics of similar keywords of the search keyword.
  • the characteristics of the initial search object include any one or more of the name, category, label of the search object, the corresponding word2vec word vector, and the characteristics of the similar search object of the search object.
  • the operating behavior is characterized by any one or more of the average use time of the initial search object after the search, the popularity of use, the total number of uses, and the proportion of the number of uses.
  • the learning model can be a machine learning model such as logistic regression, gradient boosting tree, random forest, etc., or it can be a convolutional neural network model (Convolutional Neural Network, CNN), a fully connected neural network model (Fully For deep learning models such as Connected Neural Network (FCNN), the method of training the learning model can be a supervised learning algorithm or a semi-supervised learning algorithm. Exemplarily, a semi-supervised classification algorithm is used to train the learning model. First, for a first preset number of initial search objects, according to each search keyword corresponding to the initial search object, set each search keyword corresponding to each search keyword. The confidence score of the initial search object.
  • CNN convolutional Neural Network
  • FCNN Connected Neural Network
  • the number of applications for which the confidence score is to be calculated is 1,000, and 100 applications are selected from them.
  • the confidence level of "Didi Travel” corresponding to "Taxi” is set to 0.5
  • the confidence level of "Didi Travel” corresponding to “Taxi” is set to 0.5
  • the confidence score of “German Map” is 0.3
  • the confidence score of “Alipay” corresponding to “Pay” is 0.4
  • the confidence score of “WeChat” corresponding to “Pay” is 0.4.
  • 100 applications and The confidence score of the corresponding search keyword is used as training samples, and the learning model is trained and learned to obtain the first candidate model.
  • corresponding training samples are generated according to the second preset number of initial search objects, and the first candidate model is "re-learned" to optimize the parameters of the first candidate model and at the same time correct the inaccurate confidence score.
  • the remaining 900 applications are input into the first candidate model, according to the confidence level corresponding to each application Score, select the 100 applications with the highest credibility, and generate training samples again based on the 100 applications with the highest credibility and the 100 applications used to train the first candidate model for the first candidate model "Re-learning" to optimize the parameters of the first candidate model to obtain the second candidate model.
  • This method is used to iteratively calculate in order to obtain the prediction model.
  • the selection method of the application with the highest credibility may be selected based on the difference between the output results of multiple learning models. For example, the number of first candidate models is 3, and the remaining 900 applications are input to 3 first candidate models respectively, and the confidence score corresponding to the smallest difference between the output results of the 3 first candidate models is selected Application, as the most reliable application. Input the search keywords and the initial search object into the prediction model to calculate the confidence score of the initial search object.
  • S305 Establish a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object.
  • S305 is the same as S206, and will not be repeated here.
  • the operation behavior within a preset time interval after the search keyword is input is extracted from the log information, and the operation object corresponding to the operation behavior is taken as
  • the confidence score of the initial search object is calculated according to the search keywords, the initial search object and the preset prediction model. Since the preset prediction model is generated by counting a large amount of data and repeatedly training, the calculation result is stable and universal , According to the confidence score of the initial search object, the mapping relationship list between the search object and the search keyword is established, which can accurately reflect the user's real search intent. When the user searches, the list of the mapping relationship between the search object and the search keyword can be Users recommend more accurate services.
  • FIG. 9 shows a structural block diagram of a search device provided in an embodiment of the present application. For ease of description, only the parts related to the embodiment of the present application are shown.
  • the search device includes:
  • the obtaining module 10 is used to obtain search keywords
  • the determining module 20 is configured to determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on history The search behavior and the operation behavior after the historical search behavior is established;
  • the display module 30 is used to display the target search object.
  • the search device further includes a mapping relationship establishment module, and the mapping relationship establishment module includes:
  • the obtaining unit is used to obtain the user's search behavior log information and operation behavior log information;
  • the extraction unit is configured to obtain search keywords from the search behavior log information, obtain operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information, and combine the operations
  • the operation object corresponding to the behavior is used as the initial search object;
  • the establishment unit is configured to establish a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object.
  • the calculation unit is specifically configured to:
  • the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the proportion of the use times of the initial search object.
  • the calculation unit is specifically configured to:
  • the confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the
  • the search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms.
  • the establishing unit is specifically configured to:
  • a mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword.
  • the establishing unit is further configured to:
  • the confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
  • the determining module is specifically configured to:
  • the search object corresponding to the search keyword whose weight value is greater than the preset weight threshold is taken as the target search object.
  • mapping relationship establishment module further includes a preprocessing unit for:
  • the extraction unit is specifically used for:
  • the search keyword is obtained from the target search behavior log information, and the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the target operation behavior log information.
  • mapping relationship establishment module further includes a filtering unit for:
  • the extraction unit is specifically used for:
  • the operation object corresponding to the effective operation behavior is used as the initial search object.
  • the disclosed device/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc.

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

An artificial intelligence (AI) based search method and apparatus, a terminal device and a storage medium, wherein same relate to the technical field of computers. The method comprises: acquiring a search keyword (S101); according to a pre-established mapping relationship list regarding search objects and search keywords, determining a target search object corresponding to the search keyword (S102); and displaying the target search object (S103), wherein the mapping relationship list regarding search objects and search keywords is established according to historical search behaviors and operation behaviors after the historical search behaviors. A target search object corresponding to a search keyword is determined by means of a mapping relationship list regarding search objects and search keywords, such that a more accurate search object can be recommended to a user.

Description

搜索方法、装置、终端设备及存储介质Search method, device, terminal equipment and storage medium
本申请要求于2019年12月20日提交国家知识产权局、申请号为201911328504.5、申请名称为“搜索方法、装置、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office, the application number is 201911328504.5, and the application name is "search method, device, terminal equipment and storage medium" on December 20, 2019, the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及属于计算机技术领域,尤其涉及基于人工智能(Artificial Intelligence,AI)的搜索方法、装置、终端设备及存储介质。This application relates to the field of computer technology, and in particular to a search method, device, terminal device, and storage medium based on artificial intelligence (AI).
背景技术Background technique
现有的终端设备,在用户输入搜索关键词后,为用户推荐搜索结果,从而方便用户快速查找对应的服务。但是现有的搜索方法,主要是根据搜索对象的名称与用户输入的搜索关键词的匹配程度返回搜索结果,对于一些名称与搜索关键词不匹配的搜索对象,不能进行准确推荐,因此,现有的搜索方法无法准确判断用户的真实搜索意图。The existing terminal device recommends search results for the user after the user enters the search keyword, thereby facilitating the user to quickly find the corresponding service. However, the existing search methods mainly return search results according to the degree of matching between the name of the search object and the search keyword entered by the user. For some search objects whose names do not match the search keywords, accurate recommendations cannot be made. Therefore, the existing The search method cannot accurately determine the user’s true search intent.
发明内容Summary of the invention
本申请实施例提供了搜索方法、装置、终端设备及存储介质,以准确判断用户的真实搜索意图。The embodiments of the present application provide a search method, device, terminal device, and storage medium to accurately determine the user's real search intention.
第一方面,本申请实施例提供了一种搜索方法,包括:In the first aspect, an embodiment of the present application provides a search method, including:
获取搜索关键词;Get search keywords;
根据预先建立的搜索对象与搜索关键词的映射关系列表,确定所述搜索关键词对应的目标搜索对象;其中,所述搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及所述历史搜索行为之后的操作行为建立的;Determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on historical search behaviors and the history Established by the operation behavior after the search behavior;
显示所述目标搜索对象。The target search object is displayed.
本申请实施例中,搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及历史搜索行为之后的操作行为建立的,由于历史搜索行为之后的操作行为反映用户的真实搜索意图,终端设备在获取搜索关键词时,根据搜索对象与搜索关键词的映射关系列表确定目标搜索对象可以为用户推荐更准确的对象,提高用户体验。In the embodiment of this application, the mapping relationship list between search objects and search keywords is established based on historical search behaviors and operation behaviors after historical search behaviors. Since the operation behaviors after historical search behaviors reflect the user’s real search intentions, the terminal device When obtaining search keywords, determining the target search object according to the mapping relationship list between the search object and the search keyword can recommend more accurate objects for the user and improve the user experience.
在第一方面的一种可能的实现方式中,所述搜索对象与搜索关键词的映射关系列表采用以下方式建立:In a possible implementation manner of the first aspect, the mapping relationship list between search objects and search keywords is established in the following manner:
获取用户的搜索行为日志信息以及操作行为日志信息,其中,搜索行为日志信息中包括历史搜索行为,操作行为日志信息中包括历史操作行为。从所述搜索行为日志信息中获取搜索关键词,从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,并将所述操作行为对应的操作对象作为初始搜索对象;计算所述初始搜索对象的置信度得分,其中,置信度得分反映初始搜索对象与搜索关键词的关联程度,根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表,从而将与搜索关键词关联性高的初始搜索对象推荐给用户,提高推荐的准确率。Obtain search behavior log information and operation behavior log information of the user, where the search behavior log information includes historical search behaviors, and the operation behavior log information includes historical operation behaviors. The search keyword is obtained from the search behavior log information, the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the operation behavior log information, and the operation object corresponding to the operation behavior is obtained As an initial search object; calculate the confidence score of the initial search object, where the confidence score reflects the degree of association between the initial search object and the search keyword, and establish the search object and the search keyword according to the confidence score of the initial search object The mapping relationship list of the search keywords, thereby recommending the initial search objects with high relevance to the search keywords to the user, and improving the accuracy of the recommendation.
在第一方面的一种可能的实现方式中,所述计算所述初始搜索对象的置信度得分,包括:In a possible implementation manner of the first aspect, the calculating the confidence score of the initial search object includes:
从所述操作行为日志信息中获取所述初始搜索对象的至少一个行为特征值,其中,行为特征值包括初始搜索对象的使用次数、初始搜索对象的平均使用时长和/或初始搜索对象的使用次数占比。根据所述至少一个行为特征值及每个行为特征值对应的预设权重系数计算所述初始搜索对象的置信度得分。由于行为特征值代表用户操作初始搜索对象的信息,预设权重系数反映每个行为特征值的重要程度,通过行为特征值及每个行为特征值对应的预设权重系数计算出的初始搜索对象的置信度得分,反映用户在进行搜索时对初始搜索对象的意向。Acquire at least one behavior characteristic value of the initial search object from the operation behavior log information, where the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the use times of the initial search object Accounted for. Calculate the confidence score of the initial search object according to the at least one behavior feature value and a preset weight coefficient corresponding to each behavior feature value. Since the behavior feature value represents the information of the user operating the initial search object, the preset weight coefficient reflects the importance of each behavior feature value. The initial search object's value is calculated by the behavior feature value and the preset weight coefficient corresponding to each behavior feature value. The confidence score reflects the user's intention of the initial search object when searching.
在第一方面的一种可能的实现方式中,所述计算所述初始搜索对象的置信度得分,包括:In a possible implementation manner of the first aspect, the calculating the confidence score of the initial search object includes:
根据所述搜索关键词、所述初始搜索对象和预设预测模型计算所述初始搜索对象的置信度得分,其中,所述预设预测模型是以搜索关键词、所述搜索关键词对应的初始搜索对象和置信度得分为训练样本,采用机器学习或深度学习的算法对学习模型进行训练得到的。其中,预设预测模型可以重复使用,采用预设预测模型计算初始搜索对象的置信度得分,保证计算结果的稳定性。The confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the The search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms. Among them, the preset prediction model can be used repeatedly, and the preset prediction model is used to calculate the confidence score of the initial search object to ensure the stability of the calculation result.
在第一方面的一种可能的实现方式中,所述根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表,包括:In a possible implementation manner of the first aspect, the establishing a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object includes:
根据所述初始搜索对象的置信度得分,计算所述搜索关键词的权重值;Calculating the weight value of the search keyword according to the confidence score of the initial search object;
根据所述搜索关键词的权重值建立所述搜索对象与搜索关键词的映射关系列表。可以理解,每个搜索对象对应多个搜索关键词,不同搜索对象之间可以有相同的搜索关键词,不同的搜索关键词对于不同的搜索对象可以有不同的权重值。A mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword. It can be understood that each search object corresponds to multiple search keywords, different search objects may have the same search keyword, and different search keywords may have different weight values for different search objects.
在第一方面的一种可能的实现方式中,所述根据所述初始搜索对象的置信度得分,计算所述搜索关键词的权重值,包括:In a possible implementation manner of the first aspect, the calculating the weight value of the search keyword according to the confidence score of the initial search object includes:
将所述初始搜索对象的置信度得分转换为搜索关键词的置信度得分;Converting the confidence score of the initial search object into the confidence score of the search keyword;
将大于预设置信度阈值的搜索关键词的置信度得分,作为所述搜索关键词的权重值。The confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
示例性地,得到搜索关键词的权重值后,将每个搜索对象对应的搜索关键词,按照搜索关键词的权重值进行降序排列后取预设数量的记录,即可得到搜索对象与搜索关键词的映射关系列表。Exemplarily, after the weight value of the search keyword is obtained, the search keyword corresponding to each search object is sorted in descending order according to the weight value of the search keyword, and then a preset number of records are taken to obtain the search object and the search key A list of word mapping relations.
在第一方面的一种可能的实现方式中,所述确定所述搜索关键词对应的目标搜索对象,包括:In a possible implementation manner of the first aspect, the determining the target search object corresponding to the search keyword includes:
将所述权重值大于预设权重阈值的搜索关键词对应的搜索对象,作为所述目标搜索对象,例如,按照权重值对搜索对象降序排列,将排列后的搜索对象显示在终端设备上。The search object corresponding to the search keyword with the weight value greater than the preset weight threshold is used as the target search object, for example, the search objects are arranged in descending order according to the weight value, and the search objects after the arrangement are displayed on the terminal device.
在第一方面的一种可能的实现方式中,在所述从所述搜索行为日志信息中获取搜索关键词之前,还包括:In a possible implementation manner of the first aspect, before the obtaining the search keyword from the search behavior log information, the method further includes:
分别对所述搜索行为日志信息以及所述操作行为日志信息进行预处理,获得预处理后的目标搜索行为日志信息以及目标操作行为日志信息;Preprocessing the search behavior log information and the operation behavior log information respectively to obtain preprocessed target search behavior log information and target operation behavior log information;
相应的,从所述搜索行为日志信息中获取搜索关键词,从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,包括:Correspondingly, obtaining search keywords from the search behavior log information, and obtaining operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information includes:
从所述目标搜索行为日志信息中获取搜索关键词,从所述目标操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,从而获得有效的日志信息,保证计算结果的准确性。The search keywords are obtained from the target search behavior log information, and the operation behaviors within the preset time interval after the user inputs the search keywords are obtained from the target operation behavior log information, so as to obtain effective log information and ensure Accuracy of calculation results.
在第一方面的一种可能的实现方式中,在所述从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为之后,还包括:In a possible implementation of the first aspect, after the obtaining the operation behavior within a preset time interval after the user inputs the search keyword from the operation behavior log information, the method further includes:
从获取的所述操作行为中删除操作频率大于第一阈值的操作行为以及删除操作频率小于第二阈值的操作行为,得到有效操作行为;Delete operation behaviors whose operation frequency is greater than the first threshold and delete operation behaviors whose operation frequency is less than the second threshold from the acquired operation behaviors to obtain effective operation behaviors;
相应的,将所述操作行为对应的操作对象作为初始搜索对象,包括:Correspondingly, using the operation object corresponding to the operation behavior as the initial search object includes:
将所述有效操作行为对应的操作对象作为初始搜索对象,从而防止高频操作和低频操作对计算结果产生的干扰,保证计算结果的准确性。The operation object corresponding to the effective operation behavior is used as the initial search object, thereby preventing interference of high-frequency operation and low-frequency operation on the calculation result, and ensuring the accuracy of the calculation result.
第二方面,本申请实施例提供了一种搜索装置,包括:In the second aspect, an embodiment of the present application provides a search device, including:
获取模块,用于获取搜索关键词;Obtaining module for obtaining search keywords;
确定模块,用于根据预先建立的搜索对象与搜索关键词的映射关系列表,确定所述搜索关键词对应的目标搜索对象;其中,所述搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及所述历史搜索行为之后的操作行为建立的;The determining module is used to determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on historical search Behaviors and operational behaviors after the historical search behavior;
显示模块,用于显示所述目标搜索对象。The display module is used to display the target search object.
在第二方面的一种可能的实现方式中,搜索装置还包括映射关系建立模块,所述映射关系建立模块包括:In a possible implementation of the second aspect, the search device further includes a mapping relationship establishment module, and the mapping relationship establishment module includes:
获取单元,用于获取用户的搜索行为日志信息以及操作行为日志信息;The obtaining unit is used to obtain the user's search behavior log information and operation behavior log information;
提取单元,用于从所述搜索行为日志信息中获取搜索关键词,从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,并将所述操作行为对应的操作对象作为初始搜索对象;The extraction unit is configured to obtain search keywords from the search behavior log information, obtain operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information, and combine the operations The operation object corresponding to the behavior is used as the initial search object;
计算单元,用于计算所述初始搜索对象的置信度得分;A calculation unit for calculating the confidence score of the initial search object;
建立单元,用于根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表。The establishment unit is configured to establish a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object.
在第二方面的一种可能的实现方式中,所述计算单元具体用于:In a possible implementation manner of the second aspect, the calculation unit is specifically configured to:
从所述操作行为日志信息中获取所述初始搜索对象的至少一个行为特征值;Acquiring at least one behavior characteristic value of the initial search object from the operation behavior log information;
根据所述至少一个行为特征值及每个行为特征值对应的预设权重系数计算所述初始搜索对象的置信度得分。Calculate the confidence score of the initial search object according to the at least one behavior feature value and a preset weight coefficient corresponding to each behavior feature value.
在第二方面的一种可能的实现方式中,所述行为特征值包括初始搜索对象的使用次数、初始搜索对象的平均使用时长和/或初始搜索对象的使用次数占比。In a possible implementation manner of the second aspect, the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the proportion of the use times of the initial search object.
在第二方面的一种可能的实现方式中,所述计算单元具体用于:In a possible implementation manner of the second aspect, the calculation unit is specifically configured to:
根据所述搜索关键词、所述初始搜索对象和预设预测模型计算所述初始搜索对象的置信度得分,其中,所述预设预测模型是以搜索关键词、所述搜索关键词对应的初始搜索对象和置信度得分为训练样本,采用机器学习或深度学习的算法对学习模型进行训练得到的。The confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the The search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms.
在第二方面的一种可能的实现方式中,所述建立单元具体用于:In a possible implementation manner of the second aspect, the establishing unit is specifically configured to:
根据所述初始搜索对象的置信度得分,计算所述搜索关键词的权重值;Calculating the weight value of the search keyword according to the confidence score of the initial search object;
根据所述搜索关键词的权重值建立所述搜索对象与搜索关键词的映射关系列表。A mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword.
在第二方面的一种可能的实现方式中,所述建立单元还用于:In a possible implementation manner of the second aspect, the establishing unit is further configured to:
将所述初始搜索对象的置信度得分转换为搜索关键词的置信度得分;Converting the confidence score of the initial search object into the confidence score of the search keyword;
将大于预设置信度阈值的搜索关键词的置信度得分,作为所述搜索关键词的权重值。The confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
在第二方面的一种可能的实现方式中,所述确定模块具体用于:In a possible implementation manner of the second aspect, the determining module is specifically configured to:
将所述权重值大于预设权重阈值的搜索关键词对应的搜索对象,作为所述目标搜索对象。The search object corresponding to the search keyword whose weight value is greater than the preset weight threshold is taken as the target search object.
在第二方面的一种可能的实现方式中,映射关系建立模块还包括预处理单元,用于:In a possible implementation of the second aspect, the mapping relationship establishment module further includes a preprocessing unit for:
分别对所述搜索行为日志信息以及所述操作行为日志信息进行预处理,获得预处理后的目标搜索行为日志信息以及目标操作行为日志信息;Preprocessing the search behavior log information and the operation behavior log information respectively to obtain preprocessed target search behavior log information and target operation behavior log information;
相应的,所述提取单元具体用于:Correspondingly, the extraction unit is specifically used for:
从所述目标搜索行为日志信息中获取搜索关键词,从所述目标操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为。The search keyword is obtained from the target search behavior log information, and the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the target operation behavior log information.
在第二方面的一种可能的实现方式中,映射关系建立模块还包括过滤单元,用于:In a possible implementation manner of the second aspect, the mapping relationship establishment module further includes a filtering unit, configured to:
从获取的所述操作行为中删除操作频率大于第一阈值的操作行为以及删除操作频率小于第二阈值的操作行为,得到有效操作行为;Delete operation behaviors whose operation frequency is greater than the first threshold and delete operation behaviors whose operation frequency is less than the second threshold from the acquired operation behaviors to obtain effective operation behaviors;
相应的,所述提取单元具体用于:Correspondingly, the extraction unit is specifically used for:
将所述有效操作行为对应的操作对象作为初始搜索对象。The operation object corresponding to the effective operation behavior is used as the initial search object.
第三方面,本申请实施例提供了一种终端设备,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面的搜索方法。In a third aspect, an embodiment of the present application provides a terminal device, including: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program When realizing the search method of the first aspect mentioned above.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一方面的搜索方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the search method as in the first aspect described above is implemented.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面的搜索方法。In the fifth aspect, embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the search method of the first aspect described above.
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It is understandable that, for the beneficial effects of the second aspect to the fifth aspect described above, reference may be made to the relevant description in the first aspect described above, and details are not repeated here.
附图说明Description of the drawings
图1是本申请实施例提供的终端设备的结构框图;Fig. 1 is a structural block diagram of a terminal device provided by an embodiment of the present application;
图2是本申请第实施例提供的搜索方法的流程示意图;FIG. 2 is a schematic flowchart of the search method provided by the first embodiment of the present application;
图3是本申请实施例提供的搜索方法的一种应用场景图;FIG. 3 is an application scenario diagram of the search method provided by an embodiment of the present application;
图4是本申请实施例提供的搜索方法的另一种应用场景图;FIG. 4 is another application scenario diagram of the search method provided by the embodiment of the present application;
图5是本申请实施例提供的搜索方法的又一种应用场景图;FIG. 5 is another application scenario diagram of the search method provided by the embodiment of the present application;
图6是本申请实施例提供的搜索方法的一种运行环境示意图;FIG. 6 is a schematic diagram of an operating environment of a search method provided by an embodiment of the present application;
图7是本申请第一实施例提供的搜索对象与搜索关键词的映射关系列表的建立方 法的流程示意图;Fig. 7 is a schematic flowchart of a method for establishing a mapping relationship list between search objects and search keywords provided by the first embodiment of the present application;
图8是本申请第二实施例提供的搜索对象与搜索关键词的映射关系列表的建立方法的流程示意图;8 is a schematic flowchart of a method for establishing a mapping relationship list between search objects and search keywords provided by the second embodiment of the present application;
图9是本申请实施例提供的搜索装置的结构示意图。Fig. 9 is a schematic structural diagram of a search device provided by an embodiment of the present application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are proposed for a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from obstructing the description of this application.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in the specification and appended claims of this application, the term "comprising" indicates the existence of the described features, wholes, steps, operations, elements and/or components, but does not exclude one or more other The existence or addition of features, wholes, steps, operations, elements, components, and/or collections thereof.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the specification and appended claims of this application refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in the description of this application and the appended claims, the term "if" can be construed as "when" or "once" or "in response to determination" or "in response to detecting ". Similarly, the phrase "if determined" or "if detected [described condition or event]" can be interpreted as meaning "once determined" or "in response to determination" or "once detected [described condition or event]" depending on the context ]" or "in response to detection of [condition or event described]".
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification of this application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。The reference to "one embodiment" or "some embodiments" described in the specification of this application means that one or more embodiments of this application include a specific feature, structure, or characteristic described in combination with the embodiment. Therefore, the sentences "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless it is specifically emphasized otherwise. The terms "including", "including", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
本申请实施例提供的搜索方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等终端设备上,也可以应用于音箱、电视、洗衣机等智能家电设备上,本申请实施例对终端设备的具体类型不作任何限制。The search method provided in the embodiments of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, and ultra-mobile personal computers ( Ultra-mobile personal computer (UMPC), netbook, personal digital assistant (personal digital assistant, PDA) and other terminal devices, can also be applied to smart home appliances such as speakers, TVs, washing machines, etc. The embodiments of this application are specific to terminal devices. There are no restrictions on the type.
以所述终端设备为手机为例。图1示出的是本申请实施例提供的手机的部分结构的框图。参考图1,手机包括:射频(Radio Frequency,RF)电路110、存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线保真(wireless fidelity,WiFi)模块170、处理器180、以及电源190等部件。本领域技术人员可以理解,图1中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Take the terminal device as a mobile phone as an example. Fig. 1 shows a block diagram of a part of the structure of a mobile phone provided by an embodiment of the present application. 1, the mobile phone includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, and a processor 180 , And power supply 190 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 1 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of some components, or different component arrangements.
下面结合图1对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to Figure 1:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。例如,用户在通话应用程序的界面输入联系人进行搜索,终端设备根据用户输入的联系人的关键字为用户推荐联系人,用户拨打联系人的电话,通过RF电路110进行通话。The RF circuit 110 can be used for receiving and sending signals during information transmission or communication. In particular, after receiving the downlink information of the base station, it is processed by the processor 180; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 110 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc. For example, the user enters a contact on the interface of a call application program to search, the terminal device recommends a contact for the user according to the keyword of the contact entered by the user, the user dials the contact's phone, and the call is made through the RF circuit 110.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 120 may be used to store software programs and modules. The processor 180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
输入单元130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元130可包括触控面板131以及其他输入设备132。触控面板131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板131上或在触控面板131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板131。除了触控面板131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。例如,用户通过输入界面输入搜索关键字进行搜索。The input unit 130 may be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also known as a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 131 or near the touch panel 131. Operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 180, and can receive and execute the commands sent by the processor 180. In addition, the touch panel 131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 131, the input unit 130 may also include other input devices 132. Specifically, the other input device 132 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick. For example, the user enters a search keyword through the input interface to search.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元140可包括显示面板141,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板141。进一步的,触控面板131可覆盖显示面板141,当触控面板131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图1中,触控面板131与显示面板141是作为两个独立的部件来实现手机的输入和输入功 能,但是在某些实施例中,可以将触控面板131与显示面板141集成而实现手机的输入和输出功能。The display unit 140 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 131 can cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it transmits it to the processor 180 to determine the type of the touch event, and then the processor 180 responds to the touch event. The type provides corresponding visual output on the display panel 141. Although in FIG. 1, the touch panel 131 and the display panel 141 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the touch panel 131 and the display panel 141 can be integrated. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile phone may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 141 according to the brightness of the ambient light. The proximity sensor can close the display panel 141 and/or when the mobile phone is moved to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary. Games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can also be configured in mobile phones, I will not here Go into details.
音频电路160、扬声器161,传声器162可提供用户与手机之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。本申请实施例中,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180,处理器180根据音频数据进行对应的搜索。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone. The audio circuit 160 can transmit the electrical signal converted from the received audio data to the speaker 161, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is then output by the audio circuit 160. After being received, it is converted into audio data, and then processed by the audio data output processor 180, and then sent to, for example, another mobile phone via the RF circuit 110, or the audio data is output to the memory 120 for further processing. In the embodiment of the present application, the microphone 162 converts the collected sound signals into electrical signals, which are received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180, and the processor 180 performs corresponding searches based on the audio data.
WiFi属于短距离无线传输技术,手机通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access. Although FIG. 1 shows the WiFi module 170, it is understandable that it is not a necessary component of a mobile phone, and can be omitted as needed without changing the essence of the invention.
处理器180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120. Various functions and processing data of the mobile phone can be used to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
手机还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power source 190 (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor 180 through a power management system, so that functions such as charging, discharging, and power management can be managed through the power management system.
尽管未示出,手机还可以包括摄像头。可选地,摄像头在手机的上的位置可以为前置的,也可以为后置的,本申请实施例对此不作限定。例如,手机通过摄像头扫描二维码,根据扫描得到的二维码进行对应的搜索。Although not shown, the mobile phone may also include a camera. Optionally, the position of the camera on the mobile phone may be front-mounted or rear-mounted, which is not limited in the embodiment of the present application. For example, a mobile phone scans a two-dimensional code through a camera, and performs a corresponding search based on the scanned two-dimensional code.
可选地,手机可以包括单摄像头、双摄像头或三摄像头等,本申请实施例对此不作限定。Optionally, the mobile phone may include a single camera, a dual camera, or a triple camera, etc., which is not limited in the embodiment of the present application.
例如,手机可以包括三摄像头,其中,一个为主摄像头、一个为广角摄像头、一个为长焦摄像头。For example, a mobile phone may include three cameras, of which one is a main camera, one is a wide-angle camera, and one is a telephoto camera.
可选地,当手机包括多个摄像头时,这多个摄像头可以全部前置,或者全部后置,或者一部分前置、另一部分后置,本申请实施例对此不作限定。Optionally, when the mobile phone includes multiple cameras, the multiple cameras may be all front-mounted, or all rear-mounted, or partly front-mounted and another part rear-mounted, which is not limited in the embodiment of the present application.
另外,尽管未示出,手机还可以包括蓝牙模块等,在此不再赘述。In addition, although not shown, the mobile phone may also include a Bluetooth module, etc., which will not be repeated here.
下面结合图1,对本申请实施例提供的搜索方法进行说明。如图2所示,本申请实施例提供的搜索方法包括:The search method provided by the embodiment of the present application will be described below with reference to FIG. 1. As shown in Figure 2, the search method provided by the embodiment of the present application includes:
S101:获取搜索关键词。S101: Obtain search keywords.
在一种应用场景中,当用户需要进行搜索时,在终端设备的搜索界面输入语音、输入字符串或者扫描二维码,终端设备从用户输入信息中提取出搜索关键词。In an application scenario, when a user needs to search, he enters a voice, enters a character string, or scans a two-dimensional code on the search interface of the terminal device, and the terminal device extracts search keywords from the user input information.
在另一种应用场景中,当终端设备需要为用户推荐信息时,例如推荐视频、产品、服务等,可以根据用户的历史操作行为,例如,购物记录、视频观看记录等获取用户喜好,根据用户喜好获取搜索关键词。In another application scenario, when the terminal device needs to recommend information for the user, such as recommending videos, products, services, etc., the user’s preferences can be obtained according to the user’s historical operation behavior, such as shopping records, video viewing records, etc. Like to get search keywords.
示例性地,如图3所示,在一种应用场景中,用户在应用程序搜索界面输入“我要打车”进行应用程序搜索,提取出的搜索关键词为“打车”。如图4所示,在另一种应用场景中,用户通过终端设备上的语音助手输入语音“支付”,终端设备从输入的语音中识别出“支付”并显示在应用程序的搜索栏,对应的搜索关键词为“支付”。如图5所示,在又一种应用场景中,用户在视频搜索界面输入“我要看光头强”,视频应用程序提取出的搜索关键词为“光头强”。Exemplarily, as shown in FIG. 3, in an application scenario, the user enters "I want to take a taxi" on the application search interface to perform an application search, and the extracted search keyword is "take a taxi". As shown in Figure 4, in another application scenario, the user enters the voice "payment" through the voice assistant on the terminal device, and the terminal device recognizes the "payment" from the input voice and displays it in the search bar of the application. The search keyword for is "payment". As shown in Fig. 5, in another application scenario, the user enters "I want to see strong bald head" in the video search interface, and the search keyword extracted by the video application is "bald head strong".
S102:根据预先建立的搜索对象与搜索关键词的映射关系列表,确定所述搜索关键词对应的目标搜索对象;其中,所述搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及所述历史搜索行为之后的操作行为建立的。S102: Determine the target search object corresponding to the search keyword according to the pre-established mapping relationship list between the search object and the search keyword; wherein, the mapping relationship list between the search object and the search keyword is based on historical search behaviors and search results. The operation behavior after the historical search behavior is established.
其中,搜索对象可以是应用程序、音乐、视频、新闻、网页等。搜索对象与搜索关键词的映射关系列表可以是终端设备统计当前用户的历史搜索行为以及所述历史搜索行为之后的操作行为所建立的;也可以是服务器统计所有用户的历史搜索行为以及所述历史搜索行为之后的操作行为所建立的,并将建立的映射关系列表发送至终端设备;也可以是服务器采集所有用户的历史搜索行为以及所述历史搜索行为之后的操作行为,将历史搜索行为和操作行为发送至终端设备,由终端设备统计历史搜索行为和操作行为所建立的。Among them, the search object can be applications, music, videos, news, web pages, and so on. The list of mapping relations between search objects and search keywords may be established by the terminal device counting the historical search behavior of the current user and the operation behavior after the historical search behavior; it may also be the server counting the historical search behavior and the history of all users. The operation behavior after the search behavior is established, and the established mapping relationship list is sent to the terminal device; it can also be that the server collects the historical search behaviors of all users and the operation behaviors after the historical search behavior, and the historical search behaviors and operations The behavior is sent to the terminal device, which is established by the terminal device's statistics of historical search behavior and operation behavior.
例如,如图6所示,终端设备1与服务器2通讯连接,其中,服务器2可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心。服务器统计与服务器通讯连接的所有终端设备的历史搜索行为和操作行为,建立搜索对象与搜索关键词的映射关系列表。终端设备1在获取到搜索关键词时,获取服务器发送的搜索对象与搜索关键词的映射关系列表。其中,搜索对象与搜索关键词的映射关系列表中,一个搜索关键词可以对应多个搜索对象,终端设备可以将与搜索关键词对应的多个搜索对象全部作为目标搜索对象,也可以将与搜索关键词对应的部分搜索对象或一个搜索对象作为目标搜索对象。For example, as shown in FIG. 6, the terminal device 1 is in communication connection with the server 2, where the server 2 may be a server, or a server cluster composed of several servers, or a cloud computing service center. The server counts the historical search behaviors and operation behaviors of all terminal devices that are in communication with the server, and establishes a list of mapping relationships between search objects and search keywords. When the terminal device 1 obtains the search keyword, it obtains the mapping relationship list between the search object and the search keyword sent by the server. Among them, in the mapping relationship list between search objects and search keywords, one search keyword can correspond to multiple search objects, and the terminal device can regard all the multiple search objects corresponding to the search keywords as the target search objects, or combine the search objects with the search keywords. Part of the search object or one search object corresponding to the keyword is used as the target search object.
S103:显示所述目标搜索对象。S103: Display the target search object.
示例性地,如图3所示,搜索对象与搜索关键词的映射关系列表中,“打车”对应的目标搜索对象为“滴滴打车”、“快狗打车”、“高德地图”和“神州专车”,终端设备根据搜索对象与搜索关键词的映射关系列表显示上述应用程序列表。如图4所示,搜索对 象与搜索关键词的映射关系列表中,“支付”对应的目标搜索对象为“支付宝”、“钱包”、“微信”和“云闪付”,终端设备根据搜索对象与搜索关键词的映射关系列表显示上述应用程序列表。如图5所示,搜索对象与搜索关键词的映射关系列表中,“光头强”对应的目标搜索对象为“《熊出没之探险日记2》”、“《熊出没之探险日记》”、“《熊出没全集》”、“《熊出没之奇幻空间》”,终端设备根据搜索对象与搜索关键词的映射关系列表显示上述视频列表。Exemplarily, as shown in Fig. 3, in the mapping relationship list between search objects and search keywords, the target search objects corresponding to "Taxi" are "Didi Dache", "Quaigou Dache", "High German Map" and "Didi Dache". "Shenzhou Special Vehicle", the terminal device displays the above application list according to the mapping relationship list between the search object and the search keyword. As shown in Figure 4, in the mapping relationship list between search objects and search keywords, the target search objects corresponding to "Pay" are "Alipay", "Wallet", "WeChat" and "Cloud QuickPass". The list of mapping relationships with search keywords displays the above application list. As shown in Figure 5, in the mapping relationship list between search objects and search keywords, the target search objects corresponding to "Bald Head Strong" are ""Bear-Haunted Adventure Diary 2", ""Bear-Haunted Adventure Diary", " In "The Complete Works of Bears" and "The Fantasy Space of Bears", the terminal device displays the above-mentioned video list according to the list of the mapping relationship between the search object and the search keyword.
上述实施例中,由于搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及历史搜索行为之后的操作行为建立,搜索对象可以反映用户在输入搜索关键词之后的真实意图。在用户输入搜索关键词时,根据搜索对象与搜索关键词的映射关系列表确定搜索关键词对应的目标搜索对象,可以为用户推荐更准确的搜索对象。In the foregoing embodiment, since the mapping relationship list between search objects and search keywords is established based on historical search behaviors and operation behaviors after the historical search behaviors, the search objects can reflect the real intention of the user after inputting the search keywords. When the user inputs a search keyword, the target search object corresponding to the search keyword is determined according to the mapping relationship list between the search object and the search keyword, which can recommend more accurate search objects for the user.
下面对本申请实施例提供的搜索方法中,搜索对象与搜索关键词的映射关系列表的建立方法进行详细说明。In the search method provided in the embodiments of the present application, the method for establishing a mapping relationship list between search objects and search keywords will be described in detail below.
如图7所示,为本申请第一实施例提供的搜索对象与搜索关键词的映射关系列表的建立方法,包括:As shown in FIG. 7, the method for establishing a mapping relationship list between search objects and search keywords provided by the first embodiment of this application includes:
S201:获取用户的搜索行为日志信息和操作行为日志信息。S201: Acquire search behavior log information and operation behavior log information of the user.
具体地,搜索行为日志信息中存储的是用户的历史搜索行为,搜索行为日志信息包括用户ID、搜索时间、原始搜索字符串、搜索曝光列表、搜索点击列表等中的任意一项或者多项。其中,搜索曝光列表存储的是:终端设备根据提取的搜索关键词为用户推荐的搜索对象,例如,根据搜索关键词为用户推荐的应用程序列表。搜索点击列表存储的是:用户从搜索曝光列表中点击的搜索对象,当用户没有从搜索曝光列表中选择搜索对象时,对应的搜索点击列表的记录为空。Specifically, the search behavior log information stores the user's historical search behavior, and the search behavior log information includes any one or more of the user ID, search time, original search string, search exposure list, search click list, and the like. Wherein, the search exposure list stores the search objects recommended by the terminal device for the user according to the extracted search keywords, for example, a list of application programs recommended for the user according to the search keywords. The search click list stores: the search object clicked by the user from the search exposure list. When the user does not select the search object from the search exposure list, the record of the corresponding search click list is empty.
操作行为日志信息中存储的是用户的历史操作行为,操作行为日志信息包括用户ID、操作行为发生时间、操作行为对应的搜索对象的名称、搜索对象的类别、搜索对象的标签等中的一项或者多项。其中,搜索对象的类别和搜索对象的标签是根据搜索对象的特征所生成的。例如,当搜索对象为应用程序“微信”时,搜索对象的类别为聊天,搜索对象的标签为社交、通讯、扫一扫、语音等。The operation behavior log information stores the user's historical operation behavior. The operation behavior log information includes one of the user ID, the time when the operation behavior occurred, the name of the search object corresponding to the operation behavior, the category of the search object, the tag of the search object, etc. Or multiple. Among them, the category of the search object and the label of the search object are generated according to the characteristics of the search object. For example, when the search object is the application "WeChat", the category of the search object is chat, and the tags of the search object are social, communication, scan, voice, etc.
在一种可能的实现方式中,为了提高映射关系列表的准确度,可以获取连接至服务器的所有终端设备的搜索行为日志信息和操作行为日志信息。In a possible implementation manner, in order to improve the accuracy of the mapping relationship list, search behavior log information and operation behavior log information of all terminal devices connected to the server can be acquired.
表1Table 1
Figure PCTCN2020124762-appb-000001
Figure PCTCN2020124762-appb-000001
例如,对于用户搜索应用程序的场景,某一用户在终端设备的应用程序搜索界面输入原始搜索字符串“我要打车”,终端设备上推荐的应用程序为快狗打车司机版、快 狗打车、快狗打车(快应用),该终端设备上推荐的应用程序形成搜索曝光列表,用户没有从曝光列表中点击应用程序,对应的点击列表为空。则记录开始搜索的时间、搜索对应的用户ID、搜索曝光列表、搜索点击列表,得到表1的第一条记录。在表1中,依次记录每个用户ID的每条搜索记录,得到如表1所示的应用程序的搜索行为日志信息。For example, in a scenario where a user searches for an application program, a user enters the original search string "I want to take a taxi" on the application search interface of a terminal device. The recommended applications on the terminal device are Kuaigou taxi driver version, Kuaigou taxi, Kuaigou Taxi (Quick App), the application recommended on the terminal device forms a search exposure list, the user does not click the application from the exposure list, and the corresponding click list is empty. Record the time when the search is started, search the corresponding user ID, search the exposure list, search the click list, and get the first record in Table 1. In Table 1, each search record of each user ID is recorded in turn, and the search behavior log information of the application program as shown in Table 1 is obtained.
对应地,记录每个终端设备使用应用程序的时间、应用程序的名称、应用程序的类别以及应用程序的标签等,得到表2所示的使用应用程序的行为日志信息。Correspondingly, the time that each terminal device uses the application, the name of the application, the category of the application, the label of the application, etc. are recorded, and the behavior log information of using the application shown in Table 2 is obtained.
表2Table 2
Figure PCTCN2020124762-appb-000002
Figure PCTCN2020124762-appb-000002
S202:对搜索行为日志信息和操作行为日志信息进行预处理,得到目标搜索行为日志信息以及目标操作行为日志信息。S202: Preprocessing the search behavior log information and the operation behavior log information to obtain target search behavior log information and target operation behavior log information.
具体地,对获取到的搜索行为日志信息和操作行为日志信息进行数据清洗或特征工程处理,包括去除错误数据、重复数据及异常数据等,得到目标搜索行为日志信息以及目标操作行为日志信息。例如,去除字段不完整的数据记录、时间记录矛盾的记录及字段缺失的记录等。Specifically, data cleaning or feature engineering processing is performed on the acquired search behavior log information and operation behavior log information, including removing error data, duplicate data, and abnormal data, etc., to obtain target search behavior log information and target operation behavior log information. For example, remove data records with incomplete fields, records with contradictory time records, and records with missing fields.
S203:从目标搜索行为日志信息中提取出搜索关键词,从目标操作行为日志信息中获取用户输入搜索关键词后的预设时间间隔内的操作行为,并将所述操作行为对应的操作对象作为初始搜索对象。S203: Extract search keywords from the target search behavior log information, obtain operation behaviors within a preset time interval after the user enters the search keywords from the target operation behavior log information, and use the operation object corresponding to the operation behavior as Initial search object.
具体地,在目标搜索行为日志信息中提取出搜索时间,并从用户输入的原始搜索字符串中提取搜索关键词。例如,“我要打车”提取出的关键词为“打车”,“帮我点餐”提取出的关键词为“点餐”,“今天有什么新闻”提取出的关键词为“新闻”等。同时从目标操作行为日志信息中,提取出操作行为发生的时间、操作行为的持续时间及操作对象的名称。例如,对于搜索应用程序的行为,从目标操作行为日志信息中,提取出用户打开的应用程序的名称及开始使用应用程序的时间。根据搜索时间和操作行为的发生时间,统计用户在每次输入原始搜索字符串后的操作行为对应的操作对象,将输入原始搜索字符串之后的预设时间间隔内的所有操作行为对应的操作对象作为初始搜索对象。Specifically, the search time is extracted from the target search behavior log information, and the search keywords are extracted from the original search string input by the user. For example, the keyword extracted from "I want to take a taxi" is "Taxi", the keyword extracted from "Order for Me" is "Order", and the keyword extracted from "What's news today" is "News", etc. . At the same time, extract the time of the operation behavior, the duration of the operation behavior and the name of the operation object from the target operation behavior log information. For example, for the behavior of searching for applications, the name of the application opened by the user and the time when the application was started to be used are extracted from the log information of the target operation behavior. According to the search time and the occurrence time of the operation behavior, the operation objects corresponding to the operation behavior after the user input the original search string are counted each time, and the operation objects corresponding to all the operation behaviors within the preset time interval after the original search string is input As the initial search object.
示例性地,对于使用应用程序的操作行为,统计用户输入原始搜索字符串之后的 预设时间间隔内使用的应用程序,将统计出的应用程序作为搜索关键词对应的应用程序。例如,设定时间间隔为30秒,某一用户输入的原始搜索字符串为“我要打车”,搜索时间为“20190620 15:00:00”,提取出的搜索关键词为“打车”,则统计该终端设备上“20190620 15:00:00至20190620 15:00:30”时间段内使用的应用程序,该时间段内的应用程序即为初始搜索对象。Exemplarily, for the operation behavior of using the application program, the application program used within a preset time interval after the user inputs the original search string is counted, and the calculated application program is used as the application program corresponding to the search keyword. For example, if the time interval is set to 30 seconds, the original search string entered by a user is "I want to take a taxi", the search time is "20190620 15:00:00", and the extracted search keyword is "take a taxi", then Count the applications used in the time period "20190620 15:00:00 to 20190620 15:00:30" on the terminal device, and the applications in this time period are the initial search objects.
在一种可能的实现方式中,为了提高计算结果的准确性,统计连接至服务器的所有终端设备上,每个搜索关键词对应的初始搜索对象,将所有用户的相同的搜索关键词对应的相同的初始搜索对象进行合并,从而使得每个搜索关键词对应多个初始搜索对象。例如,对于使用应用程序的操作行为,若从用户的原始搜索字符串中提取的搜索关键词为“打车”,记录搜索后的30秒内用户使用的应用程序;对所有用户在搜索关键词为“打车”时,搜索后的30秒内使用的应用程序进行统计,并对相同的应用程序进行合并,得到表3所示的统计结果。In a possible implementation, in order to improve the accuracy of the calculation results, all terminal devices connected to the server are counted, and each search keyword corresponds to the initial search object, and the same search keyword of all users corresponds to the same The initial search objects of are merged, so that each search keyword corresponds to multiple initial search objects. For example, for the operation behavior of using the application, if the search keyword extracted from the user's original search string is "Taxi", the application used by the user within 30 seconds after the search is recorded; the search keyword for all users is For "Taxi", the applications used within 30 seconds after the search are counted, and the same applications are merged, and the statistical results shown in Table 3 are obtained.
表3table 3
Figure PCTCN2020124762-appb-000003
Figure PCTCN2020124762-appb-000003
由于一些常用的高频操作行为,会经常出现在搜索列表中,对结果产生干扰;还有一些使用频率较少的低频操作行为,由于数据量太少,计算误差较大。在一种可能的实现方式中,从目标操作行为日志信息中获取用户输入搜索关键词后的预设时间间隔内的操作行为后,删除操作频率大于第一阈值的高频操作行为以及删除操作频率小于第二阈值的低频操作行为,得到有效操作行为,将有效操作行为对应的操作对象作为初始搜索对象,从而提高计算的准确性。示例性地,在搜索关键词对应的应用程序的统计中,去除用户使用频率较高的高频应用程序和使用频率较低的低频应用程序。例如,对于表3中“打车”对应的排列前5的应用程序分别是“微信”、“滴滴出行”、“支付宝”、“高德地图”、“今日头条”,其中“微信”、“支付宝”、“今日头条”属于高频应用程序,当需要去除操作频率较高的高频操作行为时,将这三个应用程序从应用程序列表中剔除;当需要去除操作频率较低的低频操作行为时,例如,可去除使用次数<=1000次的应用程序,即将使用频率较低的应用程序从列表中剔除。Because some frequently used high-frequency operation behaviors often appear in the search list and interfere with the results; there are also some low-frequency operation behaviors that use less frequently, because the amount of data is too small, and the calculation error is large. In a possible implementation manner, after obtaining the operation behaviors within a preset time interval after the user enters the search keyword from the target operation behavior log information, delete the high-frequency operation behaviors whose operation frequency is greater than the first threshold and the delete operation frequency Low-frequency operation behaviors that are less than the second threshold obtain effective operation behaviors, and the operation object corresponding to the effective operation behavior is used as the initial search object, thereby improving the accuracy of calculation. Exemplarily, in the statistics of the application programs corresponding to the search keywords, the high-frequency application programs that are used frequently by the user and the low-frequency application programs that are used less frequently are removed. For example, the top 5 applications corresponding to "Taxi" in Table 3 are "WeChat", "Didi Travel", "Alipay", "High German Map", and "Today's Toutiao", among which "WeChat" and "Toutiao" "Alipay" and "Today's Toutiao" are high-frequency applications. When it is necessary to remove high-frequency operation behaviors with high operating frequency, these three applications are removed from the application list; when it is necessary to remove low-frequency operations with low operating frequency During the behavior, for example, you can remove applications that are used less than 1000 times, that is, applications that are used less frequently are removed from the list.
可以理解,在另一种可能的实现方式中,也可以仅统计与每个搜索关键词对应的一个初始搜索对象。例如,对于搜索关键词为“打车”的应用程序搜索,可以仅统计用户输入原始搜索字符串后最先使用的应用程序,或者用户输入原始搜索字符串后使用次数最多的应用程序,或者用户输入原始搜索字符串后使用时间最长的应用程序。It can be understood that in another possible implementation manner, it is also possible to count only one initial search object corresponding to each search keyword. For example, for an application search with a search keyword of "Taxi", you can only count the application that was used first after the user entered the original search string, or the application that was used the most after the user entered the original search string, or the user input The application that has been used the longest after the original search string.
S204:获取所述初始搜索对象的至少一个行为特征值。S204: Acquire at least one behavior characteristic value of the initial search object.
在一种可能的实现方式中,行为特征值是对所有用户的搜索关键词对应的初始搜索对象进行统计后得出的。行为特征值包括初始搜索对象的使用次数、初始搜索对象的平均使用时长、初始搜索对象在搜索曝光列表中显示时是否被选择和/或初始搜索对象的使用次数占比。例如,对于初始搜索对象“高德地图”,行为特征值包括使用“高德地图”的次数、使用“高德地图”的平均时长、在搜索关键词为“打车”时推荐列表中是否存在“高德地图”、用户是否从推荐列表中点击“高德地图”、“高德地图”的使用次数占比等。In a possible implementation manner, the behavior characteristic value is obtained after statistics of the initial search objects corresponding to the search keywords of all users. The behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, whether the initial search object is selected when displayed in the search exposure list, and/or the proportion of the use times of the initial search object. For example, for the initial search object "High German Map", the behavior feature values include the number of times the "High German Map" is used, the average duration of using the "High German Map", and whether there is "in the recommended list" when the search keyword is "Taxi". "High German Map", whether users clicked on "High German Map" from the recommended list, the percentage of usage of "High German Map", etc.
示例性地,将所有用户的搜索关键词对应的初始搜索对象进行合并后,对于某个初始搜索对象,根据所有用户对该初始搜索对象的操作时长计算出平均使用时长;统计所有用户操作该初始搜索对象的次数;计算操作该初始搜索对象的人数在总人数中的比例,得到该初始搜索对象的使用次数占比,将所有的记录进行合并后,得到用户行为宽表。例如,如表4所示,在应用程序的搜索中,搜索关键词为“打车”,统计出所有用户在搜索关键词为“打车”时,搜索后的30秒内使用的应用程序,并计算对应应用程序的“平均使用时长”、“使用次数”和“使用次数占比”,得到与搜索关键词“打车”对应的应用程序宽表。Exemplarily, after merging the initial search objects corresponding to the search keywords of all users, for a certain initial search object, calculate the average use time according to the operation time of all users on the initial search object; count all users operating the initial search object The number of searches for the object; calculate the proportion of the number of people operating the initial search object in the total number of people, and get the proportion of the number of times the initial search object is used. After all the records are merged, the user behavior wide table is obtained. For example, as shown in Table 4, in the application search, the search keyword is "Taxi". When the search keyword is "Taxi", count the applications used by all users within 30 seconds after the search, and calculate Corresponding to the "average duration of use", "number of times of use" and "proportion of times of use" of the corresponding application, the application width table corresponding to the search keyword "Taxi" is obtained.
表4Table 4
Figure PCTCN2020124762-appb-000004
Figure PCTCN2020124762-appb-000004
S205:根据所述至少一个行为特征值及每个行为特征值对应的预设权重系数计算所述初始搜索对象的置信度得分。S205: Calculate the confidence score of the initial search object according to the at least one behavior feature value and a preset weight coefficient corresponding to each behavior feature value.
具体地,将每个行为特征值与对应的预设权重系数的乘积进行求和运算,得到对应的初始搜索对象的置信度得分。Specifically, the product of each behavior feature value and the corresponding preset weight coefficient is summed to obtain the confidence score of the corresponding initial search object.
例如,假设计算初始搜索对象的置信度得分的行为特征值包括初始搜索对象的使用次数、初始搜索对象的平均使用时长和初始搜索对象的使用次数占比,某个搜索关键词对应的一个初始搜索对象的初始搜索对象的使用次数、初始搜索对象的平均使用时长和初始搜索对象的使用次数占比的权重系数分别为0.4、0.3、0.3,将每个行为特征值进行归一化后,得到初始搜索对象的使用次数、初始搜索对象的平均使用时长和初始搜索对象的使用次数占比分别为0.5、0.5和0.1,将每个行为特征值对应的数值与权重系数的乘积相加,即0.4*0.5+0.3*0.5+0.3*0.1=0.38,得到置信度得分。For example, suppose that the behavioral characteristic value for calculating the confidence score of the initial search object includes the use times of the initial search object, the average use time of the initial search object, and the proportion of the use times of the initial search object. A certain search keyword corresponds to an initial search. The weighting coefficients of the number of use of the initial search object, the average use time of the initial search object, and the percentage of use of the initial search object are 0.4, 0.3, and 0.3, respectively. After normalizing each behavior feature value, the initial The use times of the search object, the average use time of the initial search object, and the use times of the initial search object account for 0.5, 0.5, and 0.1 respectively. Add the product of the value corresponding to each behavior characteristic value and the weight coefficient, that is, 0.4* 0.5+0.3*0.5+0.3*0.1=0.38, the confidence score is obtained.
又例如,在一种应用场景中,计算置信度得分的行为特征值包括初始搜索对象的使用次数占比,则根据初始搜索对象的使用次数占比计算出置信度得分,例如表5中,在对应用程序的使用记录的统计中,用户搜索“打车”后有53%的人使用了“滴滴出行”, 则与“打车”对应的“滴滴出行”的使用次数占比为0.53,则“打车”对应的“滴滴出行”的置信度为0.53。同理,计算出与“打车”对应的“高德地图”的使用次数占比为0.25,则“打车”对应的“高德地图”的置信度为0.25,得到每个搜索关键词对应的每个应用程序的置信度得分。For another example, in an application scenario, the behavior feature value for calculating the confidence score includes the proportion of the use times of the initial search object, and the confidence score is calculated according to the proportion of the use times of the initial search object. For example, in Table 5, In the statistics of the usage records of the application, 53% of the users who searched for "Taxi" used "Didi Travel", and the usage of "Didi Travel" corresponding to "Taxi" accounted for 0.53, then The confidence level of "Didi Travel" corresponding to "Taxi" is 0.53. In the same way, it is calculated that the usage frequency of the "High German Map" corresponding to "Taxi" is 0.25, and the confidence level of the "High German Map" corresponding to "Taxi" is 0.25, and each search keyword corresponding to each The confidence score of each application.
表5table 5
Figure PCTCN2020124762-appb-000005
Figure PCTCN2020124762-appb-000005
S206:根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表。S206: According to the confidence score of the initial search object, establish a mapping relationship list between the search object and the search keyword.
在一种可能的实现方式中,将初始搜索对象的置信度得分转换为搜索关键词的置信度得分,将大于预设置信度阈值的搜索关键词的置信度得分,作为搜索关键词的权重值。例如,搜索关键词“支付”对应的初始搜索对象“支付宝”的置信度得分为0.35,则“支付宝”对应的搜索关键词中“支付”的置信度得分为0.35,除此之外,“支付宝”对应的搜索关键词还有“点餐”、“外卖”等。依次将搜索关键词对应的初始搜索对象的置信度得分,全部转换为与初始搜索对象对应的搜索关键词的置信度得分。对于每个初始搜索对象,根据对应的置信度得分对搜索关键词进行降序排列,将置信度得分中大于预设置信度阈值的记录中的置信度得分作为权重值,每个权重值对应一条记录,得到搜索对象与搜索关键词的映射关系列表。即搜索对象与搜索关键词的映射关系列表中,每个初始搜索对象对应多个搜索关键词,每个搜索关键词对应一个权重值。In a possible implementation, the confidence score of the initial search object is converted into the confidence score of the search keyword, and the confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword . For example, the confidence score of the initial search object "Alipay" corresponding to the search keyword "Pay" is 0.35, and the confidence score of "Pay" in the search keyword corresponding to "Alipay" is 0.35. In addition, "Alipay" The corresponding search keywords include "ordering", "takeaway" and so on. The confidence scores of the initial search objects corresponding to the search keywords are sequentially converted into the confidence scores of the search keywords corresponding to the initial search objects. For each initial search object, sort the search keywords in descending order according to the corresponding confidence score, and use the confidence score in the record with the confidence score greater than the preset confidence threshold as the weight value, and each weight value corresponds to a record , Get a list of mapping relations between search objects and search keywords. That is, in the mapping relationship list between search objects and search keywords, each initial search object corresponds to multiple search keywords, and each search keyword corresponds to a weight value.
表6Table 6
Figure PCTCN2020124762-appb-000006
Figure PCTCN2020124762-appb-000006
例如,对于应用程序的搜索,将表5中的应用程序的置信度得分转换为搜索关键 词的置信度得分,将置信度得分降序排列后,排列前5的记录中的置信度得分即为搜索关键词的权重值,其中,“滴滴出行”对应的多个搜索关键词及对应的权重值分别为(“滴滴”,0.9),(“出行”,0.56),(“打车”,0.53),(“代驾”,0.45),(“外卖”,0.25),搜索关键词即为意图标签。统计每个应用程序对应的每个搜索关键词的权重值,得到表6所示的应用程序与搜索关键词的映射关系列表。For example, for application search, the confidence score of the application in Table 5 is converted into the confidence score of the search keyword, and after the confidence score is sorted in descending order, the confidence score in the top 5 records is the search The weight value of the keywords. Among them, the multiple search keywords corresponding to "DiDi Travel" and the corresponding weight values are ("DiDi", 0.9), ("Travel", 0.56), ("Taxi", 0.53 ), ("Driving", 0.45), ("Takeaway", 0.25), the search keyword is the intent tag. The weight value of each search keyword corresponding to each application is calculated, and the mapping relationship list between the application and the search keyword shown in Table 6 is obtained.
当用户下次进行搜索时,从原始搜索字符串中提取出搜索关键词,根据搜索对象与搜索关键词的映射关系列表,将该搜索关键词的权重值大于预设权重阈值的记录对应的搜索对象作为目标搜索对象,推荐给用户。例如,当用户输入“打车”搜索应用程序时,将“打车”对应的应用程序按照权重值排序,将排序后的前5条记录对应的应用程序,推荐给用户。When the user conducts a search next time, the search keyword is extracted from the original search string, and the search corresponding to the record whose weight value of the search keyword is greater than the preset weight threshold according to the mapping relationship list between the search object and the search keyword The object is the target search object and recommended to the user. For example, when the user enters "Taxi" to search for applications, the applications corresponding to "Taxi" are sorted according to the weight value, and the applications corresponding to the top 5 records after sorting are recommended to the user.
上述实施例中,通过获取用户的搜索行为日志信息和操作行为日志信息,从日志信息中提取出输入搜索关键词后的预设时间间隔内的操作行为,并将该操作行为对应的操作对象作为初始搜索对象,根据初始搜索对象的至少一个行为特征值及每个行为特征值对应的预设权重系数计算出初始搜索对象的置信度得分。由于行为特征值代表初始搜索对象的特征信息,根据行为特征值计算出的置信度得分代表用户操作初始搜索对象的意向。根据初始搜索对象的置信度得分,建立搜索对象与搜索关键词的映射关系列表,可以准确反映用户的真实搜索意图,在用户进行搜索时,根据搜索对象与搜索关键词的映射关系列表可以为用户推荐更准确的服务。In the above embodiment, by acquiring the user's search behavior log information and operation behavior log information, the operation behavior within a preset time interval after the search keyword is input is extracted from the log information, and the operation object corresponding to the operation behavior is taken as For the initial search object, the confidence score of the initial search object is calculated according to at least one behavior characteristic value of the initial search object and a preset weight coefficient corresponding to each behavior characteristic value. Since the behavior characteristic value represents the characteristic information of the initial search object, the confidence score calculated according to the behavior characteristic value represents the user's intention to operate the initial search object. According to the confidence score of the initial search object, the mapping relationship list between the search object and the search keyword is established, which can accurately reflect the user's real search intention. When the user searches, the list of the mapping relationship between the search object and the search keyword can be the user Recommend more accurate services.
如图8所示,本申请第二实施例提供的搜索方法包括:As shown in FIG. 8, the search method provided by the second embodiment of the present application includes:
S301:获取用户的搜索行为日志信息和操作行为日志信息。S301: Acquire search behavior log information and operation behavior log information of the user.
S302:对搜索行为日志信息和操作行为日志信息进行预处理,得到目标搜索行为日志信息以及目标操作行为日志信息。S302: Preprocessing the search behavior log information and the operation behavior log information to obtain the target search behavior log information and the target operation behavior log information.
S303:从目标搜索行为日志信息中提取出搜索关键词,从目标操作行为日志信息中获取用户输入搜索关键词后的预设时间间隔内的操作行为,并将所述操作行为对应的操作对象作为初始搜索对象。S303: Extract search keywords from the target search behavior log information, obtain operation behaviors within a preset time interval after the user enters the search keywords from the target operation behavior log information, and use the operation object corresponding to the operation behavior as Initial search object.
其中,S301-S303与S201-S203相同,在此不再赘述。Among them, S301-S303 are the same as S201-S203, and will not be repeated here.
S304:根据所述搜索关键词、所述初始搜索对象和预设预测模型计算所述初始搜索对象的置信度得分。S304: Calculate the confidence score of the initial search object according to the search keyword, the initial search object, and a preset prediction model.
其中,所述预设预测模型是以搜索关键词、搜索关键词对应的初始搜索对象和置信度得分为训练样本,采用机器学习或深度学习的算法对学习模型进行训练得到的。具体的,将搜索关键词、搜索关键词对应的初始搜索对象输入学习模型,提取搜索关键词的特征、初始搜索对象的特征以及搜索关键词对应的操作行为的特征,并输出对应的置信度得分,根据输出的置信度得分和训练样本中的置信度得分的差异优化学习模型的参数,得到学习模型的最优参数,根据最优参数生成预设预测模型。其中,搜索关键词特征为关键词的热度、搜索总次数、搜索次数占比、搜索关键词对应的word2vec词向量、搜索关键词的相似关键词的特征等中的任意一项或多项。初始搜索对象的特征包括搜索对象的名称、类别、标签以及所对应的word2vec词向量、搜索对象的相似搜索对象的特征等中的任意一项或多项。操作行为的特征为搜索后初始搜索对象的平均使用时长、使用热度、使用总次数、及使用次数占比等中的任意一项或多 项。Wherein, the preset prediction model is obtained by using search keywords, initial search objects corresponding to the search keywords, and confidence scores as training samples, and training the learning model using machine learning or deep learning algorithms. Specifically, the search keyword and the initial search object corresponding to the search keyword are input to the learning model, the characteristics of the search keyword, the characteristics of the initial search object, and the characteristics of the operation behavior corresponding to the search keyword are extracted, and the corresponding confidence score is output Optimize the parameters of the learning model according to the difference between the output confidence score and the confidence score in the training sample to obtain the optimal parameters of the learning model, and generate the preset prediction model according to the optimal parameters. Among them, the search keyword feature is any one or more of the popularity of the keyword, the total number of searches, the proportion of the number of searches, the word2vec word vector corresponding to the search keyword, and the characteristics of similar keywords of the search keyword. The characteristics of the initial search object include any one or more of the name, category, label of the search object, the corresponding word2vec word vector, and the characteristics of the similar search object of the search object. The operating behavior is characterized by any one or more of the average use time of the initial search object after the search, the popularity of use, the total number of uses, and the proportion of the number of uses.
在一种可能的实现方式中,学习模型可以是逻辑回归、梯度提升树、随机森林等机器学习模型,也可以是卷积神经网络模型(Convolutional Neural Network,CNN),全连接神经网络模型(Fully Connected Neural Network,FCNN)等深度学习模型,对学习模型训练的方法可以是监督学习算法或半监督学习算法。示例性地,采用半监督分类算法对学习模型进行训练,首先对于第一预设数量的初始搜索对象,根据初始搜索对象对应的每个搜索关键词,设定每个搜索关键词对应的每个初始搜索对象的置信度得分。例如,待计算置信度得分的应用程序的数量为1000个,从中选择100个应用程序,其中,设定“打车”对应的“滴滴出行”的置信度为0.5,“打车”对应的“高德地图”的置信度为0.3,“支付”对应的“支付宝”的置信度得分为0.4,“支付”对应的“微信”的置信度得分为0.4,以此方法依次设定100个应用程序和对应的搜索关键词的置信度得分。将设定后的第一预设数量的初始搜索对象、搜索关键词和置信度得分作为训练样本,对学习模型进行训练学习,得到第一候选模型。再根据第二预设数量的初始搜索对象生成对应的训练样本,对第一候选模型进行“再学习”,以优化第一候选模型的参数,同时纠正不精确的置信度得分。例如,从1000个待计算置信度得分的应用程序中选择100个应用程序训练出第一候选模型后,将剩下的900个应用程序输入第一候选模型,根据每个应用程序对应的置信度得分,选出可信度最高的100个应用程序,根据可信度最高的100个应用程序和用于训练第一候选模型的100个应用程序再次生成训练样本,用于对第一候选模型进行“再学习”,以优化第一候选模型的参数,得到第二候选模型。采用此方法依次迭代进行计算,得到预测模型。其中,可信度最高的应用程序的选择方法可以是根据多个学习模型的输出结果之间的差异选取的。例如,第一候选模型的数量为3个,将剩下的900个应用程序分别输入3个第一候选模型,选择3个第一候选模型的输出结果之间的差异最小的置信度得分对应的应用程序,作为可信度最高的应用程序。将搜索关键词和初始搜索对象输入预测模型,即可计算出初始搜索对象的置信度得分。In one possible implementation, the learning model can be a machine learning model such as logistic regression, gradient boosting tree, random forest, etc., or it can be a convolutional neural network model (Convolutional Neural Network, CNN), a fully connected neural network model (Fully For deep learning models such as Connected Neural Network (FCNN), the method of training the learning model can be a supervised learning algorithm or a semi-supervised learning algorithm. Exemplarily, a semi-supervised classification algorithm is used to train the learning model. First, for a first preset number of initial search objects, according to each search keyword corresponding to the initial search object, set each search keyword corresponding to each search keyword. The confidence score of the initial search object. For example, the number of applications for which the confidence score is to be calculated is 1,000, and 100 applications are selected from them. The confidence level of "Didi Travel" corresponding to "Taxi" is set to 0.5, and the confidence level of "Didi Travel" corresponding to "Taxi" is set to 0.5. The confidence score of “German Map” is 0.3, the confidence score of “Alipay” corresponding to “Pay” is 0.4, and the confidence score of “WeChat” corresponding to “Pay” is 0.4. In this way, 100 applications and The confidence score of the corresponding search keyword. The first preset number of initial search objects, search keywords, and confidence scores are used as training samples, and the learning model is trained and learned to obtain the first candidate model. Then, corresponding training samples are generated according to the second preset number of initial search objects, and the first candidate model is "re-learned" to optimize the parameters of the first candidate model and at the same time correct the inaccurate confidence score. For example, after selecting 100 applications to train the first candidate model from 1000 applications for which confidence scores are to be calculated, the remaining 900 applications are input into the first candidate model, according to the confidence level corresponding to each application Score, select the 100 applications with the highest credibility, and generate training samples again based on the 100 applications with the highest credibility and the 100 applications used to train the first candidate model for the first candidate model "Re-learning" to optimize the parameters of the first candidate model to obtain the second candidate model. This method is used to iteratively calculate in order to obtain the prediction model. Among them, the selection method of the application with the highest credibility may be selected based on the difference between the output results of multiple learning models. For example, the number of first candidate models is 3, and the remaining 900 applications are input to 3 first candidate models respectively, and the confidence score corresponding to the smallest difference between the output results of the 3 first candidate models is selected Application, as the most reliable application. Input the search keywords and the initial search object into the prediction model to calculate the confidence score of the initial search object.
S305:根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表。S305: Establish a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object.
其中,S305与S206相同,在此不再赘述。Among them, S305 is the same as S206, and will not be repeated here.
上述实施例中,通过获取用户的搜索行为日志信息和操作行为日志信息,从日志信息中提取出输入搜索关键词后的预设时间间隔内的操作行为,并将该操作行为对应的操作对象作为初始搜索对象,根据搜索关键词、初始搜索对象和预设预测模型计算初始搜索对象的置信度得分,由于预设预测模型是对大量数据进行统计并反复训练生成的,计算结果稳定且具有通用性,根据初始搜索对象的置信度得分,建立搜索对象与搜索关键词的映射关系列表,可以准确反映用户的真实搜索意图,在用户进行搜索时,根据搜索对象与搜索关键词的映射关系列表可以为用户推荐更准确的服务。In the above embodiment, by acquiring the user's search behavior log information and operation behavior log information, the operation behavior within a preset time interval after the search keyword is input is extracted from the log information, and the operation object corresponding to the operation behavior is taken as For the initial search object, the confidence score of the initial search object is calculated according to the search keywords, the initial search object and the preset prediction model. Since the preset prediction model is generated by counting a large amount of data and repeatedly training, the calculation result is stable and universal , According to the confidence score of the initial search object, the mapping relationship list between the search object and the search keyword is established, which can accurately reflect the user's real search intent. When the user searches, the list of the mapping relationship between the search object and the search keyword can be Users recommend more accurate services.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
对应于上文实施例所述的搜索方法,图9示出了本申请实施例提供的搜索装置的 结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the search method described in the above embodiment, FIG. 9 shows a structural block diagram of a search device provided in an embodiment of the present application. For ease of description, only the parts related to the embodiment of the present application are shown.
参照图9,该搜索装置包括:Referring to Figure 9, the search device includes:
获取模块10,用于获取搜索关键词;The obtaining module 10 is used to obtain search keywords;
确定模块20,用于根据预先建立的搜索对象与搜索关键词的映射关系列表,确定所述搜索关键词对应的目标搜索对象;其中,所述搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及所述历史搜索行为之后的操作行为建立的;The determining module 20 is configured to determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on history The search behavior and the operation behavior after the historical search behavior is established;
显示模块30,用于显示所述目标搜索对象。The display module 30 is used to display the target search object.
在一种可能的实现方式中,搜索装置还包括映射关系建立模块,所述映射关系建立模块包括:In a possible implementation manner, the search device further includes a mapping relationship establishment module, and the mapping relationship establishment module includes:
获取单元,用于获取用户的搜索行为日志信息以及操作行为日志信息;The obtaining unit is used to obtain the user's search behavior log information and operation behavior log information;
提取单元,用于从所述搜索行为日志信息中获取搜索关键词,从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,并将所述操作行为对应的操作对象作为初始搜索对象;The extraction unit is configured to obtain search keywords from the search behavior log information, obtain operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information, and combine the operations The operation object corresponding to the behavior is used as the initial search object;
计算单元,用于计算所述初始搜索对象的置信度得分;A calculation unit for calculating the confidence score of the initial search object;
建立单元,用于根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表。The establishment unit is configured to establish a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object.
在一种可能的实现方式中,所述计算单元具体用于:In a possible implementation manner, the calculation unit is specifically configured to:
从所述操作行为日志信息中获取所述初始搜索对象的至少一个行为特征值;Acquiring at least one behavior characteristic value of the initial search object from the operation behavior log information;
根据所述至少一个行为特征值及每个行为特征值对应的预设权重系数计算所述初始搜索对象的置信度得分。Calculate the confidence score of the initial search object according to the at least one behavior feature value and a preset weight coefficient corresponding to each behavior feature value.
在一种可能的实现方式中,所述行为特征值包括初始搜索对象的使用次数、初始搜索对象的平均使用时长和/或初始搜索对象的使用次数占比。In a possible implementation manner, the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the proportion of the use times of the initial search object.
在一种可能的实现方式中,所述计算单元具体用于:In a possible implementation manner, the calculation unit is specifically configured to:
根据所述搜索关键词、所述初始搜索对象和预设预测模型计算所述初始搜索对象的置信度得分,其中,所述预设预测模型是以搜索关键词、所述搜索关键词对应的初始搜索对象和置信度得分为训练样本,采用机器学习或深度学习的算法对学习模型进行训练得到的。The confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the The search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms.
在一种可能的实现方式中,所述建立单元具体用于:In a possible implementation manner, the establishing unit is specifically configured to:
根据所述初始搜索对象的置信度得分,计算所述搜索关键词的权重值;Calculating the weight value of the search keyword according to the confidence score of the initial search object;
根据所述搜索关键词的权重值建立所述搜索对象与搜索关键词的映射关系列表。A mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword.
在一种可能的实现方式中,所述建立单元还用于:In a possible implementation manner, the establishing unit is further configured to:
将所述初始搜索对象的置信度得分转换为搜索关键词的置信度得分;Converting the confidence score of the initial search object into the confidence score of the search keyword;
将大于预设置信度阈值的搜索关键词的置信度得分,作为所述搜索关键词的权重值。The confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
在一种可能的实现方式中,所述确定模块具体用于:In a possible implementation manner, the determining module is specifically configured to:
将所述权重值大于预设权重阈值的搜索关键词对应的搜索对象,作为所述目标搜索对象。The search object corresponding to the search keyword whose weight value is greater than the preset weight threshold is taken as the target search object.
在一种可能的实现方式中,映射关系建立模块还包括预处理单元,用于:In a possible implementation manner, the mapping relationship establishment module further includes a preprocessing unit for:
分别对所述搜索行为日志信息以及所述操作行为日志信息进行预处理,获得预处 理后的目标搜索行为日志信息以及目标操作行为日志信息;Preprocessing the search behavior log information and the operation behavior log information respectively to obtain pre-processed target search behavior log information and target operation behavior log information;
相应的,所述提取单元具体用于:Correspondingly, the extraction unit is specifically used for:
从所述目标搜索行为日志信息中获取搜索关键词,从所述目标操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为。The search keyword is obtained from the target search behavior log information, and the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the target operation behavior log information.
在一种可能的实现方式中,映射关系建立模块还包括过滤单元,用于:In a possible implementation manner, the mapping relationship establishment module further includes a filtering unit for:
从获取的所述操作行为中删除操作频率大于第一阈值的操作行为以及删除操作频率小于第二阈值的操作行为,得到有效操作行为;Delete operation behaviors whose operation frequency is greater than the first threshold and delete operation behaviors whose operation frequency is less than the second threshold from the acquired operation behaviors to obtain effective operation behaviors;
相应的,所述提取单元具体用于:Correspondingly, the extraction unit is specifically used for:
将所述有效操作行为对应的操作对象作为初始搜索对象。The operation object corresponding to the effective operation behavior is used as the initial search object.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned devices/units are based on the same concept as the method embodiment of this application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat it here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Form realization can also be realized in the form of software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/terminal device and method may be implemented in other ways. For example, the device/terminal device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units. Or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (13)

  1. 一种搜索方法,其特征在于,包括:A search method, characterized in that it includes:
    获取搜索关键词;Get search keywords;
    根据预先建立的搜索对象与搜索关键词的映射关系列表,确定所述搜索关键词对应的目标搜索对象;其中,所述搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及所述历史搜索行为之后的操作行为建立的;Determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on historical search behaviors and the history Established by the operation behavior after the search behavior;
    显示所述目标搜索对象。The target search object is displayed.
  2. 如权利要求1所述的搜索方法,其特征在于,所述搜索对象与搜索关键词的映射关系列表采用以下方式建立:The search method according to claim 1, wherein the mapping relationship list between the search object and the search keyword is established in the following manner:
    获取用户的搜索行为日志信息以及操作行为日志信息;Obtain user search behavior log information and operation behavior log information;
    从所述搜索行为日志信息中获取搜索关键词,从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,并将所述操作行为对应的操作对象作为初始搜索对象;The search keyword is obtained from the search behavior log information, the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the operation behavior log information, and the operation object corresponding to the operation behavior is obtained As the initial search object;
    计算所述初始搜索对象的置信度得分;Calculating the confidence score of the initial search object;
    根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表。According to the confidence score of the initial search object, a mapping relationship list between the search object and the search keyword is established.
  3. 如权利要求2所述的搜索方法,其特征在于,所述计算所述初始搜索对象的置信度得分,包括:The search method according to claim 2, wherein the calculating the confidence score of the initial search object comprises:
    从所述操作行为日志信息中获取所述初始搜索对象的至少一个行为特征值;Acquiring at least one behavior characteristic value of the initial search object from the operation behavior log information;
    根据所述至少一个行为特征值及每个行为特征值对应的预设权重系数计算所述初始搜索对象的置信度得分。Calculate the confidence score of the initial search object according to the at least one behavior feature value and a preset weight coefficient corresponding to each behavior feature value.
  4. 如权利要求3所述的搜索方法,其特征在于,所述行为特征值包括初始搜索对象的使用次数、初始搜索对象的平均使用时长和/或初始搜索对象的使用次数占比。The search method according to claim 3, wherein the behavior characteristic value includes the use times of the initial search object, the average use time of the initial search object, and/or the proportion of the use times of the initial search object.
  5. 如权利要求2至4任一项所述的搜索方法,其特征在于,所述计算所述初始搜索对象的置信度得分,包括:The search method according to any one of claims 2 to 4, wherein the calculating the confidence score of the initial search object comprises:
    根据所述搜索关键词、所述初始搜索对象和预设预测模型计算所述初始搜索对象的置信度得分,其中,所述预设预测模型是以搜索关键词、所述搜索关键词对应的初始搜索对象和置信度得分为训练样本,采用机器学习或深度学习的算法对学习模型进行训练得到的。The confidence score of the initial search object is calculated according to the search keyword, the initial search object, and a preset prediction model, where the preset prediction model is the search keyword and the initial search keyword corresponding to the The search object and the confidence score are the training samples, which are obtained by training the learning model using machine learning or deep learning algorithms.
  6. 如权利要求2所述的搜索方法,其特征在于,所述根据所述初始搜索对象的置信度得分,建立所述搜索对象与搜索关键词的映射关系列表,包括:3. The search method of claim 2, wherein the establishing a mapping relationship list between the search object and the search keyword according to the confidence score of the initial search object comprises:
    根据所述初始搜索对象的置信度得分,计算所述搜索关键词的权重值;Calculating the weight value of the search keyword according to the confidence score of the initial search object;
    根据所述搜索关键词的权重值建立所述搜索对象与搜索关键词的映射关系列表。A mapping relationship list between the search object and the search keyword is established according to the weight value of the search keyword.
  7. 如权利要求6所述的搜索方法,其特征在于,所述根据所述初始搜索对象的置信度得分,计算所述搜索关键词的权重值,包括:The search method according to claim 6, wherein the calculating the weight value of the search keyword according to the confidence score of the initial search object comprises:
    将所述初始搜索对象的置信度得分转换为搜索关键词的置信度得分;Converting the confidence score of the initial search object into the confidence score of the search keyword;
    将大于预设置信度阈值的搜索关键词的置信度得分,作为所述搜索关键词的权重值。The confidence score of the search keyword that is greater than the preset confidence threshold is used as the weight value of the search keyword.
  8. 如权利要求7所述的搜索方法,其特征在于,所述确定所述搜索关键词对应 的目标搜索对象,包括:The search method according to claim 7, wherein the determining the target search object corresponding to the search keyword comprises:
    将所述权重值大于预设权重阈值的搜索关键词对应的搜索对象,作为所述目标搜索对象。The search object corresponding to the search keyword whose weight value is greater than the preset weight threshold is taken as the target search object.
  9. 如权利要求2至8任一项所述的搜索方法,其特征在于,在所述从所述搜索行为日志信息中获取搜索关键词之前,还包括:The search method according to any one of claims 2 to 8, characterized in that, before said obtaining search keywords from the search behavior log information, the method further comprises:
    分别对所述搜索行为日志信息以及所述操作行为日志信息进行预处理,获得预处理后的目标搜索行为日志信息以及目标操作行为日志信息;Preprocessing the search behavior log information and the operation behavior log information respectively to obtain preprocessed target search behavior log information and target operation behavior log information;
    相应的,从所述搜索行为日志信息中获取搜索关键词,从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为,包括:Correspondingly, obtaining search keywords from the search behavior log information, and obtaining operation behaviors within a preset time interval after the user inputs the search keywords from the operation behavior log information includes:
    从所述目标搜索行为日志信息中获取搜索关键词,从所述目标操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为。The search keyword is obtained from the target search behavior log information, and the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the target operation behavior log information.
  10. 如权利要求2至9任一项所述的搜索方法,其特征在于,在所述从所述操作行为日志信息中获取用户输入所述搜索关键词后的预设时间间隔内的操作行为之后,还包括:The search method according to any one of claims 2 to 9, characterized in that, after the operation behavior within a preset time interval after the user inputs the search keyword is obtained from the operation behavior log information, Also includes:
    从获取的所述操作行为中删除操作频率大于第一阈值的操作行为以及删除操作频率小于第二阈值的操作行为,得到有效操作行为;Delete operation behaviors whose operation frequency is greater than the first threshold and delete operation behaviors whose operation frequency is less than the second threshold from the acquired operation behaviors to obtain effective operation behaviors;
    相应的,将所述操作行为对应的操作对象作为初始搜索对象,包括:Correspondingly, using the operation object corresponding to the operation behavior as the initial search object includes:
    将所述有效操作行为对应的操作对象作为初始搜索对象。The operation object corresponding to the effective operation behavior is used as the initial search object.
  11. 一种搜索装置,其特征在于,包括:A search device, characterized in that it comprises:
    获取模块,用于获取搜索关键词;Obtaining module for obtaining search keywords;
    确定模块,用于根据预先建立的搜索对象与搜索关键词的映射关系列表,确定所述搜索关键词对应的目标搜索对象;其中,所述搜索对象与搜索关键词的映射关系列表是根据历史搜索行为以及所述历史搜索行为之后的操作行为建立的;The determining module is used to determine the target search object corresponding to the search keyword according to a pre-established list of mapping relations between search objects and search keywords; wherein, the list of mapping relations between search objects and search keywords is based on historical search Behaviors and operational behaviors after the historical search behavior;
    显示模块,用于显示所述目标搜索对象。The display module is used to display the target search object.
  12. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至10任一项所述的方法。A terminal device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program as claimed in claims 1 to 10. The method of any one of.
  13. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至10任一项所述的方法。A computer-readable storage medium storing a computer program, wherein the computer program implements the method according to any one of claims 1 to 10 when the computer program is executed by a processor.
PCT/CN2020/124762 2019-12-20 2020-10-29 Search method and apparatus, terminal device and storage medium WO2021120875A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911328504.5A CN111125523B (en) 2019-12-20 2019-12-20 Searching method, searching device, terminal equipment and storage medium
CN201911328504.5 2019-12-20

Publications (1)

Publication Number Publication Date
WO2021120875A1 true WO2021120875A1 (en) 2021-06-24

Family

ID=70500839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124762 WO2021120875A1 (en) 2019-12-20 2020-10-29 Search method and apparatus, terminal device and storage medium

Country Status (2)

Country Link
CN (1) CN111125523B (en)
WO (1) WO2021120875A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114997158A (en) * 2022-06-22 2022-09-02 中电信数智科技有限公司 Log key error automatic identification method and device based on Openstack

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111125523B (en) * 2019-12-20 2024-03-01 华为技术有限公司 Searching method, searching device, terminal equipment and storage medium
CN112257415A (en) * 2020-09-29 2021-01-22 当趣网络科技(杭州)有限公司 Method, system, electronic device and storage medium for searching word bank by voice
CN113468235B (en) * 2021-05-31 2023-05-09 北京达佳互联信息技术有限公司 Information acquisition method, device, server and storage medium
CN113343028B (en) * 2021-05-31 2022-09-02 北京达佳互联信息技术有限公司 Method and device for training intention determination model
CN114385906A (en) * 2021-10-29 2022-04-22 北京达佳互联信息技术有限公司 Prediction method, recommendation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2131290A1 (en) * 2007-03-28 2009-12-09 Alibaba Group Holding Limited Method of displaying related keyword and system as the same
CN105653673A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Information searching method and apparatus
CN107844554A (en) * 2017-10-31 2018-03-27 广东欧珀移动通信有限公司 Using recommendation method, apparatus, terminal device and storage medium
CN110196833A (en) * 2018-03-22 2019-09-03 腾讯科技(深圳)有限公司 Searching method, device, terminal and the storage medium of application program
CN111125523A (en) * 2019-12-20 2020-05-08 华为技术有限公司 Searching method, searching device, terminal equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100906928B1 (en) * 2007-03-26 2009-07-10 엔에이치엔비즈니스플랫폼 주식회사 Method for recommeding search word service using relation factor of business keword, computer readable recording medium and system thereof
US9069862B1 (en) * 2010-10-14 2015-06-30 Aro, Inc. Object-based relationship search using a plurality of sub-queries
JP5306506B1 (en) * 2012-04-17 2013-10-02 シャープ株式会社 Display device, television receiver, search method, program, and recording medium
KR20140075428A (en) * 2012-12-11 2014-06-19 한국전자통신연구원 Method and system for semantic search keyword recommendation
CN105320706B (en) * 2014-08-05 2018-10-09 阿里巴巴集团控股有限公司 The treating method and apparatus of search result
CN105095187A (en) * 2015-08-07 2015-11-25 广州神马移动信息科技有限公司 Search intention identification method and device
CN105787102B (en) * 2016-03-18 2019-04-26 北京搜狗科技发展有限公司 Searching method, device and the device for search
CN107092608B (en) * 2016-04-16 2021-03-23 口碑控股有限公司 Target object searching and recommending method and device
CN107784029B (en) * 2016-08-31 2022-02-08 阿里巴巴集团控股有限公司 Method, server and client for generating prompt keywords and establishing index relationship
CN108038192A (en) * 2017-12-11 2018-05-15 广东欧珀移动通信有限公司 Application searches method and apparatus, electronic equipment, computer-readable recording medium
CN109063033A (en) * 2018-07-16 2018-12-21 佛山市影腾科技有限公司 A kind of method, apparatus and terminal of search for application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2131290A1 (en) * 2007-03-28 2009-12-09 Alibaba Group Holding Limited Method of displaying related keyword and system as the same
CN105653673A (en) * 2015-12-29 2016-06-08 小米科技有限责任公司 Information searching method and apparatus
CN107844554A (en) * 2017-10-31 2018-03-27 广东欧珀移动通信有限公司 Using recommendation method, apparatus, terminal device and storage medium
CN110196833A (en) * 2018-03-22 2019-09-03 腾讯科技(深圳)有限公司 Searching method, device, terminal and the storage medium of application program
CN111125523A (en) * 2019-12-20 2020-05-08 华为技术有限公司 Searching method, searching device, terminal equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114997158A (en) * 2022-06-22 2022-09-02 中电信数智科技有限公司 Log key error automatic identification method and device based on Openstack

Also Published As

Publication number Publication date
CN111125523A (en) 2020-05-08
CN111125523B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
WO2021120875A1 (en) Search method and apparatus, terminal device and storage medium
CN109241431B (en) Resource recommendation method and device
US20170091335A1 (en) Search method, server and client
CN108280458B (en) Group relation type identification method and device
CN107958042B (en) Target topic pushing method and mobile terminal
CN108334539B (en) Object recommendation method, mobile terminal and computer-readable storage medium
CN108121803B (en) Method and server for determining page layout
WO2020238951A1 (en) Network content processing method and device, apparatus, and computer storage medium
CN109918669B (en) Entity determining method, device and storage medium
WO2021003673A1 (en) Content pushing method and related product
CN110263939A (en) A kind of appraisal procedure, device, equipment and medium indicating learning model
CN108289057B (en) Video editing method and device and intelligent mobile terminal
CN111143543A (en) Object recommendation method, device, equipment and medium
WO2021147421A1 (en) Automatic question answering method and apparatus for man-machine interaction, and intelligent device
CN111143697A (en) Content recommendation method and related device
CN115022098B (en) Artificial intelligence safety target range content recommendation method, device and storage medium
CN111125307A (en) Chat record query method and electronic equipment
CN113190646A (en) User name sample labeling method and device, electronic equipment and storage medium
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN115271931A (en) Credit card product recommendation method and device, electronic equipment and medium
WO2021073434A1 (en) Object behavior recognition method and apparatus, and terminal device
CN116307394A (en) Product user experience scoring method, device, medium and equipment
CN112329462B (en) Data sorting method and device, electronic equipment and storage medium
CN116167867A (en) Knowledge graph-based insurance business risk identification method and device and electronic equipment
CN115330522A (en) Credit card approval method and device based on clustering, electronic equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20900766

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20900766

Country of ref document: EP

Kind code of ref document: A1