WO2022267658A1 - 内容搜索方法、装置、设备及介质 - Google Patents

内容搜索方法、装置、设备及介质 Download PDF

Info

Publication number
WO2022267658A1
WO2022267658A1 PCT/CN2022/088064 CN2022088064W WO2022267658A1 WO 2022267658 A1 WO2022267658 A1 WO 2022267658A1 CN 2022088064 W CN2022088064 W CN 2022088064W WO 2022267658 A1 WO2022267658 A1 WO 2022267658A1
Authority
WO
WIPO (PCT)
Prior art keywords
answer
content
search
target
viewpoints
Prior art date
Application number
PCT/CN2022/088064
Other languages
English (en)
French (fr)
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 北京字节跳动网络技术有限公司
Priority to US18/262,185 priority Critical patent/US20240086484A1/en
Publication of WO2022267658A1 publication Critical patent/WO2022267658A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • 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/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Definitions

  • the present disclosure relates to the technical field of content search, and in particular to a content search method, device, device and medium.
  • Search Engine refers to a system that collects information on the Internet according to certain strategies and uses specific computer programs, and provides users with retrieval services after organizing and processing the information.
  • search engines provides convenience for users to use network information, and users can retrieve the information they need from the massive data provided by the Internet.
  • the disclosure provides a content search method, device, equipment and medium.
  • the present disclosure provides a content search method, including:
  • each answer viewpoint corresponds to a type of search result
  • the search result is the result obtained by searching the search content
  • the first content includes keywords, which are used for Indicates the reason for displaying the target answer viewpoint among the multiple answer viewpoints, and the keywords are extracted from the target category search results corresponding to the target answer viewpoint.
  • the present disclosure provides a content search device, including:
  • a content receiving unit configured to receive search content
  • the first display unit is configured to display a plurality of answer viewpoints and first content in the search result interface; wherein, each answer viewpoint corresponds to a type of search result, the search result is the result obtained by searching the search content, and the first content includes Keyword, the keyword is used to indicate the reason for displaying the target answer viewpoint among the multiple answer viewpoints, and the keyword is extracted from the target category search results corresponding to the target answer viewpoint.
  • the present disclosure provides a content search device, including:
  • the processor is used to read executable instructions from the memory, and execute the executable instructions to implement the content search method described in the first aspect.
  • the present disclosure provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the content search method described in the first aspect.
  • FIG. 1 is a schematic flowchart of a content search method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a search result interface provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a content search device provided by an embodiment of the present disclosure.
  • Fig. 10 is a schematic structural diagram of a content search device provided by an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” means “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • the displayed search results are often not comprehensive or concise enough.
  • the search results presented by the search engine are either to select the best answer from the candidate set to display accurate results that meet the needs, or to search according to the comprehensive score of certain attributes. Sort the results of the entire network to display all the results that meet the needs, so that the search results are often not comprehensive enough or the presentation method is not intuitive and concise, causing users to need to perform secondary analysis on a large number of displayed search results to obtain the required content. It affects the efficiency of users to obtain information and reduces the user experience.
  • the embodiments of the present disclosure provide a content search method, device, device and medium that can present more search results more comprehensively and intuitively in a search scenario where there are at least two viewpoints.
  • the content search method may be executed by an electronic device.
  • the electronic equipment may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as vehicle navigation terminal) , wearable devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc.
  • Fig. 1 shows a schematic flowchart of a content search method provided by an embodiment of the present disclosure. As shown in Fig. 1, the content search method may include the following steps.
  • search content refers to the content input by the user, which requires the search engine to execute the search operation and feed back the search results, which may be keywords or complete long and short sentences.
  • the search content may be content for seeking an answer, or an opinion, or a solution.
  • the electronic device may receive search content input by a user in a content search page of a specific application program or a specific website.
  • the user can input information in any form of text, voice, and image in the search box on the content search page, so that the electronic device will use the text corresponding to the information entered by the user as the search content entered by the user .
  • a user can enter text information "does eating boiled eggs at night make you fat” in the search box on the content search page, and the electronic device can use “does eating boiled eggs at night make you fat” as the search content, and then search for users related to "evening" Will eating boiled eggs make you fat?" associated content.
  • the user can input voice information "does eating boiled eggs at night make you fat" in the search box on the content search page, and the electronic device can perform voice recognition processing on the voice information to obtain the search content "does eating boiled eggs at night make you fat?" , and then search for content associated with "does eating boiled eggs at night make you fat” for the user.
  • the user can enter an image with the text "Will eating boiled eggs at night make you fat?” or an image with the content of "Will eating boiled eggs at night make you fat” in the search box on the content search page, and the electronic device can Image text recognition processing or image content recognition processing is performed on the image to obtain the search content "does eating boiled eggs at night make you fat", and then searches for content related to "does eating boiled eggs at night make you fat" for the user.
  • multiple candidate search contents may be displayed on the content search page, and the user may select among the displayed candidate search contents, so that the electronic device may use the candidate search contents selected by the user as the search contents.
  • the content search page can display candidate search content such as "Will eating boiled eggs at night make you fat?" Will eggs make you fat?" so that the electronic device can use the user's selected "does boiled eggs at night make you fat" as the search content, and then search for content related to "does eating boiled eggs at night make you fat" for the user.
  • candidate search content such as "Will eating boiled eggs at night make you fat?” Will eggs make you fat?”
  • the search content may be sent to the server.
  • the server may search for the search content and obtain all search results, which may be at least one of articles, pictures, audio, video, and the like.
  • the server may use the reading comprehension model to extract data related to the search content from the database as all search results of the search content.
  • the server preliminarily selects high-authoritative search results from authoritative institutions or persons from all search results, and/or preliminarily selects high-quality search results with more information content and higher relevance, as a basis for subsequent search processing The set of candidate search results.
  • the server extracts information from the candidate search result set to obtain the answer viewpoints corresponding to various search results related to the search content and the arguments supporting each answer viewpoint.
  • the server uses the text understanding technology to pre-extract the central idea of the article, obtain the answer point of view related to the title of the article, and the keywords supporting the answer of the point of view.
  • each answer point of view may be extracted from the candidate search result set.
  • the server if the search content belongs to the question of two viewpoints, the server performs binary classification on the candidate search result set to obtain binary classification results; aggregates the binary classification results to obtain two answer viewpoints corresponding to the search content. That is to say, for a question of two viewpoints in which the search content has opposite viewpoints, the server first uses a machine learning model to perform binary classification on the candidate search result set to obtain two types of search results. Then, the server aggregates the candidate search result set according to the binary classification results to obtain two opposing answer viewpoints of the search content.
  • the server if the search content belongs to a multi-viewpoint question, the server performs core viewpoint extraction on the candidate search result set, and performs viewpoint voting and clustering on the core viewpoint extraction results to obtain multiple answer viewpoints corresponding to the search content . That is, for multi-viewpoint questions with more than two viewpoints in the search content, the server first uses the short answer extraction model to extract the core viewpoints of each search result in the candidate search result set, and then uses the question-based natural language reasoning model for each Vote on each core point of view, and perform final clustering to get multiple answer points of view for the search content.
  • the server classifies the search results in the candidate search result set according to the obtained answer point of view, and obtains a type of search result corresponding to each answer point of view. For example, each search result that yields the same answer point of view in the set of candidate search results is divided into one category.
  • the arguments supported by the corresponding answer viewpoints may be extracted from a category of search results corresponding to each answer viewpoint.
  • the server first extracts key phrases from a category of search results corresponding to the answer point of view, and mines a keyword set. Then, the correlation between each keyword in the keyword set and the viewpoint of the answer is calculated, and all keywords are sorted, deduplicated and selected according to the correlation result to obtain multiple keywords under the viewpoint of the answer.
  • the selection operation here may be to intercept keywords from the keyword set according to principles such as relevance or quantity.
  • the server may pre-train a keyword extraction model, and then input a category of search results corresponding to a certain answer point of view, and output a set of keywords corresponding to the answer point of view through the operation of the keyword extraction model.
  • the keyword set can be directly used as multiple keywords under the answer point of view, or the keyword set can be sorted, deduplicated and selected after post-processing, and the finally obtained multiple keywords can be used as arguments for the answer point of view.
  • the server obtains the answers and views related to the search content, the keywords corresponding to each answer and a search result, and feeds back any information in the above-mentioned information it needs to the electronic device.
  • each answer viewpoint corresponds to a type of search result
  • the search result is the result obtained by searching the search content
  • the first content includes keywords, keywords It is used to indicate the reason for displaying the target answer viewpoint among multiple answer viewpoints, and the keyword is extracted from the target category search results corresponding to the target answer viewpoint.
  • the search result interface may be used to display information associated with the search content entered by the user.
  • the search result interface may at least display multiple answer viewpoints and the first content corresponding to the search content.
  • the first content refers to the content displayed in the search result interface, except for the viewpoint of the answer.
  • the first content contains at least keywords under a certain answer point of view (ie, the target answer point of view), which is used to more intuitively and concisely present the reasons for obtaining the target answer point of view for the search content, so that users can be more Get information quickly.
  • the target-type search result refers to a type of search result corresponding to the target answer point of view.
  • the electronic device acquires corresponding information from the server according to the information that can be displayed on the search result interface. For example, the electronic device receives multiple answer viewpoints and keywords under the target answer viewpoint sent by the server. Then, the electronic device displays keywords under the plurality of answer viewpoints and the target answer viewpoint on the search result interface.
  • the display position and display style of multiple answer viewpoints in the search result interface, as well as the positional relationship and display style between keywords and answer viewpoints are not limited.
  • the content search method in the embodiment of the present disclosure when searching for the search content, can display the answer viewpoints corresponding to various search results obtained in the search result interface in the search result interface, and at the same time display the first Content, for example, the keywords extracted from the target search results corresponding to the target answer views in these answer views, so that users can directly display the target answer views through keywords without the need for users to analyze a large number of search results.
  • Reasons enable users to quickly understand the supporting arguments of the target answer point of view, improve the comprehensiveness and refinement of search results presented by search engines, thereby improving the efficiency of screening search results and improving user experience.
  • the display style of the answer point of view is further limited in the embodiment of the present disclosure.
  • the target answer idea is the answer idea displayed as selected.
  • the display style of the target answer viewpoint is set as the display style corresponding to the selected state.
  • the display style corresponding to the selected state here can be at least one of the display styles such as the control where the target answer point of view has a border, the control has shading, the control is enlarged, and the text in the control is bold, italic, or different in color, as long as it can be distinguished from The display style corresponding to the unselected state is fine.
  • Fig. 2 shows a schematic diagram of a search result interface provided by an embodiment of the present disclosure.
  • the electronic device 201 may display a search result interface 202 for searching for "does eating boiled eggs at night make you fat?"
  • search content "does eating boiled eggs at night make you fat”
  • number of search results in the candidate search result set "a summary of 346 selected results”.
  • two answer viewpoints of "will not get fat” and “will be fat” are displayed horizontally, as well as “boiling will not make you fat” displayed below the two answer viewpoints in the middle area 203, Key words such as “low calorie will not make you fat", "high protein will not make you fat”.
  • the target answer point of view "will not be fat” is displayed as a selected state with shading.
  • a plurality of search results are displayed in the lower area 204 of the search result interface 202 .
  • These search results can be part of all search results for the search content, part of the target search results for the selected target answer viewpoint, or a search for a certain keyword in the target answer viewpoint part of the result.
  • the multiple search results displayed in the lower area 204 should be comprehensively sorted according to dimensions such as relevance to the search content and importance of the search results.
  • the display order of the answer viewpoints is further limited in the embodiment of the present disclosure.
  • the display order of multiple answer viewpoints in the search display interface may be randomly arranged.
  • multiple answer viewpoints are arranged and displayed according to the order of target viewpoints, and the sequence of target viewpoints is determined according to the number of search results of a category corresponding to each answer viewpoint; the target answer viewpoint is the first answer viewpoint.
  • the number of search results in a category of search results corresponding to each answer viewpoint is to many The answers are sorted and displayed. This is because the number of search results can largely reflect the number of people supporting the corresponding answer point of view, which also reflects the importance of the corresponding answer point of view.
  • the target answer point of view as the first answer point of view, that is, the answer point of view with the most support, so that the keywords under the target answer point of view can also be displayed first, so that users can directly see the answer point of view and arguments with the most support rate .
  • the number of search results in a category of search results corresponding to the corresponding answer point of view may be displayed below each answer point of view.
  • “273 articles” are displayed under the viewpoint of the answer "will not be fat”
  • “73 articles” are displayed under the viewpoint of the answer "will be fat”.
  • the two answer points are arranged according to the number of articles. For example, “will not be fat” with a large number of articles is arranged before "will be fat” with a small number of articles.
  • the embodiment of the present disclosure in order to further enhance the intuition and importance of certain information in the search result interface, the embodiment of the present disclosure further limits the display position of the answer point of view and/or the first content.
  • multiple answer viewpoints are displayed in the same area, and the first content is displayed in the display area to which the multiple answer viewpoints belong.
  • multiple answer viewpoints are displayed in the same area of the search result interface.
  • multiple answer ideas are displayed side by side in the same area.
  • the first content is also displayed in the area where the answer viewpoint is located.
  • the first content is displayed on peripheral positions such as above, below, left or right of multiple answer viewpoints.
  • the two answer viewpoints of "won't be fat” and “will be fat” are displayed in the middle area 203 horizontally, and multiple keywords are displayed below the answer viewpoints in the middle area 203 .
  • multiple answer viewpoints are displayed in different areas, and the first content is displayed in the display area to which the target answer viewpoint belongs.
  • each answer point of view is displayed in different areas of the search result interface.
  • multiple answer viewpoints are displayed vertically, and each row is a display area, which is only used to display one answer viewpoint.
  • the first content belonging to a certain answer point of view is displayed in the display area where the answer point of view is located.
  • a plurality of keywords belonging to the viewpoint of the target answer are displayed in the display area where the viewpoint of the target answer is located, and these keywords may be displayed at positions in different orientations such as up, down, left, and right of the viewpoint of the target answer.
  • This display method is also applicable to the display of search results for two-type viewpoint questions and multi-viewpoint questions. In this way, the answer viewpoints and keywords can be displayed more comprehensively, and it is especially suitable for a situation where there are many answer viewpoints and keywords.
  • Fig. 3 shows a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • the electronic device 301 may display a search result interface 302 for searching "what gift is good to give to a boyfriend's house for the first time".
  • the search content "What gift is good for the first time to go to boyfriend's house” and the number of search results in the candidate search result set "summary of 4065 selected results”.
  • the search result interface 302 In the first area 303 , the second area 304 , and the third area 305 of the search result interface 302 , multiple answer viewpoints of "tea”, “nutrients” and “seasonal fruits” are vertically displayed respectively.
  • the number of search results corresponding to one category is displayed below each answer point of view, and "tea”, “nutrients” and “seasonal fruits” are arranged in descending order according to the number of search results 2733, 733 and 433 respectively.
  • Under the "tea” viewpoint in the first region 303 are also displayed corresponding keywords "health”, “health preservation”, “cultural inheritance”, and multiple search results corresponding to the "tea” viewpoint or a certain keyword.
  • the target answer point of view "tea leaf” is in a selected state in a manner of displaying further content such as keywords by pulling down.
  • multiple answer viewpoints are displayed in the search result interface.
  • only multiple answer viewpoints are displayed in the initial state of the search result interface.
  • S120 includes: when the first trigger operation is detected, displaying the first content in the search result interface, and the target answer viewpoint is the answer viewpoint selected by the first trigger operation.
  • the first trigger operation may include an operation for controlling the display of the first content in the search result interface, such as a gesture control operation, a voice control operation, or an expression control operation on the search result interface, which is not limited here.
  • the display of the first content is triggered by the user.
  • the first content containing at least keywords will be displayed in the display area where "tea" is located, as shown in Figure 3 .
  • the switch display of the answer point of view after the first content is displayed is limited.
  • the first content is replaced with the third content for display; wherein, the third content includes a keyword, and the keyword is used to indicate that the third trigger operation is displayed.
  • the reason for the other answer point of view corresponding to the operation, the keyword is extracted from other types of search results corresponding to the other answer point of view, and the other type of search results are the type of search results corresponding to other answer points of view.
  • the third triggering operation may include operations such as gesture control operations, voice control operations, or expression control operations on the search result interface to control the display of third content in the search result interface, which is not limited here.
  • the third content corresponding to the other answer viewpoints may be displayed in the search result interface instead of the first content.
  • the target answer viewpoint may be displayed as an unselected state, and other answer viewpoints corresponding to the third trigger operation may be displayed as a selected state.
  • the first content displayed in the drop-down of the target answer viewpoint is collapsed, and only the target answer viewpoint and the number of search results are displayed, and at the same time, the drop-down display area corresponding to other answer viewpoints Display the third content.
  • the information contained in the first content is further limited in the embodiments of the present disclosure.
  • the first content further includes an abstract of the viewpoint of the answer, and the abstract of the viewpoint of the answer is generated according to the search result of the target category.
  • the summary of the answer point of view refers to a summary generated for a certain answer point of view, which can display the information of the answer point of view in more detail and comprehensively.
  • the summary of the answer point of view is generated according to all the search results corresponding to the answer point of view.
  • the content of the abstract should include at least the number of xx authoritative articles or people who support it, and the core points of each article supporting the answer. If the core points are too long, they need to be rewritten appropriately.
  • the final form of the abstract can be: Yes xx authoritative opinion + answer point of view + core evidence supporting the answer point of view + objections or points that need attention in one or several authoritative articles.
  • the summary of the answer point of view obtained through the above method can be: “xxx, xxx and other more than 2,000 nutritionists from top three hospitals recommend” +Core point of view: Eating boiled eggs at night will not gain weight+Evidence: Because boiled eggs are the ingredients of eggs themselves, without salt, oil and sugar, they are very healthy food+Notes or objections: But eat at night Pay attention to the time and don't eat two hours before going to bed.
  • Fig. 5 shows a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • an electronic device 501 may display a search result interface 502 for searching "does eating boiled eggs at night make you fat?"
  • search result interface 502 For searching "does eating boiled eggs at night make you fat?"
  • search content "does eating boiled eggs at night make you fat”
  • number of search results in the candidate search result set "selected 6121 authoritative search results”.
  • a comprehensive search result may be displayed in the lower area of the search result interface 502, that is, a comprehensive ranking result of multiple search results for the search content.
  • the first content may also include the number of search results corresponding to each keyword in the target search results. In this embodiment, for each keyword, the number of search results corresponding to the corresponding keyword is counted.
  • richer search result information may also be displayed on the search result interface.
  • second content is also displayed in the search result interface; wherein, the second content includes at least one of a keyword summary and a target search result, the keyword summary is generated according to the target search result, and the target search result is the target The search results related to the target keywords in the keywords in the class search results.
  • the keyword abstract refers to an abstract generated for a certain keyword, which can display the information of the keyword in more detail and comprehensively.
  • the keyword summary is generated according to the search results (that is, the target search results) related to the target keyword in the target category search results corresponding to the target answer viewpoints containing the target keyword.
  • the structure and generation method of the keyword summary can be the same as the structure and generation method of the answer opinion summary.
  • the second content may be the content of the target keyword
  • the keyword summary may also be the target search result, or may be a combination of the keyword summary and the target search result.
  • the target keyword is a keyword displayed in a selected state.
  • the display style of the target keyword is set as the display style corresponding to the selected state.
  • the search result interface may simultaneously display the first content including key words and an abstract of answer viewpoints, and the second content.
  • Fig. 6 shows a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • an electronic device 601 may display a search result interface 602 for searching "does eating boiled eggs at night make you fat?"
  • search result interface 602 At the top of the search result interface 602 is displayed the search content "does eating boiled eggs at night make you fat" and the number of search results in the candidate search result set "selected 6121 authoritative search results”.
  • the answer point of view abstract 603 with the target answer point of view "not fat” is displayed, and the keyword 604 is displayed under the answer point of view summary 603, and the selected target keyword "low calorie” is also displayed under the keyword 604
  • the keyword summary 605 of the keyword summary 605, and the target search result 606 for the target keyword can also be displayed below the keyword summary 605.
  • the arrangement order among the answer opinion summary 603 , keywords 604 , keyword summary 605 and target search results 606 can be changed, but it is necessary to ensure that the relationship between the contents is clear.
  • the answer point of view summary needs to show that it is a summary of the target answer point of view
  • the keyword summary needs to show that it is a summary of the target keyword
  • the target search result needs to show multiple search results actually corresponding to the target keyword.
  • the first content containing only keywords and the second content may be simultaneously displayed on the search result interface.
  • Fig. 7 shows a schematic diagram of another search result interface provided by an embodiment of the present disclosure.
  • an electronic device 701 may display a search result interface 702 for searching "does eating boiled eggs at night make you fat?"
  • search result interface 702 For searching "does eating boiled eggs at night make you fat?"
  • search content "does eating boiled eggs at night make you fat”
  • number of search results in the candidate search result set "selected 6121 authoritative search results”.
  • a keyword 703 is displayed below the answer point of view, and a keyword summary 704 of the target keyword "low calorie" is also displayed below the keyword 703, and a target search result 705 for the target keyword can also be displayed below the keyword summary 704 . It should be understood that only one of the keyword summary 704 and the target search result 705 may be displayed.
  • the display order of keywords is further limited in the embodiment of the present disclosure.
  • multiple keywords are randomly arranged.
  • keywords are arranged and displayed according to the order of target keywords, and the order of target keywords is determined according to the number of search results corresponding to each keyword in the target search results; wherein, the target keyword is the first keyword.
  • the multiple keywords are sorted and displayed according to the number of search results corresponding to each keyword.
  • set the target keyword as the first keyword that is, the keyword with the most support, so that more information corresponding to the target keyword can be displayed first, so that users can directly see the arguments with the most support.
  • keywords such as “low calorie”, “boiled health”, “indigestible”, “high protein”, “no oil and salt” and “weight loss” are arranged in descending order according to the number of corresponding search results.
  • the summary of the answer point of view is replaced with the second content for display; wherein, the second content includes at least one of keyword summary and target search results,
  • the keyword summary is generated according to the target search result, the target search result is the search result involving the target keyword in the keywords in the target search result, and the target keyword is the keyword selected by the second trigger operation.
  • the second trigger operation may include an operation for controlling the display of the second content in the search result interface, such as a gesture control operation, a voice control operation, or an expression control operation on the search result interface, which is not limited here.
  • the second content is displayed through a user's trigger operation, and it may cover the summary of the answer point of view for display.
  • the display content of the search result interface 502 in FIG. 5 when the user clicks on the keyword control that triggers "boiled health", as shown in FIG. 8, in the search result interface 802 in the electronic device 801, "boiled health The keyword of " is displayed as a selected state, and the target keyword is "boiled health”, and the answer point of view summary in the middle area 503 of the search result interface 502 is replaced by the keyword summary 804 below the keyword 803 and the target search The result is 805.
  • the target keyword included in the second content is displayed in a selected state. Regardless of whether the second content is a keyword summary or a target search result, words highly related to the target keyword are all displayed as selected. In this way, it is more convenient for the user to quickly locate the content related to the keyword.
  • the display mode of switching keywords is limited.
  • first content and second content are displayed in the search result interface, when a fourth trigger operation is detected, the second content is replaced with the fourth content; wherein, the fourth content Including at least one of other keyword summaries of other keywords corresponding to the fourth trigger operation and other search results, the other keyword summaries are generated according to the other search results, and the other search results are search results related to other keywords.
  • the fourth trigger operation may include operations such as gesture control operations, voice control operations, or expression control operations on the search result interface for controlling the display of the fourth content in the search result interface, which is not limited here.
  • first content and second content after displaying a plurality of answer viewpoints, first content and second content, if the user clicks and triggers other keywords different from the target keyword in the current search result interface, then in the second content In the same area, the second content is hidden, and the fourth content corresponding to other keywords is displayed.
  • the target keyword may be displayed in an unselected state, while other keywords corresponding to the fourth trigger operation may be displayed in a selected state.
  • An embodiment of the present disclosure also provides a content search device, which will be described below with reference to FIG. 9 .
  • the content search apparatus may be an electronic device.
  • electronic equipment may include but not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs, PADs, PMPs, vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable devices, etc., and mobile terminals such as digital TVs, desktop Stationary terminals for computers, smart home devices, and more.
  • Fig. 9 shows a schematic structural diagram of a content search device provided by an embodiment of the present disclosure.
  • the content search apparatus 900 may include a content receiving unit 910 and a first display unit 920 .
  • the content receiving unit 910 may be configured to receive search content.
  • the first display unit 920 can be configured to display a plurality of answer viewpoints and first content in the search result interface; wherein, each answer viewpoint corresponds to a type of search result, and the search result is the result obtained by searching the search content, and the first
  • the content includes keywords, which are used to indicate the reason for displaying the target answer viewpoint among the plurality of answer viewpoints, and the keywords are extracted from the target category search results corresponding to the target answer viewpoint.
  • the first content in the search result interface when searching for the search content, it is possible to display the first content in the search result interface while displaying the answer viewpoints corresponding to various search results obtained in the search result interface, for example, from
  • the keywords extracted from the target search results corresponding to the target answer viewpoints in these answer viewpoints can directly display the reasons for displaying the target answer viewpoints to users without the need for users to analyze a large number of search results, so that users can Quickly understand the supporting arguments of the target answer point of view, improve the comprehensiveness and refinement of the search results presented by the search engine, thereby improving the screening efficiency of the search results, and thereby improving the user experience.
  • the target answer idea is the answer idea displayed as selected.
  • multiple answer viewpoints can be arranged and displayed according to the order of target viewpoints, and the sequence of target viewpoints is determined according to the number of search results of a category corresponding to each answer viewpoint;
  • the target answer viewpoint is the first answer viewpoint.
  • the content search device further includes a second display unit, which can be configured to display a plurality of answers in the search result interface before displaying the plurality of answer ideas and the first content in the search result interface View;
  • the first display unit 920 is further configured to display the first content in the search result interface when the first trigger operation is detected, and the target answer viewpoint is the answer viewpoint selected by the first trigger operation.
  • multiple answer viewpoints are displayed in the same area, and the first content is displayed in the display area to which the multiple answer viewpoints belong.
  • multiple answer viewpoints are displayed in different areas, and the first content is displayed in the display area to which the target answer viewpoint belongs.
  • the first content further includes an abstract of the viewpoint of the answer, and the abstract of the viewpoint of the answer is generated according to the search result of the target category.
  • the first content also includes the number of search results corresponding to each keyword in the target search results.
  • second content is also displayed in the search result interface
  • the second content includes at least one of a keyword summary and a target search result
  • the keyword summary is generated according to the target search result
  • the target search result is a search result related to the target keyword in the keywords in the target search result
  • the target keyword is a keyword displayed in a selected state.
  • keywords are arranged and displayed according to the order of target keywords, and the order of target keywords is determined according to the number of search results corresponding to each keyword in the target search results;
  • the target keyword is the first keyword.
  • the content search device further includes a third display unit, which can be configured to display a plurality of answer viewpoints and the first content in the search result interface, when a second trigger operation is detected , replace the summary of the answer point of view with the second content for display;
  • the second content includes at least one of a keyword summary and a target search result
  • the keyword summary is generated according to the target search result
  • the target search result is a search result involving a target keyword in the keywords in the target search result
  • the target The keyword is the keyword selected by the second trigger operation.
  • the content search device 900 shown in FIG. 9 can execute each step in the method embodiment shown in FIG. 1 to FIG. 8 , and realize each process and effects, which will not be described here.
  • An embodiment of the present disclosure also provides a content search device.
  • the content search device may include a processor and a memory, and the memory may be used to store executable instructions.
  • the processor may be configured to read executable instructions from the memory, and execute the executable instructions to implement the content search method in the above embodiments.
  • FIG. 10 shows a schematic structural diagram of a content search device provided by an embodiment of the present disclosure. Referring specifically to FIG. 10 , it shows a schematic structural diagram of a content search device 1000 suitable for implementing an embodiment of the present disclosure.
  • the content search device 1000 in the embodiment of the present disclosure may be an electronic device.
  • the electronic equipment may include but not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs, PADs, PMPs, vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable devices, etc., and mobile terminals such as digital TVs, Stationary terminals for desktop computers, smart home devices, and more.
  • the content search device 1000 shown in FIG. 10 is only an example, and should not limit the functions and scope of use of this embodiment of the present disclosure.
  • the content search device 1000 may include a processing device 1001 (for example, a central processing unit, a graphics processing unit, etc.), which may be randomly accessed according to a program stored in a read-only memory ROM 1002 or loaded from a storage device 1008. Various appropriate actions and processes are executed by using programs in the memory RAM 1003. In RAM 1003, various programs and data necessary for the operation of information processing apparatus 1000 are also stored.
  • the processing device 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004.
  • An input/output (I/O) interface 1005 is also connected to the bus 1004 .
  • the following devices can be connected to the I/O interface 1005: input devices 1006 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 1007 such as a computer; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009.
  • the communication means 1009 may allow the content search device 1000 to perform wireless or wired communication with other devices to exchange data. While FIG. 10 shows a content search apparatus 1000 having various means, it should be understood that implementing or possessing all of the illustrated means is not a requirement. More or fewer means may alternatively be implemented or provided.
  • An embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the content search method in the above-mentioned embodiments.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via the communication means 1009, or from the storage means 1008, or from the ROM 1002.
  • the processing device 1001 the above-mentioned functions defined in the content search method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • clients and servers can communicate using any currently known or future developed network protocol, such as HTTP, and can be interconnected with any form or medium of digital data communication (eg, a communication network).
  • a communication network examples include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • LANs local area networks
  • WANs wide area networks
  • Internet internetworks
  • peer-to-peer networks e.g., ad hoc peer-to-peer networks
  • the above-mentioned computer-readable medium may be contained in the above-mentioned content search device; it may also exist independently without being assembled into the content search device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the content search device, the content search device is made to perform:
  • each answer viewpoint corresponds to a type of search result
  • the search result is the result obtained by searching the search content
  • the first content includes keywords
  • the keyword is used to indicate the reason for displaying the target answer viewpoint among the multiple answer viewpoints, and the keyword is extracted from the target category search results corresponding to the target answer viewpoint.
  • computer program codes for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional procedural programming languages—such as "C" or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLDs Complex Programmable Logical devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

提供了一种内容搜索方法、装置、设备及介质。其中,内容搜索方法包括:接收搜索内容(S110);在搜索结果界面内显示多个答案观点和第一内容;其中,每个答案观点对应一类搜索结果,搜索结果为对搜索内容进行搜索得到的结果,第一内容包括关键词,关键词用于指示显示多个答案观点中的目标答案观点的原因,关键词从目标答案观点对应的目标类搜索结果中提取得到(S120)。

Description

内容搜索方法、装置、设备及介质
相关申请的交叉引用
本申请是以申请号为202110693309.3,申请日为2021年6月22日的中国申请为基础,并主张其优先权,该中国申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及内容搜索技术领域,尤其涉及一种内容搜索方法、装置、设备及介质。
背景技术
搜索引擎(Search Engine)是指根据一定的策略、运用特定的计算机程序搜集互联网上的信息,在对信息进行组织和处理后,为用户提供检索服务的系统。搜索引擎的出现,为用户使用网络信息提供了便利性,用户可以从互联网提供的海量数据中检索出自己需要的信息。
发明内容
本公开提供了一种内容搜索方法、装置、设备及介质。
第一方面,本公开提供了一种内容搜索方法,包括:
接收搜索内容;
在搜索结果界面内显示多个答案观点和第一内容;其中,每个答案观点对应一类搜索结果,搜索结果为对搜索内容进行搜索得到的结果,第一内容包括关键词,关键词用于指示显示多个答案观点中的目标答案观点的原因,关键词从目标答案观点对应的目标类搜索结果中提取得到。
第二方面,本公开提供了一种内容搜索装置,包括:
内容接收单元,配置为接收搜索内容;
第一显示单元,配置为在搜索结果界面内显示多个答案观点和第一内容;其中,每个答案观点对应一类搜索结果,搜索结果为对搜索内容进行搜索得到的结果,第一内容包括关键词,关键词用于指示显示多个答案观点中的目标答案观点的原因,关键词从目标答案观点对应的目标类搜索结果中提取得到。
第三方面,本公开提供了一种内容搜索设备,包括:
处理器;
存储器,用于存储可执行指令;
其中,处理器用于从存储器中读取可执行指令,并执行可执行指令以实现第一方面所述的内容搜索方法。
第四方面,本公开提供了一种计算机可读存储介质,该存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器实现第一方面所述的内容搜索方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种内容搜索方法的流程示意图;
图2为本公开实施例提供的一种搜索结果界面的示意图;
图3为本公开实施例提供的又一种搜索结果界面的示意图;
图4为本公开实施例提供的又一种搜索结果界面的示意图;
图5为本公开实施例提供的再一种搜索结果界面的示意图;
图6为本公开实施例提供的再一种搜索结果界面的示意图;
图7为本公开实施例提供的再一种搜索结果界面的示意图;
图8为本公开实施例提供的再一种搜索结果界面的示意图;
图9为本公开实施例提供的一种内容搜索装置的结构示意图;
图10为本公开实施例提供的一种内容搜索设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至 少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
在现有的搜索引擎中,当用户进行内容搜索时,通常需要用户对所展示的大量搜索结果进行分析来获取所需内容,造成用户获取信息的效率较低,降低了用户的体验。
在现有的搜索引擎中,当用户输入搜索内容进行信息搜索时,所显示的搜索结果往往不够全面或者不够简练。例如,用户进行观点/答案/解决方法的搜索时,搜索引擎所呈现的搜索结果要么是从候选集选取最佳答案,以展现满足需求的精准结果,要么是按照某些属性的综合得分对搜寻到的全网结果进行排序,以展现满足需求的全部结果,使得搜索结果往往不够全面或者呈现方式不够直观、简洁,导致用户需要对所展示的大量搜索结果进行二次分析来获取所需内容,影响用户获取信息的效率,降低了用户的体验。
为了解决上述问题,本公开实施例提供了一种在存在至少两种观点的搜索场景下,能够更加全面、更加直观地呈现更多搜索结果的内容搜索方法、装置、设备及介质。
下面首先结合图1-8对本公开实施例提供的内容搜索方法进行说明。
在本公开实施例中,该内容搜索方法可以由电子设备执行。其中,电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴设备等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。
图1示出了本公开实施例提供的一种内容搜索方法的流程示意图。如图1所示,该内容搜索方法可以包括如下步骤。
S110、接收搜索内容。
其中,搜索内容是指用户输入的、需要搜索引擎执行搜索操作并反馈搜索结果的内容,其可以是关键词,也可以是完整的长短句。
本公开实施例中,可选地,搜索内容可以是用于寻求答案、或观点、或解决方法等的内容。
在本公开实施例中,电子设备可以接收用户在特定应用程序或者特定网站的内容搜索页面内输入的搜索内容。
在一些实施例中,用户可以在内容搜索页面内的搜索框内输入文字、语音和图像等中的任一种形式的信息,使电子设备将用户输入的信息对应的文字作为用户输入的搜索内容。
例如,用户可以在内容搜索页面内的搜索框内输入文字信息“晚上吃水煮蛋会胖吗”,电子设备可以将“晚上吃水煮蛋会胖吗”作为搜索内容,进而为用户搜索与“晚上吃水煮蛋会胖吗”相关联的内容。
再例如,用户可以在内容搜索页面内的搜索框内输入语音信息“晚上吃水煮蛋会胖吗”,电子设备可以对语音信息进行语音识别处理,得到搜索内容“晚上吃水煮蛋会胖吗”,进而为用户搜索与“晚上吃水煮蛋会胖吗”相关联的内容。
又例如,用户可以在内容搜索页面内的搜索框内输入带有“晚上吃水煮蛋会胖吗”文字的图像或者带有“晚上吃水煮蛋会胖吗”画面内容的图像,电子设备可以对图像进行图像文本识别处理或者图像内容识别处理,得到搜索内容“晚上吃水煮蛋会胖吗”,进而为用户搜索与“晚上吃水煮蛋会胖吗”相关联的内容。
在另一些实施例中,内容搜索页面内还可以显示有多个候选搜索内容,用户可以在显示的候选搜索内容中进行选择,使电子设备将用户选中的候选搜索内容作为搜索内容。
例如,内容搜索页面内可以显示有候选搜索内容如“晚上吃水煮蛋会胖吗”、“鸡蛋怎么吃不会胖”、“适合减脂的食物有哪些”等,用户可以选中“晚上吃水煮蛋会胖吗”,使电子设备可以将用户选中的“晚上吃水煮蛋会胖吗”作为搜索内容,进而为用户搜索与“晚上吃水煮蛋会胖吗”相关联的内容。
具体地,在电子设备接收到用户输入的搜索内容之后,可以将该搜索内容发送至服务器。服务器可以对该搜索内容进行搜索,并得到所有的搜索结果,该搜索结果可以是文章、图片、音频、视频等中的至少一种。例如,服务器可通过阅读理解模型,针对搜索内容从数据库中抽取与该搜索内容相关的数据,作为该搜索内容的所有的搜索结果。然后,服务器从所有的搜索结果中初步筛选出自权威机构或权威人士的高权威的搜索结果,和/或初步筛选信息含量更多、相关度更高的高质量的搜索结果,作为后续搜索处理的候选搜索结果集。之后,服务器对候选搜索结果集进行信息提取,以获得与搜索内容相关的各类搜索结 果对应的答案观点以及支撑每个答案观点的论据。例如,服务器利用篇章理解技术,预先提取文章阐述的中心思想,获取和文章标题相关的答案观点,以及支撑该观点答案的关键词。
在本公开实施例中,可以从候选搜索结果集中提取各个答案观点。
在一些实施例中,若搜索内容属于两观点类问题,则服务器对候选搜索结果集进行二分类,获得二分类结果;对二分类结果进行聚合,得到搜索内容对应的两个答案观点。即对于搜索内容属于有对立答案观点的两观点类问题,服务器先通过机器学习模型对候选搜索结果集进行二分类,获得两类搜索结果。然后,服务器根据二分类结果对候选搜索结果集进行聚合,得到搜索内容的两个对立的答案观点。
在另一些实施例中,若搜索内容属于多观点类问题,则服务器对候选搜索结果集进行核心观点抽取,并对核心观点抽取结果进行观点投票和聚类,得到搜索内容对应的多个答案观点。即对于搜索内容属于有大于两个观点的多观点类问题,服务器先通过短答案抽取模型,抽取出候选搜索结果集中每个搜索结果的核心观点,然后通过基于问题的自然语言推理模型,对每个核心观点进行投票,并进行最终聚类,得到搜索内容的多个答案观点。之后,服务器根据获得的答案观点对候选搜索结果集中的搜索结果进行分类,得到每个答案观点对应的一类搜索结果。例如,将候选搜索结果集中得出同一答案观点的各搜索结果划分为一类。
在本公开实施例中,对于支撑观点答案的论据(即关键词)的获取,可以从每个答案观点对应的一类搜索结果中提取得到相应答案观点下支撑的论据。
在一些实施例中,针对每个答案观点,服务器先从该答案观点对应的一类搜索结果中进行关键短语抽取,挖掘出关键词集合。然后,计算关键词集合中每个关键词与该答案观点的相关性,并根据该相关性结果对所有关键词进行排序、去重和选取等处理,得到该答案观点下的多个关键词。这里的选取操作可以是按相关度或数量等原则从关键词集合中截取关键词。
在另一些实施例中,服务器可以预先训练关键词抽取模型,然后以某一答案观点对应的一类搜索结果为输入,通过该关键词抽取模型的运行,输出该答案观点对应的关键词集合。该关键词集合可以直接作为该答案观点下的多个关键词,也可以是对该关键词集合进行排序、去重和选取等后处理,最终得到的多个关键词作为该答案观点的论据。
服务器经过上述过程便获得搜索内容相关答案观点、每个答案观点对应的关键词和一 类搜索结果,并向电子设备反馈其所需的上述信息中的任一信息。
S120、在搜索结果界面内显示多个答案观点和第一内容;其中,每个答案观点对应一类搜索结果,搜索结果为对搜索内容进行搜索得到的结果,第一内容包括关键词,关键词用于指示显示多个答案观点中的目标答案观点的原因,关键词从目标答案观点对应的目标类搜索结果中提取得到。
其中,搜索结果界面可以用于向用户展示与其输入的搜索内容相关联的信息。本公开实施例中,搜索结果界面至少可以显示搜索内容对应的多个答案观点和第一内容。第一内容是指搜索结果界面中展示的、除了答案观点之外的内容。本公开实施例中第一内容中至少包含某一个答案观点(即目标答案观点)下的关键词,其用于更加直观和简洁地呈现针对搜索内容得到目标答案观点的原因,以使用户可以更加快速地获取信息。目标类搜索结果是指目标答案观点对应的一类搜索结果。
具体地,电子设备根据搜索结果界面可以显示的信息,从服务器获取对应信息。例如,电子设备接收服务器发送的多个答案观点和目标答案观点下的关键词。然后,电子设备将多个答案观点和目标答案观点下的关键词显示在搜索结果界面中。多个答案观点在搜索结果界面中的显示位置和显示样式,以及关键词和答案观点之间的位置关系和显示样式均不作限定。
综上,本公开实施例的内容搜索方法,在对搜索内容进行搜索时,能够在搜索结果界面内显示搜索得到的各类搜索结果所对应的答案观点的同时,在搜索结果界面内显示第一内容,例如,从这些答案观点中的目标答案观点对应的目标类搜索结果中提取得到的关键词,进而无需用户对大量搜索结果进行分析,即可以直接通过关键词向用户展示显示目标答案观点的原因,使得用户可以快速了解目标答案观点的支持论点,提高搜索引擎呈现搜索结果的全面性和精炼程度,从而提高对搜索结果的筛选效率,进而提升用户体验。
在本公开又一种实施方式中,为了进一步增强搜索结果界面中某些信息的直观性和重要性,本公开实施例中对答案观点的显示样式进行进一步限定。
在一些实施例中,目标答案观点为显示为选中状态的答案观点。为了便于用户确定第一内容中的关键词是归属于哪个答案观点,本实施例中将目标答案观点的显示样式设置为选中状态对应的显示样式。这里选中状态对应的显示样式可以是目标答案观点所在的控件有边框,控件有底纹,控件放大,控件中文字加粗、斜体或颜色不同等显示样式中的至少一项,只要其能够区别于未选中状态对应的显示样式即可。
图2示出了本公开实施例提供的一种搜索结果界面的示意图。
如图2所示,电子设备201可以显示有针对“晚上吃水煮蛋会胖吗”进行搜索的搜索结果界面202。在搜索结果界面202的最上方显示有搜索内容“晚上吃水煮蛋会胖吗”及针对其搜索所得的候选搜索结果集中的搜索结果的数量“汇总346条精选结果”。在搜索结果界面202的中部区域203横排显示有“不会胖”和“会胖”的两个答案观点,以及显示于中部区域203的两个答案观点下方的“水煮不会胖”、“低热量不会胖”、“高蛋白不会胖”等关键词。同时,将目标答案观点“不会胖”显示为有底纹的选中状态。
在搜索结果界面202的下部区域204显示有多条搜索结果。这些搜索结果可以是针对搜索内容的所有搜索结果中的一部分,也可以是针对选中状态的目标答案观点的目标类搜索结果中的一部分,还可以是针对目标答案观点中的某一个关键词的搜索结果中的一部分。下部区域204中显示的多条搜索结果应当是按照与搜索内容的相关度、搜索结果的重要程度等维度进行综合排序后的结果。
在本公开又一种实施方式中,为了进一步增强搜索结果界面中某些信息的直观性和重要性,本公开实施例中对答案观点的显示顺序进行进一步限定。
在一些实施例中,多个答案观点在搜索显示界面中的显示顺序可以是随机排列的。
在另一些实施例中,多个答案观点按照目标观点顺序排列显示,目标观点顺序根据每个答案观点对应的一类搜索结果数量确定;目标答案观点为首个答案观点。考虑到存在多个答案观点,且每个答案观点的重要程度不同,为了进一步减少用户筛选信息的过程,本实施例中按照每个答案观点对应的一类搜索结果中的搜索结果的数量对多个答案观点进行排序显示。这是因为搜索结果的数量很大程度上能够反映支持相应答案观点的人数,也就反映相应答案观点的重要程度。在此基础上,将目标答案观点设置为首个答案观点,即支持人数最多的答案观点,这样也能首先显示目标答案观点下的关键词,让用户可以直接看到支持率最多的答案观点及论据。
继续参见图2,在搜索结果界面202的中部区域203中,每个答案观点的下方还可以显示相应答案观点对应的一类搜索结果中的搜索结果的数量。例如,“不会胖”答案观点下方显示“273篇文章”,“会胖”答案观点下方显示“73篇文章”。两个答案观点按照该文章数量排列。例如,文章数量较多的“不会胖”排列于文章数量较少的“会胖”之前。同时,将“不会胖”的首个答案观点确认为目标答案观点,并将其显示为有底纹的选中状态。
在本公开又一种实施方式中,为了进一步增强搜索结果界面中某些信息的直观性和重 要性,本公开实施例中对答案观点和/或第一内容的显示位置进行进一步限定。
在一些实施例中,多个答案观点同区域显示,第一内容显示于多个答案观点所属的显示区域内。本实施例中,多个答案观点显示在搜索结果界面的同一区域内。例如,多个答案观点横排显示在同一区域。第一内容也显示在答案观点所在的区域内。例如,第一内容显示在多个答案观点的上方、下方、左侧或右侧等周边位置。该显示方式适用于两类观点问题的搜索结果展示,也适用于多观点问题的搜索结果展示。这样便于用户先了解所有的答案观点,再根据其需求来查看关键词。
继续参见图2,“不会胖”和“会胖”的两个答案观点横排显示在中部区域203,并且多个关键词显示在中部区域203的答案观点的下方。
在另一些实施例中,多个答案观点分区域显示,第一内容显示于目标答案观点所属的显示区域内。本实施例中,各个答案观点分别显示在搜索结果界面的不同区域中。例如,多个答案观点竖排显示,每一行为一个显示区域,只用于显示一个答案观点。归属于某一答案观点的第一内容显示在该答案观点所在的显示区域。例如,属于目标答案观点的多个关键词显示在目标答案观点所在的显示区域,这些关键词可显示在目标答案观点的上、下、左、右等不同方位的位置处。该显示方式同样适用于两类观点问题和多观点问题的搜索结果展示。这样可以更加全面的显示答案观点和关键词,尤其适用于答案观点和关键词较多的情况。
图3示出了本公开实施例提供的又一种搜索结果界面的示意图。
如图3所示,电子设备301可以显示有针对“第一次去男友家送什么礼物好”进行搜索的搜索结果界面302。在搜索结果界面302的最上方显示有搜索内容“第一次去男友家送什么礼物好”及针对其搜索所得的候选搜索结果集中的搜索结果的数量“汇总4065条精选结果”。在搜索结果界面302的第一区域303、第二区域304和第三区域305分别竖排显示有“茶叶”、“营养品”和“当季水果”的多个答案观点。在每个答案观点的下方分别显示有对应一类搜索结果的数量,且“茶叶”、“营养品”和“当季水果”分别按照搜索结果数量2733篇、733篇和433篇降序排列。在第一区域303的“茶叶”观点下方还显示有对应的关键词“健康”、“养生”、“文化传承”,以及“茶叶”观点或某一关键词对应的多条搜索结果。目标答案观点“茶叶”以下拉显示关键词等更多内容的方式处于选中状态。
在又一些实施例中,在S120之前,在搜索结果界面内显示多个答案观点。本实施例中,搜索结果界面初始状态时仅显示多个答案观点。以搜索内容为“第一次去男友家送什么 礼物好”为例,如图4所示,电子设备401显示搜索结果界面402,在该搜索结果界面402中竖排显示“茶叶”、“营养品”、“当季水果”、“护肤品”和“烟酒”等答案观点,以及每个答案观点对应的一类搜索结果数量。
在该实施例的基础上,S120包括:当检测到第一触发操作时,在搜索结果界面内显示第一内容,目标答案观点为第一触发操作所选中的答案观点。
可选地,第一触发操作可以包括对搜索结果界面的手势控制操作、语音控制操作或者表情控制操作等用于控制搜索结果界面内的第一内容予以显示的操作,在此不作限制。
本实施例中,第一内容通过用户触发显示。例如,图4中,用户点击目标答案观点“茶叶”,便会在“茶叶”所在的显示区域下拉显示至少包含关键词的第一内容,如图3所示。
在本公开的又一种实施方式中,对显示第一内容后的答案观点切换显示进行限定。
在一些实施例中,在S120之后,当检测到第三触发操作时,将第一内容替换为第三内容进行显示;其中,第三内容包括关键词,该关键词用于指示显示第三触发操作对应的其他答案观点的原因,该关键词从该其他答案观点对应的其他类搜索结果中提取得到,其他类搜索结果为其他答案观点对应的一类搜索结果。
可选地,第三触发操作可以包括对搜索结果界面的手势控制操作、语音控制操作或者表情控制操作等用于控制搜索结果界面内的第三内容予以显示的操作,在此不作限制。
本实施例中,在显示第一内容之后,用户触发了区别于目标答案观点的其他答案观点后,可以用其他答案观点对应的第三内容替换第一内容显示在搜索结果界面中。
在一示例中,多个答案观点同区域显示时,在第一内容相同的区域中,隐藏第一内容,并显示第三内容。此外,为了突出其他答案观点,可以将目标答案观点显示为未选中状态,而将第三触发操作对应的其他答案观点显示为选中状态。
在另一示例中,多个答案观点分区域显示时,收起目标答案观点下拉显示的第一内容,仅显示目标答案观点及其搜索结果数量,同时,在其他答案观点对应的显示区域中下拉显示第三内容。
在本公开又一种实施方式中,为了进一步增加搜索结果界面内搜索结果的信息含量和直观性,本公开实施例中对第一内容所含信息进行进一步限定。
在一些实施例中,第一内容还包括答案观点摘要,答案观点摘要根据目标类搜索结果生成。
其中,答案观点摘要是指针对某一答案观点生成的摘要,其能够更加详细且全面地展 示该答案观点的信息。
本公开实施例中,答案观点摘要是根据该答案观点对应的所有搜索结果生成。例如,摘要的内容至少包含有xx权威文章或人士支持的个数,和各个支持该答案观点的文章的核心要点,若核心要点过长则需适度改写,最终生成的摘要的形式可以是:有xx权威人士认为+答案观点+支持该答案观点的核心证据+某篇或某几篇权威文章里的异议或需要注意的地方。
以搜索内容“晚上吃煮鸡蛋会胖吗”、目标答案观点“不会胖”为例,通过上述方法所得的答案观点摘要可以是:“xxx、xxx等超过2000位三甲医院营养科医生建议”+核心观点:晚上吃水煮蛋是不会长胖的+证据:因为水煮蛋是鸡蛋本身的成分、没有盐、油和糖,是很健康的食物+注意点或异议:但晚上吃东西要注意时间,睡觉前两个小时不要吃东西。
图5示出了本公开实施例提供的又一种搜索结果界面的示意图。
如图5所示,电子设备501可以显示有针对“晚上吃煮鸡蛋会胖吗”进行搜索的搜索结果界面502。在搜索结果界面502的最上方显示有搜索内容“晚上吃水煮蛋会胖吗”及针对其搜索所得的候选搜索结果集中的搜索结果的数量“精选6121条权威搜索结果”。在搜索结果界面502的中部区域503横排显示有“不会胖”和“会胖”的两个答案观点,每个答案观点的搜索结果数量“4000篇文章”和“2121篇文章”,以及显示于中部区域503的两个答案观点下方的“低热量”、“水煮健康”、“难消化”、“高蛋白”、“没有油盐”和“减肥”等关键词。在关键词的下方还显示有呈现选中状态的目标答案观点“不会胖”对应的答案观点摘要“xxx、xxx等超过2000位三甲医院营养科医生建议晚上吃水煮蛋是不会长胖的。因为水煮蛋是鸡蛋本身的成分、没有盐、油和糖,是很健康的食物。但晚上吃东西要注意时间,睡觉前两个小时不要吃东西……”。
另外,在搜索结果界面502的下部区域可以显示综合搜索结果,即针对搜索内容的多条搜索结果的综合排序结果。
在另一些实施例中,第一内容还可以包括在目标类搜索结果中的每个关键词对应的搜索结果数量。本实施例中针对每个关键词均统计相应关键词对应的搜索结果的数量。
例如,图5中“低热量”、“水煮健康”、“难消化”、“高蛋白”、“没有油盐”和“减肥”等关键词的搜索结果数量分别显示于相应关键词的后方小括号中。
在本公开另一种实施方式中,搜索结果界面中还可以显示更加丰富的搜索结果信息。
在一些实施例中,搜索结果界面内还显示有第二内容;其中,第二内容包括关键词摘 要和目标搜索结果中的至少一种,关键词摘要根据目标搜索结果生成,目标搜索结果为目标类搜索结果中涉及关键词中的目标关键词的搜索结果。
其中,关键词摘要是指针对某一关键词生成的摘要,其能够更加详细且全面地展示该关键词的信息。关键词摘要根据包含目标关键词的目标答案观点对应的目标类搜索结果中涉及目标关键词的搜索结果(即目标搜索结果)来生成。关键词摘要的结构和生成方式可与答案观点摘要的结构和生成方式相同。
本实施例中,为了进一步提高搜索结果的信息含量,在搜索结果界面中除了显示多个答案观点和第一内容之外,还显示有第二内容,且该第二内容可以是目标关键词的关键词摘要,也可以是目标搜索结果,还可以是关键词摘要和目标搜索结果的组合。
在一些实施例中,目标关键词为显示为选中状态的关键词。了便于用户确定第二内容是归属于哪个关键词,本实施例中将目标关键词的显示样式设置为选中状态对应的显示样式。
在一个示例中,搜索结果界面中可以同时显示包含关键词和答案观点摘要的第一内容,以及第二内容。图6示出了本公开实施例提供的又一种搜索结果界面的示意图。
如图6所示,电子设备601可以显示有针对“晚上吃煮鸡蛋会胖吗”进行搜索的搜索结果界面602。在搜索结果界面602的最上方显示有搜索内容“晚上吃水煮蛋会胖吗”及针对其搜索所得的候选搜索结果集中的搜索结果的数量“精选6121条权威搜索结果”。在其下方横排显示有“不会胖”和“会胖”的两个答案观点,且每个答案观点的搜索结果数量“4000篇文章”和“2121篇文章”。在答案观点下方显示有目标答案观点“不会胖”的答案观点摘要603,在答案观点摘要603下方显示有关键词604,关键词604下方还显示有处于选中状态的目标关键词“低热量”的关键词摘要605,而在关键词摘要605的下方还可以显示针对目标关键词的目标搜索结果606。
需要说明的是,答案观点摘要603、关键词604、关键词摘要605和目标搜索结果606之间的排列顺序可以调换,但是需要确保各项内容之间的关系清楚。例如,答案观点摘要需要显示出其是目标答案观点的摘要,关键词摘要需要显示出其是目标关键词的摘要,目标搜索结果需要显示出其实目标关键词对应的多条搜索结果。
在另一个示例中,搜索结果界面中可以同时显示仅包含关键词的第一内容以及第二内容。图7示出了本公开实施例提供的又一种搜索结果界面的示意图。
如图7所示,电子设备701可以显示有针对“晚上吃煮鸡蛋会胖吗”进行搜索的搜索结 果界面702。在搜索结果界面702的最上方显示有搜索内容“晚上吃水煮蛋会胖吗”及针对其搜索所得的候选搜索结果集中的搜索结果的数量“精选6121条权威搜索结果”。在其下方横排显示有“不会胖”和“会胖”的两个答案观点,且每个答案观点的搜索结果数量“4000篇文章”和“2121篇文章”。在答案观点下方显示有关键词703,关键词703下方还显示有目标关键词“低热量”的关键词摘要704,而在关键词摘要704的下方还可以显示针对目标关键词的目标搜索结果705。应当理解的是,关键词摘要704和目标搜索结果705还可以只显示其中一项。
在本公开又一种实施方式中,为了进一步增强搜索结果界面中某些信息的直观性和重要性,本公开实施例中对关键词的显示顺序进行进一步限定。
在一些实施例中,多个关键词随机排列。
在另一些实施例中,关键词按照目标关键词顺序排列显示,目标关键词顺序根据在目标类搜索结果中的每个关键词对应的搜索结果数量确定;其中,目标关键词为首个关键词。
考虑到存在多个关键词,且每个关键词的重要程度不同,为了进一步减少用户筛选信息的过程,本实施例中按照每个关键词对应的搜索结果数量对多个关键词进行排序显示。在此基础上,将目标关键词设置为首个关键词,即支持人数最多的关键词,这样能首先显示目标关键词对应的更多信息,让用户可以直接看到支持率最多的论据。
继续参见图5,“低热量”、“水煮健康”、“难消化”、“高蛋白”、“没有油盐”和“减肥”等关键词按照其对应的搜索结果数量降序排列。
在一些实施例中,在S120之后,当检测到第二触发操作时,将答案观点摘要替换为第二内容进行显示;其中,第二内容包括关键词摘要和目标搜索结果中的至少一种,关键词摘要根据目标搜索结果生成,目标搜索结果为目标类搜索结果中涉及关键词中的目标关键词的搜索结果,目标关键词为第二触发操作所选择的关键词。
可选地,第二触发操作可以包括对搜索结果界面的手势控制操作、语音控制操作或者表情控制操作等用于控制搜索结果界面内的第二内容予以显示的操作,在此不作限制。
本实施例中第二内容是通过用户的触发操作来显示的,并且其可以覆盖答案观点摘要来显示。例如,对于图5的搜索结果界面502的显示内容,当用户点击触发“水煮健康”的关键词控件后,如图8所示,电子设备801中的搜索结果界面802中,“水煮健康”的关键词显示为选中状态,此时目标关键词为“水煮健康”,且搜索结果界面502的中部区域503中的答案观点摘要被替换为关键词803下方的关键词摘要804和目标搜索结果805。
在一些实施例中,第二内容所包括的目标关键词显示为选中状态。无论第二内容是关键词摘要还是目标搜索结果,其中与目标关键词高度相关的词全部显示为选中状态。这样更加方便用户快速定位与关键词相关的内容。
在本公开的又一实施方式中,在显示了第一内容和第二内容后,对切换关键词的显示方式进行限定。
在一些实施例中,在搜索结果界面内显示多个答案观点、第一内容和第二内容之后,当检测到第四触发操作时,将第二内容替换为第四内容;其中,第四内容包括第四触发操作对应的其他关键词的其他关键词摘要和其他搜索结果中的至少一种,其他关键词摘要根据其他搜索结果生成,其他搜索结果为涉及其他关键词的搜索结果。
可选地,第四触发操作可以包括对搜索结果界面的手势控制操作、语音控制操作或者表情控制操作等用于控制搜索结果界面内的第四内容予以显示的操作,在此不作限制。
本实施例中,在显示了多个答案观点、第一内容和第二内容之后,若用户在当前的搜索结果界面中点击触发了区别于目标关键词的其他关键词,那么在第二内容的相同区域中,隐藏第二内容,而显示其他关键词对应的第四内容。
此外,为了突出其他关键词,可以将目标关键词显示为未选中状态,而将第四触发操作对应的其他关键词显示为选中状态。本公开实施例还提供了一种内容搜索装置,下面结合图9进行说明。
在本公开实施例中,该内容搜索装置可以为电子设备。其中,电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA、PAD、PMP、车载终端(例如车载导航终端)、可穿戴设备等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。
图9示出了本公开实施例提供的一种内容搜索装置的结构示意图。
如图9所示,该内容搜索装置900可以包括内容接收单元910和第一显示单元920。
该内容接收单元910可以配置为接收搜索内容。
该第一显示单元920可以配置为在搜索结果界面内显示多个答案观点和第一内容;其中,每个答案观点对应一类搜索结果,搜索结果为对搜索内容进行搜索得到的结果,第一内容包括关键词,关键词用于指示显示多个答案观点中的目标答案观点的原因,关键词从目标答案观点对应的目标类搜索结果中提取得到。
在本公开实施例中,在对搜索内容进行搜索时,能够在搜索结果界面内显示搜索得到 的各类搜索结果所对应的答案观点的同时,在搜索结果界面内显示第一内容,例如,从这些答案观点中的目标答案观点对应的目标类搜索结果中提取得到的关键词,进而无需用户对大量搜索结果进行分析,即可以直接通过关键词向用户展示显示目标答案观点的原因,使得用户可以快速了解目标答案观点的支持论点,提高搜索引擎呈现搜索结果的全面性和精炼程度,从而提高对搜索结果的筛选效率,进而提升用户体验。
在一些实施例中,目标答案观点为显示为选中状态的答案观点。
在一些实施例中,多个答案观点可以按照目标观点顺序排列显示,目标观点顺序根据每个答案观点对应的一类搜索结果数量确定;
其中,目标答案观点为首个答案观点。
在一些实施例中,该内容搜索装置还包括第二显示单元,该第二显示单元可以配置为在搜索结果界面内显示多个答案观点和第一内容之前,在搜索结果界面内显示多个答案观点;
这样第一显示单元920还配置为当检测到第一触发操作时,在搜索结果界面内显示第一内容,目标答案观点为第一触发操作所选中的答案观点。
在一些实施例中,多个答案观点同区域显示,第一内容显示于多个答案观点所属的显示区域内。
在一些实施例中,多个答案观点分区域显示,第一内容显示于目标答案观点所属的显示区域内。
在一些实施例中,第一内容还包括答案观点摘要,答案观点摘要根据目标类搜索结果生成。
进一步地,第一内容还包括在目标类搜索结果中的每个关键词对应的搜索结果数量。
在一些实施例中,搜索结果界面内还显示有第二内容;
其中,第二内容包括关键词摘要和目标搜索结果中的至少一种,关键词摘要根据目标搜索结果生成,目标搜索结果为目标类搜索结果中涉及关键词中的目标关键词的搜索结果。
进一步地,目标关键词为显示为选中状态的关键词。
在一些实施例中,关键词按照目标关键词顺序排列显示,目标关键词顺序根据在目标类搜索结果中的每个关键词对应的搜索结果数量确定;
其中,目标关键词为首个关键词。
在一些实施例中,该内容搜索装置还包括第三显示单元,该第三显示单元可以配置为 在在搜索结果界面内显示多个答案观点和第一内容之后,当检测到第二触发操作时,将答案观点摘要替换为第二内容进行显示;
其中,第二内容包括关键词摘要和目标搜索结果中的至少一种,关键词摘要根据目标搜索结果生成,目标搜索结果为目标类搜索结果中涉及关键词中的目标关键词的搜索结果,目标关键词为第二触发操作所选择的关键词。
需要说明的是,图9所示的内容搜索装置900可以执行图1至图8所示的方法实施例中的各个步骤,并且实现图1至图8所示的方法实施例中的各个过程和效果,在此不做赘述。
本公开实施例还提供了一种内容搜索设备,该内容搜索设备可以包括处理器和存储器,存储器可以用于存储可执行指令。其中,处理器可以用于从存储器中读取可执行指令,并执行可执行指令以实现上述实施例中的内容搜索方法。
图10示出了本公开实施例提供的一种内容搜索设备的结构示意图。下面具体参考图10,其示出了适于用来实现本公开实施例中的内容搜索设备1000的结构示意图。
本公开实施例中的内容搜索设备1000可以为电子设备。其中,电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA、PAD、PMP、车载终端(例如车载导航终端)、可穿戴设备、等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。
需要说明的是,图10示出的内容搜索设备1000仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图10所示,该内容搜索设备1000可以包括处理装置1001(例如中央处理器、图形处理器等),其可以根据存储在只读存储器ROM 1002中的程序或者从存储装置1008加载到随机访问存储器RAM 1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有信息处理设备1000操作所需的各种程序和数据。处理装置1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。
通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1007;包括例如磁带、硬盘等的存储装置1008;以及通信装置1009。通信装置1009可以允许内容搜索设备1000与其他设备进行无线或有线通信以交换数据。虽然图10示出了具有各种装置的内容搜索设备1000,但是应理解的是,并不要求 实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
本公开实施例还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器实现上述实施例中的内容搜索方法。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM 1002被安装。在该计算机程序被处理装置1001执行时,执行本公开实施例的内容搜索方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述内容搜索设备中所包含的;也可以是单独存在,而未 装配入该内容搜索设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该内容搜索设备执行时,使得该内容搜索设备执行:
接收搜索内容;在搜索结果界面内显示多个答案观点和第一内容;其中,每个答案观点对应一类搜索结果,搜索结果为对搜索内容进行搜索得到的结果,第一内容包括关键词,关键词用于指示显示多个答案观点中的目标答案观点的原因,关键词从目标答案观点对应的目标类搜索结果中提取得到。
在本公开实施例中,可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的内容搜索设备、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD) 等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (16)

  1. 一种内容搜索方法,包括:
    接收搜索内容;以及
    在搜索结果界面内显示多个答案观点和第一内容;其中,每个所述答案观点对应一类搜索结果,所述搜索结果为对所述搜索内容进行搜索得到的结果,所述第一内容包括关键词,所述关键词用于指示显示所述多个答案观点中的目标答案观点的原因,所述关键词从所述目标答案观点对应的目标类搜索结果中提取得到。
  2. 根据权利要求1所述的方法,其中所述目标答案观点为显示为选中状态的答案观点。
  3. 根据权利要求1所述的方法,其中所述多个答案观点按照目标观点顺序排列显示,所述目标观点顺序根据每个所述答案观点对应的一类搜索结果数量确定;
    其中,所述目标答案观点为首个所述答案观点。
  4. 根据权利要求1所述的方法,其中在所述在搜索结果界面内显示多个答案观点和第一内容之前,所述方法还包括:
    在所述搜索结果界面内显示所述多个答案观点;
    其中,所述在搜索结果界面内显示多个答案观点和第一内容,包括:
    当检测到第一触发操作时,在所述搜索结果界面内显示所述第一内容,所述目标答案观点为所述第一触发操作所选中的答案观点。
  5. 根据权利要求1所述的方法,其中所述多个答案观点同区域显示,所述第一内容显示于所述多个答案观点所属的显示区域内。
  6. 根据权利要求1所述的方法,其中所述多个答案观点分区域显示,所述第一内容显示于所述目标答案观点所属的显示区域内。
  7. 根据权利要求1所述的方法,其中所述第一内容还包括答案观点摘要,所述答案观点摘要根据所述目标类搜索结果生成。
  8. 根据权利要求1所述的方法,其中所述第一内容还包括在所述目标类搜索结果中的每个所述关键词对应的搜索结果数量。
  9. 根据权利要求1、7或8所述的方法,其中所述搜索结果界面内还显示有第二内容;
    其中,所述第二内容包括关键词摘要和目标搜索结果中的至少一种,所述关键词摘要 根据所述目标搜索结果生成,所述目标搜索结果为所述目标类搜索结果中涉及所述关键词中的目标关键词的搜索结果。
  10. 根据权利要求9所述的方法,其中所述目标关键词为显示为选中状态的关键词。
  11. 根据权利要求9所述的方法,其中所述关键词按照目标关键词顺序排列显示,所述目标关键词顺序根据在所述目标类搜索结果中的每个所述关键词对应的搜索结果数量确定;
    其中,所述目标关键词为首个所述关键词。
  12. 根据权利要求7所述的方法,其中在所述在搜索结果界面内显示多个答案观点和第一内容之后,所述方法还包括:
    当检测到第二触发操作时,将所述答案观点摘要替换为第二内容进行显示;
    其中,所述第二内容包括关键词摘要和目标搜索结果中的至少一种,所述关键词摘要根据所述目标搜索结果生成,所述目标搜索结果为所述目标类搜索结果中涉及所述关键词中的目标关键词的搜索结果,所述目标关键词为所述第二触发操作所选择的关键词。
  13. 一种内容搜索装置,包括:
    内容接收单元,配置为接收搜索内容;以及
    第一显示单元,配置为在搜索结果界面内显示多个答案观点和第一内容;其中,每个所述答案观点对应一类搜索结果,所述搜索结果为对所述搜索内容进行搜索得到的结果,所述第一内容包括关键词,所述关键词用于指示显示所述多个答案观点中的目标答案观点的原因,所述关键词从所述目标答案观点对应的目标类搜索结果中提取得到。
  14. 一种内容搜索设备,包括:
    处理器;以及
    存储器,配置为存储可执行指令;
    其中,所述处理器配置为从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-12中任一项所述的内容搜索方法。
  15. 一种计算机可读存储介质,所述存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得处理器实现上述权利要求1-12中任一项所述的内容搜索方法。
  16. 一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机实现权利要求1-12中任一项所述的内容搜索方法。
PCT/CN2022/088064 2021-06-22 2022-04-21 内容搜索方法、装置、设备及介质 WO2022267658A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/262,185 US20240086484A1 (en) 2021-06-22 2022-04-21 Content search method, apparatus and device, and medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110693309.3A CN113392308B (zh) 2021-06-22 2021-06-22 内容搜索方法、装置、设备及介质
CN202110693309.3 2021-06-22

Publications (1)

Publication Number Publication Date
WO2022267658A1 true WO2022267658A1 (zh) 2022-12-29

Family

ID=77623403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/088064 WO2022267658A1 (zh) 2021-06-22 2022-04-21 内容搜索方法、装置、设备及介质

Country Status (3)

Country Link
US (1) US20240086484A1 (zh)
CN (1) CN113392308B (zh)
WO (1) WO2022267658A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392308B (zh) * 2021-06-22 2024-06-25 抖音视界有限公司 内容搜索方法、装置、设备及介质
CN114398121B (zh) * 2021-12-21 2024-02-27 北京五八信息技术有限公司 一种视图显示方法、装置、电子设备及存储介质
CN114372215B (zh) * 2022-01-12 2023-07-14 抖音视界有限公司 一种搜索结果展示、搜索请求处理方法及装置
CN114372160B (zh) * 2022-01-12 2023-08-15 抖音视界有限公司 一种搜索请求处理方法、装置、计算机设备及存储介质
CN114840781A (zh) * 2022-04-29 2022-08-02 北京字节跳动网络技术有限公司 一种搜索结果展示的方法、搜索请求处理方法以及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5737591A (en) * 1996-05-23 1998-04-07 Microsoft Corporation Database view generation system
CN103914543A (zh) * 2014-04-03 2014-07-09 北京百度网讯科技有限公司 搜索结果的展现方法和装置
CN104063497A (zh) * 2014-07-04 2014-09-24 百度在线网络技术(北京)有限公司 观点处理方法和装置以及搜索方法和装置
CN106168962A (zh) * 2016-06-30 2016-11-30 北京奇虎科技有限公司 基于自然搜索结果提供精确观点的搜索方法及装置
CN106777236A (zh) * 2016-12-27 2017-05-31 北京百度网讯科技有限公司 基于深度问答的查询结果的展现方法和装置
CN111858880A (zh) * 2020-06-18 2020-10-30 北京百度网讯科技有限公司 获取查询结果的方法、装置、电子设备和可读存储介质
CN113392308A (zh) * 2021-06-22 2021-09-14 北京字节跳动网络技术有限公司 内容搜索方法、装置、设备及介质

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010237721A (ja) * 2007-07-02 2010-10-21 Nec Corp 検索システム、検索方法および検索用プログラム
US20140006012A1 (en) * 2012-07-02 2014-01-02 Microsoft Corporation Learning-Based Processing of Natural Language Questions
CN103927381B (zh) * 2014-04-29 2018-03-06 北京百度网讯科技有限公司 一种是非问题的处理方法及装置
CN104881446A (zh) * 2015-05-14 2015-09-02 百度在线网络技术(北京)有限公司 搜索方法及装置
CN105956181A (zh) * 2016-05-31 2016-09-21 北京百度网讯科技有限公司 搜索方法及装置
CN106874467B (zh) * 2017-02-15 2019-12-06 百度在线网络技术(北京)有限公司 用于提供搜索结果的方法和装置
CN108959531B (zh) * 2018-06-29 2020-12-22 北京百度网讯科技有限公司 信息搜索方法、装置、设备及存储介质
CN109918560B (zh) * 2019-01-09 2024-03-12 平安科技(深圳)有限公司 一种基于搜索引擎的问答方法和装置
CN110362817A (zh) * 2019-06-04 2019-10-22 中国科学院信息工程研究所 一种面向产品属性的观点倾向性分析方法及系统
CN112287206A (zh) * 2019-07-24 2021-01-29 北京字节跳动网络技术有限公司 信息处理方法、装置和电子设备
CN111339452B (zh) * 2020-02-18 2021-07-20 北京字节跳动网络技术有限公司 搜索结果展现的方法、终端、服务器和系统
CN111708911B (zh) * 2020-06-17 2022-06-24 北京字节跳动网络技术有限公司 搜索方法、装置、电子设备及计算机可读存储介质
CN112948540B (zh) * 2021-01-29 2023-09-26 抖音视界有限公司 信息查询方法、装置、电子设备以及计算机可读介质
CN112989076A (zh) * 2021-04-15 2021-06-18 北京字节跳动网络技术有限公司 多媒体内容搜索方法、装置、设备及介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5737591A (en) * 1996-05-23 1998-04-07 Microsoft Corporation Database view generation system
CN103914543A (zh) * 2014-04-03 2014-07-09 北京百度网讯科技有限公司 搜索结果的展现方法和装置
CN104063497A (zh) * 2014-07-04 2014-09-24 百度在线网络技术(北京)有限公司 观点处理方法和装置以及搜索方法和装置
CN106168962A (zh) * 2016-06-30 2016-11-30 北京奇虎科技有限公司 基于自然搜索结果提供精确观点的搜索方法及装置
CN106777236A (zh) * 2016-12-27 2017-05-31 北京百度网讯科技有限公司 基于深度问答的查询结果的展现方法和装置
CN111858880A (zh) * 2020-06-18 2020-10-30 北京百度网讯科技有限公司 获取查询结果的方法、装置、电子设备和可读存储介质
CN113392308A (zh) * 2021-06-22 2021-09-14 北京字节跳动网络技术有限公司 内容搜索方法、装置、设备及介质

Also Published As

Publication number Publication date
US20240086484A1 (en) 2024-03-14
CN113392308A (zh) 2021-09-14
CN113392308B (zh) 2024-06-25

Similar Documents

Publication Publication Date Title
WO2022267658A1 (zh) 内容搜索方法、装置、设备及介质
WO2023005339A1 (zh) 搜索结果展示方法、装置、设备和介质
CA2767838C (en) Progressive filtering of search results
US20170199943A1 (en) User interface for multivariate searching
US10031954B2 (en) Method and system for presenting a search result in a search result card
WO2018149115A1 (zh) 用于提供搜索结果的方法和装置
WO2023051102A1 (zh) 视频推荐方法、装置、设备及介质
US20160328477A1 (en) System and method for displaying of most relevant vertical search results
US20160162582A1 (en) Method and system for conducting an opinion search engine and a display thereof
EP3996373A2 (en) Method and apparatus of generating bullet comment, device, and storage medium
RU2632140C2 (ru) Способ и сервер для кластеризации предложений для поисковых запросов
CA2788733A1 (en) Method and system for need fulfillment
KR20120013044A (ko) 모바일 검색을 위한 모바일 시스템, 검색 시스템 및 검색 결과 제공 방법
JP2023520483A (ja) 検索コンテンツ表示方法、装置、電子機器及び記憶媒体
US20240143684A1 (en) Information presentation method and apparatus, and device and medium
US20090150341A1 (en) Generation of alternative phrasings for short descriptions
CN112948540A (zh) 信息查询方法、装置、电子设备以及计算机可读介质
WO2023241332A1 (zh) 摘要信息生成与搜索结果展示方法、装置、设备和介质
WO2023134324A1 (zh) 一种搜索请求处理方法、装置、计算机设备及存储介质
WO2020033117A9 (en) Dynamic and continous onboarding of service providers in an online expert marketplace
US10078686B2 (en) Combination filter for search query suggestions
US20170148123A1 (en) Method and system for generating a physician recommendation
Sa et al. Examining user perception and usage of voice search
US10083240B2 (en) Method of data organization and data searching for constructing evidence-based beliefs within a social network
US20160335365A1 (en) Processing search queries and generating a search result page including search object information

Legal Events

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

Ref document number: 22827159

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18262185

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE