CN114329162B - Search method, device, electronic device and storage medium - Google Patents

Search method, device, electronic device and storage medium Download PDF

Info

Publication number
CN114329162B
CN114329162B CN202111648445.7A CN202111648445A CN114329162B CN 114329162 B CN114329162 B CN 114329162B CN 202111648445 A CN202111648445 A CN 202111648445A CN 114329162 B CN114329162 B CN 114329162B
Authority
CN
China
Prior art keywords
search
automobile
target
keyword
term
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111648445.7A
Other languages
Chinese (zh)
Other versions
CN114329162A (en
Inventor
刘新
赖真
包振文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Golo Iov Data Technology Co ltd
Original Assignee
Golo Iov Data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Golo Iov Data Technology Co ltd filed Critical Golo Iov Data Technology Co ltd
Priority to CN202111648445.7A priority Critical patent/CN114329162B/en
Publication of CN114329162A publication Critical patent/CN114329162A/en
Application granted granted Critical
Publication of CN114329162B publication Critical patent/CN114329162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

本申请公开了一种搜索方法、装置、存储介质及电子设备,其中方法包括:获取目标用户输入的第一搜索语句;基于所述第一搜索语句进行关键词提取,获得目标关键词;基于所述目标关键词从预设的汽车数据库中匹配至少一个汽车术语;基于所述目标关键词以及所述至少一个汽车术语获得至少一个第二搜索语句,并对所述至少一个第二搜索语句进行展示;响应目标用户针对所述至少一个第二搜索语句的选择操作,获得目标搜索语句,以基于所述目标搜索语句搜索获得目标结果。本申请中的搜索方法,能够精准的为用户提供搜索指引,提高了搜索效率,并且使得最终的搜索结果根据准确。

The present application discloses a search method, device, storage medium and electronic device, wherein the method includes: obtaining a first search statement input by a target user; extracting keywords based on the first search statement to obtain a target keyword; matching at least one automobile term from a preset automobile database based on the target keyword; obtaining at least one second search statement based on the target keyword and the at least one automobile term, and displaying the at least one second search statement; obtaining a target search statement in response to the target user's selection operation for the at least one second search statement, so as to obtain a target result based on the target search statement. The search method in the present application can accurately provide search guidance for users, improve search efficiency, and make the final search results accurate.

Description

Search method, search device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a search method, apparatus, electronic device, and storage medium.
Background
With the continuous development of internet technology, users can search for various information. However, in the automotive field, the existing data searching method adopts a fuzzy searching method, so that no data can be searched or invalid data can be searched, and the searching speed is low, so that the problem that corresponding data cannot be quickly and accurately searched is caused.
Therefore, a search method is needed to solve the problems of low search efficiency and insufficient accuracy in the prior art.
Disclosure of Invention
In view of the above, the present application provides a searching method, apparatus, storage medium and electronic device, and aims to solve the problems of low searching efficiency and insufficient accuracy in the prior art.
In order to solve the above problems, the present application provides a search method, including:
Acquiring a first search statement input by a target user;
Extracting keywords based on the first search statement to obtain target keywords;
Matching at least one automobile term from a preset automobile database based on the target keyword;
obtaining at least one second search statement based on the target keyword and the at least one automobile term, and displaying the at least one second search statement;
And responding to the selection operation of the target user on the at least one second search statement, and obtaining a target search statement so as to obtain a target result based on the target search statement.
Optionally, extracting the keyword based on the first search statement to obtain the target keyword specifically includes:
extracting keywords based on the first search statement to obtain a plurality of initial keywords;
And carrying out validity screening based on each initial keyword to obtain at least one target keyword.
Optionally, before the first search statement input by the target user is obtained, the method further comprises the steps of establishing association relations between each keyword and each automobile term based on a search history, so as to establish the preset automobile database at least based on the association relations;
the matching of at least one automobile term from a preset automobile database based on the target keyword specifically comprises the following steps:
And searching the association relation based on the target keyword, and obtaining at least one automobile term corresponding to the target keyword.
Optionally, the establishing an association relationship between each keyword and each automobile term based on the search history, so as to establish the preset automobile database based on at least the association relationship, specifically includes:
Acquiring at least one search category;
Acquiring a plurality of automobile terms based on the search history;
classifying each automobile term based on the at least one search category to obtain an automobile term set corresponding to each search category;
configuring search attributes for each keyword based on the at least one search category;
And establishing association relations between each keyword and each automobile term set based on the at least one search category so as to establish and obtain the automobile database.
Optionally, the search history comprises search histories of at least one first user with the same user type as the target user;
or the search history includes the search histories of all users.
Optionally, the presenting each second search statement specifically includes:
And displaying the at least one second search statement according to the order of the historical search rate of each second search statement from high to low.
Optionally, the search category includes any one or more of history of the vehicle, vehicle production, vehicle sales, vehicle purchase, vehicle driving, vehicle maintenance, and vehicle trouble shooting.
In order to solve the above problems, the present application provides a search apparatus comprising:
The acquisition module is used for acquiring a first search statement input by a target user;
The extraction module is used for extracting keywords based on the first search statement to obtain target keywords;
the matching module is used for matching at least one automobile term from a preset automobile database based on the target keyword;
The display module is used for obtaining at least one second search statement based on the target keyword and the at least one automobile term and displaying the at least one second search statement;
and the search module is used for responding to the selection operation of the target user on the at least one second search statement, obtaining a target search statement and searching based on the target search statement to obtain a target result.
In order to solve the above problems, the present application provides an electronic device, at least including a memory, and a processor, where the memory stores a computer program, and the processor implements the steps of the search method described in any one of the above when executing the computer program on the memory.
In order to solve the above-mentioned problems, the present application provides a storage medium storing a computer program which, when executed by a processor, implements the steps of the search method of any one of the above.
According to the searching method, the device, the storage medium and the electronic equipment, the target keyword is obtained by extracting the keyword from the first search sentence, and the automobile term is matched with the target keyword, so that the second search sentence is obtained for the subsequent search based on the target keyword and the automobile term, and therefore, the search guidance is accurately provided for the user, and the search efficiency is improved.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a search method according to an embodiment of the present application;
FIG. 2 is a flow chart of a search method according to yet another embodiment of the present application;
FIG. 3 is a block diagram showing a search apparatus according to still another embodiment of the present application;
Fig. 4 is a block diagram of an electronic device according to another embodiment of the application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
Embodiments of the present invention are described below with reference to the accompanying drawings.
The embodiment of the application provides a searching method which is particularly applied to searching scenes related to automobile field information through electronic equipment such as terminals and computers. As shown in fig. 1, the method in this embodiment includes:
step S101, acquiring a first search statement input by a target user;
in the implementation process, the text information input by the user aiming at the target position can be received to obtain the first search statement, or the voice information input by the user aiming at the target position can be received, and then the voice information is converted to obtain the first search statement. The specific conversion process may be, for example, that when the input information is voice, a processing procedure may be adopted to obtain the first search statement, where (1) frame processing is performed on the voice inquiry information according to a predetermined voice frame length and a predetermined frame shift length, so as to obtain a plurality of voice frame segments. (2) And converting each voice frame segment to obtain multidimensional vectors corresponding to each voice frame segment. (3) And carrying out normalization processing on each multidimensional vector to obtain a target feature vector corresponding to each multidimensional vector. (4) And obtaining a phoneme sequence corresponding to each target feature vector based on each target feature vector. (5) And obtaining initial texts based on the phoneme sequences, and further obtaining a first search statement.
Step S102, extracting keywords based on the first search statement to obtain target keywords;
In the implementation process of the step, the obtained target keyword can be extracted through the part of speech of each word in the first search statement, for example, word extraction processing of verbs, nouns and adjectives part of speech is used as the target keyword. For example, the user inputs "engine bad", and then the target keyword is "engine".
Step S103, at least one automobile term is matched from a preset automobile database based on the target keyword;
In this embodiment, the preset car database stores association relations between various keywords and various car terms. Wherein, the automotive terms may include "maintenance", "driving", "cleaning agent", "oil change liquid", "four-wheel positioning", "4S shop", "equipment cleaning", "second hand car", "group purchase", "automotive loan", "purchasing", "interior trim", "configuration", and the like. For example, the keyword "engine" may relate to automotive terminology such as "repair", "clean" and "shopping". In the implementation process, an automobile database can be built in advance, wherein the building process is that the association relation between each keyword and each automobile term is built based on the search history, so that the preset automobile database is built at least based on the association relation. Therefore, when the automobile term is matched with the target keyword, the association relation can be searched based on the target keyword, and at least one automobile term corresponding to the target keyword can be obtained. The search history comprises the search history of at least one first user with the same user type as the target user, or the search history comprises the search history of second users with various user types.
Step S104, at least one second search statement is obtained based on the target keyword and the at least one automobile term, and the at least one second search statement is displayed;
In the implementation process, after the automobile term is matched, the automobile term and the keyword can be combined to obtain at least one second search statement. For example, when the target keyword is "engine" and the matched automobile term is "maintenance" or "noise", the second search term is "engine maintenance" or "engine noise" can be obtained.
Step S105, in response to a selection operation of the target user for the at least one second search term, obtaining a target search term to search for obtaining a target result based on the target search term.
In this step, after each second search term is displayed, a response may be made according to a user selection operation, so that the second search term selected by the user is used as a target search term, and a search is performed. The selection operation may specifically be a click operation, a drag operation, or the like.
The target keywords are obtained by extracting keywords from the first search statement input by the user, the second search statement is obtained by automatically matching the target keywords with the automobile terms, more accurate second search statement related to the automobile field is provided for the user, and search guidance is provided for the user, so that the user is helped to improve the search efficiency, and the final search result is more accurate.
Another embodiment of the present application provides a searching method, as shown in fig. 2, including the following steps:
step S201, obtaining at least one search category, obtaining a plurality of automobile terms based on search history, classifying each automobile term based on the at least one search category to obtain an automobile term set corresponding to each search category, configuring search attributes for each keyword based on the at least one search category, and establishing association relations between each keyword and each automobile term set based on the at least one search category to establish and obtain the automobile database.
In the implementation process of the step, a database in the vertical field of the automobile can be specifically built in advance, namely, at least one search category, such as an automobile maintenance category, an automobile purchase category or the like, is obtained, and then corresponding automobile terms are configured for each category according to the search history, namely, the automobile terms are classified according to the search history, so that an automobile term set corresponding to the search category is obtained. And configuring search attributes for the keywords based on the search categories, namely determining which search category the keywords belong to, so as to establish association relations between the keywords and the automobile term sets according to the search categories, further constructing and obtaining an automobile database, and storing the automobile database in storage equipment such as a server or terminal equipment. Wherein the search category includes any one or more of history of the car, car production, car sales, car purchase, car driving, car maintenance, and car trouble maintenance
In this step, when the association relationship between the keyword and the car term is established, the association relationship between the keyword and the car term corresponding to the user type may be established based on the search history of the same user type, where the user type may specifically be a user occupation, a user age, or the like, that is, for the same search category, the association relationships between different keywords and car terms corresponding to different occupation/ages respectively, so that the corresponding target association relationship may be determined according to the user type of the target user and the attribute of the keyword, and then at least one car term may be matched according to the target keyword and the target association relationship. Of course, the search history may also include all search histories, that is, for a certain search category, the association relationship between the keywords and the car terms may also be established according to the search histories of all users.
Step S202, acquiring a first search statement input by a target user;
In the implementation process, text information or voice information input by a user can be received, when the received input information is voice information, the voice information can be converted, so that the text information is obtained, and further, a first search statement is obtained, for example, the first search statement is an engine of an automobile.
Step S203, extracting keywords based on the first search statement to obtain a plurality of initial keywords;
In this step, when extracting keywords, keyword extraction may be specifically performed according to the part of speech of the word, for example, words of the part of speech such as nouns, adjectives, verbs, etc. may be extracted as initial keywords. For example, when keyword extraction is performed on the first search statement "automobile engine", the "automobile" and/or "engine" with the noun part of speech can be extracted as initial keywords, so that keyword extraction is more accurate and reliable.
Step S204, carrying out validity screening based on each initial keyword to obtain at least one target keyword;
In the implementation process, after a plurality of initial keywords are obtained, validity screening can be carried out on the initial keywords so as to obtain target keywords. For example, the obtained initial keywords are "car", "engine", and the target keyword "engine" can be obtained by performing validity screening on the two initial keywords. In the step, the target keywords are obtained by screening the initial keywords, so that the obtained keywords are more accurate and reasonable, and a foundation is laid for accurately matching the automobile terms based on the target keywords.
Step S205, searching the association relation based on the target keyword to obtain at least one automobile term corresponding to the target keyword;
In the implementation process of the step, the association relation corresponding to the attribute of the target keyword can be searched based on the target keyword and the attribute of the target keyword, and the automobile term corresponding to the target keyword can be obtained. For example, the user type of the target user may be first determined based on occupation, age, gender, etc., such as determining the user type of the target user as a teacher. Therefore, the association relation between all keywords corresponding to the teacher and the automobile terms can be obtained, and then the target association relation corresponding to the attribute is determined based on the target keyword attribute so as to match at least one automobile term based on the target association relation. For example, the target keyword is "engine", so that based on the target keyword and the target association relationship, any one or more of the automobile terms corresponding to the target keyword "engine" are obtained by matching, such as "bad", "shake", "composition", "working principle", and the like. In the step, the target association relation corresponding to the user type of the target user is determined, and then the automobile terminology is matched according to the target association relation, so that the matched automobile terminology is more reasonable and accurate, and a foundation is laid for accurately obtaining the second search statement based on the automobile terminology. In the step, when the automobile terminology is matched, the target association relation corresponding to the attribute can be determined directly according to the attribute of the target keyword, and then at least one automobile terminology is obtained based on the target keyword and the target association relation.
Step S206, at least one second search statement is obtained based on the target keyword and the at least one automobile term, and the at least one second search statement is displayed;
In this step, after obtaining the car term, the car term may be combined with the target key to obtain at least one second search term. For example, the target keyword is "engine", and the automobile term corresponding to the target keyword "engine" is obtained by matching "bad", "jittering", "composition", "working principle", so that the target keyword and each automobile term can be combined to obtain the second search sentence, for example, the second search sentence "bad engine", "jittering", "composition of engine", "working principle", so that a plurality of second search sentences can be obtained.
In this step, when each second search term is displayed, the at least one second search term may be displayed at a predetermined position, for example, below a search box, in order of from high to low in the history search rate of each second search term, so as to present the user with the second search term.
Step S207, responding to the selection operation of the target user for the at least one second search statement, obtaining a target search statement, and searching and obtaining a target result based on the target search statement.
In this step, the selection operation may specifically be a click operation, a drag operation, or the like, and after the user performs an electronic operation on one of the second search sentences, the second search sentence may be displayed in a predetermined search position, for example, in a search box, so as to obtain the target search sentence.
According to the searching method, the first searching sentence is subjected to keyword extraction to obtain the target keyword, and the corresponding association relation is determined based on the attribute of the target keyword, so that the automobile terminology can be accurately matched based on the association relation, the automobile terminology obtained by matching is more accurate and reasonable, the second searching sentence can be obtained based on the automobile terminology and the target keyword later, accurate searching guidance is provided for a user, searching efficiency is improved, and the final searching result is more accurate.
Another embodiment of the present application provides a search apparatus, as shown in fig. 3, including:
The acquisition module 1 is used for acquiring a first search statement input by a target user;
the extraction module 2 is used for extracting keywords based on the first search statement to obtain target keywords;
A matching module 3, configured to match at least one car term from a preset car database based on the target keyword;
A display module 4, configured to obtain at least one second search sentence based on the target keyword and the at least one car term, and display the at least one second search sentence;
and the search module 5 is used for responding to the selection operation of the target user on the at least one second search statement to obtain a target search statement so as to search and obtain a target result based on the target search statement.
In a specific implementation process, the extraction module is specifically configured to extract keywords based on the first search statement to obtain a plurality of initial keywords, and perform validity screening based on each initial keyword to obtain at least one target keyword.
The searching device in the embodiment of the application further comprises an establishing module, wherein the establishing module is used for establishing association relations between each keyword and each automobile term based on search history before the first search statement input by the target user is acquired, so as to establish the preset automobile database at least based on the association relations, and the matching module is specifically used for searching the association relations based on the target keywords and acquiring at least one automobile term corresponding to the target keywords.
In the embodiment of the application, the building module is specifically used for obtaining at least one search category, obtaining a plurality of automobile terms based on the search history, classifying the automobile terms based on the at least one search category to obtain an automobile term set corresponding to the search category, configuring search attributes for the keywords based on the at least one search category, and building association relations between the keywords and the automobile term sets based on the at least one search category to build and obtain the automobile database.
In the implementation process of the embodiment of the application, the search history comprises the search history of at least one first user with the same user type as the target user, or the search history comprises the search histories of all users.
In the embodiment of the application, in the implementation process, the display module is specifically configured to display the at least one second search statement according to the order of the historical search rate of each second search statement from high to low.
In the embodiment of the application, the search category comprises any one or more of automobile history, automobile production, automobile sales, automobile purchase, automobile driving, automobile maintenance and automobile fault maintenance.
According to the search device provided by the embodiment of the application, the target keyword is obtained by extracting the keyword from the first search sentence, and the automobile term is matched with the target keyword, so that the second search sentence is obtained for the subsequent acquisition based on the target keyword and the automobile term, thereby realizing accurate search guidance for the user, improving the search efficiency, and enabling the final search result to be accurate.
Another embodiment of the present application provides an electronic device, as shown in fig. 4, at least including a memory 1 and a processor 2, where the memory 1 stores a computer program, and the processor 2 implements the following method steps when executing the computer program on the memory 1:
step one, acquiring a first search statement input by a target user;
Step two, extracting keywords based on the first search statement to obtain target keywords;
step three, matching at least one automobile term from a preset automobile database based on the target keyword;
step four, at least one second search statement is obtained based on the target keyword and the at least one automobile term, and the at least one second search statement is displayed;
And step five, responding to the selection operation of the target user for the at least one second search statement, and obtaining a target search statement so as to obtain a target result based on the target search statement.
In the implementation process, the first search statement is used for extracting keywords to obtain target keywords, and the processor specifically performs the following steps of extracting keywords to obtain a plurality of initial keywords based on the first search statement, and performing validity screening based on each initial keyword to obtain at least one target keyword.
In the implementation process, before the first search statement input by the target user is obtained, the processor further performs the following steps of establishing association relations between each keyword and each automobile term based on search history so as to establish the preset automobile database at least based on the association relations;
said matching at least one car term from a pre-set car database based on said target keyword, the processor specifically executes the following steps:
And searching the association relation based on the target keyword, and obtaining at least one automobile term corresponding to the target keyword.
In the implementation process, the association relation between each keyword and each automobile term is established based on the search history so as to establish the preset automobile database at least based on the association relation, and the processor specifically executes the following steps of obtaining at least one search category, obtaining a plurality of automobile terms based on the search history, classifying each automobile term based on the at least one search category to obtain an automobile term set corresponding to each search category, and configuring search attributes for each keyword based on the at least one search category;
And establishing association relations between each keyword and each automobile term set based on the at least one search category so as to establish and obtain the automobile database.
Specifically, the search history in the implementation comprises the search history of at least one first user with the same user type as the target user, or the search history comprises the search history of a second user with various user types.
The processor specifically executes the steps of displaying the at least one second search statement in the order of the historical search rate of each second search statement from high to low.
In the embodiment of the application, the search category comprises any one or more of automobile history, automobile production, automobile sales, automobile purchase, automobile driving, automobile maintenance and automobile fault maintenance.
According to the electronic equipment provided by the embodiment of the application, the target keyword is obtained by extracting the keyword from the first search sentence, and the automobile term is matched with the target keyword, so that the second search sentence is obtained for the subsequent acquisition based on the target keyword and the automobile term, thereby realizing accurate search guidance for the user, improving the search efficiency, and enabling the final search result to be accurate.
Another embodiment of the present application provides a storage medium storing a computer program which, when executed by a processor, performs the method steps of:
step one, acquiring a first search statement input by a target user;
Step two, extracting keywords based on the first search statement to obtain target keywords;
step three, matching at least one automobile term from a preset automobile database based on the target keyword;
step four, at least one second search statement is obtained based on the target keyword and the at least one automobile term, and the at least one second search statement is displayed;
And step five, responding to the selection operation of the target user for the at least one second search statement, and obtaining a target search statement so as to obtain a target result based on the target search statement.
In the implementation process, the first search statement is used for extracting keywords to obtain target keywords, and the processor specifically performs the following steps of extracting keywords to obtain a plurality of initial keywords based on the first search statement, and performing validity screening based on each initial keyword to obtain at least one target keyword.
In the implementation process, before the first search statement input by the target user is obtained, the processor further performs the following steps of establishing association relations between each keyword and each automobile term based on search history so as to establish the preset automobile database at least based on the association relations;
said matching at least one car term from a pre-set car database based on said target keyword, the processor specifically executes the following steps:
And searching the association relation based on the target keyword, and obtaining at least one automobile term corresponding to the target keyword.
In the implementation process, the association relation between each keyword and each automobile term is established based on the search history so as to establish the preset automobile database at least based on the association relation, and the processor specifically executes the following steps of obtaining at least one search category, obtaining a plurality of automobile terms based on the search history, classifying each automobile term based on the at least one search category to obtain an automobile term set corresponding to each search category, and configuring search attributes for each keyword based on the at least one search category;
And establishing association relations between each keyword and each automobile term set based on the at least one search category so as to establish and obtain the automobile database.
Specifically, the search history in the implementation comprises the search history of at least one first user with the same user type as the target user, or the search history comprises the search history of a second user with various user types.
The processor specifically executes the steps of displaying the at least one second search statement in the order of the historical search rate of each second search statement from high to low.
In the embodiment of the application, the search category comprises any one or more of automobile history, automobile production, automobile sales, automobile purchase, automobile driving, automobile maintenance and automobile fault maintenance.
According to the storage medium in the embodiment of the application, the target keyword is obtained by extracting the keyword from the first search sentence, and the automobile term is matched with the target keyword, so that the second search sentence is obtained for the subsequent acquisition based on the target keyword and the automobile term, thereby realizing accurate search guidance for the user, improving the search efficiency, and enabling the final search result to be accurate.
The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application, the scope of which is defined by the claims. Various modifications and equivalent arrangements of this application will occur to those skilled in the art, and are intended to be within the spirit and scope of the application.

Claims (8)

1.一种搜索方法,其特征在于,包括:1. A search method, comprising: 获取目标用户输入的第一搜索语句;Obtaining the first search statement input by the target user; 基于所述第一搜索语句进行关键词提取,获得目标关键词;Extract keywords based on the first search statement to obtain target keywords; 基于所述目标关键词从预设的汽车数据库中匹配至少一个汽车术语;matching at least one automobile term from a preset automobile database based on the target keyword; 基于所述目标关键词以及所述至少一个汽车术语获得至少一个第二搜索语句,并对所述至少一个第二搜索语句进行展示;Obtaining at least one second search statement based on the target keyword and the at least one automobile term, and displaying the at least one second search statement; 响应目标用户针对所述至少一个第二搜索语句的选择操作,获得目标搜索语句,以基于所述目标搜索语句搜索获得目标结果;In response to a target user's selection operation on the at least one second search statement, obtaining a target search statement, and searching for a target result based on the target search statement; 在所述获取目标用户输入的第一搜索语句之前,所述方法还包括:Before obtaining the first search statement input by the target user, the method further includes: 基于搜索历史建立各关键词与各汽车术语之间的关联关系,以至少基于所述关联关系建立所述预设的汽车数据库;Establishing associations between each keyword and each automobile term based on the search history, so as to establish the preset automobile database based at least on the associations; 所述基于所述目标关键词从预设的汽车数据库中匹配至少一个汽车术语,具体包括:The matching of at least one automobile term from a preset automobile database based on the target keyword specifically includes: 基于所述目标关键词查找所述关联关系,获得与所述目标关键词对应的至少一个汽车术语;Searching the association relationship based on the target keyword to obtain at least one automobile term corresponding to the target keyword; 所述基于搜索历史建立各关键词与各汽车术语之间的关联关系,以至少基于所述关联关系建立所述预设的汽车数据库,具体包括:The step of establishing the association relationship between each keyword and each automobile term based on the search history, so as to establish the preset automobile database based at least on the association relationship, specifically includes: 获取至少一个搜索类别;Get at least one search category; 基于所述搜索历史获取若干汽车术语;acquiring a number of automobile terms based on the search history; 基于所述至少一个搜索类别对各所述汽车术语进行分类,获得与各所述搜索类别对应的汽车术语集合;Classifying each of the automobile terms based on the at least one search category to obtain a set of automobile terms corresponding to each of the search categories; 基于所述至少一个搜索类别为各所述关键词配置搜索属性;configuring a search attribute for each of the keywords based on the at least one search category; 基于所述至少一个搜索类别建立各关键词与各汽车术语集合的关联关系,以建立获得所述汽车数据库。An association relationship between each keyword and each automobile term set is established based on the at least one search category to establish and obtain the automobile database. 2.如权利要求1所述的方法,其特征在于,所述基于所述第一搜索语句进行关键词提取,获得目关键词,具体包括:2. The method according to claim 1, wherein the step of extracting keywords based on the first search statement to obtain target keywords specifically comprises: 基于所述第一搜索语句进行关键词提取,获得若干初始关键词;Extract keywords based on the first search statement to obtain a number of initial keywords; 基于各所述初始关键词进行有效性筛选,以获得至少一个所述目标关键词。Effectiveness screening is performed based on each of the initial keywords to obtain at least one of the target keywords. 3.如权利要求1所述的方法,其特征在于,所述搜索历史包括:用户类型与所述目标用户相同的至少一个第一用户的搜索历史;3. The method according to claim 1, wherein the search history comprises: a search history of at least one first user whose user type is the same as that of the target user; 或者,所述搜索历史包括所有用户的搜索历史。Alternatively, the search history includes the search history of all users. 4.如权利要求1所述的方法,其特征在于,所述对各所述第二搜索语句进行展示,具体包括:4. The method according to claim 1, wherein displaying each of the second search statements specifically comprises: 按照各所述第二搜索语句的历史搜索率由高到低的顺序,对所述至少一个第二搜索语句进行显示。The at least one second search statement is displayed in descending order of historical search rates of the second search statements. 5.如权利要求1所述的方法,其特征在于,所述搜索类别包括如下任意一种或几种:汽车的历史、汽车生产、汽车销售、汽车购买、汽车驾驶、汽车维修保养以及汽车故障维修。5. The method according to claim 1, wherein the search categories include any one or more of the following: automobile history, automobile production, automobile sales, automobile purchase, automobile driving, automobile repair and maintenance, and automobile breakdown repair. 6.一种搜索装置,其特征在于,包括:6. A search device, comprising: 获取模块,用于获取目标用户输入的第一搜索语句;An acquisition module, used to acquire a first search statement input by a target user; 提取模块,用于基于所述第一搜索语句进行关键词提取,获得目标关键词;An extraction module, used to extract keywords based on the first search statement to obtain target keywords; 匹配模块,用于基于所述目标关键词从预设的汽车数据库中匹配至少一个汽车术语;a matching module, configured to match at least one automobile term from a preset automobile database based on the target keyword; 展示模块,用于基于所述目标关键词以及所述至少一个汽车术语获得至少一个第二搜索语句,并对所述至少一个第二搜索语句进行展示;a display module, configured to obtain at least one second search statement based on the target keyword and the at least one automobile term, and to display the at least one second search statement; 搜索模块,用于响应目标用户针对所述至少一个第二搜索语句的选择操作,获得目标搜索语句,以基于所述目标搜索语句搜索获得目标结果;A search module, configured to obtain a target search statement in response to a target user's selection operation on the at least one second search statement, so as to search and obtain a target result based on the target search statement; 所述装置还包括:The device also includes: 搜索单元,用于基于搜索历史建立各关键词与各汽车术语之间的关联关系,以至少基于所述关联关系建立所述预设的汽车数据库;A search unit, configured to establish an association relationship between each keyword and each automobile term based on the search history, so as to establish the preset automobile database based at least on the association relationship; 所述匹配模块具体用于:The matching module is specifically used for: 基于所述目标关键词查找所述关联关系,获得与所述目标关键词对应的至少一个汽车术语;Searching the association relationship based on the target keyword to obtain at least one automobile term corresponding to the target keyword; 所述搜索单元具体用于:The search unit is specifically used for: 获取至少一个搜索类别;Get at least one search category; 基于所述搜索历史获取若干汽车术语;acquiring a number of automobile terms based on the search history; 基于所述至少一个搜索类别对各所述汽车术语进行分类,获得与各所述搜索类别对应的汽车术语集合;Classifying each of the automobile terms based on the at least one search category to obtain a set of automobile terms corresponding to each of the search categories; 基于所述至少一个搜索类别为各所述关键词配置搜索属性;configuring a search attribute for each of the keywords based on the at least one search category; 基于所述至少一个搜索类别建立各关键词与各汽车术语集合的关联关系,以建立获得所述汽车数据库。An association relationship between each keyword and each automobile term set is established based on the at least one search category to establish and obtain the automobile database. 7.一种电子设备,其特征在于,至少包括存储器、处理器,所述存储器上存储有计算机程序,所述处理器在执行所述存储器上的计算机程序时实现上述权利要求1-5任一项所述搜索方法的步骤。7. An electronic device, characterized in that it comprises at least a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program in the memory, the steps of the search method described in any one of claims 1 to 5 are implemented. 8.一种存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述权利要求1-5任一项所述搜索方法的步骤。8. A storage medium, characterized in that the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the search method according to any one of claims 1 to 5 are implemented.
CN202111648445.7A 2021-12-29 2021-12-29 Search method, device, electronic device and storage medium Active CN114329162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111648445.7A CN114329162B (en) 2021-12-29 2021-12-29 Search method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111648445.7A CN114329162B (en) 2021-12-29 2021-12-29 Search method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN114329162A CN114329162A (en) 2022-04-12
CN114329162B true CN114329162B (en) 2025-05-02

Family

ID=81018093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111648445.7A Active CN114329162B (en) 2021-12-29 2021-12-29 Search method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114329162B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115203513B (en) * 2022-06-23 2025-08-05 腾讯科技(深圳)有限公司 Search statement recommendation method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473273A (en) * 2013-08-22 2013-12-25 百度在线网络技术(北京)有限公司 Information search method, information search device and server
CN105095187A (en) * 2015-08-07 2015-11-25 广州神马移动信息科技有限公司 Search intention identification method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8229458B2 (en) * 2007-04-08 2012-07-24 Enhanced Geographic Llc Systems and methods to determine the name of a location visited by a user of a wireless device
CN105930362B (en) * 2016-04-12 2019-03-12 晶赞广告(上海)有限公司 Search for target identification method, device and terminal
CN111475536B (en) * 2019-01-23 2023-10-17 百度在线网络技术(北京)有限公司 Data analysis method and device based on search engine
CN111444356B (en) * 2020-03-11 2024-02-13 北京字节跳动网络技术有限公司 Recommendation method and device based on search

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473273A (en) * 2013-08-22 2013-12-25 百度在线网络技术(北京)有限公司 Information search method, information search device and server
CN105095187A (en) * 2015-08-07 2015-11-25 广州神马移动信息科技有限公司 Search intention identification method and device

Also Published As

Publication number Publication date
CN114329162A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN110083688B (en) Search result recall method, device, server and storage medium
CN115438166A (en) Keyword and semantic-based searching method, device, equipment and storage medium
JP2025505979A (en) Augmenting machine learning language models with search engine results
CN110147494B (en) Information searching method and device, storage medium and electronic equipment
CN116662495B (en) Question and answer processing method, method and device for training question and answer processing model
CN110737756B (en) Method, apparatus, device and medium for determining answer to user input data
CN111666425B (en) Automobile accessory searching method based on semantic knowledge
CN113761124A (en) Training method of text coding model, information retrieval method and equipment
CN112417174A (en) Data processing method and device
CN117874207A (en) Reply sentence generation method and device, electronic equipment and storage medium
CN113590919A (en) Search request processing method and device, electronic equipment and computer readable medium
CN112926300A (en) Image searching method, image searching device and terminal equipment
CN114329162B (en) Search method, device, electronic device and storage medium
CN118095296B (en) Semantic analysis method, system and medium based on knowledge graph
CN119829702A (en) Intelligent question answering method and device
CN114138951B (en) Question and answer processing method, device, electronic device and storage medium
CN111143515A (en) Text matching method and device
CN114281942B (en) Question and answer processing method, related device and readable storage medium
JP4935243B2 (en) Search program, information search device, and information search method
CN112579774B (en) Model training method, model training device and terminal equipment
CN106021346B (en) Retrieval processing method and device
CN116010611A (en) Knowledge map construction, information recommendation method, device and computer equipment
CN111444434A (en) Method and system for generating Internet feedback comments
CN113342931B (en) Big data based user demand analysis method, device, equipment and storage medium
CN119646289A (en) A method and system for generating a commodity search word library

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant