WO2017157040A1 - Procédé et dispositif de recherche, et dispositif utilisé pour la recherche - Google Patents

Procédé et dispositif de recherche, et dispositif utilisé pour la recherche Download PDF

Info

Publication number
WO2017157040A1
WO2017157040A1 PCT/CN2016/106254 CN2016106254W WO2017157040A1 WO 2017157040 A1 WO2017157040 A1 WO 2017157040A1 CN 2016106254 W CN2016106254 W CN 2016106254W WO 2017157040 A1 WO2017157040 A1 WO 2017157040A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
search
mapping relationship
target
sub
Prior art date
Application number
PCT/CN2016/106254
Other languages
English (en)
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 WO2017157040A1 publication Critical patent/WO2017157040A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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

Definitions

  • the present application relates to the field of data search technologies, and in particular, to a search method, a search device, and a device for searching.
  • each search engine can search for content related to the keyword and return it to the user according to different keywords input by the user.
  • One aspect of related content For example, if the user enters "Hong Kong” as a keyword search, it may just want to check the box office information of the movie, and the server will search all the content related to "Hong Kong", for example, the starring of "Hong Kong” , "Hong Kong” movie commentary information and so on. This allows the user to interact with the search engine server one or more times in order to search for the content or results of their own needs, making the search less efficient.
  • the present application provides a search solution for solving the problem that the search efficiency is low due to the fact that the search result is not easy to meet the actual needs of the user, and the search experience of the user can be improved.
  • the application also provides a search device for ensuring the implementation and application of the above method in practice.
  • the embodiment of the present application further discloses a search method, which includes: a pre-processing process and a search process, where the pre-processing process includes:
  • the search process includes:
  • the main data and the slave data are combined to obtain target search data.
  • mapping relationship from the primary data to the sub-data in each scenario is established for each search scenario, including:
  • the searching for the slave data associated with the master data according to the master data corresponding to the initial keyword and the mapping relationship related to the master data includes:
  • mapping relationship that matches the initial keyword as the target mapping relationship, and searching for the target data corresponding to the primary label of the target mapping relationship as the primary data corresponding to the initial keyword
  • the query obtains a mapping relationship between the primary label and the initial keyword as the target mapping relationship, including:
  • mapping relationship is multiple.
  • the mapping relationship involved in the historical search data is determined as a target mapping relationship.
  • the preprocessing process further includes:
  • the search frequency is used to indicate that the primary data and the secondary data corresponding to each mapping relationship are in the user The number of times to search for the slave data further after searching for the master data;
  • the query obtains a mapping relationship between the primary label and the initial keyword as the target mapping relationship, including:
  • mapping relationship is multiple.
  • mapping relationship that meets the preset heat condition is selected as the target mapping relationship.
  • the search process further includes:
  • the target search data is sent to the client as a search result item for display.
  • the sending the target search data as a search result item to the client for display including:
  • Combining the target field content of the slave data with the master data is sent to the client as a search result item for display.
  • the sending the target search data as a search result item to the client for display including:
  • the summary content of the slave data, the link of the slave data, and the master data are combined and sent as a search result item to the client for display.
  • the sending the target search data as a search result item to the client for display including:
  • the main data and the slave data in the target search data are respectively sent to the client as a tab page of the search result item for display.
  • the embodiment of the present application further discloses a search device, including: a pre-processing unit and a search unit, wherein the pre-processing unit includes:
  • Establishing a mapping relationship module configured to establish a mapping relationship from the main data to the sub data in each scenario for each search scenario; wherein the main data and the subdata belong to the target data, And the subdata is associated with the main data;
  • the search unit includes:
  • an initial keyword module configured to acquire an initial keyword related to the search request in response to a search request triggered by a user
  • a search data module configured to search for the slave data associated with the master data according to the mapping relationship between the master data corresponding to the initial keyword and the master data;
  • the merged data module is configured to combine the primary data and the secondary data to obtain target search data.
  • the establishing a mapping relationship module includes:
  • the search data module comprises:
  • the query sub-module is configured to obtain, as a target mapping relationship, a mapping relationship that matches the primary label and the initial keyword;
  • a first search sub-module configured to search for target data corresponding to the main tag of the target mapping relationship as main data corresponding to the initial keyword
  • Obtaining a sub-label sub-module configured to acquire, according to the target mapping relationship, a sub-tag associated with the main tag
  • the second search sub-module is configured to search for the target data corresponding to the sub-tag as the slave data associated with the main data.
  • the query submodule includes:
  • mapping relationship sub-module configured to determine a mapping relationship involved in the historical search data as a target mapping relationship.
  • the establishing the mapping relationship unit further includes:
  • Determining a heat module configured to determine a corresponding heat according to a search frequency involved in each mapping relationship; the search frequency is used to indicate that in the master data and the slave data corresponding to each mapping relationship, the user searches for the master The number of times the data is further searched for from the data;
  • query sub-module is specifically used to:
  • mapping relationship between the primary label and the initial keyword is multiple
  • mapping relationship that meets the preset heat condition is selected as the target mapping relationship according to the heat corresponding to each mapping relationship.
  • the search unit further includes:
  • a sending data module configured to send the target search data as a search result item to the client for display.
  • the sending data module specifically includes:
  • Obtaining a target content sub-module configured to acquire a target field content of the slave data in the target search data, where the target field content meets a preset field condition of the data;
  • the first merging sub-module is configured to merge the content of the target field of the slave data with the master data, and send it to the client as a search result item for display.
  • the sending data module specifically includes:
  • Obtaining a brief content sub-module configured to acquire a brief content of the slave data in the target search data, and generate a link of the slave data according to the save address of the slave data;
  • a second merging submodule configured to merge the brief content of the slave data, the link of the slave data, and the master data, and send the result to the client as a search result item for display.
  • the sending data module is specifically configured to:
  • the main data and the slave data in the target search data are respectively sent to the client as a tab page of the search result item for display.
  • Embodiments of the present application also disclose an apparatus for searching, including a memory, and one or more programs, wherein one or more programs are stored in a memory and configured to be executed by one or more processors
  • the one or more programs include instructions for performing the following operations:
  • the main data and the slave data are combined to obtain target search data.
  • the server since the mapping relationship between the main data and the sub data is set in advance through the label, the server may not only correspond to the main label when the initial keyword of the user hits the main label in a mapping relationship.
  • the main data is used as the target search data, and the sub-data corresponding to the sub-tag associated with the main tag is also returned to the user as the target search data.
  • the search result is more likely to meet the actual needs of the user, thereby reducing the number of interactions between the user and the server during the search, thereby improving the efficiency of data search and improving the user experience.
  • FIG. 1 is a flow chart of an embodiment of a search method of the present application
  • FIG. 2 and FIG. 3 are schematic diagrams showing an exemplary display interface of a search result item in the embodiment of the present application
  • FIG. 4 is a structural block diagram of an embodiment of a search device of the present application.
  • FIG. 5 is a block diagram of a search apparatus according to an exemplary embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a server in an embodiment of the present application.
  • the embodiment may include the method including: a pre-processing process and a search process, where the following steps are performed:
  • Step 101 Acquire target data, and the target data may include at least one field.
  • Embodiments of the present application can be applied to a server, for example, a server that is connected to a third party and can obtain raw data from a third party.
  • the server may first acquire the target data.
  • the target data is the raw data obtained from a third party.
  • the original data herein may include one or more fields, for example, data 1 about "movie information", which may include three fields of "movie name", “movie starring", and “movie rating", respectively, which correspond to the three fields respectively.
  • the three field values "Hong Kong”, “Xu Wei, Zhao Wei” and “8.3” are the data contents of Data 1.
  • the data 2 about the movie box office may include a field of "box office amount”, and the field value of the field "1.9 billion” is the data content of the data 2.
  • the above description is only an example, and a clearer understanding of the target data by those skilled in the art should not be construed as limiting the present application.
  • obtaining target data may include:
  • Step A1 Obtain raw data from a third party.
  • the server in this embodiment first obtains the original data from a third party. These raw data can be obtained from different third parties. Because different third-party data retention rules or data sources may be different, the same type of data may not be the same when obtained from different third parties. For example, for the "movie rating” data, the movie “Hong Kong” in the virtual community network “Douban” network scored 8.3, while in another virtual community network “Tianya Forum” data “Hong Kong” The film rating is 7.9.
  • the above numerical values are merely examples, and a clearer understanding of the target data by those skilled in the art should not be construed as limiting the present application.
  • Step A2 Each raw data is independently stored as target data.
  • the server in this embodiment independently stores the original data acquired from different third parties as target data. It can be seen that in the present embodiment, each of the original data is independent of each other. For example, for different movie scores obtained from different third parties in step A1, They do not deal with either, but store them independently of each other.
  • Step 102 Establish a mapping relationship from the main data to the sub data in each scenario for each search scenario.
  • each independent data in the target data may be used as the main data, or a part of the data may be selected as the main data, and then the mapping relationship between the main data and the sub data associated with the main data is established in each search scenario.
  • the search scenario in this embodiment can be understood as a scenario corresponding to a search type.
  • a person skilled in the art may pre-categorize the target data, for example, according to the data type: "entertainment data”, “news data”, “sports data”, “weather data”, and the like.
  • the search scenes may also be “entertainment data search scene”, “news data search scene”, “sports data search scene”, “weather data search scene”, and the like.
  • each data in the scenario may be determined as the primary data and a mapping relationship is established; of course, the user requirements and other factors may be referenced to determine some data that meets the user's needs in a certain scenario. data.
  • the other one or more data associated with the main data is the sub data.
  • a person skilled in the art can independently select all or part of data in a search scenario as the main data in the search scenario according to the actual scenario, and further determine other pieces of data that need to be associated with the master data as subdata. .
  • the step 102 may specifically include:
  • Step B1 determining a corresponding primary tag for each primary data, and determining a corresponding secondary tag for the secondary data.
  • a mapping relationship between a primary data and one or more sub-data may be determined by referring to the historical search data of the user.
  • the association label may be used.
  • the main data “movie information”
  • the data includes the word of the movie name
  • searching for relevant historical search data it can be determined that in a search scenario, after searching for the keyword "Hong Kong”, the user not only browses the encyclopedic information of "Hong Kong”, including movies. Introduction and movie duration, etc.; also browsed the ticket information of “Hong Kong”, including online booking and group booking, etc.
  • Historical search data also showed that users were also interested in the film reviews of “Hong Kong” and also visited Douban. Web comment information.
  • the field "movie name” can be used as the main label, and at the same time, the "introduction” field in the data "encyclopedia information” is selected, and the "buy information” in the data "purchase information”
  • the "Ticket” field is used as a slave label, respectively, to establish the association between the main data "movie information” and the two sub-data “encyclopedia information” and “ticket information” by establishing the associated label "Hong Kong-Introduction + Purchase Ticket". .
  • the “Avatar” "movie information", “ticket information” and “encyclopedia information” can be combined and returned to the user.
  • Step B2 For each main data, establish a mapping relationship from the main tag to the sub-tag of the sub-data associated with the main data.
  • the server may save each associated label as the same data list item in the data table to implement association.
  • the associated tag "Hong Kong-Review” means that the sub-data associated with the main movie "Movie Name” named “Hong Kong” is "Movie Review", which also means that when searching for a movie port, the user may also Hong Kong's commentary information is of interest, so the server can return the comments of the port to the user when the user searches for "Hong Kong”; for example, for the associated label "Port ⁇ -purchase ticket, the sub-data associated with the main movie "movie name” named “Hong Kong” is "movie ticket purchase”, which also means that users may also purchase Hong Kong dollars when searching for movie ports.
  • the ticket information is of interest, so the server can also return the comment information of the port to the user when the user searches for "Hong Kong”.
  • the person skilled in the art can set according to the user demand that is statistically calculated in the historical data or the information that the user is most interested in.
  • the user may browse different search results, so the same master data can be associated in different search scenarios.
  • the embodiment of the present application does not limit which sub-data a main data should be associated with, which does not affect the implementation of the embodiment of the present application.
  • the mapping relationship from the primary data to the sub-data in each scenario is established for each search scenario.
  • the method may further include:
  • Step B3 determining, according to the search frequency involved in each mapping relationship, the corresponding heat for the mapping relationship; the search frequency is used to indicate that the primary data and the secondary data corresponding to each mapping relationship are further searched by the user after searching for the primary data. The number of times the data was searched.
  • the historical search information of the user is obtained in the historical search data, so that the search frequency corresponding to the mapping relationship is determined according to the historical search information.
  • the search frequency may indicate the number of times the user further searches for the slave data after searching for the master data in the master data and the slave data corresponding to each mapping relationship. For example, some users further browse the data "movie box office” and the encyclopedic data "movie profile" after searching for the data "movie information”, then all users are further searched for the data after searching for the main data "movie information".
  • the number of movie box office and "introduction to the movie for example, a total of 189 times, and the total number of searches for "movie reviews" from the data totaled 153 times.
  • the heat corresponding to each mapping relationship is calculated.
  • the search frequency can be uniformly normalized to a specific value between 1 and 100 for comparison. Then, after establishing the mapping relationship between the main data "movie information" and the data "movie box office" and the "movie introduction", the heat value 87.5 corresponding to the mapping relationship can be saved correspondingly to the mapping relationship, and The heat value 72.6 from the mapping relationship between the main data "movie name" and the data "movie review” may also be saved in correspondence with the corresponding mapping relationship.
  • steps 101 to 102 are the preprocessing process in the embodiment of the present application, and step 101 is adopted.
  • the server can refer to the established mapping relationship to search, so that the search data more likely to meet the user's needs can be obtained.
  • Step 103 Acquire an initial keyword related to the search request in response to a user-triggered search request.
  • the initial keyword of the current search is obtained. For example, the user enters "Hong Kong" to search for information on the movie.
  • Step 104 Search for the slave data associated with the master data according to the master data corresponding to the initial keyword and the mapping relationship related to the master data.
  • the server in this embodiment is different from the prior art in that the server further searches for the main data according to the mapping relationship related to the main data.
  • the server further searches for the main data according to the mapping relationship related to the main data.
  • this step may include steps C1 to C3:
  • Step C1 The query obtains a mapping relationship in which the primary label matches the initial keyword as the target mapping relationship.
  • mapping relationship from the main data to the sub-data in each search scenario is established and stored in the mapping relationship library; in the search process, the server queries whether there is a certain one from the pre-established mapping relationship library.
  • the primary label in the or some mapping relationship matches the initial keyword, and if so, the matching mapping relationship is obtained and used as the target mapping relationship. For example, if the initial keyword entered by the user is “Hong Kong”, then the server will query whether there is a main label in one or some mappings that is “Hong Kong”.
  • mapping relationship For example, there is a mapping relationship from the main data "movie name” to the data "movie review", and the main label in the associated label “Hong Kong-Review” and “Hong Kong-purchase ticket” related to the mapping relationship is “Hong Kong” "From the label to "Comment” and "Purchase", the main tab "Hong Kong” matches the initial keyword entered by the user, then this is from the main data "movie name” to the data "movie review”
  • the mapping relationship is used as the target mapping relationship.
  • step C1 may include:
  • Step D1 When the mapping relationship between the main tag obtained by the query and the initial keyword is multiple, the historical search data that meets the preset search condition is determined from the historical search record of the user.
  • the server first obtains the historical search record of the current user, and the historical search records may reflect the number of historical searches of the user.
  • the user's preference can be further determined. Therefore, a search condition can be set in advance, for example, in the historical search record, the user further checks which of the data is the most frequently after searching for a certain main data. For example, in the historical search record of the current user, the user searches for the box office information of the movie name the most time after searching for the movie name, and then the data "movie box office" will determine that the preset search condition is met in this step. Historical search data.
  • Step D2 Determine a mapping relationship involved in the historical search data as a target mapping relationship.
  • mapping relationships involved in the data "movie box office” are determined as the target mapping relationship, and those mapping relationships not involving the data "movie box office" do not participate in the later search process.
  • step 102 further includes the step B3
  • step C1 may be:
  • Step E When the mapping relationship between the main label obtained by the query and the initial keyword is multiple, the mapping relationship that meets the preset heat condition is selected as the target mapping relationship according to the heat corresponding to each mapping relationship.
  • the heat of those mapping relationships that match the initial keywords is first obtained.
  • the heat is 87
  • the mapping relationship from the main data "movie name” to the data "movie review” is 65.
  • a heat condition such as a hottest mapping relationship
  • the server can sort the matching mapping relationships in order of popularity, and determine the top mapping relationship as the target mapping relationship.
  • N is an integer greater than zero and less than the total number of matching mappings
  • Step C2 Search for the target data corresponding to the main tag of the target mapping relationship as the main data corresponding to the initial keyword.
  • the server then uses the target data corresponding to the search main tag "Port" as the main data, which is the data corresponding to the initial keyword input by the user.
  • Step C3 Obtain a sub-tag associated with the main tag according to the target mapping relationship, and search for the target data corresponding to the sub-tag as the slave data associated with the main data.
  • the server may then refer to the sub-tags associated with the main tag in the target mapping relationship, and continue to search for the target data corresponding to the sub-tags as the slave data specifically associated with the main data.
  • the target mapping relationship involves "Language-Comment” and "Hong Kong-Purchase”
  • the server will continue to search for sub-data corresponding to the sub-tabs "Comment” and "Purchase”.
  • the target search data searched by the server includes the comment information and the ticket purchase information of the movie port.
  • this is just an example of the associated label "Hong Kong-Review” and "Hong Kong-Buy Ticket”.
  • the data corresponding to the plurality of mapping relationships can be found one by one. It can also be understood that the server can also find all the main tags and the slave tags in the associated tag from the mapping relationship, and then uniformly find the main data and the slave data corresponding to the main tag and the slave tag respectively, and the order is not Affect the implementation of this application.
  • step 105 combining the main data and the slave data to obtain target search data.
  • the server may merge the main data obtained by searching using the initial keyword and the slave data having a mapping relationship with the main data.
  • the target search data "movie profile” has a field "actor”
  • the target search data "movie review” also has a field " The movie actor” can delete the extra fields in the process of merging the main data and the slave data, leaving only one. Of course, you can simply merge the data directly without any processing.
  • the above steps 103 to 105 are the search processes in this embodiment.
  • the search process is based on the pre-processing process, but is independent of the pre-processing process.
  • the method may further include:
  • Step 106 Send the target search data as a search result item to the client for display.
  • the server transmits the primary data and the target search data from the data to the client to present the target search data as a search result item to the user.
  • the target search data may be sent to the client as a search result item for display, for example, the main data is data 1, and the slave data includes data 2 and data 3, and data 1, data 2, and data 3 are taken as Target search data is presented to the user as a search result item on the search results page.
  • the first implementation manner may include steps F1 to F2:
  • Step F1 Acquire a target field content of the slave data in the target search data, the target field content conforming to a preset field condition of the data.
  • the server may preset a field condition for filtering the slave data in view of the limitation of the client display interface. For example, if a field with the most content value from the data in the data is used as the target field, the server can only obtain the content of the target field as the target field content.
  • Step F2 Combine the content of the target field of the data and the main data of the target search data, and send it as a search result item to the client for display.
  • the server then merges the target field content and the master data from the data, and sends the merged data as a search result item to the client for display. In this way, because the most important field content is selected from the data, the user can browse the content of the data and save the space of the client display interface.
  • the second implementation manner of this step may include steps G1 to G2:
  • Step G1 Acquire a brief content of the slave data in the target search data, and generate a link of the slave data according to the save address of the slave data.
  • the server may also filter the slave data to obtain a brief content of the slave data.
  • the brief content may be the one with the smallest field value from the data.
  • the server then generates a link that can be clicked to view the complete slave data based on the saved address of the data.
  • Step G2 Combine the brief content of the slave data, the link of the slave data, and the master data, and send it as a search result item to the client for display.
  • the server then merges the brief content and links of the data, and the corresponding master data, as a search result item, and sends it to the client for display.
  • the user can view the summary information of the data, and can also browse the complete slave data by clicking the link, which not only saves the display space of the client but also facilitates the user to quickly obtain useful information.
  • step H the third implementation of this step.
  • Step H Send the main data and the slave data in the target search data as one of the search result items to the client for display.
  • the server may also determine the corresponding multi-tag according to the main data and the number of the data, where each tab of the multi-tag can be used to display one main data or one slave data.
  • each tab of the multi-tag can be used to display one main data or one slave data.
  • FIG. 2 and FIG. 3 respectively, a multi-label exemplary display interface diagram of a search result item.
  • the server can set the data 1 and 2 to be displayed in one tab, and the data 3 You can set it to display in another tab. Switching between the various tabs can be achieved by virtual button 1 and virtual button 2.
  • the virtual button is white to indicate that the current virtual button is in a valid state, and in gray to be in a hidden state.
  • the main data and the slave data are combined to obtain target search data, and the target search data is sent to the client as a search result item for display, and the All the contents of the master data and the slave data are displayed in the search result item, or only part of the main data and/or part of the data may be displayed; the main data and the slave data may be displayed in the same format.
  • the server since the mapping relationship between the primary data and the sub data is set in advance through the label, the server may not only use the primary label in the mapping of the initial keyword of the user in the initial keyword of the user.
  • the corresponding main data is used as the target search data, and the sub-data corresponding to the sub-tag associated with the main tag is also returned to the user as the target search data.
  • the search result is more likely to meet the actual needs of the user, thereby reducing the number of interactions between the user and the server during the search, thereby improving the efficiency of data search and improving the user experience.
  • the present application further provides an embodiment of a search device.
  • the device may include: a pre-processing unit 40 and a search.
  • the unit 41, wherein the pre-processing unit 40 can include:
  • Obtaining a target data module 401 configured to acquire target data; wherein the target data may include at least one field; and establishing a mapping relationship module 402, configured to establish, from each of the search scenarios, from the primary data to the sub-data for each search scenario. a mapping relationship; wherein the primary data and the secondary data belong to the target data, and the child data is associated with the primary data.
  • the acquiring target data module 401 may include: acquiring an original data module, configured to acquire raw data from a third party; and a storage module, configured to separately store each original data as target data.
  • the search unit 41 can include:
  • an initial keyword module 411 configured to acquire an initial keyword related to the search request in response to a search request triggered by a user
  • a search data module 412 configured to use the initial key a mapping relationship between the main data corresponding to the word and the main data, searching for the slave data associated with the master data
  • the merge data module 413 for combining the master data and the slave data to obtain a target Search for data.
  • the searching unit 41 may further include:
  • the sending data module 414 is configured to send the target search data as a search result item to the client for display.
  • the sending data module 414 may specifically include:
  • Obtaining a target content sub-module configured to acquire target field content of the slave data in the target search data, the target field content conforming to a preset field condition of the data; and, a first merge sub-module, configured to: The target field content of the data is merged with the main data and sent as a search result item to the client for display.
  • the sending data module 414 may specifically include:
  • Obtaining a brief content sub-module configured to acquire a brief content of the slave data in the target search data, and generate a link of the slave data according to the save address of the slave data; and, a second merge sub-module, for The summary content of the slave data, the link of the slave data, and the master data merge are sent as a search result item to the client for display.
  • the sending data module 414 can be specifically configured to:
  • the main data and the slave data in the target search data are respectively sent to the client as a tab page of the search result item for display.
  • the establishing the mapping relationship module 402 may include:
  • Determining a label sub-module for determining that the label determines a corresponding primary label for each primary data, and determining a corresponding sub-label for the sub-data; and establishing a relationship sub-module for establishing a slave master for each main data Labeling a mapping relationship to a sub-tag having sub-data associated with the main data;
  • search data module 412 can include:
  • a query sub-module configured to obtain a mapping relationship between the main tag and the initial keyword as a target mapping relationship
  • the first search sub-module is configured to search for the target data corresponding to the main tag of the target mapping relationship The primary data corresponding to the initial keyword
  • the sub-label sub-module is configured to obtain a sub-tag associated with the main tag according to the target mapping relationship
  • a second search sub-module configured to search for the target data corresponding to the sub-tag as the slave data associated with the main data.
  • the query sub-module may specifically include:
  • the establishing the mapping relationship module 402 may further include:
  • Determining a heat module configured to determine a corresponding heat according to a search frequency involved in each mapping relationship; the search frequency is used to indicate that in the master data and the slave data corresponding to each mapping relationship, the user searches for the master The number of times the data is further searched for from the data.
  • query sub-module can be specifically used for:
  • mapping relationship between the primary label and the initial keyword is multiple
  • mapping relationship that meets the preset heat condition is selected as the target mapping relationship according to the heat corresponding to each mapping relationship.
  • the server since the mapping relationship between the main data and the sub data is set in advance through the label, the server may not only correspond to the main label when the initial keyword of the user hits the main label of the mapping relationship.
  • the main data is used as the target search data, and the sub-data corresponding to the sub-tag associated with the main tag is also returned to the user as the target search data.
  • the search result is more likely to meet the actual needs of the user, thereby reducing the number of interactions between the user and the server during the search, thereby improving the efficiency of data search and improving the user experience.
  • An embodiment of the present application also discloses an apparatus for searching, which may include a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be configured by one or more processors. Executing the one or more programs includes instructions for performing the following operations:
  • the preprocessing process includes:
  • the search process includes:
  • the main data and the slave data are combined to obtain target search data.
  • FIG. 5 is a block diagram of an apparatus 800 for generating candidate words, according to an exemplary embodiment.
  • device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
  • Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable. Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, Flash memory, disk or CD.
  • Power component 806 provides power to various components of device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
  • the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
  • sensor assembly 814 can detect an open/closed state of device 800, a relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
  • Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor such as CMOS or CCD image sensing For use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
  • the device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of apparatus 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a search method, the method comprising:
  • the pre-processing process includes: acquiring target data; establishing, for each search scenario, a mapping relationship from primary data to sub-data in each scenario; wherein the primary data and the sub-data belong to the target data, and the The child data is associated with the master data;
  • the searching process includes: acquiring an initial keyword related to the search request in response to a search request triggered by a user; searching and obtaining a search according to a primary data corresponding to the initial keyword and a mapping relationship related to the primary data
  • the master data has associated slave data; the master data and the slave data are combined to obtain target search data.
  • FIG. 6 is a schematic structural diagram of a server in an embodiment of the present invention.
  • the server 1900 can vary greatly depending on configuration or performance, and can include one or more central processors (central Processing units (CPU) 1922 (eg, one or more processors) and memory 1932, one or more storage media 1930 that store application 1942 or data 1944 (eg, one or one storage device in Shanghai).
  • CPU central Processing units
  • the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
  • the program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • central processor 1922 can be configured to communicate with storage medium 1930, which performs a series of instruction operations in storage medium 1930.
  • Server 1900 may also include one or more power sources 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941.
  • power sources 1926 For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (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)
  • Information Transfer Between Computers (AREA)

Abstract

L'invention concerne un procédé et un dispositif de recherche, et un dispositif utilisé pour la recherche; le procédé de recherche comporte un processus de prétraitement et un processus de recherche, le processus de prétraitement comportant les étapes consistant à: obtenir des données cibles (101), et établir, pour chaque contexte de recherche, une relation d'association de données principales vers des sous-données dans chaque contexte (102); lesdites données principales et lesdites sous-données faisant partie desdites données cibles et les sous-données étant associées aux données principales; ledit processus de recherche comportant les étapes consistant à: répondre à une demande de recherche lancée par un utilisateur, et obtenir un mot-clé initial lié à ladite demande de recherche (103); d'après les données principales correspondant audit mot-clé initial et la relation d'association avec lesdites données principales, effectuer une recherche pour obtenir des données dépendantes associées auxdites données principales (104); combiner les données principales et les données dépendantes pour obtenir des données cibles de recherche (105). L'utilisation du procédé et du dispositif de recherche améliore le rendement de recherche et améliore l'agrément de recherche pour l'utilisateur.
PCT/CN2016/106254 2016-03-18 2016-11-17 Procédé et dispositif de recherche, et dispositif utilisé pour la recherche WO2017157040A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610158469.7 2016-03-18
CN201610158469.7A CN105787102B (zh) 2016-03-18 2016-03-18 搜索方法、装置以及用于搜索的装置

Publications (1)

Publication Number Publication Date
WO2017157040A1 true WO2017157040A1 (fr) 2017-09-21

Family

ID=56394085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/106254 WO2017157040A1 (fr) 2016-03-18 2016-11-17 Procédé et dispositif de recherche, et dispositif utilisé pour la recherche

Country Status (2)

Country Link
CN (1) CN105787102B (fr)
WO (1) WO2017157040A1 (fr)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471722A (zh) * 2018-05-11 2019-11-19 北京搜狗科技发展有限公司 一种界面处理方法、装置和用于界面处理的装置
CN110543477A (zh) * 2019-07-16 2019-12-06 武汉烽火众智数字技术有限责任公司 一种标签构建系统及方法
CN111125523A (zh) * 2019-12-20 2020-05-08 华为技术有限公司 搜索方法、装置、终端设备及存储介质
CN111368161A (zh) * 2018-12-26 2020-07-03 北京搜狗科技发展有限公司 一种搜索意图的识别方法、意图识别模型训练方法和装置
CN111382367A (zh) * 2018-12-27 2020-07-07 北京搜狗科技发展有限公司 一种搜索结果排序方法和装置
CN111752956A (zh) * 2019-03-26 2020-10-09 华为技术有限公司 实体的关联变更方法及装置、电子设备

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787102B (zh) * 2016-03-18 2019-04-26 北京搜狗科技发展有限公司 搜索方法、装置以及用于搜索的装置
CN106649737B (zh) * 2016-12-23 2020-06-12 北京奇虎科技有限公司 针对综艺类query的搜索结果的推送方法及装置
CN108241646B (zh) * 2016-12-23 2021-12-17 阿里巴巴集团控股有限公司 一种搜索匹配方法和装置、推荐方法和装置
CN109300551A (zh) * 2017-06-16 2019-02-01 东华软件股份公司 临床诊疗知识获取方法及装置
US10970334B2 (en) * 2017-07-24 2021-04-06 International Business Machines Corporation Navigating video scenes using cognitive insights
CN109165223A (zh) * 2018-08-24 2019-01-08 张宇 一种信息数据链接方法
CN109151599B (zh) * 2018-08-30 2020-10-09 百度在线网络技术(北京)有限公司 视频处理方法和装置
CN110188146A (zh) * 2019-04-26 2019-08-30 上海苏河汇科技服务股份有限公司 一种管理数据的方法及装置、服务器
CN114002591A (zh) * 2020-07-28 2022-02-01 株洲中车时代电气股份有限公司 一种机车整备试验开关检测方法、装置及相关组件
CN111949864B (zh) * 2020-08-10 2022-02-25 北京字节跳动网络技术有限公司 一种搜索方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126235A1 (en) * 2002-01-03 2003-07-03 Microsoft Corporation System and method for performing a search and a browse on a query
CN102402519A (zh) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 搜索方法、搜索结果显示方法、搜索服务器及客户端
CN103268345A (zh) * 2013-05-27 2013-08-28 慈文传媒集团股份有限公司 影视数据的检索方法及装置
US20160042427A1 (en) * 2011-04-06 2016-02-11 Google Inc. Mining For Product Classification Structures For Internet-Based Product Searching
CN105787102A (zh) * 2016-03-18 2016-07-20 北京搜狗科技发展有限公司 搜索方法、装置以及用于搜索的装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063476B (zh) * 2010-12-13 2013-07-10 百度时代网络技术(北京)有限公司 视频搜索方法及系统
CN104102723B (zh) * 2014-07-21 2017-07-25 百度在线网络技术(北京)有限公司 搜索内容提供方法和搜索引擎

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126235A1 (en) * 2002-01-03 2003-07-03 Microsoft Corporation System and method for performing a search and a browse on a query
CN102402519A (zh) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 搜索方法、搜索结果显示方法、搜索服务器及客户端
US20160042427A1 (en) * 2011-04-06 2016-02-11 Google Inc. Mining For Product Classification Structures For Internet-Based Product Searching
CN103268345A (zh) * 2013-05-27 2013-08-28 慈文传媒集团股份有限公司 影视数据的检索方法及装置
CN105787102A (zh) * 2016-03-18 2016-07-20 北京搜狗科技发展有限公司 搜索方法、装置以及用于搜索的装置

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471722A (zh) * 2018-05-11 2019-11-19 北京搜狗科技发展有限公司 一种界面处理方法、装置和用于界面处理的装置
CN111368161A (zh) * 2018-12-26 2020-07-03 北京搜狗科技发展有限公司 一种搜索意图的识别方法、意图识别模型训练方法和装置
CN111368161B (zh) * 2018-12-26 2024-01-09 北京搜狗科技发展有限公司 一种搜索意图的识别方法、意图识别模型训练方法和装置
CN111382367A (zh) * 2018-12-27 2020-07-07 北京搜狗科技发展有限公司 一种搜索结果排序方法和装置
CN111382367B (zh) * 2018-12-27 2024-04-30 北京搜狗科技发展有限公司 一种搜索结果排序方法和装置
CN111752956A (zh) * 2019-03-26 2020-10-09 华为技术有限公司 实体的关联变更方法及装置、电子设备
CN111752956B (zh) * 2019-03-26 2023-12-08 华为技术有限公司 实体的关联变更方法及装置、电子设备
CN110543477A (zh) * 2019-07-16 2019-12-06 武汉烽火众智数字技术有限责任公司 一种标签构建系统及方法
CN110543477B (zh) * 2019-07-16 2022-07-05 武汉烽火众智数字技术有限责任公司 一种标签构建系统及方法
CN111125523A (zh) * 2019-12-20 2020-05-08 华为技术有限公司 搜索方法、装置、终端设备及存储介质
CN111125523B (zh) * 2019-12-20 2024-03-01 华为技术有限公司 搜索方法、装置、终端设备及存储介质

Also Published As

Publication number Publication date
CN105787102A (zh) 2016-07-20
CN105787102B (zh) 2019-04-26

Similar Documents

Publication Publication Date Title
WO2017157040A1 (fr) Procédé et dispositif de recherche, et dispositif utilisé pour la recherche
WO2022048360A1 (fr) Procédé et appareil pour afficher un résultat de recherche, et support de stockage informatique
WO2015196709A1 (fr) Procédé et dispositif d'acquisition d'informations
WO2017181663A1 (fr) Procédé et dispositif destinés à mettre en correspondance une image avec des informations de recherche
WO2017219484A1 (fr) Procédé et appareil permettant de définir une image d'identité
CN107315487B (zh) 一种输入处理方法、装置及电子设备
WO2019128568A1 (fr) Procédé, appareil et dispositif de poussée de contenu
CN107784045B (zh) 一种快捷回复方法和装置、一种用于快捷回复的装置
CN109002338A (zh) 页面渲染、页面装修信息处理方法及装置
TW202141475A (zh) 物品名稱確定方法、裝置、電腦設備及儲存媒體
WO2017092121A1 (fr) Procédé et dispositif de traitement d'informations
CN110309324B (zh) 一种搜索方法及相关装置
US11546663B2 (en) Video recommendation method and apparatus
WO2016127625A1 (fr) Procédé et dispositif de filtrage d'adresse
CN104572848B (zh) 基于浏览器的搜索方法及装置
WO2022088731A1 (fr) Procédé et dispositif de traitement de données
EP4261710A1 (fr) Procédé et appareil de fourniture d'informations, et dispositif électronique
CN108717403B (zh) 一种处理方法、装置和用于处理的装置
WO2022116527A1 (fr) Procédé et dispositif de traitement de données
WO2016197549A1 (fr) Procédé et appareil de recherche
WO2021223117A1 (fr) Procédé et appareil de fourniture d'informations d'intérêts et de droits d'utilisateur, et dispositif électronique
CN111241844A (zh) 一种信息推荐方法及装置
CN109948043A (zh) 一种信息推荐方法及装置
CN106886541B (zh) 一种数据搜索方法、装置以及一种用于数据搜索的装置
WO2019165902A1 (fr) Procédé et dispositif pour générer et afficher des informations d'objet de données

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16894199

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16894199

Country of ref document: EP

Kind code of ref document: A1